RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
hdfs.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: hdfs.proto
3 
4 #ifndef PROTOBUF_hdfs_2eproto__INCLUDED
5 #define PROTOBUF_hdfs_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 "Security.pb.h"
32 // @@protoc_insertion_point(includes)
33 
34 namespace hadoop {
35 namespace hdfs {
36 
37 // Internal implementation detail -- do not call these.
38 void protobuf_AddDesc_hdfs_2eproto();
39 void protobuf_AssignDesc_hdfs_2eproto();
40 void protobuf_ShutdownFile_hdfs_2eproto();
41 
42 class BlockKeyProto;
43 class BlockProto;
44 class BlockStoragePolicyProto;
45 class BlockWithLocationsProto;
46 class BlocksWithLocationsProto;
47 class CheckpointCommandProto;
48 class CheckpointSignatureProto;
49 class CipherOptionProto;
50 class ContentSummaryProto;
51 class CorruptFileBlocksProto;
52 class DataEncryptionKeyProto;
53 class DatanodeIDProto;
54 class DatanodeInfoProto;
55 class DatanodeInfosProto;
56 class DatanodeLocalInfoProto;
57 class DatanodeStorageProto;
58 class DirectoryListingProto;
59 class ECSchemaOptionEntryProto;
60 class ECSchemaProto;
61 class ErasureCodingPolicyProto;
62 class ExportedBlockKeysProto;
63 class ExtendedBlockProto;
64 class FileEncryptionInfoProto;
65 class FsPermissionProto;
66 class FsServerDefaultsProto;
67 class HdfsFileStatusProto;
68 class LocatedBlockProto;
69 class LocatedBlocksProto;
70 class NamenodeCommandProto;
71 class NamenodeRegistrationProto;
72 class NamespaceInfoProto;
73 class PerFileEncryptionInfoProto;
74 class RecoveringBlockProto;
75 class RemoteEditLogManifestProto;
76 class RemoteEditLogProto;
77 class RollingUpgradeStatusProto;
78 class SnapshotDiffReportEntryProto;
79 class SnapshotDiffReportProto;
80 class SnapshotInfoProto;
81 class SnapshottableDirectoryListingProto;
82 class SnapshottableDirectoryStatusProto;
83 class StorageInfoProto;
84 class StorageReportProto;
85 class StorageTypeQuotaInfoProto;
86 class StorageTypeQuotaInfosProto;
87 class StorageTypesProto;
88 class StorageUuidsProto;
89 class VersionRequestProto;
90 class VersionResponseProto;
91 class ZoneEncryptionInfoProto;
92 
93 enum DatanodeInfoProto_AdminState {
94  DatanodeInfoProto_AdminState_NORMAL = 0,
95  DatanodeInfoProto_AdminState_DECOMMISSION_INPROGRESS = 1,
96  DatanodeInfoProto_AdminState_DECOMMISSIONED = 2
97 };
98 bool DatanodeInfoProto_AdminState_IsValid(int value);
99 const DatanodeInfoProto_AdminState DatanodeInfoProto_AdminState_AdminState_MIN = DatanodeInfoProto_AdminState_NORMAL;
100 const DatanodeInfoProto_AdminState DatanodeInfoProto_AdminState_AdminState_MAX = DatanodeInfoProto_AdminState_DECOMMISSIONED;
101 const int DatanodeInfoProto_AdminState_AdminState_ARRAYSIZE = DatanodeInfoProto_AdminState_AdminState_MAX + 1;
102 
103 const ::google::protobuf::EnumDescriptor* DatanodeInfoProto_AdminState_descriptor();
104 inline const ::std::string& DatanodeInfoProto_AdminState_Name(DatanodeInfoProto_AdminState value) {
105  return ::google::protobuf::internal::NameOfEnum(
106  DatanodeInfoProto_AdminState_descriptor(), value);
107 }
108 inline bool DatanodeInfoProto_AdminState_Parse(
109  const ::std::string& name, DatanodeInfoProto_AdminState* value) {
110  return ::google::protobuf::internal::ParseNamedEnum<DatanodeInfoProto_AdminState>(
111  DatanodeInfoProto_AdminState_descriptor(), name, value);
112 }
113 enum DatanodeStorageProto_StorageState {
114  DatanodeStorageProto_StorageState_NORMAL = 0,
115  DatanodeStorageProto_StorageState_READ_ONLY_SHARED = 1
116 };
117 bool DatanodeStorageProto_StorageState_IsValid(int value);
118 const DatanodeStorageProto_StorageState DatanodeStorageProto_StorageState_StorageState_MIN = DatanodeStorageProto_StorageState_NORMAL;
119 const DatanodeStorageProto_StorageState DatanodeStorageProto_StorageState_StorageState_MAX = DatanodeStorageProto_StorageState_READ_ONLY_SHARED;
120 const int DatanodeStorageProto_StorageState_StorageState_ARRAYSIZE = DatanodeStorageProto_StorageState_StorageState_MAX + 1;
121 
122 const ::google::protobuf::EnumDescriptor* DatanodeStorageProto_StorageState_descriptor();
123 inline const ::std::string& DatanodeStorageProto_StorageState_Name(DatanodeStorageProto_StorageState value) {
124  return ::google::protobuf::internal::NameOfEnum(
125  DatanodeStorageProto_StorageState_descriptor(), value);
126 }
127 inline bool DatanodeStorageProto_StorageState_Parse(
128  const ::std::string& name, DatanodeStorageProto_StorageState* value) {
129  return ::google::protobuf::internal::ParseNamedEnum<DatanodeStorageProto_StorageState>(
130  DatanodeStorageProto_StorageState_descriptor(), name, value);
131 }
132 enum HdfsFileStatusProto_FileType {
133  HdfsFileStatusProto_FileType_IS_DIR = 1,
134  HdfsFileStatusProto_FileType_IS_FILE = 2,
135  HdfsFileStatusProto_FileType_IS_SYMLINK = 3
136 };
137 bool HdfsFileStatusProto_FileType_IsValid(int value);
138 const HdfsFileStatusProto_FileType HdfsFileStatusProto_FileType_FileType_MIN = HdfsFileStatusProto_FileType_IS_DIR;
139 const HdfsFileStatusProto_FileType HdfsFileStatusProto_FileType_FileType_MAX = HdfsFileStatusProto_FileType_IS_SYMLINK;
140 const int HdfsFileStatusProto_FileType_FileType_ARRAYSIZE = HdfsFileStatusProto_FileType_FileType_MAX + 1;
141 
142 const ::google::protobuf::EnumDescriptor* HdfsFileStatusProto_FileType_descriptor();
143 inline const ::std::string& HdfsFileStatusProto_FileType_Name(HdfsFileStatusProto_FileType value) {
144  return ::google::protobuf::internal::NameOfEnum(
145  HdfsFileStatusProto_FileType_descriptor(), value);
146 }
147 inline bool HdfsFileStatusProto_FileType_Parse(
148  const ::std::string& name, HdfsFileStatusProto_FileType* value) {
149  return ::google::protobuf::internal::ParseNamedEnum<HdfsFileStatusProto_FileType>(
150  HdfsFileStatusProto_FileType_descriptor(), name, value);
151 }
152 enum NamenodeRegistrationProto_NamenodeRoleProto {
153  NamenodeRegistrationProto_NamenodeRoleProto_NAMENODE = 1,
154  NamenodeRegistrationProto_NamenodeRoleProto_BACKUP = 2,
155  NamenodeRegistrationProto_NamenodeRoleProto_CHECKPOINT = 3
156 };
157 bool NamenodeRegistrationProto_NamenodeRoleProto_IsValid(int value);
158 const NamenodeRegistrationProto_NamenodeRoleProto NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_MIN = NamenodeRegistrationProto_NamenodeRoleProto_NAMENODE;
159 const NamenodeRegistrationProto_NamenodeRoleProto NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_MAX = NamenodeRegistrationProto_NamenodeRoleProto_CHECKPOINT;
160 const int NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_ARRAYSIZE = NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_MAX + 1;
161 
162 const ::google::protobuf::EnumDescriptor* NamenodeRegistrationProto_NamenodeRoleProto_descriptor();
163 inline const ::std::string& NamenodeRegistrationProto_NamenodeRoleProto_Name(NamenodeRegistrationProto_NamenodeRoleProto value) {
164  return ::google::protobuf::internal::NameOfEnum(
165  NamenodeRegistrationProto_NamenodeRoleProto_descriptor(), value);
166 }
167 inline bool NamenodeRegistrationProto_NamenodeRoleProto_Parse(
168  const ::std::string& name, NamenodeRegistrationProto_NamenodeRoleProto* value) {
169  return ::google::protobuf::internal::ParseNamedEnum<NamenodeRegistrationProto_NamenodeRoleProto>(
170  NamenodeRegistrationProto_NamenodeRoleProto_descriptor(), name, value);
171 }
172 enum NamenodeCommandProto_Type {
173  NamenodeCommandProto_Type_NamenodeCommand = 0,
174  NamenodeCommandProto_Type_CheckPointCommand = 1
175 };
176 bool NamenodeCommandProto_Type_IsValid(int value);
177 const NamenodeCommandProto_Type NamenodeCommandProto_Type_Type_MIN = NamenodeCommandProto_Type_NamenodeCommand;
178 const NamenodeCommandProto_Type NamenodeCommandProto_Type_Type_MAX = NamenodeCommandProto_Type_CheckPointCommand;
179 const int NamenodeCommandProto_Type_Type_ARRAYSIZE = NamenodeCommandProto_Type_Type_MAX + 1;
180 
181 const ::google::protobuf::EnumDescriptor* NamenodeCommandProto_Type_descriptor();
182 inline const ::std::string& NamenodeCommandProto_Type_Name(NamenodeCommandProto_Type value) {
183  return ::google::protobuf::internal::NameOfEnum(
184  NamenodeCommandProto_Type_descriptor(), value);
185 }
186 inline bool NamenodeCommandProto_Type_Parse(
187  const ::std::string& name, NamenodeCommandProto_Type* value) {
188  return ::google::protobuf::internal::ParseNamedEnum<NamenodeCommandProto_Type>(
189  NamenodeCommandProto_Type_descriptor(), name, value);
190 }
191 enum StorageTypeProto {
192  DISK = 1,
193  SSD = 2,
194  ARCHIVE = 3,
195  RAM_DISK = 4
196 };
197 bool StorageTypeProto_IsValid(int value);
198 const StorageTypeProto StorageTypeProto_MIN = DISK;
199 const StorageTypeProto StorageTypeProto_MAX = RAM_DISK;
200 const int StorageTypeProto_ARRAYSIZE = StorageTypeProto_MAX + 1;
201 
202 const ::google::protobuf::EnumDescriptor* StorageTypeProto_descriptor();
203 inline const ::std::string& StorageTypeProto_Name(StorageTypeProto value) {
204  return ::google::protobuf::internal::NameOfEnum(
205  StorageTypeProto_descriptor(), value);
206 }
207 inline bool StorageTypeProto_Parse(
208  const ::std::string& name, StorageTypeProto* value) {
209  return ::google::protobuf::internal::ParseNamedEnum<StorageTypeProto>(
210  StorageTypeProto_descriptor(), name, value);
211 }
212 enum CipherSuiteProto {
213  UNKNOWN = 1,
214  AES_CTR_NOPADDING = 2
215 };
216 bool CipherSuiteProto_IsValid(int value);
217 const CipherSuiteProto CipherSuiteProto_MIN = UNKNOWN;
218 const CipherSuiteProto CipherSuiteProto_MAX = AES_CTR_NOPADDING;
219 const int CipherSuiteProto_ARRAYSIZE = CipherSuiteProto_MAX + 1;
220 
221 const ::google::protobuf::EnumDescriptor* CipherSuiteProto_descriptor();
222 inline const ::std::string& CipherSuiteProto_Name(CipherSuiteProto value) {
223  return ::google::protobuf::internal::NameOfEnum(
224  CipherSuiteProto_descriptor(), value);
225 }
226 inline bool CipherSuiteProto_Parse(
227  const ::std::string& name, CipherSuiteProto* value) {
228  return ::google::protobuf::internal::ParseNamedEnum<CipherSuiteProto>(
229  CipherSuiteProto_descriptor(), name, value);
230 }
231 enum CryptoProtocolVersionProto {
232  UNKNOWN_PROTOCOL_VERSION = 1,
233  ENCRYPTION_ZONES = 2
234 };
235 bool CryptoProtocolVersionProto_IsValid(int value);
236 const CryptoProtocolVersionProto CryptoProtocolVersionProto_MIN = UNKNOWN_PROTOCOL_VERSION;
237 const CryptoProtocolVersionProto CryptoProtocolVersionProto_MAX = ENCRYPTION_ZONES;
238 const int CryptoProtocolVersionProto_ARRAYSIZE = CryptoProtocolVersionProto_MAX + 1;
239 
240 const ::google::protobuf::EnumDescriptor* CryptoProtocolVersionProto_descriptor();
241 inline const ::std::string& CryptoProtocolVersionProto_Name(CryptoProtocolVersionProto value) {
242  return ::google::protobuf::internal::NameOfEnum(
243  CryptoProtocolVersionProto_descriptor(), value);
244 }
245 inline bool CryptoProtocolVersionProto_Parse(
246  const ::std::string& name, CryptoProtocolVersionProto* value) {
247  return ::google::protobuf::internal::ParseNamedEnum<CryptoProtocolVersionProto>(
248  CryptoProtocolVersionProto_descriptor(), name, value);
249 }
250 enum ErasureCodingPolicyState {
251  DISABLED = 1,
252  ENABLED = 2,
253  REMOVED = 3
254 };
255 bool ErasureCodingPolicyState_IsValid(int value);
256 const ErasureCodingPolicyState ErasureCodingPolicyState_MIN = DISABLED;
257 const ErasureCodingPolicyState ErasureCodingPolicyState_MAX = REMOVED;
258 const int ErasureCodingPolicyState_ARRAYSIZE = ErasureCodingPolicyState_MAX + 1;
259 
260 const ::google::protobuf::EnumDescriptor* ErasureCodingPolicyState_descriptor();
261 inline const ::std::string& ErasureCodingPolicyState_Name(ErasureCodingPolicyState value) {
262  return ::google::protobuf::internal::NameOfEnum(
263  ErasureCodingPolicyState_descriptor(), value);
264 }
265 inline bool ErasureCodingPolicyState_Parse(
266  const ::std::string& name, ErasureCodingPolicyState* value) {
267  return ::google::protobuf::internal::ParseNamedEnum<ErasureCodingPolicyState>(
268  ErasureCodingPolicyState_descriptor(), name, value);
269 }
270 enum ChecksumTypeProto {
271  CHECKSUM_NULL = 0,
272  CHECKSUM_CRC32 = 1,
273  CHECKSUM_CRC32C = 2
274 };
275 bool ChecksumTypeProto_IsValid(int value);
276 const ChecksumTypeProto ChecksumTypeProto_MIN = CHECKSUM_NULL;
277 const ChecksumTypeProto ChecksumTypeProto_MAX = CHECKSUM_CRC32C;
278 const int ChecksumTypeProto_ARRAYSIZE = ChecksumTypeProto_MAX + 1;
279 
280 const ::google::protobuf::EnumDescriptor* ChecksumTypeProto_descriptor();
281 inline const ::std::string& ChecksumTypeProto_Name(ChecksumTypeProto value) {
282  return ::google::protobuf::internal::NameOfEnum(
283  ChecksumTypeProto_descriptor(), value);
284 }
285 inline bool ChecksumTypeProto_Parse(
286  const ::std::string& name, ChecksumTypeProto* value) {
287  return ::google::protobuf::internal::ParseNamedEnum<ChecksumTypeProto>(
288  ChecksumTypeProto_descriptor(), name, value);
289 }
290 enum ReplicaStateProto {
291  FINALIZED = 0,
292  RBW = 1,
293  RWR = 2,
294  RUR = 3,
295  TEMPORARY = 4
296 };
297 bool ReplicaStateProto_IsValid(int value);
298 const ReplicaStateProto ReplicaStateProto_MIN = FINALIZED;
299 const ReplicaStateProto ReplicaStateProto_MAX = TEMPORARY;
300 const int ReplicaStateProto_ARRAYSIZE = ReplicaStateProto_MAX + 1;
301 
302 const ::google::protobuf::EnumDescriptor* ReplicaStateProto_descriptor();
303 inline const ::std::string& ReplicaStateProto_Name(ReplicaStateProto value) {
304  return ::google::protobuf::internal::NameOfEnum(
305  ReplicaStateProto_descriptor(), value);
306 }
307 inline bool ReplicaStateProto_Parse(
308  const ::std::string& name, ReplicaStateProto* value) {
309  return ::google::protobuf::internal::ParseNamedEnum<ReplicaStateProto>(
310  ReplicaStateProto_descriptor(), name, value);
311 }
312 // ===================================================================
313 
314 class ExtendedBlockProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ExtendedBlockProto) */ {
315  public:
317  virtual ~ExtendedBlockProto();
318 
320 
321  inline ExtendedBlockProto& operator=(const ExtendedBlockProto& from) {
322  CopyFrom(from);
323  return *this;
324  }
325 
326  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
327  return _internal_metadata_.unknown_fields();
328  }
329 
330  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
331  return _internal_metadata_.mutable_unknown_fields();
332  }
333 
334  static const ::google::protobuf::Descriptor* descriptor();
335  static const ExtendedBlockProto& default_instance();
336 
337  void Swap(ExtendedBlockProto* other);
338 
339  // implements Message ----------------------------------------------
340 
341  inline ExtendedBlockProto* New() const { return New(NULL); }
342 
343  ExtendedBlockProto* New(::google::protobuf::Arena* arena) const;
344  void CopyFrom(const ::google::protobuf::Message& from);
345  void MergeFrom(const ::google::protobuf::Message& from);
346  void CopyFrom(const ExtendedBlockProto& from);
347  void MergeFrom(const ExtendedBlockProto& from);
348  void Clear();
349  bool IsInitialized() const;
350 
351  int ByteSize() const;
352  bool MergePartialFromCodedStream(
353  ::google::protobuf::io::CodedInputStream* input);
354  void SerializeWithCachedSizes(
355  ::google::protobuf::io::CodedOutputStream* output) const;
356  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
357  bool deterministic, ::google::protobuf::uint8* output) const;
358  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
359  return InternalSerializeWithCachedSizesToArray(false, output);
360  }
361  int GetCachedSize() const { return _cached_size_; }
362  private:
363  void SharedCtor();
364  void SharedDtor();
365  void SetCachedSize(int size) const;
366  void InternalSwap(ExtendedBlockProto* other);
367  private:
368  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
369  return _internal_metadata_.arena();
370  }
371  inline void* MaybeArenaPtr() const {
372  return _internal_metadata_.raw_arena_ptr();
373  }
374  public:
375 
376  ::google::protobuf::Metadata GetMetadata() const;
377 
378  // nested types ----------------------------------------------------
379 
380  // accessors -------------------------------------------------------
381 
382  // required string poolId = 1;
383  bool has_poolid() const;
384  void clear_poolid();
385  static const int kPoolIdFieldNumber = 1;
386  const ::std::string& poolid() const;
387  void set_poolid(const ::std::string& value);
388  void set_poolid(const char* value);
389  void set_poolid(const char* value, size_t size);
390  ::std::string* mutable_poolid();
391  ::std::string* release_poolid();
392  void set_allocated_poolid(::std::string* poolid);
393 
394  // required uint64 blockId = 2;
395  bool has_blockid() const;
396  void clear_blockid();
397  static const int kBlockIdFieldNumber = 2;
398  ::google::protobuf::uint64 blockid() const;
399  void set_blockid(::google::protobuf::uint64 value);
400 
401  // required uint64 generationStamp = 3;
402  bool has_generationstamp() const;
403  void clear_generationstamp();
404  static const int kGenerationStampFieldNumber = 3;
405  ::google::protobuf::uint64 generationstamp() const;
406  void set_generationstamp(::google::protobuf::uint64 value);
407 
408  // optional uint64 numBytes = 4 [default = 0];
409  bool has_numbytes() const;
410  void clear_numbytes();
411  static const int kNumBytesFieldNumber = 4;
412  ::google::protobuf::uint64 numbytes() const;
413  void set_numbytes(::google::protobuf::uint64 value);
414 
415  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ExtendedBlockProto)
416  private:
417  inline void set_has_poolid();
418  inline void clear_has_poolid();
419  inline void set_has_blockid();
420  inline void clear_has_blockid();
421  inline void set_has_generationstamp();
422  inline void clear_has_generationstamp();
423  inline void set_has_numbytes();
424  inline void clear_has_numbytes();
425 
426  // helper for ByteSize()
427  int RequiredFieldsByteSizeFallback() const;
428 
429  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
430  ::google::protobuf::uint32 _has_bits_[1];
431  mutable int _cached_size_;
432  ::google::protobuf::internal::ArenaStringPtr poolid_;
433  ::google::protobuf::uint64 blockid_;
434  ::google::protobuf::uint64 generationstamp_;
435  ::google::protobuf::uint64 numbytes_;
436  friend void protobuf_AddDesc_hdfs_2eproto();
437  friend void protobuf_AssignDesc_hdfs_2eproto();
438  friend void protobuf_ShutdownFile_hdfs_2eproto();
439 
440  void InitAsDefaultInstance();
441  static ExtendedBlockProto* default_instance_;
442 };
443 // -------------------------------------------------------------------
444 
445 class DatanodeIDProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DatanodeIDProto) */ {
446  public:
447  DatanodeIDProto();
448  virtual ~DatanodeIDProto();
449 
450  DatanodeIDProto(const DatanodeIDProto& from);
451 
452  inline DatanodeIDProto& operator=(const DatanodeIDProto& from) {
453  CopyFrom(from);
454  return *this;
455  }
456 
457  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
458  return _internal_metadata_.unknown_fields();
459  }
460 
461  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
462  return _internal_metadata_.mutable_unknown_fields();
463  }
464 
465  static const ::google::protobuf::Descriptor* descriptor();
466  static const DatanodeIDProto& default_instance();
467 
468  void Swap(DatanodeIDProto* other);
469 
470  // implements Message ----------------------------------------------
471 
472  inline DatanodeIDProto* New() const { return New(NULL); }
473 
474  DatanodeIDProto* New(::google::protobuf::Arena* arena) const;
475  void CopyFrom(const ::google::protobuf::Message& from);
476  void MergeFrom(const ::google::protobuf::Message& from);
477  void CopyFrom(const DatanodeIDProto& from);
478  void MergeFrom(const DatanodeIDProto& from);
479  void Clear();
480  bool IsInitialized() const;
481 
482  int ByteSize() const;
483  bool MergePartialFromCodedStream(
484  ::google::protobuf::io::CodedInputStream* input);
485  void SerializeWithCachedSizes(
486  ::google::protobuf::io::CodedOutputStream* output) const;
487  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
488  bool deterministic, ::google::protobuf::uint8* output) const;
489  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
490  return InternalSerializeWithCachedSizesToArray(false, output);
491  }
492  int GetCachedSize() const { return _cached_size_; }
493  private:
494  void SharedCtor();
495  void SharedDtor();
496  void SetCachedSize(int size) const;
497  void InternalSwap(DatanodeIDProto* other);
498  private:
499  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
500  return _internal_metadata_.arena();
501  }
502  inline void* MaybeArenaPtr() const {
503  return _internal_metadata_.raw_arena_ptr();
504  }
505  public:
506 
507  ::google::protobuf::Metadata GetMetadata() const;
508 
509  // nested types ----------------------------------------------------
510 
511  // accessors -------------------------------------------------------
512 
513  // required string ipAddr = 1;
514  bool has_ipaddr() const;
515  void clear_ipaddr();
516  static const int kIpAddrFieldNumber = 1;
517  const ::std::string& ipaddr() const;
518  void set_ipaddr(const ::std::string& value);
519  void set_ipaddr(const char* value);
520  void set_ipaddr(const char* value, size_t size);
521  ::std::string* mutable_ipaddr();
522  ::std::string* release_ipaddr();
523  void set_allocated_ipaddr(::std::string* ipaddr);
524 
525  // required string hostName = 2;
526  bool has_hostname() const;
527  void clear_hostname();
528  static const int kHostNameFieldNumber = 2;
529  const ::std::string& hostname() const;
530  void set_hostname(const ::std::string& value);
531  void set_hostname(const char* value);
532  void set_hostname(const char* value, size_t size);
533  ::std::string* mutable_hostname();
534  ::std::string* release_hostname();
535  void set_allocated_hostname(::std::string* hostname);
536 
537  // required string datanodeUuid = 3;
538  bool has_datanodeuuid() const;
539  void clear_datanodeuuid();
540  static const int kDatanodeUuidFieldNumber = 3;
541  const ::std::string& datanodeuuid() const;
542  void set_datanodeuuid(const ::std::string& value);
543  void set_datanodeuuid(const char* value);
544  void set_datanodeuuid(const char* value, size_t size);
545  ::std::string* mutable_datanodeuuid();
546  ::std::string* release_datanodeuuid();
547  void set_allocated_datanodeuuid(::std::string* datanodeuuid);
548 
549  // required uint32 xferPort = 4;
550  bool has_xferport() const;
551  void clear_xferport();
552  static const int kXferPortFieldNumber = 4;
553  ::google::protobuf::uint32 xferport() const;
554  void set_xferport(::google::protobuf::uint32 value);
555 
556  // required uint32 infoPort = 5;
557  bool has_infoport() const;
558  void clear_infoport();
559  static const int kInfoPortFieldNumber = 5;
560  ::google::protobuf::uint32 infoport() const;
561  void set_infoport(::google::protobuf::uint32 value);
562 
563  // required uint32 ipcPort = 6;
564  bool has_ipcport() const;
565  void clear_ipcport();
566  static const int kIpcPortFieldNumber = 6;
567  ::google::protobuf::uint32 ipcport() const;
568  void set_ipcport(::google::protobuf::uint32 value);
569 
570  // optional uint32 infoSecurePort = 7 [default = 0];
571  bool has_infosecureport() const;
572  void clear_infosecureport();
573  static const int kInfoSecurePortFieldNumber = 7;
574  ::google::protobuf::uint32 infosecureport() const;
575  void set_infosecureport(::google::protobuf::uint32 value);
576 
577  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DatanodeIDProto)
578  private:
579  inline void set_has_ipaddr();
580  inline void clear_has_ipaddr();
581  inline void set_has_hostname();
582  inline void clear_has_hostname();
583  inline void set_has_datanodeuuid();
584  inline void clear_has_datanodeuuid();
585  inline void set_has_xferport();
586  inline void clear_has_xferport();
587  inline void set_has_infoport();
588  inline void clear_has_infoport();
589  inline void set_has_ipcport();
590  inline void clear_has_ipcport();
591  inline void set_has_infosecureport();
592  inline void clear_has_infosecureport();
593 
594  // helper for ByteSize()
595  int RequiredFieldsByteSizeFallback() const;
596 
597  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
598  ::google::protobuf::uint32 _has_bits_[1];
599  mutable int _cached_size_;
600  ::google::protobuf::internal::ArenaStringPtr ipaddr_;
601  ::google::protobuf::internal::ArenaStringPtr hostname_;
602  ::google::protobuf::internal::ArenaStringPtr datanodeuuid_;
603  ::google::protobuf::uint32 xferport_;
604  ::google::protobuf::uint32 infoport_;
605  ::google::protobuf::uint32 ipcport_;
606  ::google::protobuf::uint32 infosecureport_;
607  friend void protobuf_AddDesc_hdfs_2eproto();
608  friend void protobuf_AssignDesc_hdfs_2eproto();
609  friend void protobuf_ShutdownFile_hdfs_2eproto();
610 
611  void InitAsDefaultInstance();
612  static DatanodeIDProto* default_instance_;
613 };
614 // -------------------------------------------------------------------
615 
616 class DatanodeLocalInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DatanodeLocalInfoProto) */ {
617  public:
619  virtual ~DatanodeLocalInfoProto();
620 
622 
623  inline DatanodeLocalInfoProto& operator=(const DatanodeLocalInfoProto& from) {
624  CopyFrom(from);
625  return *this;
626  }
627 
628  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
629  return _internal_metadata_.unknown_fields();
630  }
631 
632  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
633  return _internal_metadata_.mutable_unknown_fields();
634  }
635 
636  static const ::google::protobuf::Descriptor* descriptor();
637  static const DatanodeLocalInfoProto& default_instance();
638 
639  void Swap(DatanodeLocalInfoProto* other);
640 
641  // implements Message ----------------------------------------------
642 
643  inline DatanodeLocalInfoProto* New() const { return New(NULL); }
644 
645  DatanodeLocalInfoProto* New(::google::protobuf::Arena* arena) const;
646  void CopyFrom(const ::google::protobuf::Message& from);
647  void MergeFrom(const ::google::protobuf::Message& from);
648  void CopyFrom(const DatanodeLocalInfoProto& from);
649  void MergeFrom(const DatanodeLocalInfoProto& from);
650  void Clear();
651  bool IsInitialized() const;
652 
653  int ByteSize() const;
654  bool MergePartialFromCodedStream(
655  ::google::protobuf::io::CodedInputStream* input);
656  void SerializeWithCachedSizes(
657  ::google::protobuf::io::CodedOutputStream* output) const;
658  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
659  bool deterministic, ::google::protobuf::uint8* output) const;
660  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
661  return InternalSerializeWithCachedSizesToArray(false, output);
662  }
663  int GetCachedSize() const { return _cached_size_; }
664  private:
665  void SharedCtor();
666  void SharedDtor();
667  void SetCachedSize(int size) const;
668  void InternalSwap(DatanodeLocalInfoProto* other);
669  private:
670  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
671  return _internal_metadata_.arena();
672  }
673  inline void* MaybeArenaPtr() const {
674  return _internal_metadata_.raw_arena_ptr();
675  }
676  public:
677 
678  ::google::protobuf::Metadata GetMetadata() const;
679 
680  // nested types ----------------------------------------------------
681 
682  // accessors -------------------------------------------------------
683 
684  // required string softwareVersion = 1;
685  bool has_softwareversion() const;
686  void clear_softwareversion();
687  static const int kSoftwareVersionFieldNumber = 1;
688  const ::std::string& softwareversion() const;
689  void set_softwareversion(const ::std::string& value);
690  void set_softwareversion(const char* value);
691  void set_softwareversion(const char* value, size_t size);
692  ::std::string* mutable_softwareversion();
693  ::std::string* release_softwareversion();
694  void set_allocated_softwareversion(::std::string* softwareversion);
695 
696  // required string configVersion = 2;
697  bool has_configversion() const;
698  void clear_configversion();
699  static const int kConfigVersionFieldNumber = 2;
700  const ::std::string& configversion() const;
701  void set_configversion(const ::std::string& value);
702  void set_configversion(const char* value);
703  void set_configversion(const char* value, size_t size);
704  ::std::string* mutable_configversion();
705  ::std::string* release_configversion();
706  void set_allocated_configversion(::std::string* configversion);
707 
708  // required uint64 uptime = 3;
709  bool has_uptime() const;
710  void clear_uptime();
711  static const int kUptimeFieldNumber = 3;
712  ::google::protobuf::uint64 uptime() const;
713  void set_uptime(::google::protobuf::uint64 value);
714 
715  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DatanodeLocalInfoProto)
716  private:
717  inline void set_has_softwareversion();
718  inline void clear_has_softwareversion();
719  inline void set_has_configversion();
720  inline void clear_has_configversion();
721  inline void set_has_uptime();
722  inline void clear_has_uptime();
723 
724  // helper for ByteSize()
725  int RequiredFieldsByteSizeFallback() const;
726 
727  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
728  ::google::protobuf::uint32 _has_bits_[1];
729  mutable int _cached_size_;
730  ::google::protobuf::internal::ArenaStringPtr softwareversion_;
731  ::google::protobuf::internal::ArenaStringPtr configversion_;
732  ::google::protobuf::uint64 uptime_;
733  friend void protobuf_AddDesc_hdfs_2eproto();
734  friend void protobuf_AssignDesc_hdfs_2eproto();
735  friend void protobuf_ShutdownFile_hdfs_2eproto();
736 
737  void InitAsDefaultInstance();
738  static DatanodeLocalInfoProto* default_instance_;
739 };
740 // -------------------------------------------------------------------
741 
742 class DatanodeInfosProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DatanodeInfosProto) */ {
743  public:
745  virtual ~DatanodeInfosProto();
746 
748 
749  inline DatanodeInfosProto& operator=(const DatanodeInfosProto& from) {
750  CopyFrom(from);
751  return *this;
752  }
753 
754  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
755  return _internal_metadata_.unknown_fields();
756  }
757 
758  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
759  return _internal_metadata_.mutable_unknown_fields();
760  }
761 
762  static const ::google::protobuf::Descriptor* descriptor();
763  static const DatanodeInfosProto& default_instance();
764 
765  void Swap(DatanodeInfosProto* other);
766 
767  // implements Message ----------------------------------------------
768 
769  inline DatanodeInfosProto* New() const { return New(NULL); }
770 
771  DatanodeInfosProto* New(::google::protobuf::Arena* arena) const;
772  void CopyFrom(const ::google::protobuf::Message& from);
773  void MergeFrom(const ::google::protobuf::Message& from);
774  void CopyFrom(const DatanodeInfosProto& from);
775  void MergeFrom(const DatanodeInfosProto& from);
776  void Clear();
777  bool IsInitialized() const;
778 
779  int ByteSize() const;
780  bool MergePartialFromCodedStream(
781  ::google::protobuf::io::CodedInputStream* input);
782  void SerializeWithCachedSizes(
783  ::google::protobuf::io::CodedOutputStream* output) const;
784  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
785  bool deterministic, ::google::protobuf::uint8* output) const;
786  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
787  return InternalSerializeWithCachedSizesToArray(false, output);
788  }
789  int GetCachedSize() const { return _cached_size_; }
790  private:
791  void SharedCtor();
792  void SharedDtor();
793  void SetCachedSize(int size) const;
794  void InternalSwap(DatanodeInfosProto* other);
795  private:
796  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
797  return _internal_metadata_.arena();
798  }
799  inline void* MaybeArenaPtr() const {
800  return _internal_metadata_.raw_arena_ptr();
801  }
802  public:
803 
804  ::google::protobuf::Metadata GetMetadata() const;
805 
806  // nested types ----------------------------------------------------
807 
808  // accessors -------------------------------------------------------
809 
810  // repeated .hadoop.hdfs.DatanodeInfoProto datanodes = 1;
811  int datanodes_size() const;
812  void clear_datanodes();
813  static const int kDatanodesFieldNumber = 1;
814  const ::hadoop::hdfs::DatanodeInfoProto& datanodes(int index) const;
815  ::hadoop::hdfs::DatanodeInfoProto* mutable_datanodes(int index);
816  ::hadoop::hdfs::DatanodeInfoProto* add_datanodes();
817  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
818  mutable_datanodes();
819  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
820  datanodes() const;
821 
822  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DatanodeInfosProto)
823  private:
824 
825  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
826  ::google::protobuf::uint32 _has_bits_[1];
827  mutable int _cached_size_;
828  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto > datanodes_;
829  friend void protobuf_AddDesc_hdfs_2eproto();
830  friend void protobuf_AssignDesc_hdfs_2eproto();
831  friend void protobuf_ShutdownFile_hdfs_2eproto();
832 
833  void InitAsDefaultInstance();
834  static DatanodeInfosProto* default_instance_;
835 };
836 // -------------------------------------------------------------------
837 
838 class DatanodeInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DatanodeInfoProto) */ {
839  public:
841  virtual ~DatanodeInfoProto();
842 
844 
845  inline DatanodeInfoProto& operator=(const DatanodeInfoProto& from) {
846  CopyFrom(from);
847  return *this;
848  }
849 
850  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
851  return _internal_metadata_.unknown_fields();
852  }
853 
854  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
855  return _internal_metadata_.mutable_unknown_fields();
856  }
857 
858  static const ::google::protobuf::Descriptor* descriptor();
859  static const DatanodeInfoProto& default_instance();
860 
861  void Swap(DatanodeInfoProto* other);
862 
863  // implements Message ----------------------------------------------
864 
865  inline DatanodeInfoProto* New() const { return New(NULL); }
866 
867  DatanodeInfoProto* New(::google::protobuf::Arena* arena) const;
868  void CopyFrom(const ::google::protobuf::Message& from);
869  void MergeFrom(const ::google::protobuf::Message& from);
870  void CopyFrom(const DatanodeInfoProto& from);
871  void MergeFrom(const DatanodeInfoProto& from);
872  void Clear();
873  bool IsInitialized() const;
874 
875  int ByteSize() const;
876  bool MergePartialFromCodedStream(
877  ::google::protobuf::io::CodedInputStream* input);
878  void SerializeWithCachedSizes(
879  ::google::protobuf::io::CodedOutputStream* output) const;
880  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
881  bool deterministic, ::google::protobuf::uint8* output) const;
882  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
883  return InternalSerializeWithCachedSizesToArray(false, output);
884  }
885  int GetCachedSize() const { return _cached_size_; }
886  private:
887  void SharedCtor();
888  void SharedDtor();
889  void SetCachedSize(int size) const;
890  void InternalSwap(DatanodeInfoProto* other);
891  private:
892  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
893  return _internal_metadata_.arena();
894  }
895  inline void* MaybeArenaPtr() const {
896  return _internal_metadata_.raw_arena_ptr();
897  }
898  public:
899 
900  ::google::protobuf::Metadata GetMetadata() const;
901 
902  // nested types ----------------------------------------------------
903 
904  typedef DatanodeInfoProto_AdminState AdminState;
905  static const AdminState NORMAL =
906  DatanodeInfoProto_AdminState_NORMAL;
907  static const AdminState DECOMMISSION_INPROGRESS =
908  DatanodeInfoProto_AdminState_DECOMMISSION_INPROGRESS;
909  static const AdminState DECOMMISSIONED =
910  DatanodeInfoProto_AdminState_DECOMMISSIONED;
911  static inline bool AdminState_IsValid(int value) {
912  return DatanodeInfoProto_AdminState_IsValid(value);
913  }
914  static const AdminState AdminState_MIN =
915  DatanodeInfoProto_AdminState_AdminState_MIN;
916  static const AdminState AdminState_MAX =
917  DatanodeInfoProto_AdminState_AdminState_MAX;
918  static const int AdminState_ARRAYSIZE =
919  DatanodeInfoProto_AdminState_AdminState_ARRAYSIZE;
920  static inline const ::google::protobuf::EnumDescriptor*
921  AdminState_descriptor() {
922  return DatanodeInfoProto_AdminState_descriptor();
923  }
924  static inline const ::std::string& AdminState_Name(AdminState value) {
925  return DatanodeInfoProto_AdminState_Name(value);
926  }
927  static inline bool AdminState_Parse(const ::std::string& name,
928  AdminState* value) {
929  return DatanodeInfoProto_AdminState_Parse(name, value);
930  }
931 
932  // accessors -------------------------------------------------------
933 
934  // required .hadoop.hdfs.DatanodeIDProto id = 1;
935  bool has_id() const;
936  void clear_id();
937  static const int kIdFieldNumber = 1;
938  const ::hadoop::hdfs::DatanodeIDProto& id() const;
939  ::hadoop::hdfs::DatanodeIDProto* mutable_id();
940  ::hadoop::hdfs::DatanodeIDProto* release_id();
941  void set_allocated_id(::hadoop::hdfs::DatanodeIDProto* id);
942 
943  // optional uint64 capacity = 2 [default = 0];
944  bool has_capacity() const;
945  void clear_capacity();
946  static const int kCapacityFieldNumber = 2;
947  ::google::protobuf::uint64 capacity() const;
948  void set_capacity(::google::protobuf::uint64 value);
949 
950  // optional uint64 dfsUsed = 3 [default = 0];
951  bool has_dfsused() const;
952  void clear_dfsused();
953  static const int kDfsUsedFieldNumber = 3;
954  ::google::protobuf::uint64 dfsused() const;
955  void set_dfsused(::google::protobuf::uint64 value);
956 
957  // optional uint64 remaining = 4 [default = 0];
958  bool has_remaining() const;
959  void clear_remaining();
960  static const int kRemainingFieldNumber = 4;
961  ::google::protobuf::uint64 remaining() const;
962  void set_remaining(::google::protobuf::uint64 value);
963 
964  // optional uint64 blockPoolUsed = 5 [default = 0];
965  bool has_blockpoolused() const;
966  void clear_blockpoolused();
967  static const int kBlockPoolUsedFieldNumber = 5;
968  ::google::protobuf::uint64 blockpoolused() const;
969  void set_blockpoolused(::google::protobuf::uint64 value);
970 
971  // optional uint64 lastUpdate = 6 [default = 0];
972  bool has_lastupdate() const;
973  void clear_lastupdate();
974  static const int kLastUpdateFieldNumber = 6;
975  ::google::protobuf::uint64 lastupdate() const;
976  void set_lastupdate(::google::protobuf::uint64 value);
977 
978  // optional uint32 xceiverCount = 7 [default = 0];
979  bool has_xceivercount() const;
980  void clear_xceivercount();
981  static const int kXceiverCountFieldNumber = 7;
982  ::google::protobuf::uint32 xceivercount() const;
983  void set_xceivercount(::google::protobuf::uint32 value);
984 
985  // optional string location = 8;
986  bool has_location() const;
987  void clear_location();
988  static const int kLocationFieldNumber = 8;
989  const ::std::string& location() const;
990  void set_location(const ::std::string& value);
991  void set_location(const char* value);
992  void set_location(const char* value, size_t size);
993  ::std::string* mutable_location();
994  ::std::string* release_location();
995  void set_allocated_location(::std::string* location);
996 
997  // optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL];
998  bool has_adminstate() const;
999  void clear_adminstate();
1000  static const int kAdminStateFieldNumber = 10;
1001  ::hadoop::hdfs::DatanodeInfoProto_AdminState adminstate() const;
1002  void set_adminstate(::hadoop::hdfs::DatanodeInfoProto_AdminState value);
1003 
1004  // optional uint64 cacheCapacity = 11 [default = 0];
1005  bool has_cachecapacity() const;
1006  void clear_cachecapacity();
1007  static const int kCacheCapacityFieldNumber = 11;
1008  ::google::protobuf::uint64 cachecapacity() const;
1009  void set_cachecapacity(::google::protobuf::uint64 value);
1010 
1011  // optional uint64 cacheUsed = 12 [default = 0];
1012  bool has_cacheused() const;
1013  void clear_cacheused();
1014  static const int kCacheUsedFieldNumber = 12;
1015  ::google::protobuf::uint64 cacheused() const;
1016  void set_cacheused(::google::protobuf::uint64 value);
1017 
1018  // optional uint64 lastUpdateMonotonic = 13 [default = 0];
1019  bool has_lastupdatemonotonic() const;
1020  void clear_lastupdatemonotonic();
1021  static const int kLastUpdateMonotonicFieldNumber = 13;
1022  ::google::protobuf::uint64 lastupdatemonotonic() const;
1023  void set_lastupdatemonotonic(::google::protobuf::uint64 value);
1024 
1025  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DatanodeInfoProto)
1026  private:
1027  inline void set_has_id();
1028  inline void clear_has_id();
1029  inline void set_has_capacity();
1030  inline void clear_has_capacity();
1031  inline void set_has_dfsused();
1032  inline void clear_has_dfsused();
1033  inline void set_has_remaining();
1034  inline void clear_has_remaining();
1035  inline void set_has_blockpoolused();
1036  inline void clear_has_blockpoolused();
1037  inline void set_has_lastupdate();
1038  inline void clear_has_lastupdate();
1039  inline void set_has_xceivercount();
1040  inline void clear_has_xceivercount();
1041  inline void set_has_location();
1042  inline void clear_has_location();
1043  inline void set_has_adminstate();
1044  inline void clear_has_adminstate();
1045  inline void set_has_cachecapacity();
1046  inline void clear_has_cachecapacity();
1047  inline void set_has_cacheused();
1048  inline void clear_has_cacheused();
1049  inline void set_has_lastupdatemonotonic();
1050  inline void clear_has_lastupdatemonotonic();
1051 
1052  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1053  ::google::protobuf::uint32 _has_bits_[1];
1054  mutable int _cached_size_;
1056  ::google::protobuf::uint64 capacity_;
1057  ::google::protobuf::uint64 dfsused_;
1058  ::google::protobuf::uint64 remaining_;
1059  ::google::protobuf::uint64 blockpoolused_;
1060  ::google::protobuf::uint64 lastupdate_;
1061  ::google::protobuf::internal::ArenaStringPtr location_;
1062  ::google::protobuf::uint32 xceivercount_;
1063  int adminstate_;
1064  ::google::protobuf::uint64 cachecapacity_;
1065  ::google::protobuf::uint64 cacheused_;
1066  ::google::protobuf::uint64 lastupdatemonotonic_;
1067  friend void protobuf_AddDesc_hdfs_2eproto();
1068  friend void protobuf_AssignDesc_hdfs_2eproto();
1069  friend void protobuf_ShutdownFile_hdfs_2eproto();
1070 
1071  void InitAsDefaultInstance();
1072  static DatanodeInfoProto* default_instance_;
1073 };
1074 // -------------------------------------------------------------------
1075 
1076 class DatanodeStorageProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DatanodeStorageProto) */ {
1077  public:
1079  virtual ~DatanodeStorageProto();
1080 
1082 
1083  inline DatanodeStorageProto& operator=(const DatanodeStorageProto& from) {
1084  CopyFrom(from);
1085  return *this;
1086  }
1087 
1088  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1089  return _internal_metadata_.unknown_fields();
1090  }
1091 
1092  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1093  return _internal_metadata_.mutable_unknown_fields();
1094  }
1095 
1096  static const ::google::protobuf::Descriptor* descriptor();
1097  static const DatanodeStorageProto& default_instance();
1098 
1099  void Swap(DatanodeStorageProto* other);
1100 
1101  // implements Message ----------------------------------------------
1102 
1103  inline DatanodeStorageProto* New() const { return New(NULL); }
1104 
1105  DatanodeStorageProto* New(::google::protobuf::Arena* arena) const;
1106  void CopyFrom(const ::google::protobuf::Message& from);
1107  void MergeFrom(const ::google::protobuf::Message& from);
1108  void CopyFrom(const DatanodeStorageProto& from);
1109  void MergeFrom(const DatanodeStorageProto& from);
1110  void Clear();
1111  bool IsInitialized() const;
1112 
1113  int ByteSize() const;
1114  bool MergePartialFromCodedStream(
1115  ::google::protobuf::io::CodedInputStream* input);
1116  void SerializeWithCachedSizes(
1117  ::google::protobuf::io::CodedOutputStream* output) const;
1118  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1119  bool deterministic, ::google::protobuf::uint8* output) const;
1120  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1121  return InternalSerializeWithCachedSizesToArray(false, output);
1122  }
1123  int GetCachedSize() const { return _cached_size_; }
1124  private:
1125  void SharedCtor();
1126  void SharedDtor();
1127  void SetCachedSize(int size) const;
1128  void InternalSwap(DatanodeStorageProto* other);
1129  private:
1130  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1131  return _internal_metadata_.arena();
1132  }
1133  inline void* MaybeArenaPtr() const {
1134  return _internal_metadata_.raw_arena_ptr();
1135  }
1136  public:
1137 
1138  ::google::protobuf::Metadata GetMetadata() const;
1139 
1140  // nested types ----------------------------------------------------
1141 
1142  typedef DatanodeStorageProto_StorageState StorageState;
1143  static const StorageState NORMAL =
1144  DatanodeStorageProto_StorageState_NORMAL;
1145  static const StorageState READ_ONLY_SHARED =
1146  DatanodeStorageProto_StorageState_READ_ONLY_SHARED;
1147  static inline bool StorageState_IsValid(int value) {
1148  return DatanodeStorageProto_StorageState_IsValid(value);
1149  }
1150  static const StorageState StorageState_MIN =
1151  DatanodeStorageProto_StorageState_StorageState_MIN;
1152  static const StorageState StorageState_MAX =
1153  DatanodeStorageProto_StorageState_StorageState_MAX;
1154  static const int StorageState_ARRAYSIZE =
1155  DatanodeStorageProto_StorageState_StorageState_ARRAYSIZE;
1156  static inline const ::google::protobuf::EnumDescriptor*
1157  StorageState_descriptor() {
1158  return DatanodeStorageProto_StorageState_descriptor();
1159  }
1160  static inline const ::std::string& StorageState_Name(StorageState value) {
1161  return DatanodeStorageProto_StorageState_Name(value);
1162  }
1163  static inline bool StorageState_Parse(const ::std::string& name,
1164  StorageState* value) {
1165  return DatanodeStorageProto_StorageState_Parse(name, value);
1166  }
1167 
1168  // accessors -------------------------------------------------------
1169 
1170  // required string storageUuid = 1;
1171  bool has_storageuuid() const;
1172  void clear_storageuuid();
1173  static const int kStorageUuidFieldNumber = 1;
1174  const ::std::string& storageuuid() const;
1175  void set_storageuuid(const ::std::string& value);
1176  void set_storageuuid(const char* value);
1177  void set_storageuuid(const char* value, size_t size);
1178  ::std::string* mutable_storageuuid();
1179  ::std::string* release_storageuuid();
1180  void set_allocated_storageuuid(::std::string* storageuuid);
1181 
1182  // optional .hadoop.hdfs.DatanodeStorageProto.StorageState state = 2 [default = NORMAL];
1183  bool has_state() const;
1184  void clear_state();
1185  static const int kStateFieldNumber = 2;
1186  ::hadoop::hdfs::DatanodeStorageProto_StorageState state() const;
1187  void set_state(::hadoop::hdfs::DatanodeStorageProto_StorageState value);
1188 
1189  // optional .hadoop.hdfs.StorageTypeProto storageType = 3 [default = DISK];
1190  bool has_storagetype() const;
1191  void clear_storagetype();
1192  static const int kStorageTypeFieldNumber = 3;
1193  ::hadoop::hdfs::StorageTypeProto storagetype() const;
1194  void set_storagetype(::hadoop::hdfs::StorageTypeProto value);
1195 
1196  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DatanodeStorageProto)
1197  private:
1198  inline void set_has_storageuuid();
1199  inline void clear_has_storageuuid();
1200  inline void set_has_state();
1201  inline void clear_has_state();
1202  inline void set_has_storagetype();
1203  inline void clear_has_storagetype();
1204 
1205  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1206  ::google::protobuf::uint32 _has_bits_[1];
1207  mutable int _cached_size_;
1208  ::google::protobuf::internal::ArenaStringPtr storageuuid_;
1209  int state_;
1210  int storagetype_;
1211  friend void protobuf_AddDesc_hdfs_2eproto();
1212  friend void protobuf_AssignDesc_hdfs_2eproto();
1213  friend void protobuf_ShutdownFile_hdfs_2eproto();
1214 
1215  void InitAsDefaultInstance();
1216  static DatanodeStorageProto* default_instance_;
1217 };
1218 // -------------------------------------------------------------------
1219 
1220 class StorageReportProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.StorageReportProto) */ {
1221  public:
1223  virtual ~StorageReportProto();
1224 
1226 
1227  inline StorageReportProto& operator=(const StorageReportProto& from) {
1228  CopyFrom(from);
1229  return *this;
1230  }
1231 
1232  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1233  return _internal_metadata_.unknown_fields();
1234  }
1235 
1236  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1237  return _internal_metadata_.mutable_unknown_fields();
1238  }
1239 
1240  static const ::google::protobuf::Descriptor* descriptor();
1241  static const StorageReportProto& default_instance();
1242 
1243  void Swap(StorageReportProto* other);
1244 
1245  // implements Message ----------------------------------------------
1246 
1247  inline StorageReportProto* New() const { return New(NULL); }
1248 
1249  StorageReportProto* New(::google::protobuf::Arena* arena) const;
1250  void CopyFrom(const ::google::protobuf::Message& from);
1251  void MergeFrom(const ::google::protobuf::Message& from);
1252  void CopyFrom(const StorageReportProto& from);
1253  void MergeFrom(const StorageReportProto& from);
1254  void Clear();
1255  bool IsInitialized() const;
1256 
1257  int ByteSize() const;
1258  bool MergePartialFromCodedStream(
1259  ::google::protobuf::io::CodedInputStream* input);
1260  void SerializeWithCachedSizes(
1261  ::google::protobuf::io::CodedOutputStream* output) const;
1262  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1263  bool deterministic, ::google::protobuf::uint8* output) const;
1264  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1265  return InternalSerializeWithCachedSizesToArray(false, output);
1266  }
1267  int GetCachedSize() const { return _cached_size_; }
1268  private:
1269  void SharedCtor();
1270  void SharedDtor();
1271  void SetCachedSize(int size) const;
1272  void InternalSwap(StorageReportProto* other);
1273  private:
1274  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1275  return _internal_metadata_.arena();
1276  }
1277  inline void* MaybeArenaPtr() const {
1278  return _internal_metadata_.raw_arena_ptr();
1279  }
1280  public:
1281 
1282  ::google::protobuf::Metadata GetMetadata() const;
1283 
1284  // nested types ----------------------------------------------------
1285 
1286  // accessors -------------------------------------------------------
1287 
1288  // required string storageUuid = 1 [deprecated = true];
1289  GOOGLE_PROTOBUF_DEPRECATED_ATTR bool has_storageuuid() const;
1290  GOOGLE_PROTOBUF_DEPRECATED_ATTR void clear_storageuuid();
1291  GOOGLE_PROTOBUF_DEPRECATED_ATTR static const int kStorageUuidFieldNumber = 1;
1292  GOOGLE_PROTOBUF_DEPRECATED_ATTR const ::std::string& storageuuid() const;
1293  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_storageuuid(const ::std::string& value);
1294  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_storageuuid(const char* value);
1295  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_storageuuid(const char* value, size_t size);
1296  GOOGLE_PROTOBUF_DEPRECATED_ATTR ::std::string* mutable_storageuuid();
1297  GOOGLE_PROTOBUF_DEPRECATED_ATTR ::std::string* release_storageuuid();
1298  GOOGLE_PROTOBUF_DEPRECATED_ATTR void set_allocated_storageuuid(::std::string* storageuuid);
1299 
1300  // optional bool failed = 2 [default = false];
1301  bool has_failed() const;
1302  void clear_failed();
1303  static const int kFailedFieldNumber = 2;
1304  bool failed() const;
1305  void set_failed(bool value);
1306 
1307  // optional uint64 capacity = 3 [default = 0];
1308  bool has_capacity() const;
1309  void clear_capacity();
1310  static const int kCapacityFieldNumber = 3;
1311  ::google::protobuf::uint64 capacity() const;
1312  void set_capacity(::google::protobuf::uint64 value);
1313 
1314  // optional uint64 dfsUsed = 4 [default = 0];
1315  bool has_dfsused() const;
1316  void clear_dfsused();
1317  static const int kDfsUsedFieldNumber = 4;
1318  ::google::protobuf::uint64 dfsused() const;
1319  void set_dfsused(::google::protobuf::uint64 value);
1320 
1321  // optional uint64 remaining = 5 [default = 0];
1322  bool has_remaining() const;
1323  void clear_remaining();
1324  static const int kRemainingFieldNumber = 5;
1325  ::google::protobuf::uint64 remaining() const;
1326  void set_remaining(::google::protobuf::uint64 value);
1327 
1328  // optional uint64 blockPoolUsed = 6 [default = 0];
1329  bool has_blockpoolused() const;
1330  void clear_blockpoolused();
1331  static const int kBlockPoolUsedFieldNumber = 6;
1332  ::google::protobuf::uint64 blockpoolused() const;
1333  void set_blockpoolused(::google::protobuf::uint64 value);
1334 
1335  // optional .hadoop.hdfs.DatanodeStorageProto storage = 7;
1336  bool has_storage() const;
1337  void clear_storage();
1338  static const int kStorageFieldNumber = 7;
1339  const ::hadoop::hdfs::DatanodeStorageProto& storage() const;
1340  ::hadoop::hdfs::DatanodeStorageProto* mutable_storage();
1341  ::hadoop::hdfs::DatanodeStorageProto* release_storage();
1342  void set_allocated_storage(::hadoop::hdfs::DatanodeStorageProto* storage);
1343 
1344  // @@protoc_insertion_point(class_scope:hadoop.hdfs.StorageReportProto)
1345  private:
1346  inline void set_has_storageuuid();
1347  inline void clear_has_storageuuid();
1348  inline void set_has_failed();
1349  inline void clear_has_failed();
1350  inline void set_has_capacity();
1351  inline void clear_has_capacity();
1352  inline void set_has_dfsused();
1353  inline void clear_has_dfsused();
1354  inline void set_has_remaining();
1355  inline void clear_has_remaining();
1356  inline void set_has_blockpoolused();
1357  inline void clear_has_blockpoolused();
1358  inline void set_has_storage();
1359  inline void clear_has_storage();
1360 
1361  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1362  ::google::protobuf::uint32 _has_bits_[1];
1363  mutable int _cached_size_;
1364  ::google::protobuf::internal::ArenaStringPtr storageuuid_;
1365  ::google::protobuf::uint64 capacity_;
1366  ::google::protobuf::uint64 dfsused_;
1367  ::google::protobuf::uint64 remaining_;
1368  ::google::protobuf::uint64 blockpoolused_;
1370  bool failed_;
1371  friend void protobuf_AddDesc_hdfs_2eproto();
1372  friend void protobuf_AssignDesc_hdfs_2eproto();
1373  friend void protobuf_ShutdownFile_hdfs_2eproto();
1374 
1375  void InitAsDefaultInstance();
1376  static StorageReportProto* default_instance_;
1377 };
1378 // -------------------------------------------------------------------
1379 
1380 class ContentSummaryProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ContentSummaryProto) */ {
1381  public:
1383  virtual ~ContentSummaryProto();
1384 
1386 
1387  inline ContentSummaryProto& operator=(const ContentSummaryProto& from) {
1388  CopyFrom(from);
1389  return *this;
1390  }
1391 
1392  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1393  return _internal_metadata_.unknown_fields();
1394  }
1395 
1396  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1397  return _internal_metadata_.mutable_unknown_fields();
1398  }
1399 
1400  static const ::google::protobuf::Descriptor* descriptor();
1401  static const ContentSummaryProto& default_instance();
1402 
1403  void Swap(ContentSummaryProto* other);
1404 
1405  // implements Message ----------------------------------------------
1406 
1407  inline ContentSummaryProto* New() const { return New(NULL); }
1408 
1409  ContentSummaryProto* New(::google::protobuf::Arena* arena) const;
1410  void CopyFrom(const ::google::protobuf::Message& from);
1411  void MergeFrom(const ::google::protobuf::Message& from);
1412  void CopyFrom(const ContentSummaryProto& from);
1413  void MergeFrom(const ContentSummaryProto& from);
1414  void Clear();
1415  bool IsInitialized() const;
1416 
1417  int ByteSize() const;
1418  bool MergePartialFromCodedStream(
1419  ::google::protobuf::io::CodedInputStream* input);
1420  void SerializeWithCachedSizes(
1421  ::google::protobuf::io::CodedOutputStream* output) const;
1422  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1423  bool deterministic, ::google::protobuf::uint8* output) const;
1424  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1425  return InternalSerializeWithCachedSizesToArray(false, output);
1426  }
1427  int GetCachedSize() const { return _cached_size_; }
1428  private:
1429  void SharedCtor();
1430  void SharedDtor();
1431  void SetCachedSize(int size) const;
1432  void InternalSwap(ContentSummaryProto* other);
1433  private:
1434  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1435  return _internal_metadata_.arena();
1436  }
1437  inline void* MaybeArenaPtr() const {
1438  return _internal_metadata_.raw_arena_ptr();
1439  }
1440  public:
1441 
1442  ::google::protobuf::Metadata GetMetadata() const;
1443 
1444  // nested types ----------------------------------------------------
1445 
1446  // accessors -------------------------------------------------------
1447 
1448  // required uint64 length = 1;
1449  bool has_length() const;
1450  void clear_length();
1451  static const int kLengthFieldNumber = 1;
1452  ::google::protobuf::uint64 length() const;
1453  void set_length(::google::protobuf::uint64 value);
1454 
1455  // required uint64 fileCount = 2;
1456  bool has_filecount() const;
1457  void clear_filecount();
1458  static const int kFileCountFieldNumber = 2;
1459  ::google::protobuf::uint64 filecount() const;
1460  void set_filecount(::google::protobuf::uint64 value);
1461 
1462  // required uint64 directoryCount = 3;
1463  bool has_directorycount() const;
1464  void clear_directorycount();
1465  static const int kDirectoryCountFieldNumber = 3;
1466  ::google::protobuf::uint64 directorycount() const;
1467  void set_directorycount(::google::protobuf::uint64 value);
1468 
1469  // required uint64 quota = 4;
1470  bool has_quota() const;
1471  void clear_quota();
1472  static const int kQuotaFieldNumber = 4;
1473  ::google::protobuf::uint64 quota() const;
1474  void set_quota(::google::protobuf::uint64 value);
1475 
1476  // required uint64 spaceConsumed = 5;
1477  bool has_spaceconsumed() const;
1478  void clear_spaceconsumed();
1479  static const int kSpaceConsumedFieldNumber = 5;
1480  ::google::protobuf::uint64 spaceconsumed() const;
1481  void set_spaceconsumed(::google::protobuf::uint64 value);
1482 
1483  // required uint64 spaceQuota = 6;
1484  bool has_spacequota() const;
1485  void clear_spacequota();
1486  static const int kSpaceQuotaFieldNumber = 6;
1487  ::google::protobuf::uint64 spacequota() const;
1488  void set_spacequota(::google::protobuf::uint64 value);
1489 
1490  // optional .hadoop.hdfs.StorageTypeQuotaInfosProto typeQuotaInfos = 7;
1491  bool has_typequotainfos() const;
1492  void clear_typequotainfos();
1493  static const int kTypeQuotaInfosFieldNumber = 7;
1494  const ::hadoop::hdfs::StorageTypeQuotaInfosProto& typequotainfos() const;
1495  ::hadoop::hdfs::StorageTypeQuotaInfosProto* mutable_typequotainfos();
1496  ::hadoop::hdfs::StorageTypeQuotaInfosProto* release_typequotainfos();
1497  void set_allocated_typequotainfos(::hadoop::hdfs::StorageTypeQuotaInfosProto* typequotainfos);
1498 
1499  // optional uint64 snapshotLength = 8;
1500  bool has_snapshotlength() const;
1501  void clear_snapshotlength();
1502  static const int kSnapshotLengthFieldNumber = 8;
1503  ::google::protobuf::uint64 snapshotlength() const;
1504  void set_snapshotlength(::google::protobuf::uint64 value);
1505 
1506  // optional uint64 snapshotFileCount = 9;
1507  bool has_snapshotfilecount() const;
1508  void clear_snapshotfilecount();
1509  static const int kSnapshotFileCountFieldNumber = 9;
1510  ::google::protobuf::uint64 snapshotfilecount() const;
1511  void set_snapshotfilecount(::google::protobuf::uint64 value);
1512 
1513  // optional uint64 snapshotDirectoryCount = 10;
1514  bool has_snapshotdirectorycount() const;
1515  void clear_snapshotdirectorycount();
1516  static const int kSnapshotDirectoryCountFieldNumber = 10;
1517  ::google::protobuf::uint64 snapshotdirectorycount() const;
1518  void set_snapshotdirectorycount(::google::protobuf::uint64 value);
1519 
1520  // optional uint64 snapshotSpaceConsumed = 11;
1521  bool has_snapshotspaceconsumed() const;
1522  void clear_snapshotspaceconsumed();
1523  static const int kSnapshotSpaceConsumedFieldNumber = 11;
1524  ::google::protobuf::uint64 snapshotspaceconsumed() const;
1525  void set_snapshotspaceconsumed(::google::protobuf::uint64 value);
1526 
1527  // optional string erasureCodingPolicy = 12;
1528  bool has_erasurecodingpolicy() const;
1529  void clear_erasurecodingpolicy();
1530  static const int kErasureCodingPolicyFieldNumber = 12;
1531  const ::std::string& erasurecodingpolicy() const;
1532  void set_erasurecodingpolicy(const ::std::string& value);
1533  void set_erasurecodingpolicy(const char* value);
1534  void set_erasurecodingpolicy(const char* value, size_t size);
1535  ::std::string* mutable_erasurecodingpolicy();
1536  ::std::string* release_erasurecodingpolicy();
1537  void set_allocated_erasurecodingpolicy(::std::string* erasurecodingpolicy);
1538 
1539  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ContentSummaryProto)
1540  private:
1541  inline void set_has_length();
1542  inline void clear_has_length();
1543  inline void set_has_filecount();
1544  inline void clear_has_filecount();
1545  inline void set_has_directorycount();
1546  inline void clear_has_directorycount();
1547  inline void set_has_quota();
1548  inline void clear_has_quota();
1549  inline void set_has_spaceconsumed();
1550  inline void clear_has_spaceconsumed();
1551  inline void set_has_spacequota();
1552  inline void clear_has_spacequota();
1553  inline void set_has_typequotainfos();
1554  inline void clear_has_typequotainfos();
1555  inline void set_has_snapshotlength();
1556  inline void clear_has_snapshotlength();
1557  inline void set_has_snapshotfilecount();
1558  inline void clear_has_snapshotfilecount();
1559  inline void set_has_snapshotdirectorycount();
1560  inline void clear_has_snapshotdirectorycount();
1561  inline void set_has_snapshotspaceconsumed();
1562  inline void clear_has_snapshotspaceconsumed();
1563  inline void set_has_erasurecodingpolicy();
1564  inline void clear_has_erasurecodingpolicy();
1565 
1566  // helper for ByteSize()
1567  int RequiredFieldsByteSizeFallback() const;
1568 
1569  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1570  ::google::protobuf::uint32 _has_bits_[1];
1571  mutable int _cached_size_;
1572  ::google::protobuf::uint64 length_;
1573  ::google::protobuf::uint64 filecount_;
1574  ::google::protobuf::uint64 directorycount_;
1575  ::google::protobuf::uint64 quota_;
1576  ::google::protobuf::uint64 spaceconsumed_;
1577  ::google::protobuf::uint64 spacequota_;
1579  ::google::protobuf::uint64 snapshotlength_;
1580  ::google::protobuf::uint64 snapshotfilecount_;
1581  ::google::protobuf::uint64 snapshotdirectorycount_;
1582  ::google::protobuf::uint64 snapshotspaceconsumed_;
1583  ::google::protobuf::internal::ArenaStringPtr erasurecodingpolicy_;
1584  friend void protobuf_AddDesc_hdfs_2eproto();
1585  friend void protobuf_AssignDesc_hdfs_2eproto();
1586  friend void protobuf_ShutdownFile_hdfs_2eproto();
1587 
1588  void InitAsDefaultInstance();
1589  static ContentSummaryProto* default_instance_;
1590 };
1591 // -------------------------------------------------------------------
1592 
1593 class StorageTypeQuotaInfosProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.StorageTypeQuotaInfosProto) */ {
1594  public:
1596  virtual ~StorageTypeQuotaInfosProto();
1597 
1599 
1600  inline StorageTypeQuotaInfosProto& operator=(const StorageTypeQuotaInfosProto& from) {
1601  CopyFrom(from);
1602  return *this;
1603  }
1604 
1605  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1606  return _internal_metadata_.unknown_fields();
1607  }
1608 
1609  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1610  return _internal_metadata_.mutable_unknown_fields();
1611  }
1612 
1613  static const ::google::protobuf::Descriptor* descriptor();
1614  static const StorageTypeQuotaInfosProto& default_instance();
1615 
1616  void Swap(StorageTypeQuotaInfosProto* other);
1617 
1618  // implements Message ----------------------------------------------
1619 
1620  inline StorageTypeQuotaInfosProto* New() const { return New(NULL); }
1621 
1622  StorageTypeQuotaInfosProto* New(::google::protobuf::Arena* arena) const;
1623  void CopyFrom(const ::google::protobuf::Message& from);
1624  void MergeFrom(const ::google::protobuf::Message& from);
1625  void CopyFrom(const StorageTypeQuotaInfosProto& from);
1626  void MergeFrom(const StorageTypeQuotaInfosProto& from);
1627  void Clear();
1628  bool IsInitialized() const;
1629 
1630  int ByteSize() const;
1631  bool MergePartialFromCodedStream(
1632  ::google::protobuf::io::CodedInputStream* input);
1633  void SerializeWithCachedSizes(
1634  ::google::protobuf::io::CodedOutputStream* output) const;
1635  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1636  bool deterministic, ::google::protobuf::uint8* output) const;
1637  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1638  return InternalSerializeWithCachedSizesToArray(false, output);
1639  }
1640  int GetCachedSize() const { return _cached_size_; }
1641  private:
1642  void SharedCtor();
1643  void SharedDtor();
1644  void SetCachedSize(int size) const;
1645  void InternalSwap(StorageTypeQuotaInfosProto* other);
1646  private:
1647  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1648  return _internal_metadata_.arena();
1649  }
1650  inline void* MaybeArenaPtr() const {
1651  return _internal_metadata_.raw_arena_ptr();
1652  }
1653  public:
1654 
1655  ::google::protobuf::Metadata GetMetadata() const;
1656 
1657  // nested types ----------------------------------------------------
1658 
1659  // accessors -------------------------------------------------------
1660 
1661  // repeated .hadoop.hdfs.StorageTypeQuotaInfoProto typeQuotaInfo = 1;
1662  int typequotainfo_size() const;
1663  void clear_typequotainfo();
1664  static const int kTypeQuotaInfoFieldNumber = 1;
1665  const ::hadoop::hdfs::StorageTypeQuotaInfoProto& typequotainfo(int index) const;
1666  ::hadoop::hdfs::StorageTypeQuotaInfoProto* mutable_typequotainfo(int index);
1667  ::hadoop::hdfs::StorageTypeQuotaInfoProto* add_typequotainfo();
1668  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >*
1669  mutable_typequotainfo();
1670  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >&
1671  typequotainfo() const;
1672 
1673  // @@protoc_insertion_point(class_scope:hadoop.hdfs.StorageTypeQuotaInfosProto)
1674  private:
1675 
1676  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1677  ::google::protobuf::uint32 _has_bits_[1];
1678  mutable int _cached_size_;
1679  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto > typequotainfo_;
1680  friend void protobuf_AddDesc_hdfs_2eproto();
1681  friend void protobuf_AssignDesc_hdfs_2eproto();
1682  friend void protobuf_ShutdownFile_hdfs_2eproto();
1683 
1684  void InitAsDefaultInstance();
1685  static StorageTypeQuotaInfosProto* default_instance_;
1686 };
1687 // -------------------------------------------------------------------
1688 
1689 class StorageTypeQuotaInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.StorageTypeQuotaInfoProto) */ {
1690  public:
1692  virtual ~StorageTypeQuotaInfoProto();
1693 
1695 
1696  inline StorageTypeQuotaInfoProto& operator=(const StorageTypeQuotaInfoProto& from) {
1697  CopyFrom(from);
1698  return *this;
1699  }
1700 
1701  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1702  return _internal_metadata_.unknown_fields();
1703  }
1704 
1705  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1706  return _internal_metadata_.mutable_unknown_fields();
1707  }
1708 
1709  static const ::google::protobuf::Descriptor* descriptor();
1710  static const StorageTypeQuotaInfoProto& default_instance();
1711 
1712  void Swap(StorageTypeQuotaInfoProto* other);
1713 
1714  // implements Message ----------------------------------------------
1715 
1716  inline StorageTypeQuotaInfoProto* New() const { return New(NULL); }
1717 
1718  StorageTypeQuotaInfoProto* New(::google::protobuf::Arena* arena) const;
1719  void CopyFrom(const ::google::protobuf::Message& from);
1720  void MergeFrom(const ::google::protobuf::Message& from);
1721  void CopyFrom(const StorageTypeQuotaInfoProto& from);
1722  void MergeFrom(const StorageTypeQuotaInfoProto& from);
1723  void Clear();
1724  bool IsInitialized() const;
1725 
1726  int ByteSize() const;
1727  bool MergePartialFromCodedStream(
1728  ::google::protobuf::io::CodedInputStream* input);
1729  void SerializeWithCachedSizes(
1730  ::google::protobuf::io::CodedOutputStream* output) const;
1731  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1732  bool deterministic, ::google::protobuf::uint8* output) const;
1733  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1734  return InternalSerializeWithCachedSizesToArray(false, output);
1735  }
1736  int GetCachedSize() const { return _cached_size_; }
1737  private:
1738  void SharedCtor();
1739  void SharedDtor();
1740  void SetCachedSize(int size) const;
1741  void InternalSwap(StorageTypeQuotaInfoProto* other);
1742  private:
1743  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1744  return _internal_metadata_.arena();
1745  }
1746  inline void* MaybeArenaPtr() const {
1747  return _internal_metadata_.raw_arena_ptr();
1748  }
1749  public:
1750 
1751  ::google::protobuf::Metadata GetMetadata() const;
1752 
1753  // nested types ----------------------------------------------------
1754 
1755  // accessors -------------------------------------------------------
1756 
1757  // required .hadoop.hdfs.StorageTypeProto type = 1;
1758  bool has_type() const;
1759  void clear_type();
1760  static const int kTypeFieldNumber = 1;
1761  ::hadoop::hdfs::StorageTypeProto type() const;
1762  void set_type(::hadoop::hdfs::StorageTypeProto value);
1763 
1764  // required uint64 quota = 2;
1765  bool has_quota() const;
1766  void clear_quota();
1767  static const int kQuotaFieldNumber = 2;
1768  ::google::protobuf::uint64 quota() const;
1769  void set_quota(::google::protobuf::uint64 value);
1770 
1771  // required uint64 consumed = 3;
1772  bool has_consumed() const;
1773  void clear_consumed();
1774  static const int kConsumedFieldNumber = 3;
1775  ::google::protobuf::uint64 consumed() const;
1776  void set_consumed(::google::protobuf::uint64 value);
1777 
1778  // @@protoc_insertion_point(class_scope:hadoop.hdfs.StorageTypeQuotaInfoProto)
1779  private:
1780  inline void set_has_type();
1781  inline void clear_has_type();
1782  inline void set_has_quota();
1783  inline void clear_has_quota();
1784  inline void set_has_consumed();
1785  inline void clear_has_consumed();
1786 
1787  // helper for ByteSize()
1788  int RequiredFieldsByteSizeFallback() const;
1789 
1790  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1791  ::google::protobuf::uint32 _has_bits_[1];
1792  mutable int _cached_size_;
1793  ::google::protobuf::uint64 quota_;
1794  ::google::protobuf::uint64 consumed_;
1795  int type_;
1796  friend void protobuf_AddDesc_hdfs_2eproto();
1797  friend void protobuf_AssignDesc_hdfs_2eproto();
1798  friend void protobuf_ShutdownFile_hdfs_2eproto();
1799 
1800  void InitAsDefaultInstance();
1801  static StorageTypeQuotaInfoProto* default_instance_;
1802 };
1803 // -------------------------------------------------------------------
1804 
1805 class CorruptFileBlocksProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CorruptFileBlocksProto) */ {
1806  public:
1808  virtual ~CorruptFileBlocksProto();
1809 
1811 
1812  inline CorruptFileBlocksProto& operator=(const CorruptFileBlocksProto& from) {
1813  CopyFrom(from);
1814  return *this;
1815  }
1816 
1817  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1818  return _internal_metadata_.unknown_fields();
1819  }
1820 
1821  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1822  return _internal_metadata_.mutable_unknown_fields();
1823  }
1824 
1825  static const ::google::protobuf::Descriptor* descriptor();
1826  static const CorruptFileBlocksProto& default_instance();
1827 
1828  void Swap(CorruptFileBlocksProto* other);
1829 
1830  // implements Message ----------------------------------------------
1831 
1832  inline CorruptFileBlocksProto* New() const { return New(NULL); }
1833 
1834  CorruptFileBlocksProto* New(::google::protobuf::Arena* arena) const;
1835  void CopyFrom(const ::google::protobuf::Message& from);
1836  void MergeFrom(const ::google::protobuf::Message& from);
1837  void CopyFrom(const CorruptFileBlocksProto& from);
1838  void MergeFrom(const CorruptFileBlocksProto& from);
1839  void Clear();
1840  bool IsInitialized() const;
1841 
1842  int ByteSize() const;
1843  bool MergePartialFromCodedStream(
1844  ::google::protobuf::io::CodedInputStream* input);
1845  void SerializeWithCachedSizes(
1846  ::google::protobuf::io::CodedOutputStream* output) const;
1847  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1848  bool deterministic, ::google::protobuf::uint8* output) const;
1849  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1850  return InternalSerializeWithCachedSizesToArray(false, output);
1851  }
1852  int GetCachedSize() const { return _cached_size_; }
1853  private:
1854  void SharedCtor();
1855  void SharedDtor();
1856  void SetCachedSize(int size) const;
1857  void InternalSwap(CorruptFileBlocksProto* other);
1858  private:
1859  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1860  return _internal_metadata_.arena();
1861  }
1862  inline void* MaybeArenaPtr() const {
1863  return _internal_metadata_.raw_arena_ptr();
1864  }
1865  public:
1866 
1867  ::google::protobuf::Metadata GetMetadata() const;
1868 
1869  // nested types ----------------------------------------------------
1870 
1871  // accessors -------------------------------------------------------
1872 
1873  // repeated string files = 1;
1874  int files_size() const;
1875  void clear_files();
1876  static const int kFilesFieldNumber = 1;
1877  const ::std::string& files(int index) const;
1878  ::std::string* mutable_files(int index);
1879  void set_files(int index, const ::std::string& value);
1880  void set_files(int index, const char* value);
1881  void set_files(int index, const char* value, size_t size);
1882  ::std::string* add_files();
1883  void add_files(const ::std::string& value);
1884  void add_files(const char* value);
1885  void add_files(const char* value, size_t size);
1886  const ::google::protobuf::RepeatedPtrField< ::std::string>& files() const;
1887  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_files();
1888 
1889  // required string cookie = 2;
1890  bool has_cookie() const;
1891  void clear_cookie();
1892  static const int kCookieFieldNumber = 2;
1893  const ::std::string& cookie() const;
1894  void set_cookie(const ::std::string& value);
1895  void set_cookie(const char* value);
1896  void set_cookie(const char* value, size_t size);
1897  ::std::string* mutable_cookie();
1898  ::std::string* release_cookie();
1899  void set_allocated_cookie(::std::string* cookie);
1900 
1901  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CorruptFileBlocksProto)
1902  private:
1903  inline void set_has_cookie();
1904  inline void clear_has_cookie();
1905 
1906  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1907  ::google::protobuf::uint32 _has_bits_[1];
1908  mutable int _cached_size_;
1909  ::google::protobuf::RepeatedPtrField< ::std::string> files_;
1910  ::google::protobuf::internal::ArenaStringPtr cookie_;
1911  friend void protobuf_AddDesc_hdfs_2eproto();
1912  friend void protobuf_AssignDesc_hdfs_2eproto();
1913  friend void protobuf_ShutdownFile_hdfs_2eproto();
1914 
1915  void InitAsDefaultInstance();
1916  static CorruptFileBlocksProto* default_instance_;
1917 };
1918 // -------------------------------------------------------------------
1919 
1920 class FsPermissionProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.FsPermissionProto) */ {
1921  public:
1923  virtual ~FsPermissionProto();
1924 
1925  FsPermissionProto(const FsPermissionProto& from);
1926 
1927  inline FsPermissionProto& operator=(const FsPermissionProto& from) {
1928  CopyFrom(from);
1929  return *this;
1930  }
1931 
1932  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1933  return _internal_metadata_.unknown_fields();
1934  }
1935 
1936  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1937  return _internal_metadata_.mutable_unknown_fields();
1938  }
1939 
1940  static const ::google::protobuf::Descriptor* descriptor();
1941  static const FsPermissionProto& default_instance();
1942 
1943  void Swap(FsPermissionProto* other);
1944 
1945  // implements Message ----------------------------------------------
1946 
1947  inline FsPermissionProto* New() const { return New(NULL); }
1948 
1949  FsPermissionProto* New(::google::protobuf::Arena* arena) const;
1950  void CopyFrom(const ::google::protobuf::Message& from);
1951  void MergeFrom(const ::google::protobuf::Message& from);
1952  void CopyFrom(const FsPermissionProto& from);
1953  void MergeFrom(const FsPermissionProto& from);
1954  void Clear();
1955  bool IsInitialized() const;
1956 
1957  int ByteSize() const;
1958  bool MergePartialFromCodedStream(
1959  ::google::protobuf::io::CodedInputStream* input);
1960  void SerializeWithCachedSizes(
1961  ::google::protobuf::io::CodedOutputStream* output) const;
1962  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1963  bool deterministic, ::google::protobuf::uint8* output) const;
1964  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
1965  return InternalSerializeWithCachedSizesToArray(false, output);
1966  }
1967  int GetCachedSize() const { return _cached_size_; }
1968  private:
1969  void SharedCtor();
1970  void SharedDtor();
1971  void SetCachedSize(int size) const;
1972  void InternalSwap(FsPermissionProto* other);
1973  private:
1974  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1975  return _internal_metadata_.arena();
1976  }
1977  inline void* MaybeArenaPtr() const {
1978  return _internal_metadata_.raw_arena_ptr();
1979  }
1980  public:
1981 
1982  ::google::protobuf::Metadata GetMetadata() const;
1983 
1984  // nested types ----------------------------------------------------
1985 
1986  // accessors -------------------------------------------------------
1987 
1988  // required uint32 perm = 1;
1989  bool has_perm() const;
1990  void clear_perm();
1991  static const int kPermFieldNumber = 1;
1992  ::google::protobuf::uint32 perm() const;
1993  void set_perm(::google::protobuf::uint32 value);
1994 
1995  // @@protoc_insertion_point(class_scope:hadoop.hdfs.FsPermissionProto)
1996  private:
1997  inline void set_has_perm();
1998  inline void clear_has_perm();
1999 
2000  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2001  ::google::protobuf::uint32 _has_bits_[1];
2002  mutable int _cached_size_;
2003  ::google::protobuf::uint32 perm_;
2004  friend void protobuf_AddDesc_hdfs_2eproto();
2005  friend void protobuf_AssignDesc_hdfs_2eproto();
2006  friend void protobuf_ShutdownFile_hdfs_2eproto();
2007 
2008  void InitAsDefaultInstance();
2009  static FsPermissionProto* default_instance_;
2010 };
2011 // -------------------------------------------------------------------
2012 
2013 class StorageTypesProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.StorageTypesProto) */ {
2014  public:
2016  virtual ~StorageTypesProto();
2017 
2018  StorageTypesProto(const StorageTypesProto& from);
2019 
2020  inline StorageTypesProto& operator=(const StorageTypesProto& from) {
2021  CopyFrom(from);
2022  return *this;
2023  }
2024 
2025  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2026  return _internal_metadata_.unknown_fields();
2027  }
2028 
2029  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2030  return _internal_metadata_.mutable_unknown_fields();
2031  }
2032 
2033  static const ::google::protobuf::Descriptor* descriptor();
2034  static const StorageTypesProto& default_instance();
2035 
2036  void Swap(StorageTypesProto* other);
2037 
2038  // implements Message ----------------------------------------------
2039 
2040  inline StorageTypesProto* New() const { return New(NULL); }
2041 
2042  StorageTypesProto* New(::google::protobuf::Arena* arena) const;
2043  void CopyFrom(const ::google::protobuf::Message& from);
2044  void MergeFrom(const ::google::protobuf::Message& from);
2045  void CopyFrom(const StorageTypesProto& from);
2046  void MergeFrom(const StorageTypesProto& from);
2047  void Clear();
2048  bool IsInitialized() const;
2049 
2050  int ByteSize() const;
2051  bool MergePartialFromCodedStream(
2052  ::google::protobuf::io::CodedInputStream* input);
2053  void SerializeWithCachedSizes(
2054  ::google::protobuf::io::CodedOutputStream* output) const;
2055  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2056  bool deterministic, ::google::protobuf::uint8* output) const;
2057  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2058  return InternalSerializeWithCachedSizesToArray(false, output);
2059  }
2060  int GetCachedSize() const { return _cached_size_; }
2061  private:
2062  void SharedCtor();
2063  void SharedDtor();
2064  void SetCachedSize(int size) const;
2065  void InternalSwap(StorageTypesProto* other);
2066  private:
2067  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2068  return _internal_metadata_.arena();
2069  }
2070  inline void* MaybeArenaPtr() const {
2071  return _internal_metadata_.raw_arena_ptr();
2072  }
2073  public:
2074 
2075  ::google::protobuf::Metadata GetMetadata() const;
2076 
2077  // nested types ----------------------------------------------------
2078 
2079  // accessors -------------------------------------------------------
2080 
2081  // repeated .hadoop.hdfs.StorageTypeProto storageTypes = 1;
2082  int storagetypes_size() const;
2083  void clear_storagetypes();
2084  static const int kStorageTypesFieldNumber = 1;
2085  ::hadoop::hdfs::StorageTypeProto storagetypes(int index) const;
2086  void set_storagetypes(int index, ::hadoop::hdfs::StorageTypeProto value);
2087  void add_storagetypes(::hadoop::hdfs::StorageTypeProto value);
2088  const ::google::protobuf::RepeatedField<int>& storagetypes() const;
2089  ::google::protobuf::RepeatedField<int>* mutable_storagetypes();
2090 
2091  // @@protoc_insertion_point(class_scope:hadoop.hdfs.StorageTypesProto)
2092  private:
2093 
2094  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2095  ::google::protobuf::uint32 _has_bits_[1];
2096  mutable int _cached_size_;
2097  ::google::protobuf::RepeatedField<int> storagetypes_;
2098  friend void protobuf_AddDesc_hdfs_2eproto();
2099  friend void protobuf_AssignDesc_hdfs_2eproto();
2100  friend void protobuf_ShutdownFile_hdfs_2eproto();
2101 
2102  void InitAsDefaultInstance();
2103  static StorageTypesProto* default_instance_;
2104 };
2105 // -------------------------------------------------------------------
2106 
2107 class BlockStoragePolicyProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.BlockStoragePolicyProto) */ {
2108  public:
2110  virtual ~BlockStoragePolicyProto();
2111 
2113 
2114  inline BlockStoragePolicyProto& operator=(const BlockStoragePolicyProto& from) {
2115  CopyFrom(from);
2116  return *this;
2117  }
2118 
2119  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2120  return _internal_metadata_.unknown_fields();
2121  }
2122 
2123  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2124  return _internal_metadata_.mutable_unknown_fields();
2125  }
2126 
2127  static const ::google::protobuf::Descriptor* descriptor();
2128  static const BlockStoragePolicyProto& default_instance();
2129 
2130  void Swap(BlockStoragePolicyProto* other);
2131 
2132  // implements Message ----------------------------------------------
2133 
2134  inline BlockStoragePolicyProto* New() const { return New(NULL); }
2135 
2136  BlockStoragePolicyProto* New(::google::protobuf::Arena* arena) const;
2137  void CopyFrom(const ::google::protobuf::Message& from);
2138  void MergeFrom(const ::google::protobuf::Message& from);
2139  void CopyFrom(const BlockStoragePolicyProto& from);
2140  void MergeFrom(const BlockStoragePolicyProto& from);
2141  void Clear();
2142  bool IsInitialized() const;
2143 
2144  int ByteSize() const;
2145  bool MergePartialFromCodedStream(
2146  ::google::protobuf::io::CodedInputStream* input);
2147  void SerializeWithCachedSizes(
2148  ::google::protobuf::io::CodedOutputStream* output) const;
2149  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2150  bool deterministic, ::google::protobuf::uint8* output) const;
2151  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2152  return InternalSerializeWithCachedSizesToArray(false, output);
2153  }
2154  int GetCachedSize() const { return _cached_size_; }
2155  private:
2156  void SharedCtor();
2157  void SharedDtor();
2158  void SetCachedSize(int size) const;
2159  void InternalSwap(BlockStoragePolicyProto* other);
2160  private:
2161  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2162  return _internal_metadata_.arena();
2163  }
2164  inline void* MaybeArenaPtr() const {
2165  return _internal_metadata_.raw_arena_ptr();
2166  }
2167  public:
2168 
2169  ::google::protobuf::Metadata GetMetadata() const;
2170 
2171  // nested types ----------------------------------------------------
2172 
2173  // accessors -------------------------------------------------------
2174 
2175  // required uint32 policyId = 1;
2176  bool has_policyid() const;
2177  void clear_policyid();
2178  static const int kPolicyIdFieldNumber = 1;
2179  ::google::protobuf::uint32 policyid() const;
2180  void set_policyid(::google::protobuf::uint32 value);
2181 
2182  // required string name = 2;
2183  bool has_name() const;
2184  void clear_name();
2185  static const int kNameFieldNumber = 2;
2186  const ::std::string& name() const;
2187  void set_name(const ::std::string& value);
2188  void set_name(const char* value);
2189  void set_name(const char* value, size_t size);
2190  ::std::string* mutable_name();
2191  ::std::string* release_name();
2192  void set_allocated_name(::std::string* name);
2193 
2194  // required .hadoop.hdfs.StorageTypesProto creationPolicy = 3;
2195  bool has_creationpolicy() const;
2196  void clear_creationpolicy();
2197  static const int kCreationPolicyFieldNumber = 3;
2198  const ::hadoop::hdfs::StorageTypesProto& creationpolicy() const;
2199  ::hadoop::hdfs::StorageTypesProto* mutable_creationpolicy();
2200  ::hadoop::hdfs::StorageTypesProto* release_creationpolicy();
2201  void set_allocated_creationpolicy(::hadoop::hdfs::StorageTypesProto* creationpolicy);
2202 
2203  // optional .hadoop.hdfs.StorageTypesProto creationFallbackPolicy = 4;
2204  bool has_creationfallbackpolicy() const;
2205  void clear_creationfallbackpolicy();
2206  static const int kCreationFallbackPolicyFieldNumber = 4;
2207  const ::hadoop::hdfs::StorageTypesProto& creationfallbackpolicy() const;
2208  ::hadoop::hdfs::StorageTypesProto* mutable_creationfallbackpolicy();
2209  ::hadoop::hdfs::StorageTypesProto* release_creationfallbackpolicy();
2210  void set_allocated_creationfallbackpolicy(::hadoop::hdfs::StorageTypesProto* creationfallbackpolicy);
2211 
2212  // optional .hadoop.hdfs.StorageTypesProto replicationFallbackPolicy = 5;
2213  bool has_replicationfallbackpolicy() const;
2214  void clear_replicationfallbackpolicy();
2215  static const int kReplicationFallbackPolicyFieldNumber = 5;
2216  const ::hadoop::hdfs::StorageTypesProto& replicationfallbackpolicy() const;
2217  ::hadoop::hdfs::StorageTypesProto* mutable_replicationfallbackpolicy();
2218  ::hadoop::hdfs::StorageTypesProto* release_replicationfallbackpolicy();
2219  void set_allocated_replicationfallbackpolicy(::hadoop::hdfs::StorageTypesProto* replicationfallbackpolicy);
2220 
2221  // @@protoc_insertion_point(class_scope:hadoop.hdfs.BlockStoragePolicyProto)
2222  private:
2223  inline void set_has_policyid();
2224  inline void clear_has_policyid();
2225  inline void set_has_name();
2226  inline void clear_has_name();
2227  inline void set_has_creationpolicy();
2228  inline void clear_has_creationpolicy();
2229  inline void set_has_creationfallbackpolicy();
2230  inline void clear_has_creationfallbackpolicy();
2231  inline void set_has_replicationfallbackpolicy();
2232  inline void clear_has_replicationfallbackpolicy();
2233 
2234  // helper for ByteSize()
2235  int RequiredFieldsByteSizeFallback() const;
2236 
2237  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2238  ::google::protobuf::uint32 _has_bits_[1];
2239  mutable int _cached_size_;
2240  ::google::protobuf::internal::ArenaStringPtr name_;
2241  ::hadoop::hdfs::StorageTypesProto* creationpolicy_;
2242  ::hadoop::hdfs::StorageTypesProto* creationfallbackpolicy_;
2243  ::hadoop::hdfs::StorageTypesProto* replicationfallbackpolicy_;
2244  ::google::protobuf::uint32 policyid_;
2245  friend void protobuf_AddDesc_hdfs_2eproto();
2246  friend void protobuf_AssignDesc_hdfs_2eproto();
2247  friend void protobuf_ShutdownFile_hdfs_2eproto();
2248 
2249  void InitAsDefaultInstance();
2250  static BlockStoragePolicyProto* default_instance_;
2251 };
2252 // -------------------------------------------------------------------
2253 
2254 class StorageUuidsProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.StorageUuidsProto) */ {
2255  public:
2257  virtual ~StorageUuidsProto();
2258 
2259  StorageUuidsProto(const StorageUuidsProto& from);
2260 
2261  inline StorageUuidsProto& operator=(const StorageUuidsProto& from) {
2262  CopyFrom(from);
2263  return *this;
2264  }
2265 
2266  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2267  return _internal_metadata_.unknown_fields();
2268  }
2269 
2270  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2271  return _internal_metadata_.mutable_unknown_fields();
2272  }
2273 
2274  static const ::google::protobuf::Descriptor* descriptor();
2275  static const StorageUuidsProto& default_instance();
2276 
2277  void Swap(StorageUuidsProto* other);
2278 
2279  // implements Message ----------------------------------------------
2280 
2281  inline StorageUuidsProto* New() const { return New(NULL); }
2282 
2283  StorageUuidsProto* New(::google::protobuf::Arena* arena) const;
2284  void CopyFrom(const ::google::protobuf::Message& from);
2285  void MergeFrom(const ::google::protobuf::Message& from);
2286  void CopyFrom(const StorageUuidsProto& from);
2287  void MergeFrom(const StorageUuidsProto& from);
2288  void Clear();
2289  bool IsInitialized() const;
2290 
2291  int ByteSize() const;
2292  bool MergePartialFromCodedStream(
2293  ::google::protobuf::io::CodedInputStream* input);
2294  void SerializeWithCachedSizes(
2295  ::google::protobuf::io::CodedOutputStream* output) const;
2296  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2297  bool deterministic, ::google::protobuf::uint8* output) const;
2298  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2299  return InternalSerializeWithCachedSizesToArray(false, output);
2300  }
2301  int GetCachedSize() const { return _cached_size_; }
2302  private:
2303  void SharedCtor();
2304  void SharedDtor();
2305  void SetCachedSize(int size) const;
2306  void InternalSwap(StorageUuidsProto* other);
2307  private:
2308  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2309  return _internal_metadata_.arena();
2310  }
2311  inline void* MaybeArenaPtr() const {
2312  return _internal_metadata_.raw_arena_ptr();
2313  }
2314  public:
2315 
2316  ::google::protobuf::Metadata GetMetadata() const;
2317 
2318  // nested types ----------------------------------------------------
2319 
2320  // accessors -------------------------------------------------------
2321 
2322  // repeated string storageUuids = 1;
2323  int storageuuids_size() const;
2324  void clear_storageuuids();
2325  static const int kStorageUuidsFieldNumber = 1;
2326  const ::std::string& storageuuids(int index) const;
2327  ::std::string* mutable_storageuuids(int index);
2328  void set_storageuuids(int index, const ::std::string& value);
2329  void set_storageuuids(int index, const char* value);
2330  void set_storageuuids(int index, const char* value, size_t size);
2331  ::std::string* add_storageuuids();
2332  void add_storageuuids(const ::std::string& value);
2333  void add_storageuuids(const char* value);
2334  void add_storageuuids(const char* value, size_t size);
2335  const ::google::protobuf::RepeatedPtrField< ::std::string>& storageuuids() const;
2336  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_storageuuids();
2337 
2338  // @@protoc_insertion_point(class_scope:hadoop.hdfs.StorageUuidsProto)
2339  private:
2340 
2341  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2342  ::google::protobuf::uint32 _has_bits_[1];
2343  mutable int _cached_size_;
2344  ::google::protobuf::RepeatedPtrField< ::std::string> storageuuids_;
2345  friend void protobuf_AddDesc_hdfs_2eproto();
2346  friend void protobuf_AssignDesc_hdfs_2eproto();
2347  friend void protobuf_ShutdownFile_hdfs_2eproto();
2348 
2349  void InitAsDefaultInstance();
2350  static StorageUuidsProto* default_instance_;
2351 };
2352 // -------------------------------------------------------------------
2353 
2354 class LocatedBlockProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.LocatedBlockProto) */ {
2355  public:
2357  virtual ~LocatedBlockProto();
2358 
2359  LocatedBlockProto(const LocatedBlockProto& from);
2360 
2361  inline LocatedBlockProto& operator=(const LocatedBlockProto& from) {
2362  CopyFrom(from);
2363  return *this;
2364  }
2365 
2366  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2367  return _internal_metadata_.unknown_fields();
2368  }
2369 
2370  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2371  return _internal_metadata_.mutable_unknown_fields();
2372  }
2373 
2374  static const ::google::protobuf::Descriptor* descriptor();
2375  static const LocatedBlockProto& default_instance();
2376 
2377  void Swap(LocatedBlockProto* other);
2378 
2379  // implements Message ----------------------------------------------
2380 
2381  inline LocatedBlockProto* New() const { return New(NULL); }
2382 
2383  LocatedBlockProto* New(::google::protobuf::Arena* arena) const;
2384  void CopyFrom(const ::google::protobuf::Message& from);
2385  void MergeFrom(const ::google::protobuf::Message& from);
2386  void CopyFrom(const LocatedBlockProto& from);
2387  void MergeFrom(const LocatedBlockProto& from);
2388  void Clear();
2389  bool IsInitialized() const;
2390 
2391  int ByteSize() const;
2392  bool MergePartialFromCodedStream(
2393  ::google::protobuf::io::CodedInputStream* input);
2394  void SerializeWithCachedSizes(
2395  ::google::protobuf::io::CodedOutputStream* output) const;
2396  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2397  bool deterministic, ::google::protobuf::uint8* output) const;
2398  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2399  return InternalSerializeWithCachedSizesToArray(false, output);
2400  }
2401  int GetCachedSize() const { return _cached_size_; }
2402  private:
2403  void SharedCtor();
2404  void SharedDtor();
2405  void SetCachedSize(int size) const;
2406  void InternalSwap(LocatedBlockProto* other);
2407  private:
2408  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2409  return _internal_metadata_.arena();
2410  }
2411  inline void* MaybeArenaPtr() const {
2412  return _internal_metadata_.raw_arena_ptr();
2413  }
2414  public:
2415 
2416  ::google::protobuf::Metadata GetMetadata() const;
2417 
2418  // nested types ----------------------------------------------------
2419 
2420  // accessors -------------------------------------------------------
2421 
2422  // required .hadoop.hdfs.ExtendedBlockProto b = 1;
2423  bool has_b() const;
2424  void clear_b();
2425  static const int kBFieldNumber = 1;
2426  const ::hadoop::hdfs::ExtendedBlockProto& b() const;
2429  void set_allocated_b(::hadoop::hdfs::ExtendedBlockProto* b);
2430 
2431  // required uint64 offset = 2;
2432  bool has_offset() const;
2433  void clear_offset();
2434  static const int kOffsetFieldNumber = 2;
2435  ::google::protobuf::uint64 offset() const;
2436  void set_offset(::google::protobuf::uint64 value);
2437 
2438  // repeated .hadoop.hdfs.DatanodeInfoProto locs = 3;
2439  int locs_size() const;
2440  void clear_locs();
2441  static const int kLocsFieldNumber = 3;
2442  const ::hadoop::hdfs::DatanodeInfoProto& locs(int index) const;
2443  ::hadoop::hdfs::DatanodeInfoProto* mutable_locs(int index);
2445  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
2446  mutable_locs();
2447  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
2448  locs() const;
2449 
2450  // required bool corrupt = 4;
2451  bool has_corrupt() const;
2452  void clear_corrupt();
2453  static const int kCorruptFieldNumber = 4;
2454  bool corrupt() const;
2455  void set_corrupt(bool value);
2456 
2457  // required .hadoop.common.TokenProto blockToken = 5;
2458  bool has_blocktoken() const;
2459  void clear_blocktoken();
2460  static const int kBlockTokenFieldNumber = 5;
2461  const ::hadoop::common::TokenProto& blocktoken() const;
2462  ::hadoop::common::TokenProto* mutable_blocktoken();
2463  ::hadoop::common::TokenProto* release_blocktoken();
2464  void set_allocated_blocktoken(::hadoop::common::TokenProto* blocktoken);
2465 
2466  // repeated bool isCached = 6 [packed = true];
2467  int iscached_size() const;
2468  void clear_iscached();
2469  static const int kIsCachedFieldNumber = 6;
2470  bool iscached(int index) const;
2471  void set_iscached(int index, bool value);
2472  void add_iscached(bool value);
2473  const ::google::protobuf::RepeatedField< bool >&
2474  iscached() const;
2475  ::google::protobuf::RepeatedField< bool >*
2476  mutable_iscached();
2477 
2478  // repeated .hadoop.hdfs.StorageTypeProto storageTypes = 7;
2479  int storagetypes_size() const;
2480  void clear_storagetypes();
2481  static const int kStorageTypesFieldNumber = 7;
2482  ::hadoop::hdfs::StorageTypeProto storagetypes(int index) const;
2483  void set_storagetypes(int index, ::hadoop::hdfs::StorageTypeProto value);
2484  void add_storagetypes(::hadoop::hdfs::StorageTypeProto value);
2485  const ::google::protobuf::RepeatedField<int>& storagetypes() const;
2486  ::google::protobuf::RepeatedField<int>* mutable_storagetypes();
2487 
2488  // repeated string storageIDs = 8;
2489  int storageids_size() const;
2490  void clear_storageids();
2491  static const int kStorageIDsFieldNumber = 8;
2492  const ::std::string& storageids(int index) const;
2493  ::std::string* mutable_storageids(int index);
2494  void set_storageids(int index, const ::std::string& value);
2495  void set_storageids(int index, const char* value);
2496  void set_storageids(int index, const char* value, size_t size);
2497  ::std::string* add_storageids();
2498  void add_storageids(const ::std::string& value);
2499  void add_storageids(const char* value);
2500  void add_storageids(const char* value, size_t size);
2501  const ::google::protobuf::RepeatedPtrField< ::std::string>& storageids() const;
2502  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_storageids();
2503 
2504  // optional bytes blockIndices = 9;
2505  bool has_blockindices() const;
2506  void clear_blockindices();
2507  static const int kBlockIndicesFieldNumber = 9;
2508  const ::std::string& blockindices() const;
2509  void set_blockindices(const ::std::string& value);
2510  void set_blockindices(const char* value);
2511  void set_blockindices(const void* value, size_t size);
2512  ::std::string* mutable_blockindices();
2513  ::std::string* release_blockindices();
2514  void set_allocated_blockindices(::std::string* blockindices);
2515 
2516  // repeated .hadoop.common.TokenProto blockTokens = 10;
2517  int blocktokens_size() const;
2518  void clear_blocktokens();
2519  static const int kBlockTokensFieldNumber = 10;
2520  const ::hadoop::common::TokenProto& blocktokens(int index) const;
2521  ::hadoop::common::TokenProto* mutable_blocktokens(int index);
2522  ::hadoop::common::TokenProto* add_blocktokens();
2523  ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >*
2524  mutable_blocktokens();
2525  const ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >&
2526  blocktokens() const;
2527 
2528  // @@protoc_insertion_point(class_scope:hadoop.hdfs.LocatedBlockProto)
2529  private:
2530  inline void set_has_b();
2531  inline void clear_has_b();
2532  inline void set_has_offset();
2533  inline void clear_has_offset();
2534  inline void set_has_corrupt();
2535  inline void clear_has_corrupt();
2536  inline void set_has_blocktoken();
2537  inline void clear_has_blocktoken();
2538  inline void set_has_blockindices();
2539  inline void clear_has_blockindices();
2540 
2541  // helper for ByteSize()
2542  int RequiredFieldsByteSizeFallback() const;
2543 
2544  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2545  ::google::protobuf::uint32 _has_bits_[1];
2546  mutable int _cached_size_;
2548  ::google::protobuf::uint64 offset_;
2549  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto > locs_;
2550  ::hadoop::common::TokenProto* blocktoken_;
2551  ::google::protobuf::RepeatedField< bool > iscached_;
2552  mutable int _iscached_cached_byte_size_;
2553  ::google::protobuf::RepeatedField<int> storagetypes_;
2554  ::google::protobuf::RepeatedPtrField< ::std::string> storageids_;
2555  ::google::protobuf::internal::ArenaStringPtr blockindices_;
2556  ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto > blocktokens_;
2557  bool corrupt_;
2558  friend void protobuf_AddDesc_hdfs_2eproto();
2559  friend void protobuf_AssignDesc_hdfs_2eproto();
2560  friend void protobuf_ShutdownFile_hdfs_2eproto();
2561 
2562  void InitAsDefaultInstance();
2563  static LocatedBlockProto* default_instance_;
2564 };
2565 // -------------------------------------------------------------------
2566 
2567 class DataEncryptionKeyProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DataEncryptionKeyProto) */ {
2568  public:
2570  virtual ~DataEncryptionKeyProto();
2571 
2573 
2574  inline DataEncryptionKeyProto& operator=(const DataEncryptionKeyProto& from) {
2575  CopyFrom(from);
2576  return *this;
2577  }
2578 
2579  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2580  return _internal_metadata_.unknown_fields();
2581  }
2582 
2583  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2584  return _internal_metadata_.mutable_unknown_fields();
2585  }
2586 
2587  static const ::google::protobuf::Descriptor* descriptor();
2588  static const DataEncryptionKeyProto& default_instance();
2589 
2590  void Swap(DataEncryptionKeyProto* other);
2591 
2592  // implements Message ----------------------------------------------
2593 
2594  inline DataEncryptionKeyProto* New() const { return New(NULL); }
2595 
2596  DataEncryptionKeyProto* New(::google::protobuf::Arena* arena) const;
2597  void CopyFrom(const ::google::protobuf::Message& from);
2598  void MergeFrom(const ::google::protobuf::Message& from);
2599  void CopyFrom(const DataEncryptionKeyProto& from);
2600  void MergeFrom(const DataEncryptionKeyProto& from);
2601  void Clear();
2602  bool IsInitialized() const;
2603 
2604  int ByteSize() const;
2605  bool MergePartialFromCodedStream(
2606  ::google::protobuf::io::CodedInputStream* input);
2607  void SerializeWithCachedSizes(
2608  ::google::protobuf::io::CodedOutputStream* output) const;
2609  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2610  bool deterministic, ::google::protobuf::uint8* output) const;
2611  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2612  return InternalSerializeWithCachedSizesToArray(false, output);
2613  }
2614  int GetCachedSize() const { return _cached_size_; }
2615  private:
2616  void SharedCtor();
2617  void SharedDtor();
2618  void SetCachedSize(int size) const;
2619  void InternalSwap(DataEncryptionKeyProto* other);
2620  private:
2621  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2622  return _internal_metadata_.arena();
2623  }
2624  inline void* MaybeArenaPtr() const {
2625  return _internal_metadata_.raw_arena_ptr();
2626  }
2627  public:
2628 
2629  ::google::protobuf::Metadata GetMetadata() const;
2630 
2631  // nested types ----------------------------------------------------
2632 
2633  // accessors -------------------------------------------------------
2634 
2635  // required uint32 keyId = 1;
2636  bool has_keyid() const;
2637  void clear_keyid();
2638  static const int kKeyIdFieldNumber = 1;
2639  ::google::protobuf::uint32 keyid() const;
2640  void set_keyid(::google::protobuf::uint32 value);
2641 
2642  // required string blockPoolId = 2;
2643  bool has_blockpoolid() const;
2644  void clear_blockpoolid();
2645  static const int kBlockPoolIdFieldNumber = 2;
2646  const ::std::string& blockpoolid() const;
2647  void set_blockpoolid(const ::std::string& value);
2648  void set_blockpoolid(const char* value);
2649  void set_blockpoolid(const char* value, size_t size);
2650  ::std::string* mutable_blockpoolid();
2651  ::std::string* release_blockpoolid();
2652  void set_allocated_blockpoolid(::std::string* blockpoolid);
2653 
2654  // required bytes nonce = 3;
2655  bool has_nonce() const;
2656  void clear_nonce();
2657  static const int kNonceFieldNumber = 3;
2658  const ::std::string& nonce() const;
2659  void set_nonce(const ::std::string& value);
2660  void set_nonce(const char* value);
2661  void set_nonce(const void* value, size_t size);
2662  ::std::string* mutable_nonce();
2663  ::std::string* release_nonce();
2664  void set_allocated_nonce(::std::string* nonce);
2665 
2666  // required bytes encryptionKey = 4;
2667  bool has_encryptionkey() const;
2668  void clear_encryptionkey();
2669  static const int kEncryptionKeyFieldNumber = 4;
2670  const ::std::string& encryptionkey() const;
2671  void set_encryptionkey(const ::std::string& value);
2672  void set_encryptionkey(const char* value);
2673  void set_encryptionkey(const void* value, size_t size);
2674  ::std::string* mutable_encryptionkey();
2675  ::std::string* release_encryptionkey();
2676  void set_allocated_encryptionkey(::std::string* encryptionkey);
2677 
2678  // required uint64 expiryDate = 5;
2679  bool has_expirydate() const;
2680  void clear_expirydate();
2681  static const int kExpiryDateFieldNumber = 5;
2682  ::google::protobuf::uint64 expirydate() const;
2683  void set_expirydate(::google::protobuf::uint64 value);
2684 
2685  // optional string encryptionAlgorithm = 6;
2686  bool has_encryptionalgorithm() const;
2687  void clear_encryptionalgorithm();
2688  static const int kEncryptionAlgorithmFieldNumber = 6;
2689  const ::std::string& encryptionalgorithm() const;
2690  void set_encryptionalgorithm(const ::std::string& value);
2691  void set_encryptionalgorithm(const char* value);
2692  void set_encryptionalgorithm(const char* value, size_t size);
2693  ::std::string* mutable_encryptionalgorithm();
2694  ::std::string* release_encryptionalgorithm();
2695  void set_allocated_encryptionalgorithm(::std::string* encryptionalgorithm);
2696 
2697  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DataEncryptionKeyProto)
2698  private:
2699  inline void set_has_keyid();
2700  inline void clear_has_keyid();
2701  inline void set_has_blockpoolid();
2702  inline void clear_has_blockpoolid();
2703  inline void set_has_nonce();
2704  inline void clear_has_nonce();
2705  inline void set_has_encryptionkey();
2706  inline void clear_has_encryptionkey();
2707  inline void set_has_expirydate();
2708  inline void clear_has_expirydate();
2709  inline void set_has_encryptionalgorithm();
2710  inline void clear_has_encryptionalgorithm();
2711 
2712  // helper for ByteSize()
2713  int RequiredFieldsByteSizeFallback() const;
2714 
2715  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2716  ::google::protobuf::uint32 _has_bits_[1];
2717  mutable int _cached_size_;
2718  ::google::protobuf::internal::ArenaStringPtr blockpoolid_;
2719  ::google::protobuf::internal::ArenaStringPtr nonce_;
2720  ::google::protobuf::internal::ArenaStringPtr encryptionkey_;
2721  ::google::protobuf::uint64 expirydate_;
2722  ::google::protobuf::internal::ArenaStringPtr encryptionalgorithm_;
2723  ::google::protobuf::uint32 keyid_;
2724  friend void protobuf_AddDesc_hdfs_2eproto();
2725  friend void protobuf_AssignDesc_hdfs_2eproto();
2726  friend void protobuf_ShutdownFile_hdfs_2eproto();
2727 
2728  void InitAsDefaultInstance();
2729  static DataEncryptionKeyProto* default_instance_;
2730 };
2731 // -------------------------------------------------------------------
2732 
2733 class FileEncryptionInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.FileEncryptionInfoProto) */ {
2734  public:
2736  virtual ~FileEncryptionInfoProto();
2737 
2739 
2740  inline FileEncryptionInfoProto& operator=(const FileEncryptionInfoProto& from) {
2741  CopyFrom(from);
2742  return *this;
2743  }
2744 
2745  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2746  return _internal_metadata_.unknown_fields();
2747  }
2748 
2749  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2750  return _internal_metadata_.mutable_unknown_fields();
2751  }
2752 
2753  static const ::google::protobuf::Descriptor* descriptor();
2754  static const FileEncryptionInfoProto& default_instance();
2755 
2756  void Swap(FileEncryptionInfoProto* other);
2757 
2758  // implements Message ----------------------------------------------
2759 
2760  inline FileEncryptionInfoProto* New() const { return New(NULL); }
2761 
2762  FileEncryptionInfoProto* New(::google::protobuf::Arena* arena) const;
2763  void CopyFrom(const ::google::protobuf::Message& from);
2764  void MergeFrom(const ::google::protobuf::Message& from);
2765  void CopyFrom(const FileEncryptionInfoProto& from);
2766  void MergeFrom(const FileEncryptionInfoProto& from);
2767  void Clear();
2768  bool IsInitialized() const;
2769 
2770  int ByteSize() const;
2771  bool MergePartialFromCodedStream(
2772  ::google::protobuf::io::CodedInputStream* input);
2773  void SerializeWithCachedSizes(
2774  ::google::protobuf::io::CodedOutputStream* output) const;
2775  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2776  bool deterministic, ::google::protobuf::uint8* output) const;
2777  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2778  return InternalSerializeWithCachedSizesToArray(false, output);
2779  }
2780  int GetCachedSize() const { return _cached_size_; }
2781  private:
2782  void SharedCtor();
2783  void SharedDtor();
2784  void SetCachedSize(int size) const;
2785  void InternalSwap(FileEncryptionInfoProto* other);
2786  private:
2787  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2788  return _internal_metadata_.arena();
2789  }
2790  inline void* MaybeArenaPtr() const {
2791  return _internal_metadata_.raw_arena_ptr();
2792  }
2793  public:
2794 
2795  ::google::protobuf::Metadata GetMetadata() const;
2796 
2797  // nested types ----------------------------------------------------
2798 
2799  // accessors -------------------------------------------------------
2800 
2801  // required .hadoop.hdfs.CipherSuiteProto suite = 1;
2802  bool has_suite() const;
2803  void clear_suite();
2804  static const int kSuiteFieldNumber = 1;
2805  ::hadoop::hdfs::CipherSuiteProto suite() const;
2806  void set_suite(::hadoop::hdfs::CipherSuiteProto value);
2807 
2808  // required .hadoop.hdfs.CryptoProtocolVersionProto cryptoProtocolVersion = 2;
2809  bool has_cryptoprotocolversion() const;
2810  void clear_cryptoprotocolversion();
2811  static const int kCryptoProtocolVersionFieldNumber = 2;
2812  ::hadoop::hdfs::CryptoProtocolVersionProto cryptoprotocolversion() const;
2813  void set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value);
2814 
2815  // required bytes key = 3;
2816  bool has_key() const;
2817  void clear_key();
2818  static const int kKeyFieldNumber = 3;
2819  const ::std::string& key() const;
2820  void set_key(const ::std::string& value);
2821  void set_key(const char* value);
2822  void set_key(const void* value, size_t size);
2823  ::std::string* mutable_key();
2824  ::std::string* release_key();
2825  void set_allocated_key(::std::string* key);
2826 
2827  // required bytes iv = 4;
2828  bool has_iv() const;
2829  void clear_iv();
2830  static const int kIvFieldNumber = 4;
2831  const ::std::string& iv() const;
2832  void set_iv(const ::std::string& value);
2833  void set_iv(const char* value);
2834  void set_iv(const void* value, size_t size);
2835  ::std::string* mutable_iv();
2836  ::std::string* release_iv();
2837  void set_allocated_iv(::std::string* iv);
2838 
2839  // required string keyName = 5;
2840  bool has_keyname() const;
2841  void clear_keyname();
2842  static const int kKeyNameFieldNumber = 5;
2843  const ::std::string& keyname() const;
2844  void set_keyname(const ::std::string& value);
2845  void set_keyname(const char* value);
2846  void set_keyname(const char* value, size_t size);
2847  ::std::string* mutable_keyname();
2848  ::std::string* release_keyname();
2849  void set_allocated_keyname(::std::string* keyname);
2850 
2851  // required string ezKeyVersionName = 6;
2852  bool has_ezkeyversionname() const;
2853  void clear_ezkeyversionname();
2854  static const int kEzKeyVersionNameFieldNumber = 6;
2855  const ::std::string& ezkeyversionname() const;
2856  void set_ezkeyversionname(const ::std::string& value);
2857  void set_ezkeyversionname(const char* value);
2858  void set_ezkeyversionname(const char* value, size_t size);
2859  ::std::string* mutable_ezkeyversionname();
2860  ::std::string* release_ezkeyversionname();
2861  void set_allocated_ezkeyversionname(::std::string* ezkeyversionname);
2862 
2863  // @@protoc_insertion_point(class_scope:hadoop.hdfs.FileEncryptionInfoProto)
2864  private:
2865  inline void set_has_suite();
2866  inline void clear_has_suite();
2867  inline void set_has_cryptoprotocolversion();
2868  inline void clear_has_cryptoprotocolversion();
2869  inline void set_has_key();
2870  inline void clear_has_key();
2871  inline void set_has_iv();
2872  inline void clear_has_iv();
2873  inline void set_has_keyname();
2874  inline void clear_has_keyname();
2875  inline void set_has_ezkeyversionname();
2876  inline void clear_has_ezkeyversionname();
2877 
2878  // helper for ByteSize()
2879  int RequiredFieldsByteSizeFallback() const;
2880 
2881  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2882  ::google::protobuf::uint32 _has_bits_[1];
2883  mutable int _cached_size_;
2884  int suite_;
2885  int cryptoprotocolversion_;
2886  ::google::protobuf::internal::ArenaStringPtr key_;
2887  ::google::protobuf::internal::ArenaStringPtr iv_;
2888  ::google::protobuf::internal::ArenaStringPtr keyname_;
2889  ::google::protobuf::internal::ArenaStringPtr ezkeyversionname_;
2890  friend void protobuf_AddDesc_hdfs_2eproto();
2891  friend void protobuf_AssignDesc_hdfs_2eproto();
2892  friend void protobuf_ShutdownFile_hdfs_2eproto();
2893 
2894  void InitAsDefaultInstance();
2895  static FileEncryptionInfoProto* default_instance_;
2896 };
2897 // -------------------------------------------------------------------
2898 
2899 class PerFileEncryptionInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.PerFileEncryptionInfoProto) */ {
2900  public:
2902  virtual ~PerFileEncryptionInfoProto();
2903 
2905 
2906  inline PerFileEncryptionInfoProto& operator=(const PerFileEncryptionInfoProto& from) {
2907  CopyFrom(from);
2908  return *this;
2909  }
2910 
2911  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2912  return _internal_metadata_.unknown_fields();
2913  }
2914 
2915  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2916  return _internal_metadata_.mutable_unknown_fields();
2917  }
2918 
2919  static const ::google::protobuf::Descriptor* descriptor();
2920  static const PerFileEncryptionInfoProto& default_instance();
2921 
2922  void Swap(PerFileEncryptionInfoProto* other);
2923 
2924  // implements Message ----------------------------------------------
2925 
2926  inline PerFileEncryptionInfoProto* New() const { return New(NULL); }
2927 
2928  PerFileEncryptionInfoProto* New(::google::protobuf::Arena* arena) const;
2929  void CopyFrom(const ::google::protobuf::Message& from);
2930  void MergeFrom(const ::google::protobuf::Message& from);
2931  void CopyFrom(const PerFileEncryptionInfoProto& from);
2932  void MergeFrom(const PerFileEncryptionInfoProto& from);
2933  void Clear();
2934  bool IsInitialized() const;
2935 
2936  int ByteSize() const;
2937  bool MergePartialFromCodedStream(
2938  ::google::protobuf::io::CodedInputStream* input);
2939  void SerializeWithCachedSizes(
2940  ::google::protobuf::io::CodedOutputStream* output) const;
2941  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2942  bool deterministic, ::google::protobuf::uint8* output) const;
2943  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
2944  return InternalSerializeWithCachedSizesToArray(false, output);
2945  }
2946  int GetCachedSize() const { return _cached_size_; }
2947  private:
2948  void SharedCtor();
2949  void SharedDtor();
2950  void SetCachedSize(int size) const;
2951  void InternalSwap(PerFileEncryptionInfoProto* other);
2952  private:
2953  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2954  return _internal_metadata_.arena();
2955  }
2956  inline void* MaybeArenaPtr() const {
2957  return _internal_metadata_.raw_arena_ptr();
2958  }
2959  public:
2960 
2961  ::google::protobuf::Metadata GetMetadata() const;
2962 
2963  // nested types ----------------------------------------------------
2964 
2965  // accessors -------------------------------------------------------
2966 
2967  // required bytes key = 1;
2968  bool has_key() const;
2969  void clear_key();
2970  static const int kKeyFieldNumber = 1;
2971  const ::std::string& key() const;
2972  void set_key(const ::std::string& value);
2973  void set_key(const char* value);
2974  void set_key(const void* value, size_t size);
2975  ::std::string* mutable_key();
2976  ::std::string* release_key();
2977  void set_allocated_key(::std::string* key);
2978 
2979  // required bytes iv = 2;
2980  bool has_iv() const;
2981  void clear_iv();
2982  static const int kIvFieldNumber = 2;
2983  const ::std::string& iv() const;
2984  void set_iv(const ::std::string& value);
2985  void set_iv(const char* value);
2986  void set_iv(const void* value, size_t size);
2987  ::std::string* mutable_iv();
2988  ::std::string* release_iv();
2989  void set_allocated_iv(::std::string* iv);
2990 
2991  // required string ezKeyVersionName = 3;
2992  bool has_ezkeyversionname() const;
2993  void clear_ezkeyversionname();
2994  static const int kEzKeyVersionNameFieldNumber = 3;
2995  const ::std::string& ezkeyversionname() const;
2996  void set_ezkeyversionname(const ::std::string& value);
2997  void set_ezkeyversionname(const char* value);
2998  void set_ezkeyversionname(const char* value, size_t size);
2999  ::std::string* mutable_ezkeyversionname();
3000  ::std::string* release_ezkeyversionname();
3001  void set_allocated_ezkeyversionname(::std::string* ezkeyversionname);
3002 
3003  // @@protoc_insertion_point(class_scope:hadoop.hdfs.PerFileEncryptionInfoProto)
3004  private:
3005  inline void set_has_key();
3006  inline void clear_has_key();
3007  inline void set_has_iv();
3008  inline void clear_has_iv();
3009  inline void set_has_ezkeyversionname();
3010  inline void clear_has_ezkeyversionname();
3011 
3012  // helper for ByteSize()
3013  int RequiredFieldsByteSizeFallback() const;
3014 
3015  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3016  ::google::protobuf::uint32 _has_bits_[1];
3017  mutable int _cached_size_;
3018  ::google::protobuf::internal::ArenaStringPtr key_;
3019  ::google::protobuf::internal::ArenaStringPtr iv_;
3020  ::google::protobuf::internal::ArenaStringPtr ezkeyversionname_;
3021  friend void protobuf_AddDesc_hdfs_2eproto();
3022  friend void protobuf_AssignDesc_hdfs_2eproto();
3023  friend void protobuf_ShutdownFile_hdfs_2eproto();
3024 
3025  void InitAsDefaultInstance();
3026  static PerFileEncryptionInfoProto* default_instance_;
3027 };
3028 // -------------------------------------------------------------------
3029 
3030 class ZoneEncryptionInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ZoneEncryptionInfoProto) */ {
3031  public:
3033  virtual ~ZoneEncryptionInfoProto();
3034 
3036 
3037  inline ZoneEncryptionInfoProto& operator=(const ZoneEncryptionInfoProto& from) {
3038  CopyFrom(from);
3039  return *this;
3040  }
3041 
3042  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3043  return _internal_metadata_.unknown_fields();
3044  }
3045 
3046  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3047  return _internal_metadata_.mutable_unknown_fields();
3048  }
3049 
3050  static const ::google::protobuf::Descriptor* descriptor();
3051  static const ZoneEncryptionInfoProto& default_instance();
3052 
3053  void Swap(ZoneEncryptionInfoProto* other);
3054 
3055  // implements Message ----------------------------------------------
3056 
3057  inline ZoneEncryptionInfoProto* New() const { return New(NULL); }
3058 
3059  ZoneEncryptionInfoProto* New(::google::protobuf::Arena* arena) const;
3060  void CopyFrom(const ::google::protobuf::Message& from);
3061  void MergeFrom(const ::google::protobuf::Message& from);
3062  void CopyFrom(const ZoneEncryptionInfoProto& from);
3063  void MergeFrom(const ZoneEncryptionInfoProto& from);
3064  void Clear();
3065  bool IsInitialized() const;
3066 
3067  int ByteSize() const;
3068  bool MergePartialFromCodedStream(
3069  ::google::protobuf::io::CodedInputStream* input);
3070  void SerializeWithCachedSizes(
3071  ::google::protobuf::io::CodedOutputStream* output) const;
3072  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3073  bool deterministic, ::google::protobuf::uint8* output) const;
3074  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3075  return InternalSerializeWithCachedSizesToArray(false, output);
3076  }
3077  int GetCachedSize() const { return _cached_size_; }
3078  private:
3079  void SharedCtor();
3080  void SharedDtor();
3081  void SetCachedSize(int size) const;
3082  void InternalSwap(ZoneEncryptionInfoProto* other);
3083  private:
3084  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3085  return _internal_metadata_.arena();
3086  }
3087  inline void* MaybeArenaPtr() const {
3088  return _internal_metadata_.raw_arena_ptr();
3089  }
3090  public:
3091 
3092  ::google::protobuf::Metadata GetMetadata() const;
3093 
3094  // nested types ----------------------------------------------------
3095 
3096  // accessors -------------------------------------------------------
3097 
3098  // required .hadoop.hdfs.CipherSuiteProto suite = 1;
3099  bool has_suite() const;
3100  void clear_suite();
3101  static const int kSuiteFieldNumber = 1;
3102  ::hadoop::hdfs::CipherSuiteProto suite() const;
3103  void set_suite(::hadoop::hdfs::CipherSuiteProto value);
3104 
3105  // required .hadoop.hdfs.CryptoProtocolVersionProto cryptoProtocolVersion = 2;
3106  bool has_cryptoprotocolversion() const;
3107  void clear_cryptoprotocolversion();
3108  static const int kCryptoProtocolVersionFieldNumber = 2;
3109  ::hadoop::hdfs::CryptoProtocolVersionProto cryptoprotocolversion() const;
3110  void set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value);
3111 
3112  // required string keyName = 3;
3113  bool has_keyname() const;
3114  void clear_keyname();
3115  static const int kKeyNameFieldNumber = 3;
3116  const ::std::string& keyname() const;
3117  void set_keyname(const ::std::string& value);
3118  void set_keyname(const char* value);
3119  void set_keyname(const char* value, size_t size);
3120  ::std::string* mutable_keyname();
3121  ::std::string* release_keyname();
3122  void set_allocated_keyname(::std::string* keyname);
3123 
3124  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ZoneEncryptionInfoProto)
3125  private:
3126  inline void set_has_suite();
3127  inline void clear_has_suite();
3128  inline void set_has_cryptoprotocolversion();
3129  inline void clear_has_cryptoprotocolversion();
3130  inline void set_has_keyname();
3131  inline void clear_has_keyname();
3132 
3133  // helper for ByteSize()
3134  int RequiredFieldsByteSizeFallback() const;
3135 
3136  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3137  ::google::protobuf::uint32 _has_bits_[1];
3138  mutable int _cached_size_;
3139  int suite_;
3140  int cryptoprotocolversion_;
3141  ::google::protobuf::internal::ArenaStringPtr keyname_;
3142  friend void protobuf_AddDesc_hdfs_2eproto();
3143  friend void protobuf_AssignDesc_hdfs_2eproto();
3144  friend void protobuf_ShutdownFile_hdfs_2eproto();
3145 
3146  void InitAsDefaultInstance();
3147  static ZoneEncryptionInfoProto* default_instance_;
3148 };
3149 // -------------------------------------------------------------------
3150 
3151 class CipherOptionProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CipherOptionProto) */ {
3152  public:
3154  virtual ~CipherOptionProto();
3155 
3156  CipherOptionProto(const CipherOptionProto& from);
3157 
3158  inline CipherOptionProto& operator=(const CipherOptionProto& from) {
3159  CopyFrom(from);
3160  return *this;
3161  }
3162 
3163  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3164  return _internal_metadata_.unknown_fields();
3165  }
3166 
3167  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3168  return _internal_metadata_.mutable_unknown_fields();
3169  }
3170 
3171  static const ::google::protobuf::Descriptor* descriptor();
3172  static const CipherOptionProto& default_instance();
3173 
3174  void Swap(CipherOptionProto* other);
3175 
3176  // implements Message ----------------------------------------------
3177 
3178  inline CipherOptionProto* New() const { return New(NULL); }
3179 
3180  CipherOptionProto* New(::google::protobuf::Arena* arena) const;
3181  void CopyFrom(const ::google::protobuf::Message& from);
3182  void MergeFrom(const ::google::protobuf::Message& from);
3183  void CopyFrom(const CipherOptionProto& from);
3184  void MergeFrom(const CipherOptionProto& from);
3185  void Clear();
3186  bool IsInitialized() const;
3187 
3188  int ByteSize() const;
3189  bool MergePartialFromCodedStream(
3190  ::google::protobuf::io::CodedInputStream* input);
3191  void SerializeWithCachedSizes(
3192  ::google::protobuf::io::CodedOutputStream* output) const;
3193  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3194  bool deterministic, ::google::protobuf::uint8* output) const;
3195  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3196  return InternalSerializeWithCachedSizesToArray(false, output);
3197  }
3198  int GetCachedSize() const { return _cached_size_; }
3199  private:
3200  void SharedCtor();
3201  void SharedDtor();
3202  void SetCachedSize(int size) const;
3203  void InternalSwap(CipherOptionProto* other);
3204  private:
3205  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3206  return _internal_metadata_.arena();
3207  }
3208  inline void* MaybeArenaPtr() const {
3209  return _internal_metadata_.raw_arena_ptr();
3210  }
3211  public:
3212 
3213  ::google::protobuf::Metadata GetMetadata() const;
3214 
3215  // nested types ----------------------------------------------------
3216 
3217  // accessors -------------------------------------------------------
3218 
3219  // required .hadoop.hdfs.CipherSuiteProto suite = 1;
3220  bool has_suite() const;
3221  void clear_suite();
3222  static const int kSuiteFieldNumber = 1;
3223  ::hadoop::hdfs::CipherSuiteProto suite() const;
3224  void set_suite(::hadoop::hdfs::CipherSuiteProto value);
3225 
3226  // optional bytes inKey = 2;
3227  bool has_inkey() const;
3228  void clear_inkey();
3229  static const int kInKeyFieldNumber = 2;
3230  const ::std::string& inkey() const;
3231  void set_inkey(const ::std::string& value);
3232  void set_inkey(const char* value);
3233  void set_inkey(const void* value, size_t size);
3234  ::std::string* mutable_inkey();
3235  ::std::string* release_inkey();
3236  void set_allocated_inkey(::std::string* inkey);
3237 
3238  // optional bytes inIv = 3;
3239  bool has_iniv() const;
3240  void clear_iniv();
3241  static const int kInIvFieldNumber = 3;
3242  const ::std::string& iniv() const;
3243  void set_iniv(const ::std::string& value);
3244  void set_iniv(const char* value);
3245  void set_iniv(const void* value, size_t size);
3246  ::std::string* mutable_iniv();
3247  ::std::string* release_iniv();
3248  void set_allocated_iniv(::std::string* iniv);
3249 
3250  // optional bytes outKey = 4;
3251  bool has_outkey() const;
3252  void clear_outkey();
3253  static const int kOutKeyFieldNumber = 4;
3254  const ::std::string& outkey() const;
3255  void set_outkey(const ::std::string& value);
3256  void set_outkey(const char* value);
3257  void set_outkey(const void* value, size_t size);
3258  ::std::string* mutable_outkey();
3259  ::std::string* release_outkey();
3260  void set_allocated_outkey(::std::string* outkey);
3261 
3262  // optional bytes outIv = 5;
3263  bool has_outiv() const;
3264  void clear_outiv();
3265  static const int kOutIvFieldNumber = 5;
3266  const ::std::string& outiv() const;
3267  void set_outiv(const ::std::string& value);
3268  void set_outiv(const char* value);
3269  void set_outiv(const void* value, size_t size);
3270  ::std::string* mutable_outiv();
3271  ::std::string* release_outiv();
3272  void set_allocated_outiv(::std::string* outiv);
3273 
3274  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CipherOptionProto)
3275  private:
3276  inline void set_has_suite();
3277  inline void clear_has_suite();
3278  inline void set_has_inkey();
3279  inline void clear_has_inkey();
3280  inline void set_has_iniv();
3281  inline void clear_has_iniv();
3282  inline void set_has_outkey();
3283  inline void clear_has_outkey();
3284  inline void set_has_outiv();
3285  inline void clear_has_outiv();
3286 
3287  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3288  ::google::protobuf::uint32 _has_bits_[1];
3289  mutable int _cached_size_;
3290  ::google::protobuf::internal::ArenaStringPtr inkey_;
3291  ::google::protobuf::internal::ArenaStringPtr iniv_;
3292  ::google::protobuf::internal::ArenaStringPtr outkey_;
3293  ::google::protobuf::internal::ArenaStringPtr outiv_;
3294  int suite_;
3295  friend void protobuf_AddDesc_hdfs_2eproto();
3296  friend void protobuf_AssignDesc_hdfs_2eproto();
3297  friend void protobuf_ShutdownFile_hdfs_2eproto();
3298 
3299  void InitAsDefaultInstance();
3300  static CipherOptionProto* default_instance_;
3301 };
3302 // -------------------------------------------------------------------
3303 
3304 class LocatedBlocksProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.LocatedBlocksProto) */ {
3305  public:
3307  virtual ~LocatedBlocksProto();
3308 
3310 
3311  inline LocatedBlocksProto& operator=(const LocatedBlocksProto& from) {
3312  CopyFrom(from);
3313  return *this;
3314  }
3315 
3316  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3317  return _internal_metadata_.unknown_fields();
3318  }
3319 
3320  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3321  return _internal_metadata_.mutable_unknown_fields();
3322  }
3323 
3324  static const ::google::protobuf::Descriptor* descriptor();
3325  static const LocatedBlocksProto& default_instance();
3326 
3327  void Swap(LocatedBlocksProto* other);
3328 
3329  // implements Message ----------------------------------------------
3330 
3331  inline LocatedBlocksProto* New() const { return New(NULL); }
3332 
3333  LocatedBlocksProto* New(::google::protobuf::Arena* arena) const;
3334  void CopyFrom(const ::google::protobuf::Message& from);
3335  void MergeFrom(const ::google::protobuf::Message& from);
3336  void CopyFrom(const LocatedBlocksProto& from);
3337  void MergeFrom(const LocatedBlocksProto& from);
3338  void Clear();
3339  bool IsInitialized() const;
3340 
3341  int ByteSize() const;
3342  bool MergePartialFromCodedStream(
3343  ::google::protobuf::io::CodedInputStream* input);
3344  void SerializeWithCachedSizes(
3345  ::google::protobuf::io::CodedOutputStream* output) const;
3346  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3347  bool deterministic, ::google::protobuf::uint8* output) const;
3348  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3349  return InternalSerializeWithCachedSizesToArray(false, output);
3350  }
3351  int GetCachedSize() const { return _cached_size_; }
3352  private:
3353  void SharedCtor();
3354  void SharedDtor();
3355  void SetCachedSize(int size) const;
3356  void InternalSwap(LocatedBlocksProto* other);
3357  private:
3358  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3359  return _internal_metadata_.arena();
3360  }
3361  inline void* MaybeArenaPtr() const {
3362  return _internal_metadata_.raw_arena_ptr();
3363  }
3364  public:
3365 
3366  ::google::protobuf::Metadata GetMetadata() const;
3367 
3368  // nested types ----------------------------------------------------
3369 
3370  // accessors -------------------------------------------------------
3371 
3372  // required uint64 fileLength = 1;
3373  bool has_filelength() const;
3374  void clear_filelength();
3375  static const int kFileLengthFieldNumber = 1;
3376  ::google::protobuf::uint64 filelength() const;
3377  void set_filelength(::google::protobuf::uint64 value);
3378 
3379  // repeated .hadoop.hdfs.LocatedBlockProto blocks = 2;
3380  int blocks_size() const;
3381  void clear_blocks();
3382  static const int kBlocksFieldNumber = 2;
3383  const ::hadoop::hdfs::LocatedBlockProto& blocks(int index) const;
3384  ::hadoop::hdfs::LocatedBlockProto* mutable_blocks(int index);
3385  ::hadoop::hdfs::LocatedBlockProto* add_blocks();
3386  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >*
3387  mutable_blocks();
3388  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >&
3389  blocks() const;
3390 
3391  // required bool underConstruction = 3;
3392  bool has_underconstruction() const;
3393  void clear_underconstruction();
3394  static const int kUnderConstructionFieldNumber = 3;
3395  bool underconstruction() const;
3396  void set_underconstruction(bool value);
3397 
3398  // optional .hadoop.hdfs.LocatedBlockProto lastBlock = 4;
3399  bool has_lastblock() const;
3400  void clear_lastblock();
3401  static const int kLastBlockFieldNumber = 4;
3402  const ::hadoop::hdfs::LocatedBlockProto& lastblock() const;
3403  ::hadoop::hdfs::LocatedBlockProto* mutable_lastblock();
3404  ::hadoop::hdfs::LocatedBlockProto* release_lastblock();
3405  void set_allocated_lastblock(::hadoop::hdfs::LocatedBlockProto* lastblock);
3406 
3407  // required bool isLastBlockComplete = 5;
3408  bool has_islastblockcomplete() const;
3409  void clear_islastblockcomplete();
3410  static const int kIsLastBlockCompleteFieldNumber = 5;
3411  bool islastblockcomplete() const;
3412  void set_islastblockcomplete(bool value);
3413 
3414  // optional .hadoop.hdfs.FileEncryptionInfoProto fileEncryptionInfo = 6;
3415  bool has_fileencryptioninfo() const;
3416  void clear_fileencryptioninfo();
3417  static const int kFileEncryptionInfoFieldNumber = 6;
3418  const ::hadoop::hdfs::FileEncryptionInfoProto& fileencryptioninfo() const;
3419  ::hadoop::hdfs::FileEncryptionInfoProto* mutable_fileencryptioninfo();
3420  ::hadoop::hdfs::FileEncryptionInfoProto* release_fileencryptioninfo();
3421  void set_allocated_fileencryptioninfo(::hadoop::hdfs::FileEncryptionInfoProto* fileencryptioninfo);
3422 
3423  // optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
3424  bool has_ecpolicy() const;
3425  void clear_ecpolicy();
3426  static const int kEcPolicyFieldNumber = 7;
3427  const ::hadoop::hdfs::ErasureCodingPolicyProto& ecpolicy() const;
3428  ::hadoop::hdfs::ErasureCodingPolicyProto* mutable_ecpolicy();
3429  ::hadoop::hdfs::ErasureCodingPolicyProto* release_ecpolicy();
3430  void set_allocated_ecpolicy(::hadoop::hdfs::ErasureCodingPolicyProto* ecpolicy);
3431 
3432  // @@protoc_insertion_point(class_scope:hadoop.hdfs.LocatedBlocksProto)
3433  private:
3434  inline void set_has_filelength();
3435  inline void clear_has_filelength();
3436  inline void set_has_underconstruction();
3437  inline void clear_has_underconstruction();
3438  inline void set_has_lastblock();
3439  inline void clear_has_lastblock();
3440  inline void set_has_islastblockcomplete();
3441  inline void clear_has_islastblockcomplete();
3442  inline void set_has_fileencryptioninfo();
3443  inline void clear_has_fileencryptioninfo();
3444  inline void set_has_ecpolicy();
3445  inline void clear_has_ecpolicy();
3446 
3447  // helper for ByteSize()
3448  int RequiredFieldsByteSizeFallback() const;
3449 
3450  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3451  ::google::protobuf::uint32 _has_bits_[1];
3452  mutable int _cached_size_;
3453  ::google::protobuf::uint64 filelength_;
3454  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto > blocks_;
3456  ::hadoop::hdfs::FileEncryptionInfoProto* fileencryptioninfo_;
3458  bool underconstruction_;
3459  bool islastblockcomplete_;
3460  friend void protobuf_AddDesc_hdfs_2eproto();
3461  friend void protobuf_AssignDesc_hdfs_2eproto();
3462  friend void protobuf_ShutdownFile_hdfs_2eproto();
3463 
3464  void InitAsDefaultInstance();
3465  static LocatedBlocksProto* default_instance_;
3466 };
3467 // -------------------------------------------------------------------
3468 
3469 class ECSchemaOptionEntryProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ECSchemaOptionEntryProto) */ {
3470  public:
3472  virtual ~ECSchemaOptionEntryProto();
3473 
3475 
3476  inline ECSchemaOptionEntryProto& operator=(const ECSchemaOptionEntryProto& from) {
3477  CopyFrom(from);
3478  return *this;
3479  }
3480 
3481  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3482  return _internal_metadata_.unknown_fields();
3483  }
3484 
3485  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3486  return _internal_metadata_.mutable_unknown_fields();
3487  }
3488 
3489  static const ::google::protobuf::Descriptor* descriptor();
3490  static const ECSchemaOptionEntryProto& default_instance();
3491 
3492  void Swap(ECSchemaOptionEntryProto* other);
3493 
3494  // implements Message ----------------------------------------------
3495 
3496  inline ECSchemaOptionEntryProto* New() const { return New(NULL); }
3497 
3498  ECSchemaOptionEntryProto* New(::google::protobuf::Arena* arena) const;
3499  void CopyFrom(const ::google::protobuf::Message& from);
3500  void MergeFrom(const ::google::protobuf::Message& from);
3501  void CopyFrom(const ECSchemaOptionEntryProto& from);
3502  void MergeFrom(const ECSchemaOptionEntryProto& from);
3503  void Clear();
3504  bool IsInitialized() const;
3505 
3506  int ByteSize() const;
3507  bool MergePartialFromCodedStream(
3508  ::google::protobuf::io::CodedInputStream* input);
3509  void SerializeWithCachedSizes(
3510  ::google::protobuf::io::CodedOutputStream* output) const;
3511  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3512  bool deterministic, ::google::protobuf::uint8* output) const;
3513  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3514  return InternalSerializeWithCachedSizesToArray(false, output);
3515  }
3516  int GetCachedSize() const { return _cached_size_; }
3517  private:
3518  void SharedCtor();
3519  void SharedDtor();
3520  void SetCachedSize(int size) const;
3521  void InternalSwap(ECSchemaOptionEntryProto* other);
3522  private:
3523  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3524  return _internal_metadata_.arena();
3525  }
3526  inline void* MaybeArenaPtr() const {
3527  return _internal_metadata_.raw_arena_ptr();
3528  }
3529  public:
3530 
3531  ::google::protobuf::Metadata GetMetadata() const;
3532 
3533  // nested types ----------------------------------------------------
3534 
3535  // accessors -------------------------------------------------------
3536 
3537  // required string key = 1;
3538  bool has_key() const;
3539  void clear_key();
3540  static const int kKeyFieldNumber = 1;
3541  const ::std::string& key() const;
3542  void set_key(const ::std::string& value);
3543  void set_key(const char* value);
3544  void set_key(const char* value, size_t size);
3545  ::std::string* mutable_key();
3546  ::std::string* release_key();
3547  void set_allocated_key(::std::string* key);
3548 
3549  // required string value = 2;
3550  bool has_value() const;
3551  void clear_value();
3552  static const int kValueFieldNumber = 2;
3553  const ::std::string& value() const;
3554  void set_value(const ::std::string& value);
3555  void set_value(const char* value);
3556  void set_value(const char* value, size_t size);
3557  ::std::string* mutable_value();
3558  ::std::string* release_value();
3559  void set_allocated_value(::std::string* value);
3560 
3561  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ECSchemaOptionEntryProto)
3562  private:
3563  inline void set_has_key();
3564  inline void clear_has_key();
3565  inline void set_has_value();
3566  inline void clear_has_value();
3567 
3568  // helper for ByteSize()
3569  int RequiredFieldsByteSizeFallback() const;
3570 
3571  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3572  ::google::protobuf::uint32 _has_bits_[1];
3573  mutable int _cached_size_;
3574  ::google::protobuf::internal::ArenaStringPtr key_;
3575  ::google::protobuf::internal::ArenaStringPtr value_;
3576  friend void protobuf_AddDesc_hdfs_2eproto();
3577  friend void protobuf_AssignDesc_hdfs_2eproto();
3578  friend void protobuf_ShutdownFile_hdfs_2eproto();
3579 
3580  void InitAsDefaultInstance();
3581  static ECSchemaOptionEntryProto* default_instance_;
3582 };
3583 // -------------------------------------------------------------------
3584 
3585 class ECSchemaProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ECSchemaProto) */ {
3586  public:
3587  ECSchemaProto();
3588  virtual ~ECSchemaProto();
3589 
3590  ECSchemaProto(const ECSchemaProto& from);
3591 
3592  inline ECSchemaProto& operator=(const ECSchemaProto& from) {
3593  CopyFrom(from);
3594  return *this;
3595  }
3596 
3597  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3598  return _internal_metadata_.unknown_fields();
3599  }
3600 
3601  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3602  return _internal_metadata_.mutable_unknown_fields();
3603  }
3604 
3605  static const ::google::protobuf::Descriptor* descriptor();
3606  static const ECSchemaProto& default_instance();
3607 
3608  void Swap(ECSchemaProto* other);
3609 
3610  // implements Message ----------------------------------------------
3611 
3612  inline ECSchemaProto* New() const { return New(NULL); }
3613 
3614  ECSchemaProto* New(::google::protobuf::Arena* arena) const;
3615  void CopyFrom(const ::google::protobuf::Message& from);
3616  void MergeFrom(const ::google::protobuf::Message& from);
3617  void CopyFrom(const ECSchemaProto& from);
3618  void MergeFrom(const ECSchemaProto& from);
3619  void Clear();
3620  bool IsInitialized() const;
3621 
3622  int ByteSize() const;
3623  bool MergePartialFromCodedStream(
3624  ::google::protobuf::io::CodedInputStream* input);
3625  void SerializeWithCachedSizes(
3626  ::google::protobuf::io::CodedOutputStream* output) const;
3627  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3628  bool deterministic, ::google::protobuf::uint8* output) const;
3629  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3630  return InternalSerializeWithCachedSizesToArray(false, output);
3631  }
3632  int GetCachedSize() const { return _cached_size_; }
3633  private:
3634  void SharedCtor();
3635  void SharedDtor();
3636  void SetCachedSize(int size) const;
3637  void InternalSwap(ECSchemaProto* other);
3638  private:
3639  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3640  return _internal_metadata_.arena();
3641  }
3642  inline void* MaybeArenaPtr() const {
3643  return _internal_metadata_.raw_arena_ptr();
3644  }
3645  public:
3646 
3647  ::google::protobuf::Metadata GetMetadata() const;
3648 
3649  // nested types ----------------------------------------------------
3650 
3651  // accessors -------------------------------------------------------
3652 
3653  // required string codecName = 1;
3654  bool has_codecname() const;
3655  void clear_codecname();
3656  static const int kCodecNameFieldNumber = 1;
3657  const ::std::string& codecname() const;
3658  void set_codecname(const ::std::string& value);
3659  void set_codecname(const char* value);
3660  void set_codecname(const char* value, size_t size);
3661  ::std::string* mutable_codecname();
3662  ::std::string* release_codecname();
3663  void set_allocated_codecname(::std::string* codecname);
3664 
3665  // required uint32 dataUnits = 2;
3666  bool has_dataunits() const;
3667  void clear_dataunits();
3668  static const int kDataUnitsFieldNumber = 2;
3669  ::google::protobuf::uint32 dataunits() const;
3670  void set_dataunits(::google::protobuf::uint32 value);
3671 
3672  // required uint32 parityUnits = 3;
3673  bool has_parityunits() const;
3674  void clear_parityunits();
3675  static const int kParityUnitsFieldNumber = 3;
3676  ::google::protobuf::uint32 parityunits() const;
3677  void set_parityunits(::google::protobuf::uint32 value);
3678 
3679  // repeated .hadoop.hdfs.ECSchemaOptionEntryProto options = 4;
3680  int options_size() const;
3681  void clear_options();
3682  static const int kOptionsFieldNumber = 4;
3683  const ::hadoop::hdfs::ECSchemaOptionEntryProto& options(int index) const;
3684  ::hadoop::hdfs::ECSchemaOptionEntryProto* mutable_options(int index);
3686  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >*
3687  mutable_options();
3688  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >&
3689  options() const;
3690 
3691  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ECSchemaProto)
3692  private:
3693  inline void set_has_codecname();
3694  inline void clear_has_codecname();
3695  inline void set_has_dataunits();
3696  inline void clear_has_dataunits();
3697  inline void set_has_parityunits();
3698  inline void clear_has_parityunits();
3699 
3700  // helper for ByteSize()
3701  int RequiredFieldsByteSizeFallback() const;
3702 
3703  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3704  ::google::protobuf::uint32 _has_bits_[1];
3705  mutable int _cached_size_;
3706  ::google::protobuf::internal::ArenaStringPtr codecname_;
3707  ::google::protobuf::uint32 dataunits_;
3708  ::google::protobuf::uint32 parityunits_;
3709  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto > options_;
3710  friend void protobuf_AddDesc_hdfs_2eproto();
3711  friend void protobuf_AssignDesc_hdfs_2eproto();
3712  friend void protobuf_ShutdownFile_hdfs_2eproto();
3713 
3714  void InitAsDefaultInstance();
3715  static ECSchemaProto* default_instance_;
3716 };
3717 // -------------------------------------------------------------------
3718 
3719 class ErasureCodingPolicyProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ErasureCodingPolicyProto) */ {
3720  public:
3722  virtual ~ErasureCodingPolicyProto();
3723 
3725 
3726  inline ErasureCodingPolicyProto& operator=(const ErasureCodingPolicyProto& from) {
3727  CopyFrom(from);
3728  return *this;
3729  }
3730 
3731  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3732  return _internal_metadata_.unknown_fields();
3733  }
3734 
3735  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3736  return _internal_metadata_.mutable_unknown_fields();
3737  }
3738 
3739  static const ::google::protobuf::Descriptor* descriptor();
3740  static const ErasureCodingPolicyProto& default_instance();
3741 
3742  void Swap(ErasureCodingPolicyProto* other);
3743 
3744  // implements Message ----------------------------------------------
3745 
3746  inline ErasureCodingPolicyProto* New() const { return New(NULL); }
3747 
3748  ErasureCodingPolicyProto* New(::google::protobuf::Arena* arena) const;
3749  void CopyFrom(const ::google::protobuf::Message& from);
3750  void MergeFrom(const ::google::protobuf::Message& from);
3751  void CopyFrom(const ErasureCodingPolicyProto& from);
3752  void MergeFrom(const ErasureCodingPolicyProto& from);
3753  void Clear();
3754  bool IsInitialized() const;
3755 
3756  int ByteSize() const;
3757  bool MergePartialFromCodedStream(
3758  ::google::protobuf::io::CodedInputStream* input);
3759  void SerializeWithCachedSizes(
3760  ::google::protobuf::io::CodedOutputStream* output) const;
3761  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3762  bool deterministic, ::google::protobuf::uint8* output) const;
3763  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3764  return InternalSerializeWithCachedSizesToArray(false, output);
3765  }
3766  int GetCachedSize() const { return _cached_size_; }
3767  private:
3768  void SharedCtor();
3769  void SharedDtor();
3770  void SetCachedSize(int size) const;
3771  void InternalSwap(ErasureCodingPolicyProto* other);
3772  private:
3773  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3774  return _internal_metadata_.arena();
3775  }
3776  inline void* MaybeArenaPtr() const {
3777  return _internal_metadata_.raw_arena_ptr();
3778  }
3779  public:
3780 
3781  ::google::protobuf::Metadata GetMetadata() const;
3782 
3783  // nested types ----------------------------------------------------
3784 
3785  // accessors -------------------------------------------------------
3786 
3787  // optional string name = 1;
3788  bool has_name() const;
3789  void clear_name();
3790  static const int kNameFieldNumber = 1;
3791  const ::std::string& name() const;
3792  void set_name(const ::std::string& value);
3793  void set_name(const char* value);
3794  void set_name(const char* value, size_t size);
3795  ::std::string* mutable_name();
3796  ::std::string* release_name();
3797  void set_allocated_name(::std::string* name);
3798 
3799  // optional .hadoop.hdfs.ECSchemaProto schema = 2;
3800  bool has_schema() const;
3801  void clear_schema();
3802  static const int kSchemaFieldNumber = 2;
3803  const ::hadoop::hdfs::ECSchemaProto& schema() const;
3804  ::hadoop::hdfs::ECSchemaProto* mutable_schema();
3805  ::hadoop::hdfs::ECSchemaProto* release_schema();
3806  void set_allocated_schema(::hadoop::hdfs::ECSchemaProto* schema);
3807 
3808  // optional uint32 cellSize = 3;
3809  bool has_cellsize() const;
3810  void clear_cellsize();
3811  static const int kCellSizeFieldNumber = 3;
3812  ::google::protobuf::uint32 cellsize() const;
3813  void set_cellsize(::google::protobuf::uint32 value);
3814 
3815  // required uint32 id = 4;
3816  bool has_id() const;
3817  void clear_id();
3818  static const int kIdFieldNumber = 4;
3819  ::google::protobuf::uint32 id() const;
3820  void set_id(::google::protobuf::uint32 value);
3821 
3822  // optional .hadoop.hdfs.ErasureCodingPolicyState state = 5 [default = ENABLED];
3823  bool has_state() const;
3824  void clear_state();
3825  static const int kStateFieldNumber = 5;
3826  ::hadoop::hdfs::ErasureCodingPolicyState state() const;
3827  void set_state(::hadoop::hdfs::ErasureCodingPolicyState value);
3828 
3829  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ErasureCodingPolicyProto)
3830  private:
3831  inline void set_has_name();
3832  inline void clear_has_name();
3833  inline void set_has_schema();
3834  inline void clear_has_schema();
3835  inline void set_has_cellsize();
3836  inline void clear_has_cellsize();
3837  inline void set_has_id();
3838  inline void clear_has_id();
3839  inline void set_has_state();
3840  inline void clear_has_state();
3841 
3842  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3843  ::google::protobuf::uint32 _has_bits_[1];
3844  mutable int _cached_size_;
3845  ::google::protobuf::internal::ArenaStringPtr name_;
3847  ::google::protobuf::uint32 cellsize_;
3848  ::google::protobuf::uint32 id_;
3849  int state_;
3850  friend void protobuf_AddDesc_hdfs_2eproto();
3851  friend void protobuf_AssignDesc_hdfs_2eproto();
3852  friend void protobuf_ShutdownFile_hdfs_2eproto();
3853 
3854  void InitAsDefaultInstance();
3855  static ErasureCodingPolicyProto* default_instance_;
3856 };
3857 // -------------------------------------------------------------------
3858 
3859 class HdfsFileStatusProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.HdfsFileStatusProto) */ {
3860  public:
3862  virtual ~HdfsFileStatusProto();
3863 
3865 
3866  inline HdfsFileStatusProto& operator=(const HdfsFileStatusProto& from) {
3867  CopyFrom(from);
3868  return *this;
3869  }
3870 
3871  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3872  return _internal_metadata_.unknown_fields();
3873  }
3874 
3875  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3876  return _internal_metadata_.mutable_unknown_fields();
3877  }
3878 
3879  static const ::google::protobuf::Descriptor* descriptor();
3880  static const HdfsFileStatusProto& default_instance();
3881 
3882  void Swap(HdfsFileStatusProto* other);
3883 
3884  // implements Message ----------------------------------------------
3885 
3886  inline HdfsFileStatusProto* New() const { return New(NULL); }
3887 
3888  HdfsFileStatusProto* New(::google::protobuf::Arena* arena) const;
3889  void CopyFrom(const ::google::protobuf::Message& from);
3890  void MergeFrom(const ::google::protobuf::Message& from);
3891  void CopyFrom(const HdfsFileStatusProto& from);
3892  void MergeFrom(const HdfsFileStatusProto& from);
3893  void Clear();
3894  bool IsInitialized() const;
3895 
3896  int ByteSize() const;
3897  bool MergePartialFromCodedStream(
3898  ::google::protobuf::io::CodedInputStream* input);
3899  void SerializeWithCachedSizes(
3900  ::google::protobuf::io::CodedOutputStream* output) const;
3901  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3902  bool deterministic, ::google::protobuf::uint8* output) const;
3903  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
3904  return InternalSerializeWithCachedSizesToArray(false, output);
3905  }
3906  int GetCachedSize() const { return _cached_size_; }
3907  private:
3908  void SharedCtor();
3909  void SharedDtor();
3910  void SetCachedSize(int size) const;
3911  void InternalSwap(HdfsFileStatusProto* other);
3912  private:
3913  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3914  return _internal_metadata_.arena();
3915  }
3916  inline void* MaybeArenaPtr() const {
3917  return _internal_metadata_.raw_arena_ptr();
3918  }
3919  public:
3920 
3921  ::google::protobuf::Metadata GetMetadata() const;
3922 
3923  // nested types ----------------------------------------------------
3924 
3925  typedef HdfsFileStatusProto_FileType FileType;
3926  static const FileType IS_DIR =
3927  HdfsFileStatusProto_FileType_IS_DIR;
3928  static const FileType IS_FILE =
3929  HdfsFileStatusProto_FileType_IS_FILE;
3930  static const FileType IS_SYMLINK =
3931  HdfsFileStatusProto_FileType_IS_SYMLINK;
3932  static inline bool FileType_IsValid(int value) {
3933  return HdfsFileStatusProto_FileType_IsValid(value);
3934  }
3935  static const FileType FileType_MIN =
3936  HdfsFileStatusProto_FileType_FileType_MIN;
3937  static const FileType FileType_MAX =
3938  HdfsFileStatusProto_FileType_FileType_MAX;
3939  static const int FileType_ARRAYSIZE =
3940  HdfsFileStatusProto_FileType_FileType_ARRAYSIZE;
3941  static inline const ::google::protobuf::EnumDescriptor*
3942  FileType_descriptor() {
3943  return HdfsFileStatusProto_FileType_descriptor();
3944  }
3945  static inline const ::std::string& FileType_Name(FileType value) {
3946  return HdfsFileStatusProto_FileType_Name(value);
3947  }
3948  static inline bool FileType_Parse(const ::std::string& name,
3949  FileType* value) {
3950  return HdfsFileStatusProto_FileType_Parse(name, value);
3951  }
3952 
3953  // accessors -------------------------------------------------------
3954 
3955  // required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1;
3956  bool has_filetype() const;
3957  void clear_filetype();
3958  static const int kFileTypeFieldNumber = 1;
3959  ::hadoop::hdfs::HdfsFileStatusProto_FileType filetype() const;
3960  void set_filetype(::hadoop::hdfs::HdfsFileStatusProto_FileType value);
3961 
3962  // required bytes path = 2;
3963  bool has_path() const;
3964  void clear_path();
3965  static const int kPathFieldNumber = 2;
3966  const ::std::string& path() const;
3967  void set_path(const ::std::string& value);
3968  void set_path(const char* value);
3969  void set_path(const void* value, size_t size);
3970  ::std::string* mutable_path();
3971  ::std::string* release_path();
3972  void set_allocated_path(::std::string* path);
3973 
3974  // required uint64 length = 3;
3975  bool has_length() const;
3976  void clear_length();
3977  static const int kLengthFieldNumber = 3;
3978  ::google::protobuf::uint64 length() const;
3979  void set_length(::google::protobuf::uint64 value);
3980 
3981  // required .hadoop.hdfs.FsPermissionProto permission = 4;
3982  bool has_permission() const;
3983  void clear_permission();
3984  static const int kPermissionFieldNumber = 4;
3985  const ::hadoop::hdfs::FsPermissionProto& permission() const;
3986  ::hadoop::hdfs::FsPermissionProto* mutable_permission();
3987  ::hadoop::hdfs::FsPermissionProto* release_permission();
3988  void set_allocated_permission(::hadoop::hdfs::FsPermissionProto* permission);
3989 
3990  // required string owner = 5;
3991  bool has_owner() const;
3992  void clear_owner();
3993  static const int kOwnerFieldNumber = 5;
3994  const ::std::string& owner() const;
3995  void set_owner(const ::std::string& value);
3996  void set_owner(const char* value);
3997  void set_owner(const char* value, size_t size);
3998  ::std::string* mutable_owner();
3999  ::std::string* release_owner();
4000  void set_allocated_owner(::std::string* owner);
4001 
4002  // required string group = 6;
4003  bool has_group() const;
4004  void clear_group();
4005  static const int kGroupFieldNumber = 6;
4006  const ::std::string& group() const;
4007  void set_group(const ::std::string& value);
4008  void set_group(const char* value);
4009  void set_group(const char* value, size_t size);
4010  ::std::string* mutable_group();
4011  ::std::string* release_group();
4012  void set_allocated_group(::std::string* group);
4013 
4014  // required uint64 modification_time = 7;
4015  bool has_modification_time() const;
4016  void clear_modification_time();
4017  static const int kModificationTimeFieldNumber = 7;
4018  ::google::protobuf::uint64 modification_time() const;
4019  void set_modification_time(::google::protobuf::uint64 value);
4020 
4021  // required uint64 access_time = 8;
4022  bool has_access_time() const;
4023  void clear_access_time();
4024  static const int kAccessTimeFieldNumber = 8;
4025  ::google::protobuf::uint64 access_time() const;
4026  void set_access_time(::google::protobuf::uint64 value);
4027 
4028  // optional bytes symlink = 9;
4029  bool has_symlink() const;
4030  void clear_symlink();
4031  static const int kSymlinkFieldNumber = 9;
4032  const ::std::string& symlink() const;
4033  void set_symlink(const ::std::string& value);
4034  void set_symlink(const char* value);
4035  void set_symlink(const void* value, size_t size);
4036  ::std::string* mutable_symlink();
4037  ::std::string* release_symlink();
4038  void set_allocated_symlink(::std::string* symlink);
4039 
4040  // optional uint32 block_replication = 10 [default = 0];
4041  bool has_block_replication() const;
4042  void clear_block_replication();
4043  static const int kBlockReplicationFieldNumber = 10;
4044  ::google::protobuf::uint32 block_replication() const;
4045  void set_block_replication(::google::protobuf::uint32 value);
4046 
4047  // optional uint64 blocksize = 11 [default = 0];
4048  bool has_blocksize() const;
4049  void clear_blocksize();
4050  static const int kBlocksizeFieldNumber = 11;
4051  ::google::protobuf::uint64 blocksize() const;
4052  void set_blocksize(::google::protobuf::uint64 value);
4053 
4054  // optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
4055  bool has_locations() const;
4056  void clear_locations();
4057  static const int kLocationsFieldNumber = 12;
4058  const ::hadoop::hdfs::LocatedBlocksProto& locations() const;
4059  ::hadoop::hdfs::LocatedBlocksProto* mutable_locations();
4060  ::hadoop::hdfs::LocatedBlocksProto* release_locations();
4061  void set_allocated_locations(::hadoop::hdfs::LocatedBlocksProto* locations);
4062 
4063  // optional uint64 fileId = 13 [default = 0];
4064  bool has_fileid() const;
4065  void clear_fileid();
4066  static const int kFileIdFieldNumber = 13;
4067  ::google::protobuf::uint64 fileid() const;
4068  void set_fileid(::google::protobuf::uint64 value);
4069 
4070  // optional int32 childrenNum = 14 [default = -1];
4071  bool has_childrennum() const;
4072  void clear_childrennum();
4073  static const int kChildrenNumFieldNumber = 14;
4074  ::google::protobuf::int32 childrennum() const;
4075  void set_childrennum(::google::protobuf::int32 value);
4076 
4077  // optional .hadoop.hdfs.FileEncryptionInfoProto fileEncryptionInfo = 15;
4078  bool has_fileencryptioninfo() const;
4079  void clear_fileencryptioninfo();
4080  static const int kFileEncryptionInfoFieldNumber = 15;
4081  const ::hadoop::hdfs::FileEncryptionInfoProto& fileencryptioninfo() const;
4082  ::hadoop::hdfs::FileEncryptionInfoProto* mutable_fileencryptioninfo();
4083  ::hadoop::hdfs::FileEncryptionInfoProto* release_fileencryptioninfo();
4084  void set_allocated_fileencryptioninfo(::hadoop::hdfs::FileEncryptionInfoProto* fileencryptioninfo);
4085 
4086  // optional uint32 storagePolicy = 16 [default = 0];
4087  bool has_storagepolicy() const;
4088  void clear_storagepolicy();
4089  static const int kStoragePolicyFieldNumber = 16;
4090  ::google::protobuf::uint32 storagepolicy() const;
4091  void set_storagepolicy(::google::protobuf::uint32 value);
4092 
4093  // optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 17;
4094  bool has_ecpolicy() const;
4095  void clear_ecpolicy();
4096  static const int kEcPolicyFieldNumber = 17;
4097  const ::hadoop::hdfs::ErasureCodingPolicyProto& ecpolicy() const;
4098  ::hadoop::hdfs::ErasureCodingPolicyProto* mutable_ecpolicy();
4099  ::hadoop::hdfs::ErasureCodingPolicyProto* release_ecpolicy();
4100  void set_allocated_ecpolicy(::hadoop::hdfs::ErasureCodingPolicyProto* ecpolicy);
4101 
4102  // optional uint32 flags = 18 [default = 0];
4103  bool has_flags() const;
4104  void clear_flags();
4105  static const int kFlagsFieldNumber = 18;
4106  ::google::protobuf::uint32 flags() const;
4107  void set_flags(::google::protobuf::uint32 value);
4108 
4109  // @@protoc_insertion_point(class_scope:hadoop.hdfs.HdfsFileStatusProto)
4110  private:
4111  inline void set_has_filetype();
4112  inline void clear_has_filetype();
4113  inline void set_has_path();
4114  inline void clear_has_path();
4115  inline void set_has_length();
4116  inline void clear_has_length();
4117  inline void set_has_permission();
4118  inline void clear_has_permission();
4119  inline void set_has_owner();
4120  inline void clear_has_owner();
4121  inline void set_has_group();
4122  inline void clear_has_group();
4123  inline void set_has_modification_time();
4124  inline void clear_has_modification_time();
4125  inline void set_has_access_time();
4126  inline void clear_has_access_time();
4127  inline void set_has_symlink();
4128  inline void clear_has_symlink();
4129  inline void set_has_block_replication();
4130  inline void clear_has_block_replication();
4131  inline void set_has_blocksize();
4132  inline void clear_has_blocksize();
4133  inline void set_has_locations();
4134  inline void clear_has_locations();
4135  inline void set_has_fileid();
4136  inline void clear_has_fileid();
4137  inline void set_has_childrennum();
4138  inline void clear_has_childrennum();
4139  inline void set_has_fileencryptioninfo();
4140  inline void clear_has_fileencryptioninfo();
4141  inline void set_has_storagepolicy();
4142  inline void clear_has_storagepolicy();
4143  inline void set_has_ecpolicy();
4144  inline void clear_has_ecpolicy();
4145  inline void set_has_flags();
4146  inline void clear_has_flags();
4147 
4148  // helper for ByteSize()
4149  int RequiredFieldsByteSizeFallback() const;
4150 
4151  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4152  ::google::protobuf::uint32 _has_bits_[1];
4153  mutable int _cached_size_;
4154  ::google::protobuf::internal::ArenaStringPtr path_;
4155  ::google::protobuf::uint64 length_;
4156  ::hadoop::hdfs::FsPermissionProto* permission_;
4157  ::google::protobuf::internal::ArenaStringPtr owner_;
4158  int filetype_;
4159  ::google::protobuf::uint32 block_replication_;
4160  ::google::protobuf::internal::ArenaStringPtr group_;
4161  ::google::protobuf::uint64 modification_time_;
4162  ::google::protobuf::uint64 access_time_;
4163  ::google::protobuf::internal::ArenaStringPtr symlink_;
4164  ::google::protobuf::uint64 blocksize_;
4166  ::google::protobuf::uint64 fileid_;
4167  ::hadoop::hdfs::FileEncryptionInfoProto* fileencryptioninfo_;
4168  ::google::protobuf::int32 childrennum_;
4169  ::google::protobuf::uint32 storagepolicy_;
4171  ::google::protobuf::uint32 flags_;
4172  friend void protobuf_AddDesc_hdfs_2eproto();
4173  friend void protobuf_AssignDesc_hdfs_2eproto();
4174  friend void protobuf_ShutdownFile_hdfs_2eproto();
4175 
4176  void InitAsDefaultInstance();
4177  static HdfsFileStatusProto* default_instance_;
4178 };
4179 // -------------------------------------------------------------------
4180 
4181 class FsServerDefaultsProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.FsServerDefaultsProto) */ {
4182  public:
4184  virtual ~FsServerDefaultsProto();
4185 
4187 
4188  inline FsServerDefaultsProto& operator=(const FsServerDefaultsProto& from) {
4189  CopyFrom(from);
4190  return *this;
4191  }
4192 
4193  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4194  return _internal_metadata_.unknown_fields();
4195  }
4196 
4197  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4198  return _internal_metadata_.mutable_unknown_fields();
4199  }
4200 
4201  static const ::google::protobuf::Descriptor* descriptor();
4202  static const FsServerDefaultsProto& default_instance();
4203 
4204  void Swap(FsServerDefaultsProto* other);
4205 
4206  // implements Message ----------------------------------------------
4207 
4208  inline FsServerDefaultsProto* New() const { return New(NULL); }
4209 
4210  FsServerDefaultsProto* New(::google::protobuf::Arena* arena) const;
4211  void CopyFrom(const ::google::protobuf::Message& from);
4212  void MergeFrom(const ::google::protobuf::Message& from);
4213  void CopyFrom(const FsServerDefaultsProto& from);
4214  void MergeFrom(const FsServerDefaultsProto& from);
4215  void Clear();
4216  bool IsInitialized() const;
4217 
4218  int ByteSize() const;
4219  bool MergePartialFromCodedStream(
4220  ::google::protobuf::io::CodedInputStream* input);
4221  void SerializeWithCachedSizes(
4222  ::google::protobuf::io::CodedOutputStream* output) const;
4223  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4224  bool deterministic, ::google::protobuf::uint8* output) const;
4225  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
4226  return InternalSerializeWithCachedSizesToArray(false, output);
4227  }
4228  int GetCachedSize() const { return _cached_size_; }
4229  private:
4230  void SharedCtor();
4231  void SharedDtor();
4232  void SetCachedSize(int size) const;
4233  void InternalSwap(FsServerDefaultsProto* other);
4234  private:
4235  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4236  return _internal_metadata_.arena();
4237  }
4238  inline void* MaybeArenaPtr() const {
4239  return _internal_metadata_.raw_arena_ptr();
4240  }
4241  public:
4242 
4243  ::google::protobuf::Metadata GetMetadata() const;
4244 
4245  // nested types ----------------------------------------------------
4246 
4247  // accessors -------------------------------------------------------
4248 
4249  // required uint64 blockSize = 1;
4250  bool has_blocksize() const;
4251  void clear_blocksize();
4252  static const int kBlockSizeFieldNumber = 1;
4253  ::google::protobuf::uint64 blocksize() const;
4254  void set_blocksize(::google::protobuf::uint64 value);
4255 
4256  // required uint32 bytesPerChecksum = 2;
4257  bool has_bytesperchecksum() const;
4258  void clear_bytesperchecksum();
4259  static const int kBytesPerChecksumFieldNumber = 2;
4260  ::google::protobuf::uint32 bytesperchecksum() const;
4261  void set_bytesperchecksum(::google::protobuf::uint32 value);
4262 
4263  // required uint32 writePacketSize = 3;
4264  bool has_writepacketsize() const;
4265  void clear_writepacketsize();
4266  static const int kWritePacketSizeFieldNumber = 3;
4267  ::google::protobuf::uint32 writepacketsize() const;
4268  void set_writepacketsize(::google::protobuf::uint32 value);
4269 
4270  // required uint32 replication = 4;
4271  bool has_replication() const;
4272  void clear_replication();
4273  static const int kReplicationFieldNumber = 4;
4274  ::google::protobuf::uint32 replication() const;
4275  void set_replication(::google::protobuf::uint32 value);
4276 
4277  // required uint32 fileBufferSize = 5;
4278  bool has_filebuffersize() const;
4279  void clear_filebuffersize();
4280  static const int kFileBufferSizeFieldNumber = 5;
4281  ::google::protobuf::uint32 filebuffersize() const;
4282  void set_filebuffersize(::google::protobuf::uint32 value);
4283 
4284  // optional bool encryptDataTransfer = 6 [default = false];
4285  bool has_encryptdatatransfer() const;
4286  void clear_encryptdatatransfer();
4287  static const int kEncryptDataTransferFieldNumber = 6;
4288  bool encryptdatatransfer() const;
4289  void set_encryptdatatransfer(bool value);
4290 
4291  // optional uint64 trashInterval = 7 [default = 0];
4292  bool has_trashinterval() const;
4293  void clear_trashinterval();
4294  static const int kTrashIntervalFieldNumber = 7;
4295  ::google::protobuf::uint64 trashinterval() const;
4296  void set_trashinterval(::google::protobuf::uint64 value);
4297 
4298  // optional .hadoop.hdfs.ChecksumTypeProto checksumType = 8 [default = CHECKSUM_CRC32];
4299  bool has_checksumtype() const;
4300  void clear_checksumtype();
4301  static const int kChecksumTypeFieldNumber = 8;
4302  ::hadoop::hdfs::ChecksumTypeProto checksumtype() const;
4303  void set_checksumtype(::hadoop::hdfs::ChecksumTypeProto value);
4304 
4305  // @@protoc_insertion_point(class_scope:hadoop.hdfs.FsServerDefaultsProto)
4306  private:
4307  inline void set_has_blocksize();
4308  inline void clear_has_blocksize();
4309  inline void set_has_bytesperchecksum();
4310  inline void clear_has_bytesperchecksum();
4311  inline void set_has_writepacketsize();
4312  inline void clear_has_writepacketsize();
4313  inline void set_has_replication();
4314  inline void clear_has_replication();
4315  inline void set_has_filebuffersize();
4316  inline void clear_has_filebuffersize();
4317  inline void set_has_encryptdatatransfer();
4318  inline void clear_has_encryptdatatransfer();
4319  inline void set_has_trashinterval();
4320  inline void clear_has_trashinterval();
4321  inline void set_has_checksumtype();
4322  inline void clear_has_checksumtype();
4323 
4324  // helper for ByteSize()
4325  int RequiredFieldsByteSizeFallback() const;
4326 
4327  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4328  ::google::protobuf::uint32 _has_bits_[1];
4329  mutable int _cached_size_;
4330  ::google::protobuf::uint64 blocksize_;
4331  ::google::protobuf::uint32 bytesperchecksum_;
4332  ::google::protobuf::uint32 writepacketsize_;
4333  ::google::protobuf::uint32 replication_;
4334  ::google::protobuf::uint32 filebuffersize_;
4335  ::google::protobuf::uint64 trashinterval_;
4336  bool encryptdatatransfer_;
4337  int checksumtype_;
4338  friend void protobuf_AddDesc_hdfs_2eproto();
4339  friend void protobuf_AssignDesc_hdfs_2eproto();
4340  friend void protobuf_ShutdownFile_hdfs_2eproto();
4341 
4342  void InitAsDefaultInstance();
4343  static FsServerDefaultsProto* default_instance_;
4344 };
4345 // -------------------------------------------------------------------
4346 
4347 class DirectoryListingProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.DirectoryListingProto) */ {
4348  public:
4350  virtual ~DirectoryListingProto();
4351 
4353 
4354  inline DirectoryListingProto& operator=(const DirectoryListingProto& from) {
4355  CopyFrom(from);
4356  return *this;
4357  }
4358 
4359  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4360  return _internal_metadata_.unknown_fields();
4361  }
4362 
4363  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4364  return _internal_metadata_.mutable_unknown_fields();
4365  }
4366 
4367  static const ::google::protobuf::Descriptor* descriptor();
4368  static const DirectoryListingProto& default_instance();
4369 
4370  void Swap(DirectoryListingProto* other);
4371 
4372  // implements Message ----------------------------------------------
4373 
4374  inline DirectoryListingProto* New() const { return New(NULL); }
4375 
4376  DirectoryListingProto* New(::google::protobuf::Arena* arena) const;
4377  void CopyFrom(const ::google::protobuf::Message& from);
4378  void MergeFrom(const ::google::protobuf::Message& from);
4379  void CopyFrom(const DirectoryListingProto& from);
4380  void MergeFrom(const DirectoryListingProto& from);
4381  void Clear();
4382  bool IsInitialized() const;
4383 
4384  int ByteSize() const;
4385  bool MergePartialFromCodedStream(
4386  ::google::protobuf::io::CodedInputStream* input);
4387  void SerializeWithCachedSizes(
4388  ::google::protobuf::io::CodedOutputStream* output) const;
4389  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4390  bool deterministic, ::google::protobuf::uint8* output) const;
4391  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
4392  return InternalSerializeWithCachedSizesToArray(false, output);
4393  }
4394  int GetCachedSize() const { return _cached_size_; }
4395  private:
4396  void SharedCtor();
4397  void SharedDtor();
4398  void SetCachedSize(int size) const;
4399  void InternalSwap(DirectoryListingProto* other);
4400  private:
4401  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4402  return _internal_metadata_.arena();
4403  }
4404  inline void* MaybeArenaPtr() const {
4405  return _internal_metadata_.raw_arena_ptr();
4406  }
4407  public:
4408 
4409  ::google::protobuf::Metadata GetMetadata() const;
4410 
4411  // nested types ----------------------------------------------------
4412 
4413  // accessors -------------------------------------------------------
4414 
4415  // repeated .hadoop.hdfs.HdfsFileStatusProto partialListing = 1;
4416  int partiallisting_size() const;
4417  void clear_partiallisting();
4418  static const int kPartialListingFieldNumber = 1;
4419  const ::hadoop::hdfs::HdfsFileStatusProto& partiallisting(int index) const;
4420  ::hadoop::hdfs::HdfsFileStatusProto* mutable_partiallisting(int index);
4421  ::hadoop::hdfs::HdfsFileStatusProto* add_partiallisting();
4422  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >*
4423  mutable_partiallisting();
4424  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >&
4425  partiallisting() const;
4426 
4427  // required uint32 remainingEntries = 2;
4428  bool has_remainingentries() const;
4429  void clear_remainingentries();
4430  static const int kRemainingEntriesFieldNumber = 2;
4431  ::google::protobuf::uint32 remainingentries() const;
4432  void set_remainingentries(::google::protobuf::uint32 value);
4433 
4434  // @@protoc_insertion_point(class_scope:hadoop.hdfs.DirectoryListingProto)
4435  private:
4436  inline void set_has_remainingentries();
4437  inline void clear_has_remainingentries();
4438 
4439  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4440  ::google::protobuf::uint32 _has_bits_[1];
4441  mutable int _cached_size_;
4442  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto > partiallisting_;
4443  ::google::protobuf::uint32 remainingentries_;
4444  friend void protobuf_AddDesc_hdfs_2eproto();
4445  friend void protobuf_AssignDesc_hdfs_2eproto();
4446  friend void protobuf_ShutdownFile_hdfs_2eproto();
4447 
4448  void InitAsDefaultInstance();
4449  static DirectoryListingProto* default_instance_;
4450 };
4451 // -------------------------------------------------------------------
4452 
4453 class SnapshottableDirectoryStatusProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SnapshottableDirectoryStatusProto) */ {
4454  public:
4457 
4459 
4461  CopyFrom(from);
4462  return *this;
4463  }
4464 
4465  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4466  return _internal_metadata_.unknown_fields();
4467  }
4468 
4469  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4470  return _internal_metadata_.mutable_unknown_fields();
4471  }
4472 
4473  static const ::google::protobuf::Descriptor* descriptor();
4474  static const SnapshottableDirectoryStatusProto& default_instance();
4475 
4476  void Swap(SnapshottableDirectoryStatusProto* other);
4477 
4478  // implements Message ----------------------------------------------
4479 
4480  inline SnapshottableDirectoryStatusProto* New() const { return New(NULL); }
4481 
4482  SnapshottableDirectoryStatusProto* New(::google::protobuf::Arena* arena) const;
4483  void CopyFrom(const ::google::protobuf::Message& from);
4484  void MergeFrom(const ::google::protobuf::Message& from);
4485  void CopyFrom(const SnapshottableDirectoryStatusProto& from);
4486  void MergeFrom(const SnapshottableDirectoryStatusProto& from);
4487  void Clear();
4488  bool IsInitialized() const;
4489 
4490  int ByteSize() const;
4491  bool MergePartialFromCodedStream(
4492  ::google::protobuf::io::CodedInputStream* input);
4493  void SerializeWithCachedSizes(
4494  ::google::protobuf::io::CodedOutputStream* output) const;
4495  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4496  bool deterministic, ::google::protobuf::uint8* output) const;
4497  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
4498  return InternalSerializeWithCachedSizesToArray(false, output);
4499  }
4500  int GetCachedSize() const { return _cached_size_; }
4501  private:
4502  void SharedCtor();
4503  void SharedDtor();
4504  void SetCachedSize(int size) const;
4505  void InternalSwap(SnapshottableDirectoryStatusProto* other);
4506  private:
4507  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4508  return _internal_metadata_.arena();
4509  }
4510  inline void* MaybeArenaPtr() const {
4511  return _internal_metadata_.raw_arena_ptr();
4512  }
4513  public:
4514 
4515  ::google::protobuf::Metadata GetMetadata() const;
4516 
4517  // nested types ----------------------------------------------------
4518 
4519  // accessors -------------------------------------------------------
4520 
4521  // required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;
4522  bool has_dirstatus() const;
4523  void clear_dirstatus();
4524  static const int kDirStatusFieldNumber = 1;
4525  const ::hadoop::hdfs::HdfsFileStatusProto& dirstatus() const;
4526  ::hadoop::hdfs::HdfsFileStatusProto* mutable_dirstatus();
4527  ::hadoop::hdfs::HdfsFileStatusProto* release_dirstatus();
4528  void set_allocated_dirstatus(::hadoop::hdfs::HdfsFileStatusProto* dirstatus);
4529 
4530  // required uint32 snapshot_quota = 2;
4531  bool has_snapshot_quota() const;
4532  void clear_snapshot_quota();
4533  static const int kSnapshotQuotaFieldNumber = 2;
4534  ::google::protobuf::uint32 snapshot_quota() const;
4535  void set_snapshot_quota(::google::protobuf::uint32 value);
4536 
4537  // required uint32 snapshot_number = 3;
4538  bool has_snapshot_number() const;
4539  void clear_snapshot_number();
4540  static const int kSnapshotNumberFieldNumber = 3;
4541  ::google::protobuf::uint32 snapshot_number() const;
4542  void set_snapshot_number(::google::protobuf::uint32 value);
4543 
4544  // required bytes parent_fullpath = 4;
4545  bool has_parent_fullpath() const;
4546  void clear_parent_fullpath();
4547  static const int kParentFullpathFieldNumber = 4;
4548  const ::std::string& parent_fullpath() const;
4549  void set_parent_fullpath(const ::std::string& value);
4550  void set_parent_fullpath(const char* value);
4551  void set_parent_fullpath(const void* value, size_t size);
4552  ::std::string* mutable_parent_fullpath();
4553  ::std::string* release_parent_fullpath();
4554  void set_allocated_parent_fullpath(::std::string* parent_fullpath);
4555 
4556  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SnapshottableDirectoryStatusProto)
4557  private:
4558  inline void set_has_dirstatus();
4559  inline void clear_has_dirstatus();
4560  inline void set_has_snapshot_quota();
4561  inline void clear_has_snapshot_quota();
4562  inline void set_has_snapshot_number();
4563  inline void clear_has_snapshot_number();
4564  inline void set_has_parent_fullpath();
4565  inline void clear_has_parent_fullpath();
4566 
4567  // helper for ByteSize()
4568  int RequiredFieldsByteSizeFallback() const;
4569 
4570  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4571  ::google::protobuf::uint32 _has_bits_[1];
4572  mutable int _cached_size_;
4574  ::google::protobuf::uint32 snapshot_quota_;
4575  ::google::protobuf::uint32 snapshot_number_;
4576  ::google::protobuf::internal::ArenaStringPtr parent_fullpath_;
4577  friend void protobuf_AddDesc_hdfs_2eproto();
4578  friend void protobuf_AssignDesc_hdfs_2eproto();
4579  friend void protobuf_ShutdownFile_hdfs_2eproto();
4580 
4581  void InitAsDefaultInstance();
4582  static SnapshottableDirectoryStatusProto* default_instance_;
4583 };
4584 // -------------------------------------------------------------------
4585 
4586 class SnapshottableDirectoryListingProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SnapshottableDirectoryListingProto) */ {
4587  public:
4590 
4592 
4594  CopyFrom(from);
4595  return *this;
4596  }
4597 
4598  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4599  return _internal_metadata_.unknown_fields();
4600  }
4601 
4602  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4603  return _internal_metadata_.mutable_unknown_fields();
4604  }
4605 
4606  static const ::google::protobuf::Descriptor* descriptor();
4607  static const SnapshottableDirectoryListingProto& default_instance();
4608 
4609  void Swap(SnapshottableDirectoryListingProto* other);
4610 
4611  // implements Message ----------------------------------------------
4612 
4613  inline SnapshottableDirectoryListingProto* New() const { return New(NULL); }
4614 
4615  SnapshottableDirectoryListingProto* New(::google::protobuf::Arena* arena) const;
4616  void CopyFrom(const ::google::protobuf::Message& from);
4617  void MergeFrom(const ::google::protobuf::Message& from);
4618  void CopyFrom(const SnapshottableDirectoryListingProto& from);
4619  void MergeFrom(const SnapshottableDirectoryListingProto& from);
4620  void Clear();
4621  bool IsInitialized() const;
4622 
4623  int ByteSize() const;
4624  bool MergePartialFromCodedStream(
4625  ::google::protobuf::io::CodedInputStream* input);
4626  void SerializeWithCachedSizes(
4627  ::google::protobuf::io::CodedOutputStream* output) const;
4628  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4629  bool deterministic, ::google::protobuf::uint8* output) const;
4630  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
4631  return InternalSerializeWithCachedSizesToArray(false, output);
4632  }
4633  int GetCachedSize() const { return _cached_size_; }
4634  private:
4635  void SharedCtor();
4636  void SharedDtor();
4637  void SetCachedSize(int size) const;
4638  void InternalSwap(SnapshottableDirectoryListingProto* other);
4639  private:
4640  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4641  return _internal_metadata_.arena();
4642  }
4643  inline void* MaybeArenaPtr() const {
4644  return _internal_metadata_.raw_arena_ptr();
4645  }
4646  public:
4647 
4648  ::google::protobuf::Metadata GetMetadata() const;
4649 
4650  // nested types ----------------------------------------------------
4651 
4652  // accessors -------------------------------------------------------
4653 
4654  // repeated .hadoop.hdfs.SnapshottableDirectoryStatusProto snapshottableDirListing = 1;
4655  int snapshottabledirlisting_size() const;
4656  void clear_snapshottabledirlisting();
4657  static const int kSnapshottableDirListingFieldNumber = 1;
4658  const ::hadoop::hdfs::SnapshottableDirectoryStatusProto& snapshottabledirlisting(int index) const;
4659  ::hadoop::hdfs::SnapshottableDirectoryStatusProto* mutable_snapshottabledirlisting(int index);
4660  ::hadoop::hdfs::SnapshottableDirectoryStatusProto* add_snapshottabledirlisting();
4661  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >*
4662  mutable_snapshottabledirlisting();
4663  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >&
4664  snapshottabledirlisting() const;
4665 
4666  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SnapshottableDirectoryListingProto)
4667  private:
4668 
4669  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4670  ::google::protobuf::uint32 _has_bits_[1];
4671  mutable int _cached_size_;
4672  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto > snapshottabledirlisting_;
4673  friend void protobuf_AddDesc_hdfs_2eproto();
4674  friend void protobuf_AssignDesc_hdfs_2eproto();
4675  friend void protobuf_ShutdownFile_hdfs_2eproto();
4676 
4677  void InitAsDefaultInstance();
4678  static SnapshottableDirectoryListingProto* default_instance_;
4679 };
4680 // -------------------------------------------------------------------
4681 
4682 class SnapshotDiffReportEntryProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SnapshotDiffReportEntryProto) */ {
4683  public:
4685  virtual ~SnapshotDiffReportEntryProto();
4686 
4688 
4689  inline SnapshotDiffReportEntryProto& operator=(const SnapshotDiffReportEntryProto& from) {
4690  CopyFrom(from);
4691  return *this;
4692  }
4693 
4694  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4695  return _internal_metadata_.unknown_fields();
4696  }
4697 
4698  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4699  return _internal_metadata_.mutable_unknown_fields();
4700  }
4701 
4702  static const ::google::protobuf::Descriptor* descriptor();
4703  static const SnapshotDiffReportEntryProto& default_instance();
4704 
4705  void Swap(SnapshotDiffReportEntryProto* other);
4706 
4707  // implements Message ----------------------------------------------
4708 
4709  inline SnapshotDiffReportEntryProto* New() const { return New(NULL); }
4710 
4711  SnapshotDiffReportEntryProto* New(::google::protobuf::Arena* arena) const;
4712  void CopyFrom(const ::google::protobuf::Message& from);
4713  void MergeFrom(const ::google::protobuf::Message& from);
4714  void CopyFrom(const SnapshotDiffReportEntryProto& from);
4715  void MergeFrom(const SnapshotDiffReportEntryProto& from);
4716  void Clear();
4717  bool IsInitialized() const;
4718 
4719  int ByteSize() const;
4720  bool MergePartialFromCodedStream(
4721  ::google::protobuf::io::CodedInputStream* input);
4722  void SerializeWithCachedSizes(
4723  ::google::protobuf::io::CodedOutputStream* output) const;
4724  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4725  bool deterministic, ::google::protobuf::uint8* output) const;
4726  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
4727  return InternalSerializeWithCachedSizesToArray(false, output);
4728  }
4729  int GetCachedSize() const { return _cached_size_; }
4730  private:
4731  void SharedCtor();
4732  void SharedDtor();
4733  void SetCachedSize(int size) const;
4734  void InternalSwap(SnapshotDiffReportEntryProto* other);
4735  private:
4736  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4737  return _internal_metadata_.arena();
4738  }
4739  inline void* MaybeArenaPtr() const {
4740  return _internal_metadata_.raw_arena_ptr();
4741  }
4742  public:
4743 
4744  ::google::protobuf::Metadata GetMetadata() const;
4745 
4746  // nested types ----------------------------------------------------
4747 
4748  // accessors -------------------------------------------------------
4749 
4750  // required bytes fullpath = 1;
4751  bool has_fullpath() const;
4752  void clear_fullpath();
4753  static const int kFullpathFieldNumber = 1;
4754  const ::std::string& fullpath() const;
4755  void set_fullpath(const ::std::string& value);
4756  void set_fullpath(const char* value);
4757  void set_fullpath(const void* value, size_t size);
4758  ::std::string* mutable_fullpath();
4759  ::std::string* release_fullpath();
4760  void set_allocated_fullpath(::std::string* fullpath);
4761 
4762  // required string modificationLabel = 2;
4763  bool has_modificationlabel() const;
4764  void clear_modificationlabel();
4765  static const int kModificationLabelFieldNumber = 2;
4766  const ::std::string& modificationlabel() const;
4767  void set_modificationlabel(const ::std::string& value);
4768  void set_modificationlabel(const char* value);
4769  void set_modificationlabel(const char* value, size_t size);
4770  ::std::string* mutable_modificationlabel();
4771  ::std::string* release_modificationlabel();
4772  void set_allocated_modificationlabel(::std::string* modificationlabel);
4773 
4774  // optional bytes targetPath = 3;
4775  bool has_targetpath() const;
4776  void clear_targetpath();
4777  static const int kTargetPathFieldNumber = 3;
4778  const ::std::string& targetpath() const;
4779  void set_targetpath(const ::std::string& value);
4780  void set_targetpath(const char* value);
4781  void set_targetpath(const void* value, size_t size);
4782  ::std::string* mutable_targetpath();
4783  ::std::string* release_targetpath();
4784  void set_allocated_targetpath(::std::string* targetpath);
4785 
4786  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SnapshotDiffReportEntryProto)
4787  private:
4788  inline void set_has_fullpath();
4789  inline void clear_has_fullpath();
4790  inline void set_has_modificationlabel();
4791  inline void clear_has_modificationlabel();
4792  inline void set_has_targetpath();
4793  inline void clear_has_targetpath();
4794 
4795  // helper for ByteSize()
4796  int RequiredFieldsByteSizeFallback() const;
4797 
4798  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4799  ::google::protobuf::uint32 _has_bits_[1];
4800  mutable int _cached_size_;
4801  ::google::protobuf::internal::ArenaStringPtr fullpath_;
4802  ::google::protobuf::internal::ArenaStringPtr modificationlabel_;
4803  ::google::protobuf::internal::ArenaStringPtr targetpath_;
4804  friend void protobuf_AddDesc_hdfs_2eproto();
4805  friend void protobuf_AssignDesc_hdfs_2eproto();
4806  friend void protobuf_ShutdownFile_hdfs_2eproto();
4807 
4808  void InitAsDefaultInstance();
4809  static SnapshotDiffReportEntryProto* default_instance_;
4810 };
4811 // -------------------------------------------------------------------
4812 
4813 class SnapshotDiffReportProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SnapshotDiffReportProto) */ {
4814  public:
4816  virtual ~SnapshotDiffReportProto();
4817 
4819 
4820  inline SnapshotDiffReportProto& operator=(const SnapshotDiffReportProto& from) {
4821  CopyFrom(from);
4822  return *this;
4823  }
4824 
4825  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4826  return _internal_metadata_.unknown_fields();
4827  }
4828 
4829  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4830  return _internal_metadata_.mutable_unknown_fields();
4831  }
4832 
4833  static const ::google::protobuf::Descriptor* descriptor();
4834  static const SnapshotDiffReportProto& default_instance();
4835 
4836  void Swap(SnapshotDiffReportProto* other);
4837 
4838  // implements Message ----------------------------------------------
4839 
4840  inline SnapshotDiffReportProto* New() const { return New(NULL); }
4841 
4842  SnapshotDiffReportProto* New(::google::protobuf::Arena* arena) const;
4843  void CopyFrom(const ::google::protobuf::Message& from);
4844  void MergeFrom(const ::google::protobuf::Message& from);
4845  void CopyFrom(const SnapshotDiffReportProto& from);
4846  void MergeFrom(const SnapshotDiffReportProto& from);
4847  void Clear();
4848  bool IsInitialized() const;
4849 
4850  int ByteSize() const;
4851  bool MergePartialFromCodedStream(
4852  ::google::protobuf::io::CodedInputStream* input);
4853  void SerializeWithCachedSizes(
4854  ::google::protobuf::io::CodedOutputStream* output) const;
4855  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4856  bool deterministic, ::google::protobuf::uint8* output) const;
4857  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
4858  return InternalSerializeWithCachedSizesToArray(false, output);
4859  }
4860  int GetCachedSize() const { return _cached_size_; }
4861  private:
4862  void SharedCtor();
4863  void SharedDtor();
4864  void SetCachedSize(int size) const;
4865  void InternalSwap(SnapshotDiffReportProto* other);
4866  private:
4867  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4868  return _internal_metadata_.arena();
4869  }
4870  inline void* MaybeArenaPtr() const {
4871  return _internal_metadata_.raw_arena_ptr();
4872  }
4873  public:
4874 
4875  ::google::protobuf::Metadata GetMetadata() const;
4876 
4877  // nested types ----------------------------------------------------
4878 
4879  // accessors -------------------------------------------------------
4880 
4881  // required string snapshotRoot = 1;
4882  bool has_snapshotroot() const;
4883  void clear_snapshotroot();
4884  static const int kSnapshotRootFieldNumber = 1;
4885  const ::std::string& snapshotroot() const;
4886  void set_snapshotroot(const ::std::string& value);
4887  void set_snapshotroot(const char* value);
4888  void set_snapshotroot(const char* value, size_t size);
4889  ::std::string* mutable_snapshotroot();
4890  ::std::string* release_snapshotroot();
4891  void set_allocated_snapshotroot(::std::string* snapshotroot);
4892 
4893  // required string fromSnapshot = 2;
4894  bool has_fromsnapshot() const;
4895  void clear_fromsnapshot();
4896  static const int kFromSnapshotFieldNumber = 2;
4897  const ::std::string& fromsnapshot() const;
4898  void set_fromsnapshot(const ::std::string& value);
4899  void set_fromsnapshot(const char* value);
4900  void set_fromsnapshot(const char* value, size_t size);
4901  ::std::string* mutable_fromsnapshot();
4902  ::std::string* release_fromsnapshot();
4903  void set_allocated_fromsnapshot(::std::string* fromsnapshot);
4904 
4905  // required string toSnapshot = 3;
4906  bool has_tosnapshot() const;
4907  void clear_tosnapshot();
4908  static const int kToSnapshotFieldNumber = 3;
4909  const ::std::string& tosnapshot() const;
4910  void set_tosnapshot(const ::std::string& value);
4911  void set_tosnapshot(const char* value);
4912  void set_tosnapshot(const char* value, size_t size);
4913  ::std::string* mutable_tosnapshot();
4914  ::std::string* release_tosnapshot();
4915  void set_allocated_tosnapshot(::std::string* tosnapshot);
4916 
4917  // repeated .hadoop.hdfs.SnapshotDiffReportEntryProto diffReportEntries = 4;
4918  int diffreportentries_size() const;
4919  void clear_diffreportentries();
4920  static const int kDiffReportEntriesFieldNumber = 4;
4921  const ::hadoop::hdfs::SnapshotDiffReportEntryProto& diffreportentries(int index) const;
4922  ::hadoop::hdfs::SnapshotDiffReportEntryProto* mutable_diffreportentries(int index);
4923  ::hadoop::hdfs::SnapshotDiffReportEntryProto* add_diffreportentries();
4924  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >*
4925  mutable_diffreportentries();
4926  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >&
4927  diffreportentries() const;
4928 
4929  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SnapshotDiffReportProto)
4930  private:
4931  inline void set_has_snapshotroot();
4932  inline void clear_has_snapshotroot();
4933  inline void set_has_fromsnapshot();
4934  inline void clear_has_fromsnapshot();
4935  inline void set_has_tosnapshot();
4936  inline void clear_has_tosnapshot();
4937 
4938  // helper for ByteSize()
4939  int RequiredFieldsByteSizeFallback() const;
4940 
4941  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4942  ::google::protobuf::uint32 _has_bits_[1];
4943  mutable int _cached_size_;
4944  ::google::protobuf::internal::ArenaStringPtr snapshotroot_;
4945  ::google::protobuf::internal::ArenaStringPtr fromsnapshot_;
4946  ::google::protobuf::internal::ArenaStringPtr tosnapshot_;
4947  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto > diffreportentries_;
4948  friend void protobuf_AddDesc_hdfs_2eproto();
4949  friend void protobuf_AssignDesc_hdfs_2eproto();
4950  friend void protobuf_ShutdownFile_hdfs_2eproto();
4951 
4952  void InitAsDefaultInstance();
4953  static SnapshotDiffReportProto* default_instance_;
4954 };
4955 // -------------------------------------------------------------------
4956 
4957 class StorageInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.StorageInfoProto) */ {
4958  public:
4959  StorageInfoProto();
4960  virtual ~StorageInfoProto();
4961 
4962  StorageInfoProto(const StorageInfoProto& from);
4963 
4964  inline StorageInfoProto& operator=(const StorageInfoProto& from) {
4965  CopyFrom(from);
4966  return *this;
4967  }
4968 
4969  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4970  return _internal_metadata_.unknown_fields();
4971  }
4972 
4973  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4974  return _internal_metadata_.mutable_unknown_fields();
4975  }
4976 
4977  static const ::google::protobuf::Descriptor* descriptor();
4978  static const StorageInfoProto& default_instance();
4979 
4980  void Swap(StorageInfoProto* other);
4981 
4982  // implements Message ----------------------------------------------
4983 
4984  inline StorageInfoProto* New() const { return New(NULL); }
4985 
4986  StorageInfoProto* New(::google::protobuf::Arena* arena) const;
4987  void CopyFrom(const ::google::protobuf::Message& from);
4988  void MergeFrom(const ::google::protobuf::Message& from);
4989  void CopyFrom(const StorageInfoProto& from);
4990  void MergeFrom(const StorageInfoProto& from);
4991  void Clear();
4992  bool IsInitialized() const;
4993 
4994  int ByteSize() const;
4995  bool MergePartialFromCodedStream(
4996  ::google::protobuf::io::CodedInputStream* input);
4997  void SerializeWithCachedSizes(
4998  ::google::protobuf::io::CodedOutputStream* output) const;
4999  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5000  bool deterministic, ::google::protobuf::uint8* output) const;
5001  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5002  return InternalSerializeWithCachedSizesToArray(false, output);
5003  }
5004  int GetCachedSize() const { return _cached_size_; }
5005  private:
5006  void SharedCtor();
5007  void SharedDtor();
5008  void SetCachedSize(int size) const;
5009  void InternalSwap(StorageInfoProto* other);
5010  private:
5011  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5012  return _internal_metadata_.arena();
5013  }
5014  inline void* MaybeArenaPtr() const {
5015  return _internal_metadata_.raw_arena_ptr();
5016  }
5017  public:
5018 
5019  ::google::protobuf::Metadata GetMetadata() const;
5020 
5021  // nested types ----------------------------------------------------
5022 
5023  // accessors -------------------------------------------------------
5024 
5025  // required uint32 layoutVersion = 1;
5026  bool has_layoutversion() const;
5027  void clear_layoutversion();
5028  static const int kLayoutVersionFieldNumber = 1;
5029  ::google::protobuf::uint32 layoutversion() const;
5030  void set_layoutversion(::google::protobuf::uint32 value);
5031 
5032  // required uint32 namespceID = 2;
5033  bool has_namespceid() const;
5034  void clear_namespceid();
5035  static const int kNamespceIDFieldNumber = 2;
5036  ::google::protobuf::uint32 namespceid() const;
5037  void set_namespceid(::google::protobuf::uint32 value);
5038 
5039  // required string clusterID = 3;
5040  bool has_clusterid() const;
5041  void clear_clusterid();
5042  static const int kClusterIDFieldNumber = 3;
5043  const ::std::string& clusterid() const;
5044  void set_clusterid(const ::std::string& value);
5045  void set_clusterid(const char* value);
5046  void set_clusterid(const char* value, size_t size);
5047  ::std::string* mutable_clusterid();
5048  ::std::string* release_clusterid();
5049  void set_allocated_clusterid(::std::string* clusterid);
5050 
5051  // required uint64 cTime = 4;
5052  bool has_ctime() const;
5053  void clear_ctime();
5054  static const int kCTimeFieldNumber = 4;
5055  ::google::protobuf::uint64 ctime() const;
5056  void set_ctime(::google::protobuf::uint64 value);
5057 
5058  // @@protoc_insertion_point(class_scope:hadoop.hdfs.StorageInfoProto)
5059  private:
5060  inline void set_has_layoutversion();
5061  inline void clear_has_layoutversion();
5062  inline void set_has_namespceid();
5063  inline void clear_has_namespceid();
5064  inline void set_has_clusterid();
5065  inline void clear_has_clusterid();
5066  inline void set_has_ctime();
5067  inline void clear_has_ctime();
5068 
5069  // helper for ByteSize()
5070  int RequiredFieldsByteSizeFallback() const;
5071 
5072  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5073  ::google::protobuf::uint32 _has_bits_[1];
5074  mutable int _cached_size_;
5075  ::google::protobuf::uint32 layoutversion_;
5076  ::google::protobuf::uint32 namespceid_;
5077  ::google::protobuf::internal::ArenaStringPtr clusterid_;
5078  ::google::protobuf::uint64 ctime_;
5079  friend void protobuf_AddDesc_hdfs_2eproto();
5080  friend void protobuf_AssignDesc_hdfs_2eproto();
5081  friend void protobuf_ShutdownFile_hdfs_2eproto();
5082 
5083  void InitAsDefaultInstance();
5084  static StorageInfoProto* default_instance_;
5085 };
5086 // -------------------------------------------------------------------
5087 
5088 class NamenodeRegistrationProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.NamenodeRegistrationProto) */ {
5089  public:
5091  virtual ~NamenodeRegistrationProto();
5092 
5094 
5095  inline NamenodeRegistrationProto& operator=(const NamenodeRegistrationProto& from) {
5096  CopyFrom(from);
5097  return *this;
5098  }
5099 
5100  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5101  return _internal_metadata_.unknown_fields();
5102  }
5103 
5104  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5105  return _internal_metadata_.mutable_unknown_fields();
5106  }
5107 
5108  static const ::google::protobuf::Descriptor* descriptor();
5109  static const NamenodeRegistrationProto& default_instance();
5110 
5111  void Swap(NamenodeRegistrationProto* other);
5112 
5113  // implements Message ----------------------------------------------
5114 
5115  inline NamenodeRegistrationProto* New() const { return New(NULL); }
5116 
5117  NamenodeRegistrationProto* New(::google::protobuf::Arena* arena) const;
5118  void CopyFrom(const ::google::protobuf::Message& from);
5119  void MergeFrom(const ::google::protobuf::Message& from);
5120  void CopyFrom(const NamenodeRegistrationProto& from);
5121  void MergeFrom(const NamenodeRegistrationProto& from);
5122  void Clear();
5123  bool IsInitialized() const;
5124 
5125  int ByteSize() const;
5126  bool MergePartialFromCodedStream(
5127  ::google::protobuf::io::CodedInputStream* input);
5128  void SerializeWithCachedSizes(
5129  ::google::protobuf::io::CodedOutputStream* output) const;
5130  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5131  bool deterministic, ::google::protobuf::uint8* output) const;
5132  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5133  return InternalSerializeWithCachedSizesToArray(false, output);
5134  }
5135  int GetCachedSize() const { return _cached_size_; }
5136  private:
5137  void SharedCtor();
5138  void SharedDtor();
5139  void SetCachedSize(int size) const;
5140  void InternalSwap(NamenodeRegistrationProto* other);
5141  private:
5142  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5143  return _internal_metadata_.arena();
5144  }
5145  inline void* MaybeArenaPtr() const {
5146  return _internal_metadata_.raw_arena_ptr();
5147  }
5148  public:
5149 
5150  ::google::protobuf::Metadata GetMetadata() const;
5151 
5152  // nested types ----------------------------------------------------
5153 
5154  typedef NamenodeRegistrationProto_NamenodeRoleProto NamenodeRoleProto;
5155  static const NamenodeRoleProto NAMENODE =
5156  NamenodeRegistrationProto_NamenodeRoleProto_NAMENODE;
5157  static const NamenodeRoleProto BACKUP =
5158  NamenodeRegistrationProto_NamenodeRoleProto_BACKUP;
5159  static const NamenodeRoleProto CHECKPOINT =
5160  NamenodeRegistrationProto_NamenodeRoleProto_CHECKPOINT;
5161  static inline bool NamenodeRoleProto_IsValid(int value) {
5162  return NamenodeRegistrationProto_NamenodeRoleProto_IsValid(value);
5163  }
5164  static const NamenodeRoleProto NamenodeRoleProto_MIN =
5165  NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_MIN;
5166  static const NamenodeRoleProto NamenodeRoleProto_MAX =
5167  NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_MAX;
5168  static const int NamenodeRoleProto_ARRAYSIZE =
5169  NamenodeRegistrationProto_NamenodeRoleProto_NamenodeRoleProto_ARRAYSIZE;
5170  static inline const ::google::protobuf::EnumDescriptor*
5171  NamenodeRoleProto_descriptor() {
5172  return NamenodeRegistrationProto_NamenodeRoleProto_descriptor();
5173  }
5174  static inline const ::std::string& NamenodeRoleProto_Name(NamenodeRoleProto value) {
5175  return NamenodeRegistrationProto_NamenodeRoleProto_Name(value);
5176  }
5177  static inline bool NamenodeRoleProto_Parse(const ::std::string& name,
5178  NamenodeRoleProto* value) {
5179  return NamenodeRegistrationProto_NamenodeRoleProto_Parse(name, value);
5180  }
5181 
5182  // accessors -------------------------------------------------------
5183 
5184  // required string rpcAddress = 1;
5185  bool has_rpcaddress() const;
5186  void clear_rpcaddress();
5187  static const int kRpcAddressFieldNumber = 1;
5188  const ::std::string& rpcaddress() const;
5189  void set_rpcaddress(const ::std::string& value);
5190  void set_rpcaddress(const char* value);
5191  void set_rpcaddress(const char* value, size_t size);
5192  ::std::string* mutable_rpcaddress();
5193  ::std::string* release_rpcaddress();
5194  void set_allocated_rpcaddress(::std::string* rpcaddress);
5195 
5196  // required string httpAddress = 2;
5197  bool has_httpaddress() const;
5198  void clear_httpaddress();
5199  static const int kHttpAddressFieldNumber = 2;
5200  const ::std::string& httpaddress() const;
5201  void set_httpaddress(const ::std::string& value);
5202  void set_httpaddress(const char* value);
5203  void set_httpaddress(const char* value, size_t size);
5204  ::std::string* mutable_httpaddress();
5205  ::std::string* release_httpaddress();
5206  void set_allocated_httpaddress(::std::string* httpaddress);
5207 
5208  // required .hadoop.hdfs.StorageInfoProto storageInfo = 3;
5209  bool has_storageinfo() const;
5210  void clear_storageinfo();
5211  static const int kStorageInfoFieldNumber = 3;
5212  const ::hadoop::hdfs::StorageInfoProto& storageinfo() const;
5213  ::hadoop::hdfs::StorageInfoProto* mutable_storageinfo();
5214  ::hadoop::hdfs::StorageInfoProto* release_storageinfo();
5215  void set_allocated_storageinfo(::hadoop::hdfs::StorageInfoProto* storageinfo);
5216 
5217  // optional .hadoop.hdfs.NamenodeRegistrationProto.NamenodeRoleProto role = 4 [default = NAMENODE];
5218  bool has_role() const;
5219  void clear_role();
5220  static const int kRoleFieldNumber = 4;
5221  ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto role() const;
5222  void set_role(::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto value);
5223 
5224  // @@protoc_insertion_point(class_scope:hadoop.hdfs.NamenodeRegistrationProto)
5225  private:
5226  inline void set_has_rpcaddress();
5227  inline void clear_has_rpcaddress();
5228  inline void set_has_httpaddress();
5229  inline void clear_has_httpaddress();
5230  inline void set_has_storageinfo();
5231  inline void clear_has_storageinfo();
5232  inline void set_has_role();
5233  inline void clear_has_role();
5234 
5235  // helper for ByteSize()
5236  int RequiredFieldsByteSizeFallback() const;
5237 
5238  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5239  ::google::protobuf::uint32 _has_bits_[1];
5240  mutable int _cached_size_;
5241  ::google::protobuf::internal::ArenaStringPtr rpcaddress_;
5242  ::google::protobuf::internal::ArenaStringPtr httpaddress_;
5243  ::hadoop::hdfs::StorageInfoProto* storageinfo_;
5244  int role_;
5245  friend void protobuf_AddDesc_hdfs_2eproto();
5246  friend void protobuf_AssignDesc_hdfs_2eproto();
5247  friend void protobuf_ShutdownFile_hdfs_2eproto();
5248 
5249  void InitAsDefaultInstance();
5250  static NamenodeRegistrationProto* default_instance_;
5251 };
5252 // -------------------------------------------------------------------
5253 
5254 class CheckpointSignatureProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CheckpointSignatureProto) */ {
5255  public:
5257  virtual ~CheckpointSignatureProto();
5258 
5260 
5261  inline CheckpointSignatureProto& operator=(const CheckpointSignatureProto& from) {
5262  CopyFrom(from);
5263  return *this;
5264  }
5265 
5266  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5267  return _internal_metadata_.unknown_fields();
5268  }
5269 
5270  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5271  return _internal_metadata_.mutable_unknown_fields();
5272  }
5273 
5274  static const ::google::protobuf::Descriptor* descriptor();
5275  static const CheckpointSignatureProto& default_instance();
5276 
5277  void Swap(CheckpointSignatureProto* other);
5278 
5279  // implements Message ----------------------------------------------
5280 
5281  inline CheckpointSignatureProto* New() const { return New(NULL); }
5282 
5283  CheckpointSignatureProto* New(::google::protobuf::Arena* arena) const;
5284  void CopyFrom(const ::google::protobuf::Message& from);
5285  void MergeFrom(const ::google::protobuf::Message& from);
5286  void CopyFrom(const CheckpointSignatureProto& from);
5287  void MergeFrom(const CheckpointSignatureProto& from);
5288  void Clear();
5289  bool IsInitialized() const;
5290 
5291  int ByteSize() const;
5292  bool MergePartialFromCodedStream(
5293  ::google::protobuf::io::CodedInputStream* input);
5294  void SerializeWithCachedSizes(
5295  ::google::protobuf::io::CodedOutputStream* output) const;
5296  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5297  bool deterministic, ::google::protobuf::uint8* output) const;
5298  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5299  return InternalSerializeWithCachedSizesToArray(false, output);
5300  }
5301  int GetCachedSize() const { return _cached_size_; }
5302  private:
5303  void SharedCtor();
5304  void SharedDtor();
5305  void SetCachedSize(int size) const;
5306  void InternalSwap(CheckpointSignatureProto* other);
5307  private:
5308  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5309  return _internal_metadata_.arena();
5310  }
5311  inline void* MaybeArenaPtr() const {
5312  return _internal_metadata_.raw_arena_ptr();
5313  }
5314  public:
5315 
5316  ::google::protobuf::Metadata GetMetadata() const;
5317 
5318  // nested types ----------------------------------------------------
5319 
5320  // accessors -------------------------------------------------------
5321 
5322  // required string blockPoolId = 1;
5323  bool has_blockpoolid() const;
5324  void clear_blockpoolid();
5325  static const int kBlockPoolIdFieldNumber = 1;
5326  const ::std::string& blockpoolid() const;
5327  void set_blockpoolid(const ::std::string& value);
5328  void set_blockpoolid(const char* value);
5329  void set_blockpoolid(const char* value, size_t size);
5330  ::std::string* mutable_blockpoolid();
5331  ::std::string* release_blockpoolid();
5332  void set_allocated_blockpoolid(::std::string* blockpoolid);
5333 
5334  // required uint64 mostRecentCheckpointTxId = 2;
5335  bool has_mostrecentcheckpointtxid() const;
5336  void clear_mostrecentcheckpointtxid();
5337  static const int kMostRecentCheckpointTxIdFieldNumber = 2;
5338  ::google::protobuf::uint64 mostrecentcheckpointtxid() const;
5339  void set_mostrecentcheckpointtxid(::google::protobuf::uint64 value);
5340 
5341  // required uint64 curSegmentTxId = 3;
5342  bool has_cursegmenttxid() const;
5343  void clear_cursegmenttxid();
5344  static const int kCurSegmentTxIdFieldNumber = 3;
5345  ::google::protobuf::uint64 cursegmenttxid() const;
5346  void set_cursegmenttxid(::google::protobuf::uint64 value);
5347 
5348  // required .hadoop.hdfs.StorageInfoProto storageInfo = 4;
5349  bool has_storageinfo() const;
5350  void clear_storageinfo();
5351  static const int kStorageInfoFieldNumber = 4;
5352  const ::hadoop::hdfs::StorageInfoProto& storageinfo() const;
5353  ::hadoop::hdfs::StorageInfoProto* mutable_storageinfo();
5354  ::hadoop::hdfs::StorageInfoProto* release_storageinfo();
5355  void set_allocated_storageinfo(::hadoop::hdfs::StorageInfoProto* storageinfo);
5356 
5357  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CheckpointSignatureProto)
5358  private:
5359  inline void set_has_blockpoolid();
5360  inline void clear_has_blockpoolid();
5361  inline void set_has_mostrecentcheckpointtxid();
5362  inline void clear_has_mostrecentcheckpointtxid();
5363  inline void set_has_cursegmenttxid();
5364  inline void clear_has_cursegmenttxid();
5365  inline void set_has_storageinfo();
5366  inline void clear_has_storageinfo();
5367 
5368  // helper for ByteSize()
5369  int RequiredFieldsByteSizeFallback() const;
5370 
5371  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5372  ::google::protobuf::uint32 _has_bits_[1];
5373  mutable int _cached_size_;
5374  ::google::protobuf::internal::ArenaStringPtr blockpoolid_;
5375  ::google::protobuf::uint64 mostrecentcheckpointtxid_;
5376  ::google::protobuf::uint64 cursegmenttxid_;
5377  ::hadoop::hdfs::StorageInfoProto* storageinfo_;
5378  friend void protobuf_AddDesc_hdfs_2eproto();
5379  friend void protobuf_AssignDesc_hdfs_2eproto();
5380  friend void protobuf_ShutdownFile_hdfs_2eproto();
5381 
5382  void InitAsDefaultInstance();
5383  static CheckpointSignatureProto* default_instance_;
5384 };
5385 // -------------------------------------------------------------------
5386 
5387 class NamenodeCommandProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.NamenodeCommandProto) */ {
5388  public:
5390  virtual ~NamenodeCommandProto();
5391 
5393 
5394  inline NamenodeCommandProto& operator=(const NamenodeCommandProto& from) {
5395  CopyFrom(from);
5396  return *this;
5397  }
5398 
5399  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5400  return _internal_metadata_.unknown_fields();
5401  }
5402 
5403  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5404  return _internal_metadata_.mutable_unknown_fields();
5405  }
5406 
5407  static const ::google::protobuf::Descriptor* descriptor();
5408  static const NamenodeCommandProto& default_instance();
5409 
5410  void Swap(NamenodeCommandProto* other);
5411 
5412  // implements Message ----------------------------------------------
5413 
5414  inline NamenodeCommandProto* New() const { return New(NULL); }
5415 
5416  NamenodeCommandProto* New(::google::protobuf::Arena* arena) const;
5417  void CopyFrom(const ::google::protobuf::Message& from);
5418  void MergeFrom(const ::google::protobuf::Message& from);
5419  void CopyFrom(const NamenodeCommandProto& from);
5420  void MergeFrom(const NamenodeCommandProto& from);
5421  void Clear();
5422  bool IsInitialized() const;
5423 
5424  int ByteSize() const;
5425  bool MergePartialFromCodedStream(
5426  ::google::protobuf::io::CodedInputStream* input);
5427  void SerializeWithCachedSizes(
5428  ::google::protobuf::io::CodedOutputStream* output) const;
5429  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5430  bool deterministic, ::google::protobuf::uint8* output) const;
5431  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5432  return InternalSerializeWithCachedSizesToArray(false, output);
5433  }
5434  int GetCachedSize() const { return _cached_size_; }
5435  private:
5436  void SharedCtor();
5437  void SharedDtor();
5438  void SetCachedSize(int size) const;
5439  void InternalSwap(NamenodeCommandProto* other);
5440  private:
5441  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5442  return _internal_metadata_.arena();
5443  }
5444  inline void* MaybeArenaPtr() const {
5445  return _internal_metadata_.raw_arena_ptr();
5446  }
5447  public:
5448 
5449  ::google::protobuf::Metadata GetMetadata() const;
5450 
5451  // nested types ----------------------------------------------------
5452 
5453  typedef NamenodeCommandProto_Type Type;
5454  static const Type NamenodeCommand =
5455  NamenodeCommandProto_Type_NamenodeCommand;
5456  static const Type CheckPointCommand =
5457  NamenodeCommandProto_Type_CheckPointCommand;
5458  static inline bool Type_IsValid(int value) {
5459  return NamenodeCommandProto_Type_IsValid(value);
5460  }
5461  static const Type Type_MIN =
5462  NamenodeCommandProto_Type_Type_MIN;
5463  static const Type Type_MAX =
5464  NamenodeCommandProto_Type_Type_MAX;
5465  static const int Type_ARRAYSIZE =
5466  NamenodeCommandProto_Type_Type_ARRAYSIZE;
5467  static inline const ::google::protobuf::EnumDescriptor*
5468  Type_descriptor() {
5469  return NamenodeCommandProto_Type_descriptor();
5470  }
5471  static inline const ::std::string& Type_Name(Type value) {
5472  return NamenodeCommandProto_Type_Name(value);
5473  }
5474  static inline bool Type_Parse(const ::std::string& name,
5475  Type* value) {
5476  return NamenodeCommandProto_Type_Parse(name, value);
5477  }
5478 
5479  // accessors -------------------------------------------------------
5480 
5481  // required uint32 action = 1;
5482  bool has_action() const;
5483  void clear_action();
5484  static const int kActionFieldNumber = 1;
5485  ::google::protobuf::uint32 action() const;
5486  void set_action(::google::protobuf::uint32 value);
5487 
5488  // required .hadoop.hdfs.NamenodeCommandProto.Type type = 2;
5489  bool has_type() const;
5490  void clear_type();
5491  static const int kTypeFieldNumber = 2;
5492  ::hadoop::hdfs::NamenodeCommandProto_Type type() const;
5493  void set_type(::hadoop::hdfs::NamenodeCommandProto_Type value);
5494 
5495  // optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
5496  bool has_checkpointcmd() const;
5497  void clear_checkpointcmd();
5498  static const int kCheckpointCmdFieldNumber = 3;
5499  const ::hadoop::hdfs::CheckpointCommandProto& checkpointcmd() const;
5500  ::hadoop::hdfs::CheckpointCommandProto* mutable_checkpointcmd();
5501  ::hadoop::hdfs::CheckpointCommandProto* release_checkpointcmd();
5502  void set_allocated_checkpointcmd(::hadoop::hdfs::CheckpointCommandProto* checkpointcmd);
5503 
5504  // @@protoc_insertion_point(class_scope:hadoop.hdfs.NamenodeCommandProto)
5505  private:
5506  inline void set_has_action();
5507  inline void clear_has_action();
5508  inline void set_has_type();
5509  inline void clear_has_type();
5510  inline void set_has_checkpointcmd();
5511  inline void clear_has_checkpointcmd();
5512 
5513  // helper for ByteSize()
5514  int RequiredFieldsByteSizeFallback() const;
5515 
5516  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5517  ::google::protobuf::uint32 _has_bits_[1];
5518  mutable int _cached_size_;
5519  ::google::protobuf::uint32 action_;
5520  int type_;
5522  friend void protobuf_AddDesc_hdfs_2eproto();
5523  friend void protobuf_AssignDesc_hdfs_2eproto();
5524  friend void protobuf_ShutdownFile_hdfs_2eproto();
5525 
5526  void InitAsDefaultInstance();
5527  static NamenodeCommandProto* default_instance_;
5528 };
5529 // -------------------------------------------------------------------
5530 
5531 class CheckpointCommandProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CheckpointCommandProto) */ {
5532  public:
5534  virtual ~CheckpointCommandProto();
5535 
5537 
5538  inline CheckpointCommandProto& operator=(const CheckpointCommandProto& from) {
5539  CopyFrom(from);
5540  return *this;
5541  }
5542 
5543  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5544  return _internal_metadata_.unknown_fields();
5545  }
5546 
5547  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5548  return _internal_metadata_.mutable_unknown_fields();
5549  }
5550 
5551  static const ::google::protobuf::Descriptor* descriptor();
5552  static const CheckpointCommandProto& default_instance();
5553 
5554  void Swap(CheckpointCommandProto* other);
5555 
5556  // implements Message ----------------------------------------------
5557 
5558  inline CheckpointCommandProto* New() const { return New(NULL); }
5559 
5560  CheckpointCommandProto* New(::google::protobuf::Arena* arena) const;
5561  void CopyFrom(const ::google::protobuf::Message& from);
5562  void MergeFrom(const ::google::protobuf::Message& from);
5563  void CopyFrom(const CheckpointCommandProto& from);
5564  void MergeFrom(const CheckpointCommandProto& from);
5565  void Clear();
5566  bool IsInitialized() const;
5567 
5568  int ByteSize() const;
5569  bool MergePartialFromCodedStream(
5570  ::google::protobuf::io::CodedInputStream* input);
5571  void SerializeWithCachedSizes(
5572  ::google::protobuf::io::CodedOutputStream* output) const;
5573  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5574  bool deterministic, ::google::protobuf::uint8* output) const;
5575  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5576  return InternalSerializeWithCachedSizesToArray(false, output);
5577  }
5578  int GetCachedSize() const { return _cached_size_; }
5579  private:
5580  void SharedCtor();
5581  void SharedDtor();
5582  void SetCachedSize(int size) const;
5583  void InternalSwap(CheckpointCommandProto* other);
5584  private:
5585  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5586  return _internal_metadata_.arena();
5587  }
5588  inline void* MaybeArenaPtr() const {
5589  return _internal_metadata_.raw_arena_ptr();
5590  }
5591  public:
5592 
5593  ::google::protobuf::Metadata GetMetadata() const;
5594 
5595  // nested types ----------------------------------------------------
5596 
5597  // accessors -------------------------------------------------------
5598 
5599  // required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
5600  bool has_signature() const;
5601  void clear_signature();
5602  static const int kSignatureFieldNumber = 1;
5603  const ::hadoop::hdfs::CheckpointSignatureProto& signature() const;
5604  ::hadoop::hdfs::CheckpointSignatureProto* mutable_signature();
5605  ::hadoop::hdfs::CheckpointSignatureProto* release_signature();
5606  void set_allocated_signature(::hadoop::hdfs::CheckpointSignatureProto* signature);
5607 
5608  // required bool needToReturnImage = 2;
5609  bool has_needtoreturnimage() const;
5610  void clear_needtoreturnimage();
5611  static const int kNeedToReturnImageFieldNumber = 2;
5612  bool needtoreturnimage() const;
5613  void set_needtoreturnimage(bool value);
5614 
5615  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CheckpointCommandProto)
5616  private:
5617  inline void set_has_signature();
5618  inline void clear_has_signature();
5619  inline void set_has_needtoreturnimage();
5620  inline void clear_has_needtoreturnimage();
5621 
5622  // helper for ByteSize()
5623  int RequiredFieldsByteSizeFallback() const;
5624 
5625  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5626  ::google::protobuf::uint32 _has_bits_[1];
5627  mutable int _cached_size_;
5629  bool needtoreturnimage_;
5630  friend void protobuf_AddDesc_hdfs_2eproto();
5631  friend void protobuf_AssignDesc_hdfs_2eproto();
5632  friend void protobuf_ShutdownFile_hdfs_2eproto();
5633 
5634  void InitAsDefaultInstance();
5635  static CheckpointCommandProto* default_instance_;
5636 };
5637 // -------------------------------------------------------------------
5638 
5639 class BlockProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.BlockProto) */ {
5640  public:
5641  BlockProto();
5642  virtual ~BlockProto();
5643 
5644  BlockProto(const BlockProto& from);
5645 
5646  inline BlockProto& operator=(const BlockProto& from) {
5647  CopyFrom(from);
5648  return *this;
5649  }
5650 
5651  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5652  return _internal_metadata_.unknown_fields();
5653  }
5654 
5655  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5656  return _internal_metadata_.mutable_unknown_fields();
5657  }
5658 
5659  static const ::google::protobuf::Descriptor* descriptor();
5660  static const BlockProto& default_instance();
5661 
5662  void Swap(BlockProto* other);
5663 
5664  // implements Message ----------------------------------------------
5665 
5666  inline BlockProto* New() const { return New(NULL); }
5667 
5668  BlockProto* New(::google::protobuf::Arena* arena) const;
5669  void CopyFrom(const ::google::protobuf::Message& from);
5670  void MergeFrom(const ::google::protobuf::Message& from);
5671  void CopyFrom(const BlockProto& from);
5672  void MergeFrom(const BlockProto& from);
5673  void Clear();
5674  bool IsInitialized() const;
5675 
5676  int ByteSize() const;
5677  bool MergePartialFromCodedStream(
5678  ::google::protobuf::io::CodedInputStream* input);
5679  void SerializeWithCachedSizes(
5680  ::google::protobuf::io::CodedOutputStream* output) const;
5681  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5682  bool deterministic, ::google::protobuf::uint8* output) const;
5683  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5684  return InternalSerializeWithCachedSizesToArray(false, output);
5685  }
5686  int GetCachedSize() const { return _cached_size_; }
5687  private:
5688  void SharedCtor();
5689  void SharedDtor();
5690  void SetCachedSize(int size) const;
5691  void InternalSwap(BlockProto* other);
5692  private:
5693  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5694  return _internal_metadata_.arena();
5695  }
5696  inline void* MaybeArenaPtr() const {
5697  return _internal_metadata_.raw_arena_ptr();
5698  }
5699  public:
5700 
5701  ::google::protobuf::Metadata GetMetadata() const;
5702 
5703  // nested types ----------------------------------------------------
5704 
5705  // accessors -------------------------------------------------------
5706 
5707  // required uint64 blockId = 1;
5708  bool has_blockid() const;
5709  void clear_blockid();
5710  static const int kBlockIdFieldNumber = 1;
5711  ::google::protobuf::uint64 blockid() const;
5712  void set_blockid(::google::protobuf::uint64 value);
5713 
5714  // required uint64 genStamp = 2;
5715  bool has_genstamp() const;
5716  void clear_genstamp();
5717  static const int kGenStampFieldNumber = 2;
5718  ::google::protobuf::uint64 genstamp() const;
5719  void set_genstamp(::google::protobuf::uint64 value);
5720 
5721  // optional uint64 numBytes = 3 [default = 0];
5722  bool has_numbytes() const;
5723  void clear_numbytes();
5724  static const int kNumBytesFieldNumber = 3;
5725  ::google::protobuf::uint64 numbytes() const;
5726  void set_numbytes(::google::protobuf::uint64 value);
5727 
5728  // @@protoc_insertion_point(class_scope:hadoop.hdfs.BlockProto)
5729  private:
5730  inline void set_has_blockid();
5731  inline void clear_has_blockid();
5732  inline void set_has_genstamp();
5733  inline void clear_has_genstamp();
5734  inline void set_has_numbytes();
5735  inline void clear_has_numbytes();
5736 
5737  // helper for ByteSize()
5738  int RequiredFieldsByteSizeFallback() const;
5739 
5740  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5741  ::google::protobuf::uint32 _has_bits_[1];
5742  mutable int _cached_size_;
5743  ::google::protobuf::uint64 blockid_;
5744  ::google::protobuf::uint64 genstamp_;
5745  ::google::protobuf::uint64 numbytes_;
5746  friend void protobuf_AddDesc_hdfs_2eproto();
5747  friend void protobuf_AssignDesc_hdfs_2eproto();
5748  friend void protobuf_ShutdownFile_hdfs_2eproto();
5749 
5750  void InitAsDefaultInstance();
5751  static BlockProto* default_instance_;
5752 };
5753 // -------------------------------------------------------------------
5754 
5755 class BlockWithLocationsProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.BlockWithLocationsProto) */ {
5756  public:
5758  virtual ~BlockWithLocationsProto();
5759 
5761 
5762  inline BlockWithLocationsProto& operator=(const BlockWithLocationsProto& from) {
5763  CopyFrom(from);
5764  return *this;
5765  }
5766 
5767  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5768  return _internal_metadata_.unknown_fields();
5769  }
5770 
5771  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5772  return _internal_metadata_.mutable_unknown_fields();
5773  }
5774 
5775  static const ::google::protobuf::Descriptor* descriptor();
5776  static const BlockWithLocationsProto& default_instance();
5777 
5778  void Swap(BlockWithLocationsProto* other);
5779 
5780  // implements Message ----------------------------------------------
5781 
5782  inline BlockWithLocationsProto* New() const { return New(NULL); }
5783 
5784  BlockWithLocationsProto* New(::google::protobuf::Arena* arena) const;
5785  void CopyFrom(const ::google::protobuf::Message& from);
5786  void MergeFrom(const ::google::protobuf::Message& from);
5787  void CopyFrom(const BlockWithLocationsProto& from);
5788  void MergeFrom(const BlockWithLocationsProto& from);
5789  void Clear();
5790  bool IsInitialized() const;
5791 
5792  int ByteSize() const;
5793  bool MergePartialFromCodedStream(
5794  ::google::protobuf::io::CodedInputStream* input);
5795  void SerializeWithCachedSizes(
5796  ::google::protobuf::io::CodedOutputStream* output) const;
5797  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5798  bool deterministic, ::google::protobuf::uint8* output) const;
5799  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5800  return InternalSerializeWithCachedSizesToArray(false, output);
5801  }
5802  int GetCachedSize() const { return _cached_size_; }
5803  private:
5804  void SharedCtor();
5805  void SharedDtor();
5806  void SetCachedSize(int size) const;
5807  void InternalSwap(BlockWithLocationsProto* other);
5808  private:
5809  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5810  return _internal_metadata_.arena();
5811  }
5812  inline void* MaybeArenaPtr() const {
5813  return _internal_metadata_.raw_arena_ptr();
5814  }
5815  public:
5816 
5817  ::google::protobuf::Metadata GetMetadata() const;
5818 
5819  // nested types ----------------------------------------------------
5820 
5821  // accessors -------------------------------------------------------
5822 
5823  // required .hadoop.hdfs.BlockProto block = 1;
5824  bool has_block() const;
5825  void clear_block();
5826  static const int kBlockFieldNumber = 1;
5827  const ::hadoop::hdfs::BlockProto& block() const;
5828  ::hadoop::hdfs::BlockProto* mutable_block();
5829  ::hadoop::hdfs::BlockProto* release_block();
5830  void set_allocated_block(::hadoop::hdfs::BlockProto* block);
5831 
5832  // repeated string datanodeUuids = 2;
5833  int datanodeuuids_size() const;
5834  void clear_datanodeuuids();
5835  static const int kDatanodeUuidsFieldNumber = 2;
5836  const ::std::string& datanodeuuids(int index) const;
5837  ::std::string* mutable_datanodeuuids(int index);
5838  void set_datanodeuuids(int index, const ::std::string& value);
5839  void set_datanodeuuids(int index, const char* value);
5840  void set_datanodeuuids(int index, const char* value, size_t size);
5841  ::std::string* add_datanodeuuids();
5842  void add_datanodeuuids(const ::std::string& value);
5843  void add_datanodeuuids(const char* value);
5844  void add_datanodeuuids(const char* value, size_t size);
5845  const ::google::protobuf::RepeatedPtrField< ::std::string>& datanodeuuids() const;
5846  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_datanodeuuids();
5847 
5848  // repeated string storageUuids = 3;
5849  int storageuuids_size() const;
5850  void clear_storageuuids();
5851  static const int kStorageUuidsFieldNumber = 3;
5852  const ::std::string& storageuuids(int index) const;
5853  ::std::string* mutable_storageuuids(int index);
5854  void set_storageuuids(int index, const ::std::string& value);
5855  void set_storageuuids(int index, const char* value);
5856  void set_storageuuids(int index, const char* value, size_t size);
5857  ::std::string* add_storageuuids();
5858  void add_storageuuids(const ::std::string& value);
5859  void add_storageuuids(const char* value);
5860  void add_storageuuids(const char* value, size_t size);
5861  const ::google::protobuf::RepeatedPtrField< ::std::string>& storageuuids() const;
5862  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_storageuuids();
5863 
5864  // repeated .hadoop.hdfs.StorageTypeProto storageTypes = 4;
5865  int storagetypes_size() const;
5866  void clear_storagetypes();
5867  static const int kStorageTypesFieldNumber = 4;
5868  ::hadoop::hdfs::StorageTypeProto storagetypes(int index) const;
5869  void set_storagetypes(int index, ::hadoop::hdfs::StorageTypeProto value);
5870  void add_storagetypes(::hadoop::hdfs::StorageTypeProto value);
5871  const ::google::protobuf::RepeatedField<int>& storagetypes() const;
5872  ::google::protobuf::RepeatedField<int>* mutable_storagetypes();
5873 
5874  // @@protoc_insertion_point(class_scope:hadoop.hdfs.BlockWithLocationsProto)
5875  private:
5876  inline void set_has_block();
5877  inline void clear_has_block();
5878 
5879  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5880  ::google::protobuf::uint32 _has_bits_[1];
5881  mutable int _cached_size_;
5883  ::google::protobuf::RepeatedPtrField< ::std::string> datanodeuuids_;
5884  ::google::protobuf::RepeatedPtrField< ::std::string> storageuuids_;
5885  ::google::protobuf::RepeatedField<int> storagetypes_;
5886  friend void protobuf_AddDesc_hdfs_2eproto();
5887  friend void protobuf_AssignDesc_hdfs_2eproto();
5888  friend void protobuf_ShutdownFile_hdfs_2eproto();
5889 
5890  void InitAsDefaultInstance();
5891  static BlockWithLocationsProto* default_instance_;
5892 };
5893 // -------------------------------------------------------------------
5894 
5895 class BlocksWithLocationsProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.BlocksWithLocationsProto) */ {
5896  public:
5898  virtual ~BlocksWithLocationsProto();
5899 
5901 
5902  inline BlocksWithLocationsProto& operator=(const BlocksWithLocationsProto& from) {
5903  CopyFrom(from);
5904  return *this;
5905  }
5906 
5907  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5908  return _internal_metadata_.unknown_fields();
5909  }
5910 
5911  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5912  return _internal_metadata_.mutable_unknown_fields();
5913  }
5914 
5915  static const ::google::protobuf::Descriptor* descriptor();
5916  static const BlocksWithLocationsProto& default_instance();
5917 
5918  void Swap(BlocksWithLocationsProto* other);
5919 
5920  // implements Message ----------------------------------------------
5921 
5922  inline BlocksWithLocationsProto* New() const { return New(NULL); }
5923 
5924  BlocksWithLocationsProto* New(::google::protobuf::Arena* arena) const;
5925  void CopyFrom(const ::google::protobuf::Message& from);
5926  void MergeFrom(const ::google::protobuf::Message& from);
5927  void CopyFrom(const BlocksWithLocationsProto& from);
5928  void MergeFrom(const BlocksWithLocationsProto& from);
5929  void Clear();
5930  bool IsInitialized() const;
5931 
5932  int ByteSize() const;
5933  bool MergePartialFromCodedStream(
5934  ::google::protobuf::io::CodedInputStream* input);
5935  void SerializeWithCachedSizes(
5936  ::google::protobuf::io::CodedOutputStream* output) const;
5937  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5938  bool deterministic, ::google::protobuf::uint8* output) const;
5939  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
5940  return InternalSerializeWithCachedSizesToArray(false, output);
5941  }
5942  int GetCachedSize() const { return _cached_size_; }
5943  private:
5944  void SharedCtor();
5945  void SharedDtor();
5946  void SetCachedSize(int size) const;
5947  void InternalSwap(BlocksWithLocationsProto* other);
5948  private:
5949  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5950  return _internal_metadata_.arena();
5951  }
5952  inline void* MaybeArenaPtr() const {
5953  return _internal_metadata_.raw_arena_ptr();
5954  }
5955  public:
5956 
5957  ::google::protobuf::Metadata GetMetadata() const;
5958 
5959  // nested types ----------------------------------------------------
5960 
5961  // accessors -------------------------------------------------------
5962 
5963  // repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
5964  int blocks_size() const;
5965  void clear_blocks();
5966  static const int kBlocksFieldNumber = 1;
5967  const ::hadoop::hdfs::BlockWithLocationsProto& blocks(int index) const;
5968  ::hadoop::hdfs::BlockWithLocationsProto* mutable_blocks(int index);
5970  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >*
5971  mutable_blocks();
5972  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >&
5973  blocks() const;
5974 
5975  // @@protoc_insertion_point(class_scope:hadoop.hdfs.BlocksWithLocationsProto)
5976  private:
5977 
5978  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5979  ::google::protobuf::uint32 _has_bits_[1];
5980  mutable int _cached_size_;
5981  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto > blocks_;
5982  friend void protobuf_AddDesc_hdfs_2eproto();
5983  friend void protobuf_AssignDesc_hdfs_2eproto();
5984  friend void protobuf_ShutdownFile_hdfs_2eproto();
5985 
5986  void InitAsDefaultInstance();
5987  static BlocksWithLocationsProto* default_instance_;
5988 };
5989 // -------------------------------------------------------------------
5990 
5991 class RemoteEditLogProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.RemoteEditLogProto) */ {
5992  public:
5994  virtual ~RemoteEditLogProto();
5995 
5997 
5998  inline RemoteEditLogProto& operator=(const RemoteEditLogProto& from) {
5999  CopyFrom(from);
6000  return *this;
6001  }
6002 
6003  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6004  return _internal_metadata_.unknown_fields();
6005  }
6006 
6007  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6008  return _internal_metadata_.mutable_unknown_fields();
6009  }
6010 
6011  static const ::google::protobuf::Descriptor* descriptor();
6012  static const RemoteEditLogProto& default_instance();
6013 
6014  void Swap(RemoteEditLogProto* other);
6015 
6016  // implements Message ----------------------------------------------
6017 
6018  inline RemoteEditLogProto* New() const { return New(NULL); }
6019 
6020  RemoteEditLogProto* New(::google::protobuf::Arena* arena) const;
6021  void CopyFrom(const ::google::protobuf::Message& from);
6022  void MergeFrom(const ::google::protobuf::Message& from);
6023  void CopyFrom(const RemoteEditLogProto& from);
6024  void MergeFrom(const RemoteEditLogProto& from);
6025  void Clear();
6026  bool IsInitialized() const;
6027 
6028  int ByteSize() const;
6029  bool MergePartialFromCodedStream(
6030  ::google::protobuf::io::CodedInputStream* input);
6031  void SerializeWithCachedSizes(
6032  ::google::protobuf::io::CodedOutputStream* output) const;
6033  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6034  bool deterministic, ::google::protobuf::uint8* output) const;
6035  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6036  return InternalSerializeWithCachedSizesToArray(false, output);
6037  }
6038  int GetCachedSize() const { return _cached_size_; }
6039  private:
6040  void SharedCtor();
6041  void SharedDtor();
6042  void SetCachedSize(int size) const;
6043  void InternalSwap(RemoteEditLogProto* other);
6044  private:
6045  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6046  return _internal_metadata_.arena();
6047  }
6048  inline void* MaybeArenaPtr() const {
6049  return _internal_metadata_.raw_arena_ptr();
6050  }
6051  public:
6052 
6053  ::google::protobuf::Metadata GetMetadata() const;
6054 
6055  // nested types ----------------------------------------------------
6056 
6057  // accessors -------------------------------------------------------
6058 
6059  // required uint64 startTxId = 1;
6060  bool has_starttxid() const;
6061  void clear_starttxid();
6062  static const int kStartTxIdFieldNumber = 1;
6063  ::google::protobuf::uint64 starttxid() const;
6064  void set_starttxid(::google::protobuf::uint64 value);
6065 
6066  // required uint64 endTxId = 2;
6067  bool has_endtxid() const;
6068  void clear_endtxid();
6069  static const int kEndTxIdFieldNumber = 2;
6070  ::google::protobuf::uint64 endtxid() const;
6071  void set_endtxid(::google::protobuf::uint64 value);
6072 
6073  // optional bool isInProgress = 3 [default = false];
6074  bool has_isinprogress() const;
6075  void clear_isinprogress();
6076  static const int kIsInProgressFieldNumber = 3;
6077  bool isinprogress() const;
6078  void set_isinprogress(bool value);
6079 
6080  // @@protoc_insertion_point(class_scope:hadoop.hdfs.RemoteEditLogProto)
6081  private:
6082  inline void set_has_starttxid();
6083  inline void clear_has_starttxid();
6084  inline void set_has_endtxid();
6085  inline void clear_has_endtxid();
6086  inline void set_has_isinprogress();
6087  inline void clear_has_isinprogress();
6088 
6089  // helper for ByteSize()
6090  int RequiredFieldsByteSizeFallback() const;
6091 
6092  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6093  ::google::protobuf::uint32 _has_bits_[1];
6094  mutable int _cached_size_;
6095  ::google::protobuf::uint64 starttxid_;
6096  ::google::protobuf::uint64 endtxid_;
6097  bool isinprogress_;
6098  friend void protobuf_AddDesc_hdfs_2eproto();
6099  friend void protobuf_AssignDesc_hdfs_2eproto();
6100  friend void protobuf_ShutdownFile_hdfs_2eproto();
6101 
6102  void InitAsDefaultInstance();
6103  static RemoteEditLogProto* default_instance_;
6104 };
6105 // -------------------------------------------------------------------
6106 
6107 class RemoteEditLogManifestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.RemoteEditLogManifestProto) */ {
6108  public:
6110  virtual ~RemoteEditLogManifestProto();
6111 
6113 
6114  inline RemoteEditLogManifestProto& operator=(const RemoteEditLogManifestProto& from) {
6115  CopyFrom(from);
6116  return *this;
6117  }
6118 
6119  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6120  return _internal_metadata_.unknown_fields();
6121  }
6122 
6123  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6124  return _internal_metadata_.mutable_unknown_fields();
6125  }
6126 
6127  static const ::google::protobuf::Descriptor* descriptor();
6128  static const RemoteEditLogManifestProto& default_instance();
6129 
6130  void Swap(RemoteEditLogManifestProto* other);
6131 
6132  // implements Message ----------------------------------------------
6133 
6134  inline RemoteEditLogManifestProto* New() const { return New(NULL); }
6135 
6136  RemoteEditLogManifestProto* New(::google::protobuf::Arena* arena) const;
6137  void CopyFrom(const ::google::protobuf::Message& from);
6138  void MergeFrom(const ::google::protobuf::Message& from);
6139  void CopyFrom(const RemoteEditLogManifestProto& from);
6140  void MergeFrom(const RemoteEditLogManifestProto& from);
6141  void Clear();
6142  bool IsInitialized() const;
6143 
6144  int ByteSize() const;
6145  bool MergePartialFromCodedStream(
6146  ::google::protobuf::io::CodedInputStream* input);
6147  void SerializeWithCachedSizes(
6148  ::google::protobuf::io::CodedOutputStream* output) const;
6149  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6150  bool deterministic, ::google::protobuf::uint8* output) const;
6151  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6152  return InternalSerializeWithCachedSizesToArray(false, output);
6153  }
6154  int GetCachedSize() const { return _cached_size_; }
6155  private:
6156  void SharedCtor();
6157  void SharedDtor();
6158  void SetCachedSize(int size) const;
6159  void InternalSwap(RemoteEditLogManifestProto* other);
6160  private:
6161  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6162  return _internal_metadata_.arena();
6163  }
6164  inline void* MaybeArenaPtr() const {
6165  return _internal_metadata_.raw_arena_ptr();
6166  }
6167  public:
6168 
6169  ::google::protobuf::Metadata GetMetadata() const;
6170 
6171  // nested types ----------------------------------------------------
6172 
6173  // accessors -------------------------------------------------------
6174 
6175  // repeated .hadoop.hdfs.RemoteEditLogProto logs = 1;
6176  int logs_size() const;
6177  void clear_logs();
6178  static const int kLogsFieldNumber = 1;
6179  const ::hadoop::hdfs::RemoteEditLogProto& logs(int index) const;
6180  ::hadoop::hdfs::RemoteEditLogProto* mutable_logs(int index);
6182  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >*
6183  mutable_logs();
6184  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >&
6185  logs() const;
6186 
6187  // @@protoc_insertion_point(class_scope:hadoop.hdfs.RemoteEditLogManifestProto)
6188  private:
6189 
6190  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6191  ::google::protobuf::uint32 _has_bits_[1];
6192  mutable int _cached_size_;
6193  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto > logs_;
6194  friend void protobuf_AddDesc_hdfs_2eproto();
6195  friend void protobuf_AssignDesc_hdfs_2eproto();
6196  friend void protobuf_ShutdownFile_hdfs_2eproto();
6197 
6198  void InitAsDefaultInstance();
6199  static RemoteEditLogManifestProto* default_instance_;
6200 };
6201 // -------------------------------------------------------------------
6202 
6203 class NamespaceInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.NamespaceInfoProto) */ {
6204  public:
6206  virtual ~NamespaceInfoProto();
6207 
6209 
6210  inline NamespaceInfoProto& operator=(const NamespaceInfoProto& from) {
6211  CopyFrom(from);
6212  return *this;
6213  }
6214 
6215  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6216  return _internal_metadata_.unknown_fields();
6217  }
6218 
6219  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6220  return _internal_metadata_.mutable_unknown_fields();
6221  }
6222 
6223  static const ::google::protobuf::Descriptor* descriptor();
6224  static const NamespaceInfoProto& default_instance();
6225 
6226  void Swap(NamespaceInfoProto* other);
6227 
6228  // implements Message ----------------------------------------------
6229 
6230  inline NamespaceInfoProto* New() const { return New(NULL); }
6231 
6232  NamespaceInfoProto* New(::google::protobuf::Arena* arena) const;
6233  void CopyFrom(const ::google::protobuf::Message& from);
6234  void MergeFrom(const ::google::protobuf::Message& from);
6235  void CopyFrom(const NamespaceInfoProto& from);
6236  void MergeFrom(const NamespaceInfoProto& from);
6237  void Clear();
6238  bool IsInitialized() const;
6239 
6240  int ByteSize() const;
6241  bool MergePartialFromCodedStream(
6242  ::google::protobuf::io::CodedInputStream* input);
6243  void SerializeWithCachedSizes(
6244  ::google::protobuf::io::CodedOutputStream* output) const;
6245  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6246  bool deterministic, ::google::protobuf::uint8* output) const;
6247  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6248  return InternalSerializeWithCachedSizesToArray(false, output);
6249  }
6250  int GetCachedSize() const { return _cached_size_; }
6251  private:
6252  void SharedCtor();
6253  void SharedDtor();
6254  void SetCachedSize(int size) const;
6255  void InternalSwap(NamespaceInfoProto* other);
6256  private:
6257  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6258  return _internal_metadata_.arena();
6259  }
6260  inline void* MaybeArenaPtr() const {
6261  return _internal_metadata_.raw_arena_ptr();
6262  }
6263  public:
6264 
6265  ::google::protobuf::Metadata GetMetadata() const;
6266 
6267  // nested types ----------------------------------------------------
6268 
6269  // accessors -------------------------------------------------------
6270 
6271  // required string buildVersion = 1;
6272  bool has_buildversion() const;
6273  void clear_buildversion();
6274  static const int kBuildVersionFieldNumber = 1;
6275  const ::std::string& buildversion() const;
6276  void set_buildversion(const ::std::string& value);
6277  void set_buildversion(const char* value);
6278  void set_buildversion(const char* value, size_t size);
6279  ::std::string* mutable_buildversion();
6280  ::std::string* release_buildversion();
6281  void set_allocated_buildversion(::std::string* buildversion);
6282 
6283  // required uint32 unused = 2;
6284  bool has_unused() const;
6285  void clear_unused();
6286  static const int kUnusedFieldNumber = 2;
6287  ::google::protobuf::uint32 unused() const;
6288  void set_unused(::google::protobuf::uint32 value);
6289 
6290  // required string blockPoolID = 3;
6291  bool has_blockpoolid() const;
6292  void clear_blockpoolid();
6293  static const int kBlockPoolIDFieldNumber = 3;
6294  const ::std::string& blockpoolid() const;
6295  void set_blockpoolid(const ::std::string& value);
6296  void set_blockpoolid(const char* value);
6297  void set_blockpoolid(const char* value, size_t size);
6298  ::std::string* mutable_blockpoolid();
6299  ::std::string* release_blockpoolid();
6300  void set_allocated_blockpoolid(::std::string* blockpoolid);
6301 
6302  // required .hadoop.hdfs.StorageInfoProto storageInfo = 4;
6303  bool has_storageinfo() const;
6304  void clear_storageinfo();
6305  static const int kStorageInfoFieldNumber = 4;
6306  const ::hadoop::hdfs::StorageInfoProto& storageinfo() const;
6307  ::hadoop::hdfs::StorageInfoProto* mutable_storageinfo();
6308  ::hadoop::hdfs::StorageInfoProto* release_storageinfo();
6309  void set_allocated_storageinfo(::hadoop::hdfs::StorageInfoProto* storageinfo);
6310 
6311  // required string softwareVersion = 5;
6312  bool has_softwareversion() const;
6313  void clear_softwareversion();
6314  static const int kSoftwareVersionFieldNumber = 5;
6315  const ::std::string& softwareversion() const;
6316  void set_softwareversion(const ::std::string& value);
6317  void set_softwareversion(const char* value);
6318  void set_softwareversion(const char* value, size_t size);
6319  ::std::string* mutable_softwareversion();
6320  ::std::string* release_softwareversion();
6321  void set_allocated_softwareversion(::std::string* softwareversion);
6322 
6323  // optional uint64 capabilities = 6 [default = 0];
6324  bool has_capabilities() const;
6325  void clear_capabilities();
6326  static const int kCapabilitiesFieldNumber = 6;
6327  ::google::protobuf::uint64 capabilities() const;
6328  void set_capabilities(::google::protobuf::uint64 value);
6329 
6330  // @@protoc_insertion_point(class_scope:hadoop.hdfs.NamespaceInfoProto)
6331  private:
6332  inline void set_has_buildversion();
6333  inline void clear_has_buildversion();
6334  inline void set_has_unused();
6335  inline void clear_has_unused();
6336  inline void set_has_blockpoolid();
6337  inline void clear_has_blockpoolid();
6338  inline void set_has_storageinfo();
6339  inline void clear_has_storageinfo();
6340  inline void set_has_softwareversion();
6341  inline void clear_has_softwareversion();
6342  inline void set_has_capabilities();
6343  inline void clear_has_capabilities();
6344 
6345  // helper for ByteSize()
6346  int RequiredFieldsByteSizeFallback() const;
6347 
6348  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6349  ::google::protobuf::uint32 _has_bits_[1];
6350  mutable int _cached_size_;
6351  ::google::protobuf::internal::ArenaStringPtr buildversion_;
6352  ::google::protobuf::internal::ArenaStringPtr blockpoolid_;
6353  ::hadoop::hdfs::StorageInfoProto* storageinfo_;
6354  ::google::protobuf::internal::ArenaStringPtr softwareversion_;
6355  ::google::protobuf::uint64 capabilities_;
6356  ::google::protobuf::uint32 unused_;
6357  friend void protobuf_AddDesc_hdfs_2eproto();
6358  friend void protobuf_AssignDesc_hdfs_2eproto();
6359  friend void protobuf_ShutdownFile_hdfs_2eproto();
6360 
6361  void InitAsDefaultInstance();
6362  static NamespaceInfoProto* default_instance_;
6363 };
6364 // -------------------------------------------------------------------
6365 
6366 class BlockKeyProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.BlockKeyProto) */ {
6367  public:
6368  BlockKeyProto();
6369  virtual ~BlockKeyProto();
6370 
6371  BlockKeyProto(const BlockKeyProto& from);
6372 
6373  inline BlockKeyProto& operator=(const BlockKeyProto& from) {
6374  CopyFrom(from);
6375  return *this;
6376  }
6377 
6378  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6379  return _internal_metadata_.unknown_fields();
6380  }
6381 
6382  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6383  return _internal_metadata_.mutable_unknown_fields();
6384  }
6385 
6386  static const ::google::protobuf::Descriptor* descriptor();
6387  static const BlockKeyProto& default_instance();
6388 
6389  void Swap(BlockKeyProto* other);
6390 
6391  // implements Message ----------------------------------------------
6392 
6393  inline BlockKeyProto* New() const { return New(NULL); }
6394 
6395  BlockKeyProto* New(::google::protobuf::Arena* arena) const;
6396  void CopyFrom(const ::google::protobuf::Message& from);
6397  void MergeFrom(const ::google::protobuf::Message& from);
6398  void CopyFrom(const BlockKeyProto& from);
6399  void MergeFrom(const BlockKeyProto& from);
6400  void Clear();
6401  bool IsInitialized() const;
6402 
6403  int ByteSize() const;
6404  bool MergePartialFromCodedStream(
6405  ::google::protobuf::io::CodedInputStream* input);
6406  void SerializeWithCachedSizes(
6407  ::google::protobuf::io::CodedOutputStream* output) const;
6408  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6409  bool deterministic, ::google::protobuf::uint8* output) const;
6410  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6411  return InternalSerializeWithCachedSizesToArray(false, output);
6412  }
6413  int GetCachedSize() const { return _cached_size_; }
6414  private:
6415  void SharedCtor();
6416  void SharedDtor();
6417  void SetCachedSize(int size) const;
6418  void InternalSwap(BlockKeyProto* other);
6419  private:
6420  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6421  return _internal_metadata_.arena();
6422  }
6423  inline void* MaybeArenaPtr() const {
6424  return _internal_metadata_.raw_arena_ptr();
6425  }
6426  public:
6427 
6428  ::google::protobuf::Metadata GetMetadata() const;
6429 
6430  // nested types ----------------------------------------------------
6431 
6432  // accessors -------------------------------------------------------
6433 
6434  // required uint32 keyId = 1;
6435  bool has_keyid() const;
6436  void clear_keyid();
6437  static const int kKeyIdFieldNumber = 1;
6438  ::google::protobuf::uint32 keyid() const;
6439  void set_keyid(::google::protobuf::uint32 value);
6440 
6441  // required uint64 expiryDate = 2;
6442  bool has_expirydate() const;
6443  void clear_expirydate();
6444  static const int kExpiryDateFieldNumber = 2;
6445  ::google::protobuf::uint64 expirydate() const;
6446  void set_expirydate(::google::protobuf::uint64 value);
6447 
6448  // optional bytes keyBytes = 3;
6449  bool has_keybytes() const;
6450  void clear_keybytes();
6451  static const int kKeyBytesFieldNumber = 3;
6452  const ::std::string& keybytes() const;
6453  void set_keybytes(const ::std::string& value);
6454  void set_keybytes(const char* value);
6455  void set_keybytes(const void* value, size_t size);
6456  ::std::string* mutable_keybytes();
6457  ::std::string* release_keybytes();
6458  void set_allocated_keybytes(::std::string* keybytes);
6459 
6460  // @@protoc_insertion_point(class_scope:hadoop.hdfs.BlockKeyProto)
6461  private:
6462  inline void set_has_keyid();
6463  inline void clear_has_keyid();
6464  inline void set_has_expirydate();
6465  inline void clear_has_expirydate();
6466  inline void set_has_keybytes();
6467  inline void clear_has_keybytes();
6468 
6469  // helper for ByteSize()
6470  int RequiredFieldsByteSizeFallback() const;
6471 
6472  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6473  ::google::protobuf::uint32 _has_bits_[1];
6474  mutable int _cached_size_;
6475  ::google::protobuf::uint64 expirydate_;
6476  ::google::protobuf::internal::ArenaStringPtr keybytes_;
6477  ::google::protobuf::uint32 keyid_;
6478  friend void protobuf_AddDesc_hdfs_2eproto();
6479  friend void protobuf_AssignDesc_hdfs_2eproto();
6480  friend void protobuf_ShutdownFile_hdfs_2eproto();
6481 
6482  void InitAsDefaultInstance();
6483  static BlockKeyProto* default_instance_;
6484 };
6485 // -------------------------------------------------------------------
6486 
6487 class ExportedBlockKeysProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.ExportedBlockKeysProto) */ {
6488  public:
6490  virtual ~ExportedBlockKeysProto();
6491 
6493 
6494  inline ExportedBlockKeysProto& operator=(const ExportedBlockKeysProto& from) {
6495  CopyFrom(from);
6496  return *this;
6497  }
6498 
6499  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6500  return _internal_metadata_.unknown_fields();
6501  }
6502 
6503  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6504  return _internal_metadata_.mutable_unknown_fields();
6505  }
6506 
6507  static const ::google::protobuf::Descriptor* descriptor();
6508  static const ExportedBlockKeysProto& default_instance();
6509 
6510  void Swap(ExportedBlockKeysProto* other);
6511 
6512  // implements Message ----------------------------------------------
6513 
6514  inline ExportedBlockKeysProto* New() const { return New(NULL); }
6515 
6516  ExportedBlockKeysProto* New(::google::protobuf::Arena* arena) const;
6517  void CopyFrom(const ::google::protobuf::Message& from);
6518  void MergeFrom(const ::google::protobuf::Message& from);
6519  void CopyFrom(const ExportedBlockKeysProto& from);
6520  void MergeFrom(const ExportedBlockKeysProto& from);
6521  void Clear();
6522  bool IsInitialized() const;
6523 
6524  int ByteSize() const;
6525  bool MergePartialFromCodedStream(
6526  ::google::protobuf::io::CodedInputStream* input);
6527  void SerializeWithCachedSizes(
6528  ::google::protobuf::io::CodedOutputStream* output) const;
6529  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6530  bool deterministic, ::google::protobuf::uint8* output) const;
6531  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6532  return InternalSerializeWithCachedSizesToArray(false, output);
6533  }
6534  int GetCachedSize() const { return _cached_size_; }
6535  private:
6536  void SharedCtor();
6537  void SharedDtor();
6538  void SetCachedSize(int size) const;
6539  void InternalSwap(ExportedBlockKeysProto* other);
6540  private:
6541  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6542  return _internal_metadata_.arena();
6543  }
6544  inline void* MaybeArenaPtr() const {
6545  return _internal_metadata_.raw_arena_ptr();
6546  }
6547  public:
6548 
6549  ::google::protobuf::Metadata GetMetadata() const;
6550 
6551  // nested types ----------------------------------------------------
6552 
6553  // accessors -------------------------------------------------------
6554 
6555  // required bool isBlockTokenEnabled = 1;
6556  bool has_isblocktokenenabled() const;
6557  void clear_isblocktokenenabled();
6558  static const int kIsBlockTokenEnabledFieldNumber = 1;
6559  bool isblocktokenenabled() const;
6560  void set_isblocktokenenabled(bool value);
6561 
6562  // required uint64 keyUpdateInterval = 2;
6563  bool has_keyupdateinterval() const;
6564  void clear_keyupdateinterval();
6565  static const int kKeyUpdateIntervalFieldNumber = 2;
6566  ::google::protobuf::uint64 keyupdateinterval() const;
6567  void set_keyupdateinterval(::google::protobuf::uint64 value);
6568 
6569  // required uint64 tokenLifeTime = 3;
6570  bool has_tokenlifetime() const;
6571  void clear_tokenlifetime();
6572  static const int kTokenLifeTimeFieldNumber = 3;
6573  ::google::protobuf::uint64 tokenlifetime() const;
6574  void set_tokenlifetime(::google::protobuf::uint64 value);
6575 
6576  // required .hadoop.hdfs.BlockKeyProto currentKey = 4;
6577  bool has_currentkey() const;
6578  void clear_currentkey();
6579  static const int kCurrentKeyFieldNumber = 4;
6580  const ::hadoop::hdfs::BlockKeyProto& currentkey() const;
6581  ::hadoop::hdfs::BlockKeyProto* mutable_currentkey();
6582  ::hadoop::hdfs::BlockKeyProto* release_currentkey();
6583  void set_allocated_currentkey(::hadoop::hdfs::BlockKeyProto* currentkey);
6584 
6585  // repeated .hadoop.hdfs.BlockKeyProto allKeys = 5;
6586  int allkeys_size() const;
6587  void clear_allkeys();
6588  static const int kAllKeysFieldNumber = 5;
6589  const ::hadoop::hdfs::BlockKeyProto& allkeys(int index) const;
6590  ::hadoop::hdfs::BlockKeyProto* mutable_allkeys(int index);
6591  ::hadoop::hdfs::BlockKeyProto* add_allkeys();
6592  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >*
6593  mutable_allkeys();
6594  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >&
6595  allkeys() const;
6596 
6597  // @@protoc_insertion_point(class_scope:hadoop.hdfs.ExportedBlockKeysProto)
6598  private:
6599  inline void set_has_isblocktokenenabled();
6600  inline void clear_has_isblocktokenenabled();
6601  inline void set_has_keyupdateinterval();
6602  inline void clear_has_keyupdateinterval();
6603  inline void set_has_tokenlifetime();
6604  inline void clear_has_tokenlifetime();
6605  inline void set_has_currentkey();
6606  inline void clear_has_currentkey();
6607 
6608  // helper for ByteSize()
6609  int RequiredFieldsByteSizeFallback() const;
6610 
6611  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6612  ::google::protobuf::uint32 _has_bits_[1];
6613  mutable int _cached_size_;
6614  ::google::protobuf::uint64 keyupdateinterval_;
6615  ::google::protobuf::uint64 tokenlifetime_;
6616  ::hadoop::hdfs::BlockKeyProto* currentkey_;
6617  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto > allkeys_;
6618  bool isblocktokenenabled_;
6619  friend void protobuf_AddDesc_hdfs_2eproto();
6620  friend void protobuf_AssignDesc_hdfs_2eproto();
6621  friend void protobuf_ShutdownFile_hdfs_2eproto();
6622 
6623  void InitAsDefaultInstance();
6624  static ExportedBlockKeysProto* default_instance_;
6625 };
6626 // -------------------------------------------------------------------
6627 
6628 class RecoveringBlockProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.RecoveringBlockProto) */ {
6629  public:
6631  virtual ~RecoveringBlockProto();
6632 
6634 
6635  inline RecoveringBlockProto& operator=(const RecoveringBlockProto& from) {
6636  CopyFrom(from);
6637  return *this;
6638  }
6639 
6640  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6641  return _internal_metadata_.unknown_fields();
6642  }
6643 
6644  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6645  return _internal_metadata_.mutable_unknown_fields();
6646  }
6647 
6648  static const ::google::protobuf::Descriptor* descriptor();
6649  static const RecoveringBlockProto& default_instance();
6650 
6651  void Swap(RecoveringBlockProto* other);
6652 
6653  // implements Message ----------------------------------------------
6654 
6655  inline RecoveringBlockProto* New() const { return New(NULL); }
6656 
6657  RecoveringBlockProto* New(::google::protobuf::Arena* arena) const;
6658  void CopyFrom(const ::google::protobuf::Message& from);
6659  void MergeFrom(const ::google::protobuf::Message& from);
6660  void CopyFrom(const RecoveringBlockProto& from);
6661  void MergeFrom(const RecoveringBlockProto& from);
6662  void Clear();
6663  bool IsInitialized() const;
6664 
6665  int ByteSize() const;
6666  bool MergePartialFromCodedStream(
6667  ::google::protobuf::io::CodedInputStream* input);
6668  void SerializeWithCachedSizes(
6669  ::google::protobuf::io::CodedOutputStream* output) const;
6670  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6671  bool deterministic, ::google::protobuf::uint8* output) const;
6672  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6673  return InternalSerializeWithCachedSizesToArray(false, output);
6674  }
6675  int GetCachedSize() const { return _cached_size_; }
6676  private:
6677  void SharedCtor();
6678  void SharedDtor();
6679  void SetCachedSize(int size) const;
6680  void InternalSwap(RecoveringBlockProto* other);
6681  private:
6682  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6683  return _internal_metadata_.arena();
6684  }
6685  inline void* MaybeArenaPtr() const {
6686  return _internal_metadata_.raw_arena_ptr();
6687  }
6688  public:
6689 
6690  ::google::protobuf::Metadata GetMetadata() const;
6691 
6692  // nested types ----------------------------------------------------
6693 
6694  // accessors -------------------------------------------------------
6695 
6696  // required uint64 newGenStamp = 1;
6697  bool has_newgenstamp() const;
6698  void clear_newgenstamp();
6699  static const int kNewGenStampFieldNumber = 1;
6700  ::google::protobuf::uint64 newgenstamp() const;
6701  void set_newgenstamp(::google::protobuf::uint64 value);
6702 
6703  // required .hadoop.hdfs.LocatedBlockProto block = 2;
6704  bool has_block() const;
6705  void clear_block();
6706  static const int kBlockFieldNumber = 2;
6707  const ::hadoop::hdfs::LocatedBlockProto& block() const;
6708  ::hadoop::hdfs::LocatedBlockProto* mutable_block();
6709  ::hadoop::hdfs::LocatedBlockProto* release_block();
6710  void set_allocated_block(::hadoop::hdfs::LocatedBlockProto* block);
6711 
6712  // optional .hadoop.hdfs.BlockProto truncateBlock = 3;
6713  bool has_truncateblock() const;
6714  void clear_truncateblock();
6715  static const int kTruncateBlockFieldNumber = 3;
6716  const ::hadoop::hdfs::BlockProto& truncateblock() const;
6717  ::hadoop::hdfs::BlockProto* mutable_truncateblock();
6718  ::hadoop::hdfs::BlockProto* release_truncateblock();
6719  void set_allocated_truncateblock(::hadoop::hdfs::BlockProto* truncateblock);
6720 
6721  // @@protoc_insertion_point(class_scope:hadoop.hdfs.RecoveringBlockProto)
6722  private:
6723  inline void set_has_newgenstamp();
6724  inline void clear_has_newgenstamp();
6725  inline void set_has_block();
6726  inline void clear_has_block();
6727  inline void set_has_truncateblock();
6728  inline void clear_has_truncateblock();
6729 
6730  // helper for ByteSize()
6731  int RequiredFieldsByteSizeFallback() const;
6732 
6733  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6734  ::google::protobuf::uint32 _has_bits_[1];
6735  mutable int _cached_size_;
6736  ::google::protobuf::uint64 newgenstamp_;
6738  ::hadoop::hdfs::BlockProto* truncateblock_;
6739  friend void protobuf_AddDesc_hdfs_2eproto();
6740  friend void protobuf_AssignDesc_hdfs_2eproto();
6741  friend void protobuf_ShutdownFile_hdfs_2eproto();
6742 
6743  void InitAsDefaultInstance();
6744  static RecoveringBlockProto* default_instance_;
6745 };
6746 // -------------------------------------------------------------------
6747 
6748 class VersionRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.VersionRequestProto) */ {
6749  public:
6751  virtual ~VersionRequestProto();
6752 
6754 
6755  inline VersionRequestProto& operator=(const VersionRequestProto& from) {
6756  CopyFrom(from);
6757  return *this;
6758  }
6759 
6760  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6761  return _internal_metadata_.unknown_fields();
6762  }
6763 
6764  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6765  return _internal_metadata_.mutable_unknown_fields();
6766  }
6767 
6768  static const ::google::protobuf::Descriptor* descriptor();
6769  static const VersionRequestProto& default_instance();
6770 
6771  void Swap(VersionRequestProto* other);
6772 
6773  // implements Message ----------------------------------------------
6774 
6775  inline VersionRequestProto* New() const { return New(NULL); }
6776 
6777  VersionRequestProto* New(::google::protobuf::Arena* arena) const;
6778  void CopyFrom(const ::google::protobuf::Message& from);
6779  void MergeFrom(const ::google::protobuf::Message& from);
6780  void CopyFrom(const VersionRequestProto& from);
6781  void MergeFrom(const VersionRequestProto& from);
6782  void Clear();
6783  bool IsInitialized() const;
6784 
6785  int ByteSize() const;
6786  bool MergePartialFromCodedStream(
6787  ::google::protobuf::io::CodedInputStream* input);
6788  void SerializeWithCachedSizes(
6789  ::google::protobuf::io::CodedOutputStream* output) const;
6790  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6791  bool deterministic, ::google::protobuf::uint8* output) const;
6792  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6793  return InternalSerializeWithCachedSizesToArray(false, output);
6794  }
6795  int GetCachedSize() const { return _cached_size_; }
6796  private:
6797  void SharedCtor();
6798  void SharedDtor();
6799  void SetCachedSize(int size) const;
6800  void InternalSwap(VersionRequestProto* other);
6801  private:
6802  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6803  return _internal_metadata_.arena();
6804  }
6805  inline void* MaybeArenaPtr() const {
6806  return _internal_metadata_.raw_arena_ptr();
6807  }
6808  public:
6809 
6810  ::google::protobuf::Metadata GetMetadata() const;
6811 
6812  // nested types ----------------------------------------------------
6813 
6814  // accessors -------------------------------------------------------
6815 
6816  // @@protoc_insertion_point(class_scope:hadoop.hdfs.VersionRequestProto)
6817  private:
6818 
6819  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6820  ::google::protobuf::uint32 _has_bits_[1];
6821  mutable int _cached_size_;
6822  friend void protobuf_AddDesc_hdfs_2eproto();
6823  friend void protobuf_AssignDesc_hdfs_2eproto();
6824  friend void protobuf_ShutdownFile_hdfs_2eproto();
6825 
6826  void InitAsDefaultInstance();
6827  static VersionRequestProto* default_instance_;
6828 };
6829 // -------------------------------------------------------------------
6830 
6831 class VersionResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.VersionResponseProto) */ {
6832  public:
6834  virtual ~VersionResponseProto();
6835 
6837 
6838  inline VersionResponseProto& operator=(const VersionResponseProto& from) {
6839  CopyFrom(from);
6840  return *this;
6841  }
6842 
6843  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6844  return _internal_metadata_.unknown_fields();
6845  }
6846 
6847  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6848  return _internal_metadata_.mutable_unknown_fields();
6849  }
6850 
6851  static const ::google::protobuf::Descriptor* descriptor();
6852  static const VersionResponseProto& default_instance();
6853 
6854  void Swap(VersionResponseProto* other);
6855 
6856  // implements Message ----------------------------------------------
6857 
6858  inline VersionResponseProto* New() const { return New(NULL); }
6859 
6860  VersionResponseProto* New(::google::protobuf::Arena* arena) const;
6861  void CopyFrom(const ::google::protobuf::Message& from);
6862  void MergeFrom(const ::google::protobuf::Message& from);
6863  void CopyFrom(const VersionResponseProto& from);
6864  void MergeFrom(const VersionResponseProto& from);
6865  void Clear();
6866  bool IsInitialized() const;
6867 
6868  int ByteSize() const;
6869  bool MergePartialFromCodedStream(
6870  ::google::protobuf::io::CodedInputStream* input);
6871  void SerializeWithCachedSizes(
6872  ::google::protobuf::io::CodedOutputStream* output) const;
6873  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6874  bool deterministic, ::google::protobuf::uint8* output) const;
6875  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6876  return InternalSerializeWithCachedSizesToArray(false, output);
6877  }
6878  int GetCachedSize() const { return _cached_size_; }
6879  private:
6880  void SharedCtor();
6881  void SharedDtor();
6882  void SetCachedSize(int size) const;
6883  void InternalSwap(VersionResponseProto* other);
6884  private:
6885  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6886  return _internal_metadata_.arena();
6887  }
6888  inline void* MaybeArenaPtr() const {
6889  return _internal_metadata_.raw_arena_ptr();
6890  }
6891  public:
6892 
6893  ::google::protobuf::Metadata GetMetadata() const;
6894 
6895  // nested types ----------------------------------------------------
6896 
6897  // accessors -------------------------------------------------------
6898 
6899  // required .hadoop.hdfs.NamespaceInfoProto info = 1;
6900  bool has_info() const;
6901  void clear_info();
6902  static const int kInfoFieldNumber = 1;
6903  const ::hadoop::hdfs::NamespaceInfoProto& info() const;
6904  ::hadoop::hdfs::NamespaceInfoProto* mutable_info();
6905  ::hadoop::hdfs::NamespaceInfoProto* release_info();
6906  void set_allocated_info(::hadoop::hdfs::NamespaceInfoProto* info);
6907 
6908  // @@protoc_insertion_point(class_scope:hadoop.hdfs.VersionResponseProto)
6909  private:
6910  inline void set_has_info();
6911  inline void clear_has_info();
6912 
6913  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6914  ::google::protobuf::uint32 _has_bits_[1];
6915  mutable int _cached_size_;
6917  friend void protobuf_AddDesc_hdfs_2eproto();
6918  friend void protobuf_AssignDesc_hdfs_2eproto();
6919  friend void protobuf_ShutdownFile_hdfs_2eproto();
6920 
6921  void InitAsDefaultInstance();
6922  static VersionResponseProto* default_instance_;
6923 };
6924 // -------------------------------------------------------------------
6925 
6926 class SnapshotInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SnapshotInfoProto) */ {
6927  public:
6929  virtual ~SnapshotInfoProto();
6930 
6931  SnapshotInfoProto(const SnapshotInfoProto& from);
6932 
6933  inline SnapshotInfoProto& operator=(const SnapshotInfoProto& from) {
6934  CopyFrom(from);
6935  return *this;
6936  }
6937 
6938  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6939  return _internal_metadata_.unknown_fields();
6940  }
6941 
6942  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6943  return _internal_metadata_.mutable_unknown_fields();
6944  }
6945 
6946  static const ::google::protobuf::Descriptor* descriptor();
6947  static const SnapshotInfoProto& default_instance();
6948 
6949  void Swap(SnapshotInfoProto* other);
6950 
6951  // implements Message ----------------------------------------------
6952 
6953  inline SnapshotInfoProto* New() const { return New(NULL); }
6954 
6955  SnapshotInfoProto* New(::google::protobuf::Arena* arena) const;
6956  void CopyFrom(const ::google::protobuf::Message& from);
6957  void MergeFrom(const ::google::protobuf::Message& from);
6958  void CopyFrom(const SnapshotInfoProto& from);
6959  void MergeFrom(const SnapshotInfoProto& from);
6960  void Clear();
6961  bool IsInitialized() const;
6962 
6963  int ByteSize() const;
6964  bool MergePartialFromCodedStream(
6965  ::google::protobuf::io::CodedInputStream* input);
6966  void SerializeWithCachedSizes(
6967  ::google::protobuf::io::CodedOutputStream* output) const;
6968  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6969  bool deterministic, ::google::protobuf::uint8* output) const;
6970  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
6971  return InternalSerializeWithCachedSizesToArray(false, output);
6972  }
6973  int GetCachedSize() const { return _cached_size_; }
6974  private:
6975  void SharedCtor();
6976  void SharedDtor();
6977  void SetCachedSize(int size) const;
6978  void InternalSwap(SnapshotInfoProto* other);
6979  private:
6980  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6981  return _internal_metadata_.arena();
6982  }
6983  inline void* MaybeArenaPtr() const {
6984  return _internal_metadata_.raw_arena_ptr();
6985  }
6986  public:
6987 
6988  ::google::protobuf::Metadata GetMetadata() const;
6989 
6990  // nested types ----------------------------------------------------
6991 
6992  // accessors -------------------------------------------------------
6993 
6994  // required string snapshotName = 1;
6995  bool has_snapshotname() const;
6996  void clear_snapshotname();
6997  static const int kSnapshotNameFieldNumber = 1;
6998  const ::std::string& snapshotname() const;
6999  void set_snapshotname(const ::std::string& value);
7000  void set_snapshotname(const char* value);
7001  void set_snapshotname(const char* value, size_t size);
7002  ::std::string* mutable_snapshotname();
7003  ::std::string* release_snapshotname();
7004  void set_allocated_snapshotname(::std::string* snapshotname);
7005 
7006  // required string snapshotRoot = 2;
7007  bool has_snapshotroot() const;
7008  void clear_snapshotroot();
7009  static const int kSnapshotRootFieldNumber = 2;
7010  const ::std::string& snapshotroot() const;
7011  void set_snapshotroot(const ::std::string& value);
7012  void set_snapshotroot(const char* value);
7013  void set_snapshotroot(const char* value, size_t size);
7014  ::std::string* mutable_snapshotroot();
7015  ::std::string* release_snapshotroot();
7016  void set_allocated_snapshotroot(::std::string* snapshotroot);
7017 
7018  // required .hadoop.hdfs.FsPermissionProto permission = 3;
7019  bool has_permission() const;
7020  void clear_permission();
7021  static const int kPermissionFieldNumber = 3;
7022  const ::hadoop::hdfs::FsPermissionProto& permission() const;
7023  ::hadoop::hdfs::FsPermissionProto* mutable_permission();
7024  ::hadoop::hdfs::FsPermissionProto* release_permission();
7025  void set_allocated_permission(::hadoop::hdfs::FsPermissionProto* permission);
7026 
7027  // required string owner = 4;
7028  bool has_owner() const;
7029  void clear_owner();
7030  static const int kOwnerFieldNumber = 4;
7031  const ::std::string& owner() const;
7032  void set_owner(const ::std::string& value);
7033  void set_owner(const char* value);
7034  void set_owner(const char* value, size_t size);
7035  ::std::string* mutable_owner();
7036  ::std::string* release_owner();
7037  void set_allocated_owner(::std::string* owner);
7038 
7039  // required string group = 5;
7040  bool has_group() const;
7041  void clear_group();
7042  static const int kGroupFieldNumber = 5;
7043  const ::std::string& group() const;
7044  void set_group(const ::std::string& value);
7045  void set_group(const char* value);
7046  void set_group(const char* value, size_t size);
7047  ::std::string* mutable_group();
7048  ::std::string* release_group();
7049  void set_allocated_group(::std::string* group);
7050 
7051  // required string createTime = 6;
7052  bool has_createtime() const;
7053  void clear_createtime();
7054  static const int kCreateTimeFieldNumber = 6;
7055  const ::std::string& createtime() const;
7056  void set_createtime(const ::std::string& value);
7057  void set_createtime(const char* value);
7058  void set_createtime(const char* value, size_t size);
7059  ::std::string* mutable_createtime();
7060  ::std::string* release_createtime();
7061  void set_allocated_createtime(::std::string* createtime);
7062 
7063  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SnapshotInfoProto)
7064  private:
7065  inline void set_has_snapshotname();
7066  inline void clear_has_snapshotname();
7067  inline void set_has_snapshotroot();
7068  inline void clear_has_snapshotroot();
7069  inline void set_has_permission();
7070  inline void clear_has_permission();
7071  inline void set_has_owner();
7072  inline void clear_has_owner();
7073  inline void set_has_group();
7074  inline void clear_has_group();
7075  inline void set_has_createtime();
7076  inline void clear_has_createtime();
7077 
7078  // helper for ByteSize()
7079  int RequiredFieldsByteSizeFallback() const;
7080 
7081  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7082  ::google::protobuf::uint32 _has_bits_[1];
7083  mutable int _cached_size_;
7084  ::google::protobuf::internal::ArenaStringPtr snapshotname_;
7085  ::google::protobuf::internal::ArenaStringPtr snapshotroot_;
7086  ::hadoop::hdfs::FsPermissionProto* permission_;
7087  ::google::protobuf::internal::ArenaStringPtr owner_;
7088  ::google::protobuf::internal::ArenaStringPtr group_;
7089  ::google::protobuf::internal::ArenaStringPtr createtime_;
7090  friend void protobuf_AddDesc_hdfs_2eproto();
7091  friend void protobuf_AssignDesc_hdfs_2eproto();
7092  friend void protobuf_ShutdownFile_hdfs_2eproto();
7093 
7094  void InitAsDefaultInstance();
7095  static SnapshotInfoProto* default_instance_;
7096 };
7097 // -------------------------------------------------------------------
7098 
7099 class RollingUpgradeStatusProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.RollingUpgradeStatusProto) */ {
7100  public:
7102  virtual ~RollingUpgradeStatusProto();
7103 
7105 
7106  inline RollingUpgradeStatusProto& operator=(const RollingUpgradeStatusProto& from) {
7107  CopyFrom(from);
7108  return *this;
7109  }
7110 
7111  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7112  return _internal_metadata_.unknown_fields();
7113  }
7114 
7115  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7116  return _internal_metadata_.mutable_unknown_fields();
7117  }
7118 
7119  static const ::google::protobuf::Descriptor* descriptor();
7120  static const RollingUpgradeStatusProto& default_instance();
7121 
7122  void Swap(RollingUpgradeStatusProto* other);
7123 
7124  // implements Message ----------------------------------------------
7125 
7126  inline RollingUpgradeStatusProto* New() const { return New(NULL); }
7127 
7128  RollingUpgradeStatusProto* New(::google::protobuf::Arena* arena) const;
7129  void CopyFrom(const ::google::protobuf::Message& from);
7130  void MergeFrom(const ::google::protobuf::Message& from);
7131  void CopyFrom(const RollingUpgradeStatusProto& from);
7132  void MergeFrom(const RollingUpgradeStatusProto& from);
7133  void Clear();
7134  bool IsInitialized() const;
7135 
7136  int ByteSize() const;
7137  bool MergePartialFromCodedStream(
7138  ::google::protobuf::io::CodedInputStream* input);
7139  void SerializeWithCachedSizes(
7140  ::google::protobuf::io::CodedOutputStream* output) const;
7141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7142  bool deterministic, ::google::protobuf::uint8* output) const;
7143  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
7144  return InternalSerializeWithCachedSizesToArray(false, output);
7145  }
7146  int GetCachedSize() const { return _cached_size_; }
7147  private:
7148  void SharedCtor();
7149  void SharedDtor();
7150  void SetCachedSize(int size) const;
7151  void InternalSwap(RollingUpgradeStatusProto* other);
7152  private:
7153  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7154  return _internal_metadata_.arena();
7155  }
7156  inline void* MaybeArenaPtr() const {
7157  return _internal_metadata_.raw_arena_ptr();
7158  }
7159  public:
7160 
7161  ::google::protobuf::Metadata GetMetadata() const;
7162 
7163  // nested types ----------------------------------------------------
7164 
7165  // accessors -------------------------------------------------------
7166 
7167  // required string blockPoolId = 1;
7168  bool has_blockpoolid() const;
7169  void clear_blockpoolid();
7170  static const int kBlockPoolIdFieldNumber = 1;
7171  const ::std::string& blockpoolid() const;
7172  void set_blockpoolid(const ::std::string& value);
7173  void set_blockpoolid(const char* value);
7174  void set_blockpoolid(const char* value, size_t size);
7175  ::std::string* mutable_blockpoolid();
7176  ::std::string* release_blockpoolid();
7177  void set_allocated_blockpoolid(::std::string* blockpoolid);
7178 
7179  // optional bool finalized = 2 [default = false];
7180  bool has_finalized() const;
7181  void clear_finalized();
7182  static const int kFinalizedFieldNumber = 2;
7183  bool finalized() const;
7184  void set_finalized(bool value);
7185 
7186  // @@protoc_insertion_point(class_scope:hadoop.hdfs.RollingUpgradeStatusProto)
7187  private:
7188  inline void set_has_blockpoolid();
7189  inline void clear_has_blockpoolid();
7190  inline void set_has_finalized();
7191  inline void clear_has_finalized();
7192 
7193  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7194  ::google::protobuf::uint32 _has_bits_[1];
7195  mutable int _cached_size_;
7196  ::google::protobuf::internal::ArenaStringPtr blockpoolid_;
7197  bool finalized_;
7198  friend void protobuf_AddDesc_hdfs_2eproto();
7199  friend void protobuf_AssignDesc_hdfs_2eproto();
7200  friend void protobuf_ShutdownFile_hdfs_2eproto();
7201 
7202  void InitAsDefaultInstance();
7203  static RollingUpgradeStatusProto* default_instance_;
7204 };
7205 // ===================================================================
7206 
7207 
7208 // ===================================================================
7209 
7210 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
7211 // ExtendedBlockProto
7212 
7213 // required string poolId = 1;
7214 inline bool ExtendedBlockProto::has_poolid() const {
7215  return (_has_bits_[0] & 0x00000001u) != 0;
7216 }
7217 inline void ExtendedBlockProto::set_has_poolid() {
7218  _has_bits_[0] |= 0x00000001u;
7219 }
7220 inline void ExtendedBlockProto::clear_has_poolid() {
7221  _has_bits_[0] &= ~0x00000001u;
7222 }
7223 inline void ExtendedBlockProto::clear_poolid() {
7224  poolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7225  clear_has_poolid();
7226 }
7227 inline const ::std::string& ExtendedBlockProto::poolid() const {
7228  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExtendedBlockProto.poolId)
7229  return poolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7230 }
7231 inline void ExtendedBlockProto::set_poolid(const ::std::string& value) {
7232  set_has_poolid();
7233  poolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7234  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExtendedBlockProto.poolId)
7235 }
7236 inline void ExtendedBlockProto::set_poolid(const char* value) {
7237  set_has_poolid();
7238  poolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7239  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ExtendedBlockProto.poolId)
7240 }
7241 inline void ExtendedBlockProto::set_poolid(const char* value, size_t size) {
7242  set_has_poolid();
7243  poolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7244  ::std::string(reinterpret_cast<const char*>(value), size));
7245  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ExtendedBlockProto.poolId)
7246 }
7247 inline ::std::string* ExtendedBlockProto::mutable_poolid() {
7248  set_has_poolid();
7249  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ExtendedBlockProto.poolId)
7250  return poolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7251 }
7252 inline ::std::string* ExtendedBlockProto::release_poolid() {
7253  // @@protoc_insertion_point(field_release:hadoop.hdfs.ExtendedBlockProto.poolId)
7254  clear_has_poolid();
7255  return poolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7256 }
7257 inline void ExtendedBlockProto::set_allocated_poolid(::std::string* poolid) {
7258  if (poolid != NULL) {
7259  set_has_poolid();
7260  } else {
7261  clear_has_poolid();
7262  }
7263  poolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), poolid);
7264  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ExtendedBlockProto.poolId)
7265 }
7266 
7267 // required uint64 blockId = 2;
7268 inline bool ExtendedBlockProto::has_blockid() const {
7269  return (_has_bits_[0] & 0x00000002u) != 0;
7270 }
7271 inline void ExtendedBlockProto::set_has_blockid() {
7272  _has_bits_[0] |= 0x00000002u;
7273 }
7274 inline void ExtendedBlockProto::clear_has_blockid() {
7275  _has_bits_[0] &= ~0x00000002u;
7276 }
7277 inline void ExtendedBlockProto::clear_blockid() {
7278  blockid_ = GOOGLE_ULONGLONG(0);
7279  clear_has_blockid();
7280 }
7281 inline ::google::protobuf::uint64 ExtendedBlockProto::blockid() const {
7282  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExtendedBlockProto.blockId)
7283  return blockid_;
7284 }
7285 inline void ExtendedBlockProto::set_blockid(::google::protobuf::uint64 value) {
7286  set_has_blockid();
7287  blockid_ = value;
7288  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExtendedBlockProto.blockId)
7289 }
7290 
7291 // required uint64 generationStamp = 3;
7292 inline bool ExtendedBlockProto::has_generationstamp() const {
7293  return (_has_bits_[0] & 0x00000004u) != 0;
7294 }
7295 inline void ExtendedBlockProto::set_has_generationstamp() {
7296  _has_bits_[0] |= 0x00000004u;
7297 }
7298 inline void ExtendedBlockProto::clear_has_generationstamp() {
7299  _has_bits_[0] &= ~0x00000004u;
7300 }
7301 inline void ExtendedBlockProto::clear_generationstamp() {
7302  generationstamp_ = GOOGLE_ULONGLONG(0);
7303  clear_has_generationstamp();
7304 }
7305 inline ::google::protobuf::uint64 ExtendedBlockProto::generationstamp() const {
7306  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExtendedBlockProto.generationStamp)
7307  return generationstamp_;
7308 }
7309 inline void ExtendedBlockProto::set_generationstamp(::google::protobuf::uint64 value) {
7310  set_has_generationstamp();
7311  generationstamp_ = value;
7312  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExtendedBlockProto.generationStamp)
7313 }
7314 
7315 // optional uint64 numBytes = 4 [default = 0];
7316 inline bool ExtendedBlockProto::has_numbytes() const {
7317  return (_has_bits_[0] & 0x00000008u) != 0;
7318 }
7319 inline void ExtendedBlockProto::set_has_numbytes() {
7320  _has_bits_[0] |= 0x00000008u;
7321 }
7322 inline void ExtendedBlockProto::clear_has_numbytes() {
7323  _has_bits_[0] &= ~0x00000008u;
7324 }
7325 inline void ExtendedBlockProto::clear_numbytes() {
7326  numbytes_ = GOOGLE_ULONGLONG(0);
7327  clear_has_numbytes();
7328 }
7329 inline ::google::protobuf::uint64 ExtendedBlockProto::numbytes() const {
7330  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExtendedBlockProto.numBytes)
7331  return numbytes_;
7332 }
7333 inline void ExtendedBlockProto::set_numbytes(::google::protobuf::uint64 value) {
7334  set_has_numbytes();
7335  numbytes_ = value;
7336  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExtendedBlockProto.numBytes)
7337 }
7338 
7339 // -------------------------------------------------------------------
7340 
7341 // DatanodeIDProto
7342 
7343 // required string ipAddr = 1;
7344 inline bool DatanodeIDProto::has_ipaddr() const {
7345  return (_has_bits_[0] & 0x00000001u) != 0;
7346 }
7347 inline void DatanodeIDProto::set_has_ipaddr() {
7348  _has_bits_[0] |= 0x00000001u;
7349 }
7350 inline void DatanodeIDProto::clear_has_ipaddr() {
7351  _has_bits_[0] &= ~0x00000001u;
7352 }
7353 inline void DatanodeIDProto::clear_ipaddr() {
7354  ipaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7355  clear_has_ipaddr();
7356 }
7357 inline const ::std::string& DatanodeIDProto::ipaddr() const {
7358  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.ipAddr)
7359  return ipaddr_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7360 }
7361 inline void DatanodeIDProto::set_ipaddr(const ::std::string& value) {
7362  set_has_ipaddr();
7363  ipaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7364  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.ipAddr)
7365 }
7366 inline void DatanodeIDProto::set_ipaddr(const char* value) {
7367  set_has_ipaddr();
7368  ipaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7369  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeIDProto.ipAddr)
7370 }
7371 inline void DatanodeIDProto::set_ipaddr(const char* value, size_t size) {
7372  set_has_ipaddr();
7373  ipaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7374  ::std::string(reinterpret_cast<const char*>(value), size));
7375  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeIDProto.ipAddr)
7376 }
7377 inline ::std::string* DatanodeIDProto::mutable_ipaddr() {
7378  set_has_ipaddr();
7379  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeIDProto.ipAddr)
7380  return ipaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7381 }
7382 inline ::std::string* DatanodeIDProto::release_ipaddr() {
7383  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeIDProto.ipAddr)
7384  clear_has_ipaddr();
7385  return ipaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7386 }
7387 inline void DatanodeIDProto::set_allocated_ipaddr(::std::string* ipaddr) {
7388  if (ipaddr != NULL) {
7389  set_has_ipaddr();
7390  } else {
7391  clear_has_ipaddr();
7392  }
7393  ipaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ipaddr);
7394  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeIDProto.ipAddr)
7395 }
7396 
7397 // required string hostName = 2;
7398 inline bool DatanodeIDProto::has_hostname() const {
7399  return (_has_bits_[0] & 0x00000002u) != 0;
7400 }
7401 inline void DatanodeIDProto::set_has_hostname() {
7402  _has_bits_[0] |= 0x00000002u;
7403 }
7404 inline void DatanodeIDProto::clear_has_hostname() {
7405  _has_bits_[0] &= ~0x00000002u;
7406 }
7407 inline void DatanodeIDProto::clear_hostname() {
7408  hostname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7409  clear_has_hostname();
7410 }
7411 inline const ::std::string& DatanodeIDProto::hostname() const {
7412  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.hostName)
7413  return hostname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7414 }
7415 inline void DatanodeIDProto::set_hostname(const ::std::string& value) {
7416  set_has_hostname();
7417  hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7418  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.hostName)
7419 }
7420 inline void DatanodeIDProto::set_hostname(const char* value) {
7421  set_has_hostname();
7422  hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7423  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeIDProto.hostName)
7424 }
7425 inline void DatanodeIDProto::set_hostname(const char* value, size_t size) {
7426  set_has_hostname();
7427  hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7428  ::std::string(reinterpret_cast<const char*>(value), size));
7429  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeIDProto.hostName)
7430 }
7431 inline ::std::string* DatanodeIDProto::mutable_hostname() {
7432  set_has_hostname();
7433  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeIDProto.hostName)
7434  return hostname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7435 }
7436 inline ::std::string* DatanodeIDProto::release_hostname() {
7437  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeIDProto.hostName)
7438  clear_has_hostname();
7439  return hostname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7440 }
7441 inline void DatanodeIDProto::set_allocated_hostname(::std::string* hostname) {
7442  if (hostname != NULL) {
7443  set_has_hostname();
7444  } else {
7445  clear_has_hostname();
7446  }
7447  hostname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hostname);
7448  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeIDProto.hostName)
7449 }
7450 
7451 // required string datanodeUuid = 3;
7452 inline bool DatanodeIDProto::has_datanodeuuid() const {
7453  return (_has_bits_[0] & 0x00000004u) != 0;
7454 }
7455 inline void DatanodeIDProto::set_has_datanodeuuid() {
7456  _has_bits_[0] |= 0x00000004u;
7457 }
7458 inline void DatanodeIDProto::clear_has_datanodeuuid() {
7459  _has_bits_[0] &= ~0x00000004u;
7460 }
7461 inline void DatanodeIDProto::clear_datanodeuuid() {
7462  datanodeuuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7463  clear_has_datanodeuuid();
7464 }
7465 inline const ::std::string& DatanodeIDProto::datanodeuuid() const {
7466  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7467  return datanodeuuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7468 }
7469 inline void DatanodeIDProto::set_datanodeuuid(const ::std::string& value) {
7470  set_has_datanodeuuid();
7471  datanodeuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7472  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7473 }
7474 inline void DatanodeIDProto::set_datanodeuuid(const char* value) {
7475  set_has_datanodeuuid();
7476  datanodeuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7477  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7478 }
7479 inline void DatanodeIDProto::set_datanodeuuid(const char* value, size_t size) {
7480  set_has_datanodeuuid();
7481  datanodeuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7482  ::std::string(reinterpret_cast<const char*>(value), size));
7483  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7484 }
7485 inline ::std::string* DatanodeIDProto::mutable_datanodeuuid() {
7486  set_has_datanodeuuid();
7487  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7488  return datanodeuuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7489 }
7490 inline ::std::string* DatanodeIDProto::release_datanodeuuid() {
7491  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7492  clear_has_datanodeuuid();
7493  return datanodeuuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7494 }
7495 inline void DatanodeIDProto::set_allocated_datanodeuuid(::std::string* datanodeuuid) {
7496  if (datanodeuuid != NULL) {
7497  set_has_datanodeuuid();
7498  } else {
7499  clear_has_datanodeuuid();
7500  }
7501  datanodeuuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), datanodeuuid);
7502  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeIDProto.datanodeUuid)
7503 }
7504 
7505 // required uint32 xferPort = 4;
7506 inline bool DatanodeIDProto::has_xferport() const {
7507  return (_has_bits_[0] & 0x00000008u) != 0;
7508 }
7509 inline void DatanodeIDProto::set_has_xferport() {
7510  _has_bits_[0] |= 0x00000008u;
7511 }
7512 inline void DatanodeIDProto::clear_has_xferport() {
7513  _has_bits_[0] &= ~0x00000008u;
7514 }
7515 inline void DatanodeIDProto::clear_xferport() {
7516  xferport_ = 0u;
7517  clear_has_xferport();
7518 }
7519 inline ::google::protobuf::uint32 DatanodeIDProto::xferport() const {
7520  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.xferPort)
7521  return xferport_;
7522 }
7523 inline void DatanodeIDProto::set_xferport(::google::protobuf::uint32 value) {
7524  set_has_xferport();
7525  xferport_ = value;
7526  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.xferPort)
7527 }
7528 
7529 // required uint32 infoPort = 5;
7530 inline bool DatanodeIDProto::has_infoport() const {
7531  return (_has_bits_[0] & 0x00000010u) != 0;
7532 }
7533 inline void DatanodeIDProto::set_has_infoport() {
7534  _has_bits_[0] |= 0x00000010u;
7535 }
7536 inline void DatanodeIDProto::clear_has_infoport() {
7537  _has_bits_[0] &= ~0x00000010u;
7538 }
7539 inline void DatanodeIDProto::clear_infoport() {
7540  infoport_ = 0u;
7541  clear_has_infoport();
7542 }
7543 inline ::google::protobuf::uint32 DatanodeIDProto::infoport() const {
7544  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.infoPort)
7545  return infoport_;
7546 }
7547 inline void DatanodeIDProto::set_infoport(::google::protobuf::uint32 value) {
7548  set_has_infoport();
7549  infoport_ = value;
7550  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.infoPort)
7551 }
7552 
7553 // required uint32 ipcPort = 6;
7554 inline bool DatanodeIDProto::has_ipcport() const {
7555  return (_has_bits_[0] & 0x00000020u) != 0;
7556 }
7557 inline void DatanodeIDProto::set_has_ipcport() {
7558  _has_bits_[0] |= 0x00000020u;
7559 }
7560 inline void DatanodeIDProto::clear_has_ipcport() {
7561  _has_bits_[0] &= ~0x00000020u;
7562 }
7563 inline void DatanodeIDProto::clear_ipcport() {
7564  ipcport_ = 0u;
7565  clear_has_ipcport();
7566 }
7567 inline ::google::protobuf::uint32 DatanodeIDProto::ipcport() const {
7568  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.ipcPort)
7569  return ipcport_;
7570 }
7571 inline void DatanodeIDProto::set_ipcport(::google::protobuf::uint32 value) {
7572  set_has_ipcport();
7573  ipcport_ = value;
7574  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.ipcPort)
7575 }
7576 
7577 // optional uint32 infoSecurePort = 7 [default = 0];
7578 inline bool DatanodeIDProto::has_infosecureport() const {
7579  return (_has_bits_[0] & 0x00000040u) != 0;
7580 }
7581 inline void DatanodeIDProto::set_has_infosecureport() {
7582  _has_bits_[0] |= 0x00000040u;
7583 }
7584 inline void DatanodeIDProto::clear_has_infosecureport() {
7585  _has_bits_[0] &= ~0x00000040u;
7586 }
7587 inline void DatanodeIDProto::clear_infosecureport() {
7588  infosecureport_ = 0u;
7589  clear_has_infosecureport();
7590 }
7591 inline ::google::protobuf::uint32 DatanodeIDProto::infosecureport() const {
7592  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeIDProto.infoSecurePort)
7593  return infosecureport_;
7594 }
7595 inline void DatanodeIDProto::set_infosecureport(::google::protobuf::uint32 value) {
7596  set_has_infosecureport();
7597  infosecureport_ = value;
7598  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeIDProto.infoSecurePort)
7599 }
7600 
7601 // -------------------------------------------------------------------
7602 
7603 // DatanodeLocalInfoProto
7604 
7605 // required string softwareVersion = 1;
7606 inline bool DatanodeLocalInfoProto::has_softwareversion() const {
7607  return (_has_bits_[0] & 0x00000001u) != 0;
7608 }
7609 inline void DatanodeLocalInfoProto::set_has_softwareversion() {
7610  _has_bits_[0] |= 0x00000001u;
7611 }
7612 inline void DatanodeLocalInfoProto::clear_has_softwareversion() {
7613  _has_bits_[0] &= ~0x00000001u;
7614 }
7615 inline void DatanodeLocalInfoProto::clear_softwareversion() {
7616  softwareversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7617  clear_has_softwareversion();
7618 }
7619 inline const ::std::string& DatanodeLocalInfoProto::softwareversion() const {
7620  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7621  return softwareversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7622 }
7623 inline void DatanodeLocalInfoProto::set_softwareversion(const ::std::string& value) {
7624  set_has_softwareversion();
7625  softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7626  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7627 }
7628 inline void DatanodeLocalInfoProto::set_softwareversion(const char* value) {
7629  set_has_softwareversion();
7630  softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7631  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7632 }
7633 inline void DatanodeLocalInfoProto::set_softwareversion(const char* value, size_t size) {
7634  set_has_softwareversion();
7635  softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7636  ::std::string(reinterpret_cast<const char*>(value), size));
7637  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7638 }
7639 inline ::std::string* DatanodeLocalInfoProto::mutable_softwareversion() {
7640  set_has_softwareversion();
7641  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7642  return softwareversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7643 }
7644 inline ::std::string* DatanodeLocalInfoProto::release_softwareversion() {
7645  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7646  clear_has_softwareversion();
7647  return softwareversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7648 }
7649 inline void DatanodeLocalInfoProto::set_allocated_softwareversion(::std::string* softwareversion) {
7650  if (softwareversion != NULL) {
7651  set_has_softwareversion();
7652  } else {
7653  clear_has_softwareversion();
7654  }
7655  softwareversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), softwareversion);
7656  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeLocalInfoProto.softwareVersion)
7657 }
7658 
7659 // required string configVersion = 2;
7660 inline bool DatanodeLocalInfoProto::has_configversion() const {
7661  return (_has_bits_[0] & 0x00000002u) != 0;
7662 }
7663 inline void DatanodeLocalInfoProto::set_has_configversion() {
7664  _has_bits_[0] |= 0x00000002u;
7665 }
7666 inline void DatanodeLocalInfoProto::clear_has_configversion() {
7667  _has_bits_[0] &= ~0x00000002u;
7668 }
7669 inline void DatanodeLocalInfoProto::clear_configversion() {
7670  configversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7671  clear_has_configversion();
7672 }
7673 inline const ::std::string& DatanodeLocalInfoProto::configversion() const {
7674  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7675  return configversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7676 }
7677 inline void DatanodeLocalInfoProto::set_configversion(const ::std::string& value) {
7678  set_has_configversion();
7679  configversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7680  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7681 }
7682 inline void DatanodeLocalInfoProto::set_configversion(const char* value) {
7683  set_has_configversion();
7684  configversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7685  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7686 }
7687 inline void DatanodeLocalInfoProto::set_configversion(const char* value, size_t size) {
7688  set_has_configversion();
7689  configversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7690  ::std::string(reinterpret_cast<const char*>(value), size));
7691  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7692 }
7693 inline ::std::string* DatanodeLocalInfoProto::mutable_configversion() {
7694  set_has_configversion();
7695  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7696  return configversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7697 }
7698 inline ::std::string* DatanodeLocalInfoProto::release_configversion() {
7699  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7700  clear_has_configversion();
7701  return configversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7702 }
7703 inline void DatanodeLocalInfoProto::set_allocated_configversion(::std::string* configversion) {
7704  if (configversion != NULL) {
7705  set_has_configversion();
7706  } else {
7707  clear_has_configversion();
7708  }
7709  configversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), configversion);
7710  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeLocalInfoProto.configVersion)
7711 }
7712 
7713 // required uint64 uptime = 3;
7714 inline bool DatanodeLocalInfoProto::has_uptime() const {
7715  return (_has_bits_[0] & 0x00000004u) != 0;
7716 }
7717 inline void DatanodeLocalInfoProto::set_has_uptime() {
7718  _has_bits_[0] |= 0x00000004u;
7719 }
7720 inline void DatanodeLocalInfoProto::clear_has_uptime() {
7721  _has_bits_[0] &= ~0x00000004u;
7722 }
7723 inline void DatanodeLocalInfoProto::clear_uptime() {
7724  uptime_ = GOOGLE_ULONGLONG(0);
7725  clear_has_uptime();
7726 }
7727 inline ::google::protobuf::uint64 DatanodeLocalInfoProto::uptime() const {
7728  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeLocalInfoProto.uptime)
7729  return uptime_;
7730 }
7731 inline void DatanodeLocalInfoProto::set_uptime(::google::protobuf::uint64 value) {
7732  set_has_uptime();
7733  uptime_ = value;
7734  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeLocalInfoProto.uptime)
7735 }
7736 
7737 // -------------------------------------------------------------------
7738 
7739 // DatanodeInfosProto
7740 
7741 // repeated .hadoop.hdfs.DatanodeInfoProto datanodes = 1;
7742 inline int DatanodeInfosProto::datanodes_size() const {
7743  return datanodes_.size();
7744 }
7745 inline void DatanodeInfosProto::clear_datanodes() {
7746  datanodes_.Clear();
7747 }
7748 inline const ::hadoop::hdfs::DatanodeInfoProto& DatanodeInfosProto::datanodes(int index) const {
7749  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfosProto.datanodes)
7750  return datanodes_.Get(index);
7751 }
7752 inline ::hadoop::hdfs::DatanodeInfoProto* DatanodeInfosProto::mutable_datanodes(int index) {
7753  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeInfosProto.datanodes)
7754  return datanodes_.Mutable(index);
7755 }
7756 inline ::hadoop::hdfs::DatanodeInfoProto* DatanodeInfosProto::add_datanodes() {
7757  // @@protoc_insertion_point(field_add:hadoop.hdfs.DatanodeInfosProto.datanodes)
7758  return datanodes_.Add();
7759 }
7760 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
7761 DatanodeInfosProto::mutable_datanodes() {
7762  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.DatanodeInfosProto.datanodes)
7763  return &datanodes_;
7764 }
7765 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
7766 DatanodeInfosProto::datanodes() const {
7767  // @@protoc_insertion_point(field_list:hadoop.hdfs.DatanodeInfosProto.datanodes)
7768  return datanodes_;
7769 }
7770 
7771 // -------------------------------------------------------------------
7772 
7773 // DatanodeInfoProto
7774 
7775 // required .hadoop.hdfs.DatanodeIDProto id = 1;
7776 inline bool DatanodeInfoProto::has_id() const {
7777  return (_has_bits_[0] & 0x00000001u) != 0;
7778 }
7779 inline void DatanodeInfoProto::set_has_id() {
7780  _has_bits_[0] |= 0x00000001u;
7781 }
7782 inline void DatanodeInfoProto::clear_has_id() {
7783  _has_bits_[0] &= ~0x00000001u;
7784 }
7785 inline void DatanodeInfoProto::clear_id() {
7786  if (id_ != NULL) id_->::hadoop::hdfs::DatanodeIDProto::Clear();
7787  clear_has_id();
7788 }
7789 inline const ::hadoop::hdfs::DatanodeIDProto& DatanodeInfoProto::id() const {
7790  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.id)
7791  return id_ != NULL ? *id_ : *default_instance_->id_;
7792 }
7793 inline ::hadoop::hdfs::DatanodeIDProto* DatanodeInfoProto::mutable_id() {
7794  set_has_id();
7795  if (id_ == NULL) {
7796  id_ = new ::hadoop::hdfs::DatanodeIDProto;
7797  }
7798  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeInfoProto.id)
7799  return id_;
7800 }
7801 inline ::hadoop::hdfs::DatanodeIDProto* DatanodeInfoProto::release_id() {
7802  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeInfoProto.id)
7803  clear_has_id();
7804  ::hadoop::hdfs::DatanodeIDProto* temp = id_;
7805  id_ = NULL;
7806  return temp;
7807 }
7808 inline void DatanodeInfoProto::set_allocated_id(::hadoop::hdfs::DatanodeIDProto* id) {
7809  delete id_;
7810  id_ = id;
7811  if (id) {
7812  set_has_id();
7813  } else {
7814  clear_has_id();
7815  }
7816  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeInfoProto.id)
7817 }
7818 
7819 // optional uint64 capacity = 2 [default = 0];
7820 inline bool DatanodeInfoProto::has_capacity() const {
7821  return (_has_bits_[0] & 0x00000002u) != 0;
7822 }
7823 inline void DatanodeInfoProto::set_has_capacity() {
7824  _has_bits_[0] |= 0x00000002u;
7825 }
7826 inline void DatanodeInfoProto::clear_has_capacity() {
7827  _has_bits_[0] &= ~0x00000002u;
7828 }
7829 inline void DatanodeInfoProto::clear_capacity() {
7830  capacity_ = GOOGLE_ULONGLONG(0);
7831  clear_has_capacity();
7832 }
7833 inline ::google::protobuf::uint64 DatanodeInfoProto::capacity() const {
7834  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.capacity)
7835  return capacity_;
7836 }
7837 inline void DatanodeInfoProto::set_capacity(::google::protobuf::uint64 value) {
7838  set_has_capacity();
7839  capacity_ = value;
7840  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.capacity)
7841 }
7842 
7843 // optional uint64 dfsUsed = 3 [default = 0];
7844 inline bool DatanodeInfoProto::has_dfsused() const {
7845  return (_has_bits_[0] & 0x00000004u) != 0;
7846 }
7847 inline void DatanodeInfoProto::set_has_dfsused() {
7848  _has_bits_[0] |= 0x00000004u;
7849 }
7850 inline void DatanodeInfoProto::clear_has_dfsused() {
7851  _has_bits_[0] &= ~0x00000004u;
7852 }
7853 inline void DatanodeInfoProto::clear_dfsused() {
7854  dfsused_ = GOOGLE_ULONGLONG(0);
7855  clear_has_dfsused();
7856 }
7857 inline ::google::protobuf::uint64 DatanodeInfoProto::dfsused() const {
7858  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.dfsUsed)
7859  return dfsused_;
7860 }
7861 inline void DatanodeInfoProto::set_dfsused(::google::protobuf::uint64 value) {
7862  set_has_dfsused();
7863  dfsused_ = value;
7864  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.dfsUsed)
7865 }
7866 
7867 // optional uint64 remaining = 4 [default = 0];
7868 inline bool DatanodeInfoProto::has_remaining() const {
7869  return (_has_bits_[0] & 0x00000008u) != 0;
7870 }
7871 inline void DatanodeInfoProto::set_has_remaining() {
7872  _has_bits_[0] |= 0x00000008u;
7873 }
7874 inline void DatanodeInfoProto::clear_has_remaining() {
7875  _has_bits_[0] &= ~0x00000008u;
7876 }
7877 inline void DatanodeInfoProto::clear_remaining() {
7878  remaining_ = GOOGLE_ULONGLONG(0);
7879  clear_has_remaining();
7880 }
7881 inline ::google::protobuf::uint64 DatanodeInfoProto::remaining() const {
7882  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.remaining)
7883  return remaining_;
7884 }
7885 inline void DatanodeInfoProto::set_remaining(::google::protobuf::uint64 value) {
7886  set_has_remaining();
7887  remaining_ = value;
7888  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.remaining)
7889 }
7890 
7891 // optional uint64 blockPoolUsed = 5 [default = 0];
7892 inline bool DatanodeInfoProto::has_blockpoolused() const {
7893  return (_has_bits_[0] & 0x00000010u) != 0;
7894 }
7895 inline void DatanodeInfoProto::set_has_blockpoolused() {
7896  _has_bits_[0] |= 0x00000010u;
7897 }
7898 inline void DatanodeInfoProto::clear_has_blockpoolused() {
7899  _has_bits_[0] &= ~0x00000010u;
7900 }
7901 inline void DatanodeInfoProto::clear_blockpoolused() {
7902  blockpoolused_ = GOOGLE_ULONGLONG(0);
7903  clear_has_blockpoolused();
7904 }
7905 inline ::google::protobuf::uint64 DatanodeInfoProto::blockpoolused() const {
7906  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.blockPoolUsed)
7907  return blockpoolused_;
7908 }
7909 inline void DatanodeInfoProto::set_blockpoolused(::google::protobuf::uint64 value) {
7910  set_has_blockpoolused();
7911  blockpoolused_ = value;
7912  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.blockPoolUsed)
7913 }
7914 
7915 // optional uint64 lastUpdate = 6 [default = 0];
7916 inline bool DatanodeInfoProto::has_lastupdate() const {
7917  return (_has_bits_[0] & 0x00000020u) != 0;
7918 }
7919 inline void DatanodeInfoProto::set_has_lastupdate() {
7920  _has_bits_[0] |= 0x00000020u;
7921 }
7922 inline void DatanodeInfoProto::clear_has_lastupdate() {
7923  _has_bits_[0] &= ~0x00000020u;
7924 }
7925 inline void DatanodeInfoProto::clear_lastupdate() {
7926  lastupdate_ = GOOGLE_ULONGLONG(0);
7927  clear_has_lastupdate();
7928 }
7929 inline ::google::protobuf::uint64 DatanodeInfoProto::lastupdate() const {
7930  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.lastUpdate)
7931  return lastupdate_;
7932 }
7933 inline void DatanodeInfoProto::set_lastupdate(::google::protobuf::uint64 value) {
7934  set_has_lastupdate();
7935  lastupdate_ = value;
7936  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.lastUpdate)
7937 }
7938 
7939 // optional uint32 xceiverCount = 7 [default = 0];
7940 inline bool DatanodeInfoProto::has_xceivercount() const {
7941  return (_has_bits_[0] & 0x00000040u) != 0;
7942 }
7943 inline void DatanodeInfoProto::set_has_xceivercount() {
7944  _has_bits_[0] |= 0x00000040u;
7945 }
7946 inline void DatanodeInfoProto::clear_has_xceivercount() {
7947  _has_bits_[0] &= ~0x00000040u;
7948 }
7949 inline void DatanodeInfoProto::clear_xceivercount() {
7950  xceivercount_ = 0u;
7951  clear_has_xceivercount();
7952 }
7953 inline ::google::protobuf::uint32 DatanodeInfoProto::xceivercount() const {
7954  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.xceiverCount)
7955  return xceivercount_;
7956 }
7957 inline void DatanodeInfoProto::set_xceivercount(::google::protobuf::uint32 value) {
7958  set_has_xceivercount();
7959  xceivercount_ = value;
7960  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.xceiverCount)
7961 }
7962 
7963 // optional string location = 8;
7964 inline bool DatanodeInfoProto::has_location() const {
7965  return (_has_bits_[0] & 0x00000080u) != 0;
7966 }
7967 inline void DatanodeInfoProto::set_has_location() {
7968  _has_bits_[0] |= 0x00000080u;
7969 }
7970 inline void DatanodeInfoProto::clear_has_location() {
7971  _has_bits_[0] &= ~0x00000080u;
7972 }
7973 inline void DatanodeInfoProto::clear_location() {
7974  location_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7975  clear_has_location();
7976 }
7977 inline const ::std::string& DatanodeInfoProto::location() const {
7978  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.location)
7979  return location_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7980 }
7981 inline void DatanodeInfoProto::set_location(const ::std::string& value) {
7982  set_has_location();
7983  location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7984  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.location)
7985 }
7986 inline void DatanodeInfoProto::set_location(const char* value) {
7987  set_has_location();
7988  location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7989  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeInfoProto.location)
7990 }
7991 inline void DatanodeInfoProto::set_location(const char* value, size_t size) {
7992  set_has_location();
7993  location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7994  ::std::string(reinterpret_cast<const char*>(value), size));
7995  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeInfoProto.location)
7996 }
7997 inline ::std::string* DatanodeInfoProto::mutable_location() {
7998  set_has_location();
7999  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeInfoProto.location)
8000  return location_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8001 }
8002 inline ::std::string* DatanodeInfoProto::release_location() {
8003  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeInfoProto.location)
8004  clear_has_location();
8005  return location_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8006 }
8007 inline void DatanodeInfoProto::set_allocated_location(::std::string* location) {
8008  if (location != NULL) {
8009  set_has_location();
8010  } else {
8011  clear_has_location();
8012  }
8013  location_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), location);
8014  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeInfoProto.location)
8015 }
8016 
8017 // optional .hadoop.hdfs.DatanodeInfoProto.AdminState adminState = 10 [default = NORMAL];
8018 inline bool DatanodeInfoProto::has_adminstate() const {
8019  return (_has_bits_[0] & 0x00000100u) != 0;
8020 }
8021 inline void DatanodeInfoProto::set_has_adminstate() {
8022  _has_bits_[0] |= 0x00000100u;
8023 }
8024 inline void DatanodeInfoProto::clear_has_adminstate() {
8025  _has_bits_[0] &= ~0x00000100u;
8026 }
8027 inline void DatanodeInfoProto::clear_adminstate() {
8028  adminstate_ = 0;
8029  clear_has_adminstate();
8030 }
8031 inline ::hadoop::hdfs::DatanodeInfoProto_AdminState DatanodeInfoProto::adminstate() const {
8032  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.adminState)
8033  return static_cast< ::hadoop::hdfs::DatanodeInfoProto_AdminState >(adminstate_);
8034 }
8035 inline void DatanodeInfoProto::set_adminstate(::hadoop::hdfs::DatanodeInfoProto_AdminState value) {
8036  assert(::hadoop::hdfs::DatanodeInfoProto_AdminState_IsValid(value));
8037  set_has_adminstate();
8038  adminstate_ = value;
8039  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.adminState)
8040 }
8041 
8042 // optional uint64 cacheCapacity = 11 [default = 0];
8043 inline bool DatanodeInfoProto::has_cachecapacity() const {
8044  return (_has_bits_[0] & 0x00000200u) != 0;
8045 }
8046 inline void DatanodeInfoProto::set_has_cachecapacity() {
8047  _has_bits_[0] |= 0x00000200u;
8048 }
8049 inline void DatanodeInfoProto::clear_has_cachecapacity() {
8050  _has_bits_[0] &= ~0x00000200u;
8051 }
8052 inline void DatanodeInfoProto::clear_cachecapacity() {
8053  cachecapacity_ = GOOGLE_ULONGLONG(0);
8054  clear_has_cachecapacity();
8055 }
8056 inline ::google::protobuf::uint64 DatanodeInfoProto::cachecapacity() const {
8057  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.cacheCapacity)
8058  return cachecapacity_;
8059 }
8060 inline void DatanodeInfoProto::set_cachecapacity(::google::protobuf::uint64 value) {
8061  set_has_cachecapacity();
8062  cachecapacity_ = value;
8063  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.cacheCapacity)
8064 }
8065 
8066 // optional uint64 cacheUsed = 12 [default = 0];
8067 inline bool DatanodeInfoProto::has_cacheused() const {
8068  return (_has_bits_[0] & 0x00000400u) != 0;
8069 }
8070 inline void DatanodeInfoProto::set_has_cacheused() {
8071  _has_bits_[0] |= 0x00000400u;
8072 }
8073 inline void DatanodeInfoProto::clear_has_cacheused() {
8074  _has_bits_[0] &= ~0x00000400u;
8075 }
8076 inline void DatanodeInfoProto::clear_cacheused() {
8077  cacheused_ = GOOGLE_ULONGLONG(0);
8078  clear_has_cacheused();
8079 }
8080 inline ::google::protobuf::uint64 DatanodeInfoProto::cacheused() const {
8081  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.cacheUsed)
8082  return cacheused_;
8083 }
8084 inline void DatanodeInfoProto::set_cacheused(::google::protobuf::uint64 value) {
8085  set_has_cacheused();
8086  cacheused_ = value;
8087  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.cacheUsed)
8088 }
8089 
8090 // optional uint64 lastUpdateMonotonic = 13 [default = 0];
8091 inline bool DatanodeInfoProto::has_lastupdatemonotonic() const {
8092  return (_has_bits_[0] & 0x00000800u) != 0;
8093 }
8094 inline void DatanodeInfoProto::set_has_lastupdatemonotonic() {
8095  _has_bits_[0] |= 0x00000800u;
8096 }
8097 inline void DatanodeInfoProto::clear_has_lastupdatemonotonic() {
8098  _has_bits_[0] &= ~0x00000800u;
8099 }
8100 inline void DatanodeInfoProto::clear_lastupdatemonotonic() {
8101  lastupdatemonotonic_ = GOOGLE_ULONGLONG(0);
8102  clear_has_lastupdatemonotonic();
8103 }
8104 inline ::google::protobuf::uint64 DatanodeInfoProto::lastupdatemonotonic() const {
8105  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeInfoProto.lastUpdateMonotonic)
8106  return lastupdatemonotonic_;
8107 }
8108 inline void DatanodeInfoProto::set_lastupdatemonotonic(::google::protobuf::uint64 value) {
8109  set_has_lastupdatemonotonic();
8110  lastupdatemonotonic_ = value;
8111  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeInfoProto.lastUpdateMonotonic)
8112 }
8113 
8114 // -------------------------------------------------------------------
8115 
8116 // DatanodeStorageProto
8117 
8118 // required string storageUuid = 1;
8119 inline bool DatanodeStorageProto::has_storageuuid() const {
8120  return (_has_bits_[0] & 0x00000001u) != 0;
8121 }
8122 inline void DatanodeStorageProto::set_has_storageuuid() {
8123  _has_bits_[0] |= 0x00000001u;
8124 }
8125 inline void DatanodeStorageProto::clear_has_storageuuid() {
8126  _has_bits_[0] &= ~0x00000001u;
8127 }
8128 inline void DatanodeStorageProto::clear_storageuuid() {
8129  storageuuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8130  clear_has_storageuuid();
8131 }
8132 inline const ::std::string& DatanodeStorageProto::storageuuid() const {
8133  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8134  return storageuuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8135 }
8136 inline void DatanodeStorageProto::set_storageuuid(const ::std::string& value) {
8137  set_has_storageuuid();
8138  storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8139  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8140 }
8141 inline void DatanodeStorageProto::set_storageuuid(const char* value) {
8142  set_has_storageuuid();
8143  storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8144  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8145 }
8146 inline void DatanodeStorageProto::set_storageuuid(const char* value, size_t size) {
8147  set_has_storageuuid();
8148  storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8149  ::std::string(reinterpret_cast<const char*>(value), size));
8150  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8151 }
8152 inline ::std::string* DatanodeStorageProto::mutable_storageuuid() {
8153  set_has_storageuuid();
8154  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8155  return storageuuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8156 }
8157 inline ::std::string* DatanodeStorageProto::release_storageuuid() {
8158  // @@protoc_insertion_point(field_release:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8159  clear_has_storageuuid();
8160  return storageuuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8161 }
8162 inline void DatanodeStorageProto::set_allocated_storageuuid(::std::string* storageuuid) {
8163  if (storageuuid != NULL) {
8164  set_has_storageuuid();
8165  } else {
8166  clear_has_storageuuid();
8167  }
8168  storageuuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), storageuuid);
8169  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DatanodeStorageProto.storageUuid)
8170 }
8171 
8172 // optional .hadoop.hdfs.DatanodeStorageProto.StorageState state = 2 [default = NORMAL];
8173 inline bool DatanodeStorageProto::has_state() const {
8174  return (_has_bits_[0] & 0x00000002u) != 0;
8175 }
8176 inline void DatanodeStorageProto::set_has_state() {
8177  _has_bits_[0] |= 0x00000002u;
8178 }
8179 inline void DatanodeStorageProto::clear_has_state() {
8180  _has_bits_[0] &= ~0x00000002u;
8181 }
8182 inline void DatanodeStorageProto::clear_state() {
8183  state_ = 0;
8184  clear_has_state();
8185 }
8186 inline ::hadoop::hdfs::DatanodeStorageProto_StorageState DatanodeStorageProto::state() const {
8187  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeStorageProto.state)
8188  return static_cast< ::hadoop::hdfs::DatanodeStorageProto_StorageState >(state_);
8189 }
8190 inline void DatanodeStorageProto::set_state(::hadoop::hdfs::DatanodeStorageProto_StorageState value) {
8191  assert(::hadoop::hdfs::DatanodeStorageProto_StorageState_IsValid(value));
8192  set_has_state();
8193  state_ = value;
8194  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeStorageProto.state)
8195 }
8196 
8197 // optional .hadoop.hdfs.StorageTypeProto storageType = 3 [default = DISK];
8198 inline bool DatanodeStorageProto::has_storagetype() const {
8199  return (_has_bits_[0] & 0x00000004u) != 0;
8200 }
8201 inline void DatanodeStorageProto::set_has_storagetype() {
8202  _has_bits_[0] |= 0x00000004u;
8203 }
8204 inline void DatanodeStorageProto::clear_has_storagetype() {
8205  _has_bits_[0] &= ~0x00000004u;
8206 }
8207 inline void DatanodeStorageProto::clear_storagetype() {
8208  storagetype_ = 1;
8209  clear_has_storagetype();
8210 }
8211 inline ::hadoop::hdfs::StorageTypeProto DatanodeStorageProto::storagetype() const {
8212  // @@protoc_insertion_point(field_get:hadoop.hdfs.DatanodeStorageProto.storageType)
8213  return static_cast< ::hadoop::hdfs::StorageTypeProto >(storagetype_);
8214 }
8215 inline void DatanodeStorageProto::set_storagetype(::hadoop::hdfs::StorageTypeProto value) {
8216  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
8217  set_has_storagetype();
8218  storagetype_ = value;
8219  // @@protoc_insertion_point(field_set:hadoop.hdfs.DatanodeStorageProto.storageType)
8220 }
8221 
8222 // -------------------------------------------------------------------
8223 
8224 // StorageReportProto
8225 
8226 // required string storageUuid = 1 [deprecated = true];
8227 inline bool StorageReportProto::has_storageuuid() const {
8228  return (_has_bits_[0] & 0x00000001u) != 0;
8229 }
8230 inline void StorageReportProto::set_has_storageuuid() {
8231  _has_bits_[0] |= 0x00000001u;
8232 }
8233 inline void StorageReportProto::clear_has_storageuuid() {
8234  _has_bits_[0] &= ~0x00000001u;
8235 }
8236 inline void StorageReportProto::clear_storageuuid() {
8237  storageuuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8238  clear_has_storageuuid();
8239 }
8240 inline const ::std::string& StorageReportProto::storageuuid() const {
8241  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.storageUuid)
8242  return storageuuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8243 }
8244 inline void StorageReportProto::set_storageuuid(const ::std::string& value) {
8245  set_has_storageuuid();
8246  storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8247  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageReportProto.storageUuid)
8248 }
8249 inline void StorageReportProto::set_storageuuid(const char* value) {
8250  set_has_storageuuid();
8251  storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8252  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.StorageReportProto.storageUuid)
8253 }
8254 inline void StorageReportProto::set_storageuuid(const char* value, size_t size) {
8255  set_has_storageuuid();
8256  storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8257  ::std::string(reinterpret_cast<const char*>(value), size));
8258  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.StorageReportProto.storageUuid)
8259 }
8260 inline ::std::string* StorageReportProto::mutable_storageuuid() {
8261  set_has_storageuuid();
8262  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.StorageReportProto.storageUuid)
8263  return storageuuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8264 }
8265 inline ::std::string* StorageReportProto::release_storageuuid() {
8266  // @@protoc_insertion_point(field_release:hadoop.hdfs.StorageReportProto.storageUuid)
8267  clear_has_storageuuid();
8268  return storageuuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8269 }
8270 inline void StorageReportProto::set_allocated_storageuuid(::std::string* storageuuid) {
8271  if (storageuuid != NULL) {
8272  set_has_storageuuid();
8273  } else {
8274  clear_has_storageuuid();
8275  }
8276  storageuuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), storageuuid);
8277  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.StorageReportProto.storageUuid)
8278 }
8279 
8280 // optional bool failed = 2 [default = false];
8281 inline bool StorageReportProto::has_failed() const {
8282  return (_has_bits_[0] & 0x00000002u) != 0;
8283 }
8284 inline void StorageReportProto::set_has_failed() {
8285  _has_bits_[0] |= 0x00000002u;
8286 }
8287 inline void StorageReportProto::clear_has_failed() {
8288  _has_bits_[0] &= ~0x00000002u;
8289 }
8290 inline void StorageReportProto::clear_failed() {
8291  failed_ = false;
8292  clear_has_failed();
8293 }
8294 inline bool StorageReportProto::failed() const {
8295  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.failed)
8296  return failed_;
8297 }
8298 inline void StorageReportProto::set_failed(bool value) {
8299  set_has_failed();
8300  failed_ = value;
8301  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageReportProto.failed)
8302 }
8303 
8304 // optional uint64 capacity = 3 [default = 0];
8305 inline bool StorageReportProto::has_capacity() const {
8306  return (_has_bits_[0] & 0x00000004u) != 0;
8307 }
8308 inline void StorageReportProto::set_has_capacity() {
8309  _has_bits_[0] |= 0x00000004u;
8310 }
8311 inline void StorageReportProto::clear_has_capacity() {
8312  _has_bits_[0] &= ~0x00000004u;
8313 }
8314 inline void StorageReportProto::clear_capacity() {
8315  capacity_ = GOOGLE_ULONGLONG(0);
8316  clear_has_capacity();
8317 }
8318 inline ::google::protobuf::uint64 StorageReportProto::capacity() const {
8319  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.capacity)
8320  return capacity_;
8321 }
8322 inline void StorageReportProto::set_capacity(::google::protobuf::uint64 value) {
8323  set_has_capacity();
8324  capacity_ = value;
8325  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageReportProto.capacity)
8326 }
8327 
8328 // optional uint64 dfsUsed = 4 [default = 0];
8329 inline bool StorageReportProto::has_dfsused() const {
8330  return (_has_bits_[0] & 0x00000008u) != 0;
8331 }
8332 inline void StorageReportProto::set_has_dfsused() {
8333  _has_bits_[0] |= 0x00000008u;
8334 }
8335 inline void StorageReportProto::clear_has_dfsused() {
8336  _has_bits_[0] &= ~0x00000008u;
8337 }
8338 inline void StorageReportProto::clear_dfsused() {
8339  dfsused_ = GOOGLE_ULONGLONG(0);
8340  clear_has_dfsused();
8341 }
8342 inline ::google::protobuf::uint64 StorageReportProto::dfsused() const {
8343  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.dfsUsed)
8344  return dfsused_;
8345 }
8346 inline void StorageReportProto::set_dfsused(::google::protobuf::uint64 value) {
8347  set_has_dfsused();
8348  dfsused_ = value;
8349  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageReportProto.dfsUsed)
8350 }
8351 
8352 // optional uint64 remaining = 5 [default = 0];
8353 inline bool StorageReportProto::has_remaining() const {
8354  return (_has_bits_[0] & 0x00000010u) != 0;
8355 }
8356 inline void StorageReportProto::set_has_remaining() {
8357  _has_bits_[0] |= 0x00000010u;
8358 }
8359 inline void StorageReportProto::clear_has_remaining() {
8360  _has_bits_[0] &= ~0x00000010u;
8361 }
8362 inline void StorageReportProto::clear_remaining() {
8363  remaining_ = GOOGLE_ULONGLONG(0);
8364  clear_has_remaining();
8365 }
8366 inline ::google::protobuf::uint64 StorageReportProto::remaining() const {
8367  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.remaining)
8368  return remaining_;
8369 }
8370 inline void StorageReportProto::set_remaining(::google::protobuf::uint64 value) {
8371  set_has_remaining();
8372  remaining_ = value;
8373  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageReportProto.remaining)
8374 }
8375 
8376 // optional uint64 blockPoolUsed = 6 [default = 0];
8377 inline bool StorageReportProto::has_blockpoolused() const {
8378  return (_has_bits_[0] & 0x00000020u) != 0;
8379 }
8380 inline void StorageReportProto::set_has_blockpoolused() {
8381  _has_bits_[0] |= 0x00000020u;
8382 }
8383 inline void StorageReportProto::clear_has_blockpoolused() {
8384  _has_bits_[0] &= ~0x00000020u;
8385 }
8386 inline void StorageReportProto::clear_blockpoolused() {
8387  blockpoolused_ = GOOGLE_ULONGLONG(0);
8388  clear_has_blockpoolused();
8389 }
8390 inline ::google::protobuf::uint64 StorageReportProto::blockpoolused() const {
8391  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.blockPoolUsed)
8392  return blockpoolused_;
8393 }
8394 inline void StorageReportProto::set_blockpoolused(::google::protobuf::uint64 value) {
8395  set_has_blockpoolused();
8396  blockpoolused_ = value;
8397  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageReportProto.blockPoolUsed)
8398 }
8399 
8400 // optional .hadoop.hdfs.DatanodeStorageProto storage = 7;
8401 inline bool StorageReportProto::has_storage() const {
8402  return (_has_bits_[0] & 0x00000040u) != 0;
8403 }
8404 inline void StorageReportProto::set_has_storage() {
8405  _has_bits_[0] |= 0x00000040u;
8406 }
8407 inline void StorageReportProto::clear_has_storage() {
8408  _has_bits_[0] &= ~0x00000040u;
8409 }
8410 inline void StorageReportProto::clear_storage() {
8411  if (storage_ != NULL) storage_->::hadoop::hdfs::DatanodeStorageProto::Clear();
8412  clear_has_storage();
8413 }
8414 inline const ::hadoop::hdfs::DatanodeStorageProto& StorageReportProto::storage() const {
8415  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageReportProto.storage)
8416  return storage_ != NULL ? *storage_ : *default_instance_->storage_;
8417 }
8418 inline ::hadoop::hdfs::DatanodeStorageProto* StorageReportProto::mutable_storage() {
8419  set_has_storage();
8420  if (storage_ == NULL) {
8421  storage_ = new ::hadoop::hdfs::DatanodeStorageProto;
8422  }
8423  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.StorageReportProto.storage)
8424  return storage_;
8425 }
8426 inline ::hadoop::hdfs::DatanodeStorageProto* StorageReportProto::release_storage() {
8427  // @@protoc_insertion_point(field_release:hadoop.hdfs.StorageReportProto.storage)
8428  clear_has_storage();
8429  ::hadoop::hdfs::DatanodeStorageProto* temp = storage_;
8430  storage_ = NULL;
8431  return temp;
8432 }
8433 inline void StorageReportProto::set_allocated_storage(::hadoop::hdfs::DatanodeStorageProto* storage) {
8434  delete storage_;
8435  storage_ = storage;
8436  if (storage) {
8437  set_has_storage();
8438  } else {
8439  clear_has_storage();
8440  }
8441  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.StorageReportProto.storage)
8442 }
8443 
8444 // -------------------------------------------------------------------
8445 
8446 // ContentSummaryProto
8447 
8448 // required uint64 length = 1;
8449 inline bool ContentSummaryProto::has_length() const {
8450  return (_has_bits_[0] & 0x00000001u) != 0;
8451 }
8452 inline void ContentSummaryProto::set_has_length() {
8453  _has_bits_[0] |= 0x00000001u;
8454 }
8455 inline void ContentSummaryProto::clear_has_length() {
8456  _has_bits_[0] &= ~0x00000001u;
8457 }
8458 inline void ContentSummaryProto::clear_length() {
8459  length_ = GOOGLE_ULONGLONG(0);
8460  clear_has_length();
8461 }
8462 inline ::google::protobuf::uint64 ContentSummaryProto::length() const {
8463  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.length)
8464  return length_;
8465 }
8466 inline void ContentSummaryProto::set_length(::google::protobuf::uint64 value) {
8467  set_has_length();
8468  length_ = value;
8469  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.length)
8470 }
8471 
8472 // required uint64 fileCount = 2;
8473 inline bool ContentSummaryProto::has_filecount() const {
8474  return (_has_bits_[0] & 0x00000002u) != 0;
8475 }
8476 inline void ContentSummaryProto::set_has_filecount() {
8477  _has_bits_[0] |= 0x00000002u;
8478 }
8479 inline void ContentSummaryProto::clear_has_filecount() {
8480  _has_bits_[0] &= ~0x00000002u;
8481 }
8482 inline void ContentSummaryProto::clear_filecount() {
8483  filecount_ = GOOGLE_ULONGLONG(0);
8484  clear_has_filecount();
8485 }
8486 inline ::google::protobuf::uint64 ContentSummaryProto::filecount() const {
8487  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.fileCount)
8488  return filecount_;
8489 }
8490 inline void ContentSummaryProto::set_filecount(::google::protobuf::uint64 value) {
8491  set_has_filecount();
8492  filecount_ = value;
8493  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.fileCount)
8494 }
8495 
8496 // required uint64 directoryCount = 3;
8497 inline bool ContentSummaryProto::has_directorycount() const {
8498  return (_has_bits_[0] & 0x00000004u) != 0;
8499 }
8500 inline void ContentSummaryProto::set_has_directorycount() {
8501  _has_bits_[0] |= 0x00000004u;
8502 }
8503 inline void ContentSummaryProto::clear_has_directorycount() {
8504  _has_bits_[0] &= ~0x00000004u;
8505 }
8506 inline void ContentSummaryProto::clear_directorycount() {
8507  directorycount_ = GOOGLE_ULONGLONG(0);
8508  clear_has_directorycount();
8509 }
8510 inline ::google::protobuf::uint64 ContentSummaryProto::directorycount() const {
8511  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.directoryCount)
8512  return directorycount_;
8513 }
8514 inline void ContentSummaryProto::set_directorycount(::google::protobuf::uint64 value) {
8515  set_has_directorycount();
8516  directorycount_ = value;
8517  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.directoryCount)
8518 }
8519 
8520 // required uint64 quota = 4;
8521 inline bool ContentSummaryProto::has_quota() const {
8522  return (_has_bits_[0] & 0x00000008u) != 0;
8523 }
8524 inline void ContentSummaryProto::set_has_quota() {
8525  _has_bits_[0] |= 0x00000008u;
8526 }
8527 inline void ContentSummaryProto::clear_has_quota() {
8528  _has_bits_[0] &= ~0x00000008u;
8529 }
8530 inline void ContentSummaryProto::clear_quota() {
8531  quota_ = GOOGLE_ULONGLONG(0);
8532  clear_has_quota();
8533 }
8534 inline ::google::protobuf::uint64 ContentSummaryProto::quota() const {
8535  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.quota)
8536  return quota_;
8537 }
8538 inline void ContentSummaryProto::set_quota(::google::protobuf::uint64 value) {
8539  set_has_quota();
8540  quota_ = value;
8541  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.quota)
8542 }
8543 
8544 // required uint64 spaceConsumed = 5;
8545 inline bool ContentSummaryProto::has_spaceconsumed() const {
8546  return (_has_bits_[0] & 0x00000010u) != 0;
8547 }
8548 inline void ContentSummaryProto::set_has_spaceconsumed() {
8549  _has_bits_[0] |= 0x00000010u;
8550 }
8551 inline void ContentSummaryProto::clear_has_spaceconsumed() {
8552  _has_bits_[0] &= ~0x00000010u;
8553 }
8554 inline void ContentSummaryProto::clear_spaceconsumed() {
8555  spaceconsumed_ = GOOGLE_ULONGLONG(0);
8556  clear_has_spaceconsumed();
8557 }
8558 inline ::google::protobuf::uint64 ContentSummaryProto::spaceconsumed() const {
8559  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.spaceConsumed)
8560  return spaceconsumed_;
8561 }
8562 inline void ContentSummaryProto::set_spaceconsumed(::google::protobuf::uint64 value) {
8563  set_has_spaceconsumed();
8564  spaceconsumed_ = value;
8565  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.spaceConsumed)
8566 }
8567 
8568 // required uint64 spaceQuota = 6;
8569 inline bool ContentSummaryProto::has_spacequota() const {
8570  return (_has_bits_[0] & 0x00000020u) != 0;
8571 }
8572 inline void ContentSummaryProto::set_has_spacequota() {
8573  _has_bits_[0] |= 0x00000020u;
8574 }
8575 inline void ContentSummaryProto::clear_has_spacequota() {
8576  _has_bits_[0] &= ~0x00000020u;
8577 }
8578 inline void ContentSummaryProto::clear_spacequota() {
8579  spacequota_ = GOOGLE_ULONGLONG(0);
8580  clear_has_spacequota();
8581 }
8582 inline ::google::protobuf::uint64 ContentSummaryProto::spacequota() const {
8583  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.spaceQuota)
8584  return spacequota_;
8585 }
8586 inline void ContentSummaryProto::set_spacequota(::google::protobuf::uint64 value) {
8587  set_has_spacequota();
8588  spacequota_ = value;
8589  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.spaceQuota)
8590 }
8591 
8592 // optional .hadoop.hdfs.StorageTypeQuotaInfosProto typeQuotaInfos = 7;
8593 inline bool ContentSummaryProto::has_typequotainfos() const {
8594  return (_has_bits_[0] & 0x00000040u) != 0;
8595 }
8596 inline void ContentSummaryProto::set_has_typequotainfos() {
8597  _has_bits_[0] |= 0x00000040u;
8598 }
8599 inline void ContentSummaryProto::clear_has_typequotainfos() {
8600  _has_bits_[0] &= ~0x00000040u;
8601 }
8602 inline void ContentSummaryProto::clear_typequotainfos() {
8603  if (typequotainfos_ != NULL) typequotainfos_->::hadoop::hdfs::StorageTypeQuotaInfosProto::Clear();
8604  clear_has_typequotainfos();
8605 }
8606 inline const ::hadoop::hdfs::StorageTypeQuotaInfosProto& ContentSummaryProto::typequotainfos() const {
8607  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.typeQuotaInfos)
8608  return typequotainfos_ != NULL ? *typequotainfos_ : *default_instance_->typequotainfos_;
8609 }
8610 inline ::hadoop::hdfs::StorageTypeQuotaInfosProto* ContentSummaryProto::mutable_typequotainfos() {
8611  set_has_typequotainfos();
8612  if (typequotainfos_ == NULL) {
8613  typequotainfos_ = new ::hadoop::hdfs::StorageTypeQuotaInfosProto;
8614  }
8615  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ContentSummaryProto.typeQuotaInfos)
8616  return typequotainfos_;
8617 }
8618 inline ::hadoop::hdfs::StorageTypeQuotaInfosProto* ContentSummaryProto::release_typequotainfos() {
8619  // @@protoc_insertion_point(field_release:hadoop.hdfs.ContentSummaryProto.typeQuotaInfos)
8620  clear_has_typequotainfos();
8621  ::hadoop::hdfs::StorageTypeQuotaInfosProto* temp = typequotainfos_;
8622  typequotainfos_ = NULL;
8623  return temp;
8624 }
8625 inline void ContentSummaryProto::set_allocated_typequotainfos(::hadoop::hdfs::StorageTypeQuotaInfosProto* typequotainfos) {
8626  delete typequotainfos_;
8627  typequotainfos_ = typequotainfos;
8628  if (typequotainfos) {
8629  set_has_typequotainfos();
8630  } else {
8631  clear_has_typequotainfos();
8632  }
8633  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ContentSummaryProto.typeQuotaInfos)
8634 }
8635 
8636 // optional uint64 snapshotLength = 8;
8637 inline bool ContentSummaryProto::has_snapshotlength() const {
8638  return (_has_bits_[0] & 0x00000080u) != 0;
8639 }
8640 inline void ContentSummaryProto::set_has_snapshotlength() {
8641  _has_bits_[0] |= 0x00000080u;
8642 }
8643 inline void ContentSummaryProto::clear_has_snapshotlength() {
8644  _has_bits_[0] &= ~0x00000080u;
8645 }
8646 inline void ContentSummaryProto::clear_snapshotlength() {
8647  snapshotlength_ = GOOGLE_ULONGLONG(0);
8648  clear_has_snapshotlength();
8649 }
8650 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotlength() const {
8651  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.snapshotLength)
8652  return snapshotlength_;
8653 }
8654 inline void ContentSummaryProto::set_snapshotlength(::google::protobuf::uint64 value) {
8655  set_has_snapshotlength();
8656  snapshotlength_ = value;
8657  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.snapshotLength)
8658 }
8659 
8660 // optional uint64 snapshotFileCount = 9;
8661 inline bool ContentSummaryProto::has_snapshotfilecount() const {
8662  return (_has_bits_[0] & 0x00000100u) != 0;
8663 }
8664 inline void ContentSummaryProto::set_has_snapshotfilecount() {
8665  _has_bits_[0] |= 0x00000100u;
8666 }
8667 inline void ContentSummaryProto::clear_has_snapshotfilecount() {
8668  _has_bits_[0] &= ~0x00000100u;
8669 }
8670 inline void ContentSummaryProto::clear_snapshotfilecount() {
8671  snapshotfilecount_ = GOOGLE_ULONGLONG(0);
8672  clear_has_snapshotfilecount();
8673 }
8674 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotfilecount() const {
8675  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.snapshotFileCount)
8676  return snapshotfilecount_;
8677 }
8678 inline void ContentSummaryProto::set_snapshotfilecount(::google::protobuf::uint64 value) {
8679  set_has_snapshotfilecount();
8680  snapshotfilecount_ = value;
8681  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.snapshotFileCount)
8682 }
8683 
8684 // optional uint64 snapshotDirectoryCount = 10;
8685 inline bool ContentSummaryProto::has_snapshotdirectorycount() const {
8686  return (_has_bits_[0] & 0x00000200u) != 0;
8687 }
8688 inline void ContentSummaryProto::set_has_snapshotdirectorycount() {
8689  _has_bits_[0] |= 0x00000200u;
8690 }
8691 inline void ContentSummaryProto::clear_has_snapshotdirectorycount() {
8692  _has_bits_[0] &= ~0x00000200u;
8693 }
8694 inline void ContentSummaryProto::clear_snapshotdirectorycount() {
8695  snapshotdirectorycount_ = GOOGLE_ULONGLONG(0);
8696  clear_has_snapshotdirectorycount();
8697 }
8698 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotdirectorycount() const {
8699  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.snapshotDirectoryCount)
8700  return snapshotdirectorycount_;
8701 }
8702 inline void ContentSummaryProto::set_snapshotdirectorycount(::google::protobuf::uint64 value) {
8703  set_has_snapshotdirectorycount();
8704  snapshotdirectorycount_ = value;
8705  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.snapshotDirectoryCount)
8706 }
8707 
8708 // optional uint64 snapshotSpaceConsumed = 11;
8709 inline bool ContentSummaryProto::has_snapshotspaceconsumed() const {
8710  return (_has_bits_[0] & 0x00000400u) != 0;
8711 }
8712 inline void ContentSummaryProto::set_has_snapshotspaceconsumed() {
8713  _has_bits_[0] |= 0x00000400u;
8714 }
8715 inline void ContentSummaryProto::clear_has_snapshotspaceconsumed() {
8716  _has_bits_[0] &= ~0x00000400u;
8717 }
8718 inline void ContentSummaryProto::clear_snapshotspaceconsumed() {
8719  snapshotspaceconsumed_ = GOOGLE_ULONGLONG(0);
8720  clear_has_snapshotspaceconsumed();
8721 }
8722 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotspaceconsumed() const {
8723  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.snapshotSpaceConsumed)
8724  return snapshotspaceconsumed_;
8725 }
8726 inline void ContentSummaryProto::set_snapshotspaceconsumed(::google::protobuf::uint64 value) {
8727  set_has_snapshotspaceconsumed();
8728  snapshotspaceconsumed_ = value;
8729  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.snapshotSpaceConsumed)
8730 }
8731 
8732 // optional string erasureCodingPolicy = 12;
8733 inline bool ContentSummaryProto::has_erasurecodingpolicy() const {
8734  return (_has_bits_[0] & 0x00000800u) != 0;
8735 }
8736 inline void ContentSummaryProto::set_has_erasurecodingpolicy() {
8737  _has_bits_[0] |= 0x00000800u;
8738 }
8739 inline void ContentSummaryProto::clear_has_erasurecodingpolicy() {
8740  _has_bits_[0] &= ~0x00000800u;
8741 }
8742 inline void ContentSummaryProto::clear_erasurecodingpolicy() {
8743  erasurecodingpolicy_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8744  clear_has_erasurecodingpolicy();
8745 }
8746 inline const ::std::string& ContentSummaryProto::erasurecodingpolicy() const {
8747  // @@protoc_insertion_point(field_get:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8748  return erasurecodingpolicy_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8749 }
8750 inline void ContentSummaryProto::set_erasurecodingpolicy(const ::std::string& value) {
8751  set_has_erasurecodingpolicy();
8752  erasurecodingpolicy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8753  // @@protoc_insertion_point(field_set:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8754 }
8755 inline void ContentSummaryProto::set_erasurecodingpolicy(const char* value) {
8756  set_has_erasurecodingpolicy();
8757  erasurecodingpolicy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8758  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8759 }
8760 inline void ContentSummaryProto::set_erasurecodingpolicy(const char* value, size_t size) {
8761  set_has_erasurecodingpolicy();
8762  erasurecodingpolicy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8763  ::std::string(reinterpret_cast<const char*>(value), size));
8764  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8765 }
8766 inline ::std::string* ContentSummaryProto::mutable_erasurecodingpolicy() {
8767  set_has_erasurecodingpolicy();
8768  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8769  return erasurecodingpolicy_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8770 }
8771 inline ::std::string* ContentSummaryProto::release_erasurecodingpolicy() {
8772  // @@protoc_insertion_point(field_release:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8773  clear_has_erasurecodingpolicy();
8774  return erasurecodingpolicy_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8775 }
8776 inline void ContentSummaryProto::set_allocated_erasurecodingpolicy(::std::string* erasurecodingpolicy) {
8777  if (erasurecodingpolicy != NULL) {
8778  set_has_erasurecodingpolicy();
8779  } else {
8780  clear_has_erasurecodingpolicy();
8781  }
8782  erasurecodingpolicy_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), erasurecodingpolicy);
8783  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ContentSummaryProto.erasureCodingPolicy)
8784 }
8785 
8786 // -------------------------------------------------------------------
8787 
8788 // StorageTypeQuotaInfosProto
8789 
8790 // repeated .hadoop.hdfs.StorageTypeQuotaInfoProto typeQuotaInfo = 1;
8791 inline int StorageTypeQuotaInfosProto::typequotainfo_size() const {
8792  return typequotainfo_.size();
8793 }
8794 inline void StorageTypeQuotaInfosProto::clear_typequotainfo() {
8795  typequotainfo_.Clear();
8796 }
8797 inline const ::hadoop::hdfs::StorageTypeQuotaInfoProto& StorageTypeQuotaInfosProto::typequotainfo(int index) const {
8798  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageTypeQuotaInfosProto.typeQuotaInfo)
8799  return typequotainfo_.Get(index);
8800 }
8801 inline ::hadoop::hdfs::StorageTypeQuotaInfoProto* StorageTypeQuotaInfosProto::mutable_typequotainfo(int index) {
8802  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.StorageTypeQuotaInfosProto.typeQuotaInfo)
8803  return typequotainfo_.Mutable(index);
8804 }
8805 inline ::hadoop::hdfs::StorageTypeQuotaInfoProto* StorageTypeQuotaInfosProto::add_typequotainfo() {
8806  // @@protoc_insertion_point(field_add:hadoop.hdfs.StorageTypeQuotaInfosProto.typeQuotaInfo)
8807  return typequotainfo_.Add();
8808 }
8809 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >*
8810 StorageTypeQuotaInfosProto::mutable_typequotainfo() {
8811  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.StorageTypeQuotaInfosProto.typeQuotaInfo)
8812  return &typequotainfo_;
8813 }
8814 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >&
8815 StorageTypeQuotaInfosProto::typequotainfo() const {
8816  // @@protoc_insertion_point(field_list:hadoop.hdfs.StorageTypeQuotaInfosProto.typeQuotaInfo)
8817  return typequotainfo_;
8818 }
8819 
8820 // -------------------------------------------------------------------
8821 
8822 // StorageTypeQuotaInfoProto
8823 
8824 // required .hadoop.hdfs.StorageTypeProto type = 1;
8825 inline bool StorageTypeQuotaInfoProto::has_type() const {
8826  return (_has_bits_[0] & 0x00000001u) != 0;
8827 }
8828 inline void StorageTypeQuotaInfoProto::set_has_type() {
8829  _has_bits_[0] |= 0x00000001u;
8830 }
8831 inline void StorageTypeQuotaInfoProto::clear_has_type() {
8832  _has_bits_[0] &= ~0x00000001u;
8833 }
8834 inline void StorageTypeQuotaInfoProto::clear_type() {
8835  type_ = 1;
8836  clear_has_type();
8837 }
8838 inline ::hadoop::hdfs::StorageTypeProto StorageTypeQuotaInfoProto::type() const {
8839  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageTypeQuotaInfoProto.type)
8840  return static_cast< ::hadoop::hdfs::StorageTypeProto >(type_);
8841 }
8842 inline void StorageTypeQuotaInfoProto::set_type(::hadoop::hdfs::StorageTypeProto value) {
8843  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
8844  set_has_type();
8845  type_ = value;
8846  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageTypeQuotaInfoProto.type)
8847 }
8848 
8849 // required uint64 quota = 2;
8850 inline bool StorageTypeQuotaInfoProto::has_quota() const {
8851  return (_has_bits_[0] & 0x00000002u) != 0;
8852 }
8853 inline void StorageTypeQuotaInfoProto::set_has_quota() {
8854  _has_bits_[0] |= 0x00000002u;
8855 }
8856 inline void StorageTypeQuotaInfoProto::clear_has_quota() {
8857  _has_bits_[0] &= ~0x00000002u;
8858 }
8859 inline void StorageTypeQuotaInfoProto::clear_quota() {
8860  quota_ = GOOGLE_ULONGLONG(0);
8861  clear_has_quota();
8862 }
8863 inline ::google::protobuf::uint64 StorageTypeQuotaInfoProto::quota() const {
8864  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageTypeQuotaInfoProto.quota)
8865  return quota_;
8866 }
8867 inline void StorageTypeQuotaInfoProto::set_quota(::google::protobuf::uint64 value) {
8868  set_has_quota();
8869  quota_ = value;
8870  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageTypeQuotaInfoProto.quota)
8871 }
8872 
8873 // required uint64 consumed = 3;
8874 inline bool StorageTypeQuotaInfoProto::has_consumed() const {
8875  return (_has_bits_[0] & 0x00000004u) != 0;
8876 }
8877 inline void StorageTypeQuotaInfoProto::set_has_consumed() {
8878  _has_bits_[0] |= 0x00000004u;
8879 }
8880 inline void StorageTypeQuotaInfoProto::clear_has_consumed() {
8881  _has_bits_[0] &= ~0x00000004u;
8882 }
8883 inline void StorageTypeQuotaInfoProto::clear_consumed() {
8884  consumed_ = GOOGLE_ULONGLONG(0);
8885  clear_has_consumed();
8886 }
8887 inline ::google::protobuf::uint64 StorageTypeQuotaInfoProto::consumed() const {
8888  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageTypeQuotaInfoProto.consumed)
8889  return consumed_;
8890 }
8891 inline void StorageTypeQuotaInfoProto::set_consumed(::google::protobuf::uint64 value) {
8892  set_has_consumed();
8893  consumed_ = value;
8894  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageTypeQuotaInfoProto.consumed)
8895 }
8896 
8897 // -------------------------------------------------------------------
8898 
8899 // CorruptFileBlocksProto
8900 
8901 // repeated string files = 1;
8902 inline int CorruptFileBlocksProto::files_size() const {
8903  return files_.size();
8904 }
8905 inline void CorruptFileBlocksProto::clear_files() {
8906  files_.Clear();
8907 }
8908 inline const ::std::string& CorruptFileBlocksProto::files(int index) const {
8909  // @@protoc_insertion_point(field_get:hadoop.hdfs.CorruptFileBlocksProto.files)
8910  return files_.Get(index);
8911 }
8912 inline ::std::string* CorruptFileBlocksProto::mutable_files(int index) {
8913  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CorruptFileBlocksProto.files)
8914  return files_.Mutable(index);
8915 }
8916 inline void CorruptFileBlocksProto::set_files(int index, const ::std::string& value) {
8917  // @@protoc_insertion_point(field_set:hadoop.hdfs.CorruptFileBlocksProto.files)
8918  files_.Mutable(index)->assign(value);
8919 }
8920 inline void CorruptFileBlocksProto::set_files(int index, const char* value) {
8921  files_.Mutable(index)->assign(value);
8922  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CorruptFileBlocksProto.files)
8923 }
8924 inline void CorruptFileBlocksProto::set_files(int index, const char* value, size_t size) {
8925  files_.Mutable(index)->assign(
8926  reinterpret_cast<const char*>(value), size);
8927  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CorruptFileBlocksProto.files)
8928 }
8929 inline ::std::string* CorruptFileBlocksProto::add_files() {
8930  // @@protoc_insertion_point(field_add_mutable:hadoop.hdfs.CorruptFileBlocksProto.files)
8931  return files_.Add();
8932 }
8933 inline void CorruptFileBlocksProto::add_files(const ::std::string& value) {
8934  files_.Add()->assign(value);
8935  // @@protoc_insertion_point(field_add:hadoop.hdfs.CorruptFileBlocksProto.files)
8936 }
8937 inline void CorruptFileBlocksProto::add_files(const char* value) {
8938  files_.Add()->assign(value);
8939  // @@protoc_insertion_point(field_add_char:hadoop.hdfs.CorruptFileBlocksProto.files)
8940 }
8941 inline void CorruptFileBlocksProto::add_files(const char* value, size_t size) {
8942  files_.Add()->assign(reinterpret_cast<const char*>(value), size);
8943  // @@protoc_insertion_point(field_add_pointer:hadoop.hdfs.CorruptFileBlocksProto.files)
8944 }
8945 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
8946 CorruptFileBlocksProto::files() const {
8947  // @@protoc_insertion_point(field_list:hadoop.hdfs.CorruptFileBlocksProto.files)
8948  return files_;
8949 }
8950 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
8951 CorruptFileBlocksProto::mutable_files() {
8952  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.CorruptFileBlocksProto.files)
8953  return &files_;
8954 }
8955 
8956 // required string cookie = 2;
8957 inline bool CorruptFileBlocksProto::has_cookie() const {
8958  return (_has_bits_[0] & 0x00000002u) != 0;
8959 }
8960 inline void CorruptFileBlocksProto::set_has_cookie() {
8961  _has_bits_[0] |= 0x00000002u;
8962 }
8963 inline void CorruptFileBlocksProto::clear_has_cookie() {
8964  _has_bits_[0] &= ~0x00000002u;
8965 }
8966 inline void CorruptFileBlocksProto::clear_cookie() {
8967  cookie_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8968  clear_has_cookie();
8969 }
8970 inline const ::std::string& CorruptFileBlocksProto::cookie() const {
8971  // @@protoc_insertion_point(field_get:hadoop.hdfs.CorruptFileBlocksProto.cookie)
8972  return cookie_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8973 }
8974 inline void CorruptFileBlocksProto::set_cookie(const ::std::string& value) {
8975  set_has_cookie();
8976  cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8977  // @@protoc_insertion_point(field_set:hadoop.hdfs.CorruptFileBlocksProto.cookie)
8978 }
8979 inline void CorruptFileBlocksProto::set_cookie(const char* value) {
8980  set_has_cookie();
8981  cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8982  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CorruptFileBlocksProto.cookie)
8983 }
8984 inline void CorruptFileBlocksProto::set_cookie(const char* value, size_t size) {
8985  set_has_cookie();
8986  cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8987  ::std::string(reinterpret_cast<const char*>(value), size));
8988  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CorruptFileBlocksProto.cookie)
8989 }
8990 inline ::std::string* CorruptFileBlocksProto::mutable_cookie() {
8991  set_has_cookie();
8992  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CorruptFileBlocksProto.cookie)
8993  return cookie_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8994 }
8995 inline ::std::string* CorruptFileBlocksProto::release_cookie() {
8996  // @@protoc_insertion_point(field_release:hadoop.hdfs.CorruptFileBlocksProto.cookie)
8997  clear_has_cookie();
8998  return cookie_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8999 }
9000 inline void CorruptFileBlocksProto::set_allocated_cookie(::std::string* cookie) {
9001  if (cookie != NULL) {
9002  set_has_cookie();
9003  } else {
9004  clear_has_cookie();
9005  }
9006  cookie_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cookie);
9007  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CorruptFileBlocksProto.cookie)
9008 }
9009 
9010 // -------------------------------------------------------------------
9011 
9012 // FsPermissionProto
9013 
9014 // required uint32 perm = 1;
9015 inline bool FsPermissionProto::has_perm() const {
9016  return (_has_bits_[0] & 0x00000001u) != 0;
9017 }
9018 inline void FsPermissionProto::set_has_perm() {
9019  _has_bits_[0] |= 0x00000001u;
9020 }
9021 inline void FsPermissionProto::clear_has_perm() {
9022  _has_bits_[0] &= ~0x00000001u;
9023 }
9024 inline void FsPermissionProto::clear_perm() {
9025  perm_ = 0u;
9026  clear_has_perm();
9027 }
9028 inline ::google::protobuf::uint32 FsPermissionProto::perm() const {
9029  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsPermissionProto.perm)
9030  return perm_;
9031 }
9032 inline void FsPermissionProto::set_perm(::google::protobuf::uint32 value) {
9033  set_has_perm();
9034  perm_ = value;
9035  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsPermissionProto.perm)
9036 }
9037 
9038 // -------------------------------------------------------------------
9039 
9040 // StorageTypesProto
9041 
9042 // repeated .hadoop.hdfs.StorageTypeProto storageTypes = 1;
9043 inline int StorageTypesProto::storagetypes_size() const {
9044  return storagetypes_.size();
9045 }
9046 inline void StorageTypesProto::clear_storagetypes() {
9047  storagetypes_.Clear();
9048 }
9049 inline ::hadoop::hdfs::StorageTypeProto StorageTypesProto::storagetypes(int index) const {
9050  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageTypesProto.storageTypes)
9051  return static_cast< ::hadoop::hdfs::StorageTypeProto >(storagetypes_.Get(index));
9052 }
9053 inline void StorageTypesProto::set_storagetypes(int index, ::hadoop::hdfs::StorageTypeProto value) {
9054  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9055  storagetypes_.Set(index, value);
9056  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageTypesProto.storageTypes)
9057 }
9058 inline void StorageTypesProto::add_storagetypes(::hadoop::hdfs::StorageTypeProto value) {
9059  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9060  storagetypes_.Add(value);
9061  // @@protoc_insertion_point(field_add:hadoop.hdfs.StorageTypesProto.storageTypes)
9062 }
9063 inline const ::google::protobuf::RepeatedField<int>&
9064 StorageTypesProto::storagetypes() const {
9065  // @@protoc_insertion_point(field_list:hadoop.hdfs.StorageTypesProto.storageTypes)
9066  return storagetypes_;
9067 }
9068 inline ::google::protobuf::RepeatedField<int>*
9069 StorageTypesProto::mutable_storagetypes() {
9070  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.StorageTypesProto.storageTypes)
9071  return &storagetypes_;
9072 }
9073 
9074 // -------------------------------------------------------------------
9075 
9076 // BlockStoragePolicyProto
9077 
9078 // required uint32 policyId = 1;
9079 inline bool BlockStoragePolicyProto::has_policyid() const {
9080  return (_has_bits_[0] & 0x00000001u) != 0;
9081 }
9082 inline void BlockStoragePolicyProto::set_has_policyid() {
9083  _has_bits_[0] |= 0x00000001u;
9084 }
9085 inline void BlockStoragePolicyProto::clear_has_policyid() {
9086  _has_bits_[0] &= ~0x00000001u;
9087 }
9088 inline void BlockStoragePolicyProto::clear_policyid() {
9089  policyid_ = 0u;
9090  clear_has_policyid();
9091 }
9092 inline ::google::protobuf::uint32 BlockStoragePolicyProto::policyid() const {
9093  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockStoragePolicyProto.policyId)
9094  return policyid_;
9095 }
9096 inline void BlockStoragePolicyProto::set_policyid(::google::protobuf::uint32 value) {
9097  set_has_policyid();
9098  policyid_ = value;
9099  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockStoragePolicyProto.policyId)
9100 }
9101 
9102 // required string name = 2;
9103 inline bool BlockStoragePolicyProto::has_name() const {
9104  return (_has_bits_[0] & 0x00000002u) != 0;
9105 }
9106 inline void BlockStoragePolicyProto::set_has_name() {
9107  _has_bits_[0] |= 0x00000002u;
9108 }
9109 inline void BlockStoragePolicyProto::clear_has_name() {
9110  _has_bits_[0] &= ~0x00000002u;
9111 }
9112 inline void BlockStoragePolicyProto::clear_name() {
9113  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9114  clear_has_name();
9115 }
9116 inline const ::std::string& BlockStoragePolicyProto::name() const {
9117  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockStoragePolicyProto.name)
9118  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9119 }
9120 inline void BlockStoragePolicyProto::set_name(const ::std::string& value) {
9121  set_has_name();
9122  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9123  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockStoragePolicyProto.name)
9124 }
9125 inline void BlockStoragePolicyProto::set_name(const char* value) {
9126  set_has_name();
9127  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9128  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.BlockStoragePolicyProto.name)
9129 }
9130 inline void BlockStoragePolicyProto::set_name(const char* value, size_t size) {
9131  set_has_name();
9132  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9133  ::std::string(reinterpret_cast<const char*>(value), size));
9134  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.BlockStoragePolicyProto.name)
9135 }
9136 inline ::std::string* BlockStoragePolicyProto::mutable_name() {
9137  set_has_name();
9138  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockStoragePolicyProto.name)
9139  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9140 }
9141 inline ::std::string* BlockStoragePolicyProto::release_name() {
9142  // @@protoc_insertion_point(field_release:hadoop.hdfs.BlockStoragePolicyProto.name)
9143  clear_has_name();
9144  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9145 }
9146 inline void BlockStoragePolicyProto::set_allocated_name(::std::string* name) {
9147  if (name != NULL) {
9148  set_has_name();
9149  } else {
9150  clear_has_name();
9151  }
9152  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
9153  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.BlockStoragePolicyProto.name)
9154 }
9155 
9156 // required .hadoop.hdfs.StorageTypesProto creationPolicy = 3;
9157 inline bool BlockStoragePolicyProto::has_creationpolicy() const {
9158  return (_has_bits_[0] & 0x00000004u) != 0;
9159 }
9160 inline void BlockStoragePolicyProto::set_has_creationpolicy() {
9161  _has_bits_[0] |= 0x00000004u;
9162 }
9163 inline void BlockStoragePolicyProto::clear_has_creationpolicy() {
9164  _has_bits_[0] &= ~0x00000004u;
9165 }
9166 inline void BlockStoragePolicyProto::clear_creationpolicy() {
9167  if (creationpolicy_ != NULL) creationpolicy_->::hadoop::hdfs::StorageTypesProto::Clear();
9168  clear_has_creationpolicy();
9169 }
9170 inline const ::hadoop::hdfs::StorageTypesProto& BlockStoragePolicyProto::creationpolicy() const {
9171  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockStoragePolicyProto.creationPolicy)
9172  return creationpolicy_ != NULL ? *creationpolicy_ : *default_instance_->creationpolicy_;
9173 }
9174 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::mutable_creationpolicy() {
9175  set_has_creationpolicy();
9176  if (creationpolicy_ == NULL) {
9177  creationpolicy_ = new ::hadoop::hdfs::StorageTypesProto;
9178  }
9179  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockStoragePolicyProto.creationPolicy)
9180  return creationpolicy_;
9181 }
9182 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::release_creationpolicy() {
9183  // @@protoc_insertion_point(field_release:hadoop.hdfs.BlockStoragePolicyProto.creationPolicy)
9184  clear_has_creationpolicy();
9185  ::hadoop::hdfs::StorageTypesProto* temp = creationpolicy_;
9186  creationpolicy_ = NULL;
9187  return temp;
9188 }
9189 inline void BlockStoragePolicyProto::set_allocated_creationpolicy(::hadoop::hdfs::StorageTypesProto* creationpolicy) {
9190  delete creationpolicy_;
9191  creationpolicy_ = creationpolicy;
9192  if (creationpolicy) {
9193  set_has_creationpolicy();
9194  } else {
9195  clear_has_creationpolicy();
9196  }
9197  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.BlockStoragePolicyProto.creationPolicy)
9198 }
9199 
9200 // optional .hadoop.hdfs.StorageTypesProto creationFallbackPolicy = 4;
9201 inline bool BlockStoragePolicyProto::has_creationfallbackpolicy() const {
9202  return (_has_bits_[0] & 0x00000008u) != 0;
9203 }
9204 inline void BlockStoragePolicyProto::set_has_creationfallbackpolicy() {
9205  _has_bits_[0] |= 0x00000008u;
9206 }
9207 inline void BlockStoragePolicyProto::clear_has_creationfallbackpolicy() {
9208  _has_bits_[0] &= ~0x00000008u;
9209 }
9210 inline void BlockStoragePolicyProto::clear_creationfallbackpolicy() {
9211  if (creationfallbackpolicy_ != NULL) creationfallbackpolicy_->::hadoop::hdfs::StorageTypesProto::Clear();
9212  clear_has_creationfallbackpolicy();
9213 }
9214 inline const ::hadoop::hdfs::StorageTypesProto& BlockStoragePolicyProto::creationfallbackpolicy() const {
9215  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockStoragePolicyProto.creationFallbackPolicy)
9216  return creationfallbackpolicy_ != NULL ? *creationfallbackpolicy_ : *default_instance_->creationfallbackpolicy_;
9217 }
9218 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::mutable_creationfallbackpolicy() {
9219  set_has_creationfallbackpolicy();
9220  if (creationfallbackpolicy_ == NULL) {
9221  creationfallbackpolicy_ = new ::hadoop::hdfs::StorageTypesProto;
9222  }
9223  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockStoragePolicyProto.creationFallbackPolicy)
9224  return creationfallbackpolicy_;
9225 }
9226 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::release_creationfallbackpolicy() {
9227  // @@protoc_insertion_point(field_release:hadoop.hdfs.BlockStoragePolicyProto.creationFallbackPolicy)
9228  clear_has_creationfallbackpolicy();
9229  ::hadoop::hdfs::StorageTypesProto* temp = creationfallbackpolicy_;
9230  creationfallbackpolicy_ = NULL;
9231  return temp;
9232 }
9233 inline void BlockStoragePolicyProto::set_allocated_creationfallbackpolicy(::hadoop::hdfs::StorageTypesProto* creationfallbackpolicy) {
9234  delete creationfallbackpolicy_;
9235  creationfallbackpolicy_ = creationfallbackpolicy;
9236  if (creationfallbackpolicy) {
9237  set_has_creationfallbackpolicy();
9238  } else {
9239  clear_has_creationfallbackpolicy();
9240  }
9241  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.BlockStoragePolicyProto.creationFallbackPolicy)
9242 }
9243 
9244 // optional .hadoop.hdfs.StorageTypesProto replicationFallbackPolicy = 5;
9245 inline bool BlockStoragePolicyProto::has_replicationfallbackpolicy() const {
9246  return (_has_bits_[0] & 0x00000010u) != 0;
9247 }
9248 inline void BlockStoragePolicyProto::set_has_replicationfallbackpolicy() {
9249  _has_bits_[0] |= 0x00000010u;
9250 }
9251 inline void BlockStoragePolicyProto::clear_has_replicationfallbackpolicy() {
9252  _has_bits_[0] &= ~0x00000010u;
9253 }
9254 inline void BlockStoragePolicyProto::clear_replicationfallbackpolicy() {
9255  if (replicationfallbackpolicy_ != NULL) replicationfallbackpolicy_->::hadoop::hdfs::StorageTypesProto::Clear();
9256  clear_has_replicationfallbackpolicy();
9257 }
9258 inline const ::hadoop::hdfs::StorageTypesProto& BlockStoragePolicyProto::replicationfallbackpolicy() const {
9259  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockStoragePolicyProto.replicationFallbackPolicy)
9260  return replicationfallbackpolicy_ != NULL ? *replicationfallbackpolicy_ : *default_instance_->replicationfallbackpolicy_;
9261 }
9262 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::mutable_replicationfallbackpolicy() {
9263  set_has_replicationfallbackpolicy();
9264  if (replicationfallbackpolicy_ == NULL) {
9265  replicationfallbackpolicy_ = new ::hadoop::hdfs::StorageTypesProto;
9266  }
9267  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockStoragePolicyProto.replicationFallbackPolicy)
9268  return replicationfallbackpolicy_;
9269 }
9270 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::release_replicationfallbackpolicy() {
9271  // @@protoc_insertion_point(field_release:hadoop.hdfs.BlockStoragePolicyProto.replicationFallbackPolicy)
9272  clear_has_replicationfallbackpolicy();
9273  ::hadoop::hdfs::StorageTypesProto* temp = replicationfallbackpolicy_;
9274  replicationfallbackpolicy_ = NULL;
9275  return temp;
9276 }
9277 inline void BlockStoragePolicyProto::set_allocated_replicationfallbackpolicy(::hadoop::hdfs::StorageTypesProto* replicationfallbackpolicy) {
9278  delete replicationfallbackpolicy_;
9279  replicationfallbackpolicy_ = replicationfallbackpolicy;
9280  if (replicationfallbackpolicy) {
9281  set_has_replicationfallbackpolicy();
9282  } else {
9283  clear_has_replicationfallbackpolicy();
9284  }
9285  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.BlockStoragePolicyProto.replicationFallbackPolicy)
9286 }
9287 
9288 // -------------------------------------------------------------------
9289 
9290 // StorageUuidsProto
9291 
9292 // repeated string storageUuids = 1;
9293 inline int StorageUuidsProto::storageuuids_size() const {
9294  return storageuuids_.size();
9295 }
9296 inline void StorageUuidsProto::clear_storageuuids() {
9297  storageuuids_.Clear();
9298 }
9299 inline const ::std::string& StorageUuidsProto::storageuuids(int index) const {
9300  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageUuidsProto.storageUuids)
9301  return storageuuids_.Get(index);
9302 }
9303 inline ::std::string* StorageUuidsProto::mutable_storageuuids(int index) {
9304  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.StorageUuidsProto.storageUuids)
9305  return storageuuids_.Mutable(index);
9306 }
9307 inline void StorageUuidsProto::set_storageuuids(int index, const ::std::string& value) {
9308  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageUuidsProto.storageUuids)
9309  storageuuids_.Mutable(index)->assign(value);
9310 }
9311 inline void StorageUuidsProto::set_storageuuids(int index, const char* value) {
9312  storageuuids_.Mutable(index)->assign(value);
9313  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.StorageUuidsProto.storageUuids)
9314 }
9315 inline void StorageUuidsProto::set_storageuuids(int index, const char* value, size_t size) {
9316  storageuuids_.Mutable(index)->assign(
9317  reinterpret_cast<const char*>(value), size);
9318  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.StorageUuidsProto.storageUuids)
9319 }
9320 inline ::std::string* StorageUuidsProto::add_storageuuids() {
9321  // @@protoc_insertion_point(field_add_mutable:hadoop.hdfs.StorageUuidsProto.storageUuids)
9322  return storageuuids_.Add();
9323 }
9324 inline void StorageUuidsProto::add_storageuuids(const ::std::string& value) {
9325  storageuuids_.Add()->assign(value);
9326  // @@protoc_insertion_point(field_add:hadoop.hdfs.StorageUuidsProto.storageUuids)
9327 }
9328 inline void StorageUuidsProto::add_storageuuids(const char* value) {
9329  storageuuids_.Add()->assign(value);
9330  // @@protoc_insertion_point(field_add_char:hadoop.hdfs.StorageUuidsProto.storageUuids)
9331 }
9332 inline void StorageUuidsProto::add_storageuuids(const char* value, size_t size) {
9333  storageuuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
9334  // @@protoc_insertion_point(field_add_pointer:hadoop.hdfs.StorageUuidsProto.storageUuids)
9335 }
9336 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9337 StorageUuidsProto::storageuuids() const {
9338  // @@protoc_insertion_point(field_list:hadoop.hdfs.StorageUuidsProto.storageUuids)
9339  return storageuuids_;
9340 }
9341 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9342 StorageUuidsProto::mutable_storageuuids() {
9343  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.StorageUuidsProto.storageUuids)
9344  return &storageuuids_;
9345 }
9346 
9347 // -------------------------------------------------------------------
9348 
9349 // LocatedBlockProto
9350 
9351 // required .hadoop.hdfs.ExtendedBlockProto b = 1;
9352 inline bool LocatedBlockProto::has_b() const {
9353  return (_has_bits_[0] & 0x00000001u) != 0;
9354 }
9355 inline void LocatedBlockProto::set_has_b() {
9356  _has_bits_[0] |= 0x00000001u;
9357 }
9358 inline void LocatedBlockProto::clear_has_b() {
9359  _has_bits_[0] &= ~0x00000001u;
9360 }
9361 inline void LocatedBlockProto::clear_b() {
9362  if (b_ != NULL) b_->::hadoop::hdfs::ExtendedBlockProto::Clear();
9363  clear_has_b();
9364 }
9365 inline const ::hadoop::hdfs::ExtendedBlockProto& LocatedBlockProto::b() const {
9366  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.b)
9367  return b_ != NULL ? *b_ : *default_instance_->b_;
9368 }
9369 inline ::hadoop::hdfs::ExtendedBlockProto* LocatedBlockProto::mutable_b() {
9370  set_has_b();
9371  if (b_ == NULL) {
9372  b_ = new ::hadoop::hdfs::ExtendedBlockProto;
9373  }
9374  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlockProto.b)
9375  return b_;
9376 }
9377 inline ::hadoop::hdfs::ExtendedBlockProto* LocatedBlockProto::release_b() {
9378  // @@protoc_insertion_point(field_release:hadoop.hdfs.LocatedBlockProto.b)
9379  clear_has_b();
9381  b_ = NULL;
9382  return temp;
9383 }
9384 inline void LocatedBlockProto::set_allocated_b(::hadoop::hdfs::ExtendedBlockProto* b) {
9385  delete b_;
9386  b_ = b;
9387  if (b) {
9388  set_has_b();
9389  } else {
9390  clear_has_b();
9391  }
9392  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.LocatedBlockProto.b)
9393 }
9394 
9395 // required uint64 offset = 2;
9396 inline bool LocatedBlockProto::has_offset() const {
9397  return (_has_bits_[0] & 0x00000002u) != 0;
9398 }
9399 inline void LocatedBlockProto::set_has_offset() {
9400  _has_bits_[0] |= 0x00000002u;
9401 }
9402 inline void LocatedBlockProto::clear_has_offset() {
9403  _has_bits_[0] &= ~0x00000002u;
9404 }
9405 inline void LocatedBlockProto::clear_offset() {
9406  offset_ = GOOGLE_ULONGLONG(0);
9407  clear_has_offset();
9408 }
9409 inline ::google::protobuf::uint64 LocatedBlockProto::offset() const {
9410  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.offset)
9411  return offset_;
9412 }
9413 inline void LocatedBlockProto::set_offset(::google::protobuf::uint64 value) {
9414  set_has_offset();
9415  offset_ = value;
9416  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlockProto.offset)
9417 }
9418 
9419 // repeated .hadoop.hdfs.DatanodeInfoProto locs = 3;
9420 inline int LocatedBlockProto::locs_size() const {
9421  return locs_.size();
9422 }
9423 inline void LocatedBlockProto::clear_locs() {
9424  locs_.Clear();
9425 }
9426 inline const ::hadoop::hdfs::DatanodeInfoProto& LocatedBlockProto::locs(int index) const {
9427  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.locs)
9428  return locs_.Get(index);
9429 }
9430 inline ::hadoop::hdfs::DatanodeInfoProto* LocatedBlockProto::mutable_locs(int index) {
9431  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlockProto.locs)
9432  return locs_.Mutable(index);
9433 }
9434 inline ::hadoop::hdfs::DatanodeInfoProto* LocatedBlockProto::add_locs() {
9435  // @@protoc_insertion_point(field_add:hadoop.hdfs.LocatedBlockProto.locs)
9436  return locs_.Add();
9437 }
9438 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
9439 LocatedBlockProto::mutable_locs() {
9440  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.LocatedBlockProto.locs)
9441  return &locs_;
9442 }
9443 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
9444 LocatedBlockProto::locs() const {
9445  // @@protoc_insertion_point(field_list:hadoop.hdfs.LocatedBlockProto.locs)
9446  return locs_;
9447 }
9448 
9449 // required bool corrupt = 4;
9450 inline bool LocatedBlockProto::has_corrupt() const {
9451  return (_has_bits_[0] & 0x00000008u) != 0;
9452 }
9453 inline void LocatedBlockProto::set_has_corrupt() {
9454  _has_bits_[0] |= 0x00000008u;
9455 }
9456 inline void LocatedBlockProto::clear_has_corrupt() {
9457  _has_bits_[0] &= ~0x00000008u;
9458 }
9459 inline void LocatedBlockProto::clear_corrupt() {
9460  corrupt_ = false;
9461  clear_has_corrupt();
9462 }
9463 inline bool LocatedBlockProto::corrupt() const {
9464  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.corrupt)
9465  return corrupt_;
9466 }
9467 inline void LocatedBlockProto::set_corrupt(bool value) {
9468  set_has_corrupt();
9469  corrupt_ = value;
9470  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlockProto.corrupt)
9471 }
9472 
9473 // required .hadoop.common.TokenProto blockToken = 5;
9474 inline bool LocatedBlockProto::has_blocktoken() const {
9475  return (_has_bits_[0] & 0x00000010u) != 0;
9476 }
9477 inline void LocatedBlockProto::set_has_blocktoken() {
9478  _has_bits_[0] |= 0x00000010u;
9479 }
9480 inline void LocatedBlockProto::clear_has_blocktoken() {
9481  _has_bits_[0] &= ~0x00000010u;
9482 }
9483 inline void LocatedBlockProto::clear_blocktoken() {
9484  if (blocktoken_ != NULL) blocktoken_->::hadoop::common::TokenProto::Clear();
9485  clear_has_blocktoken();
9486 }
9487 inline const ::hadoop::common::TokenProto& LocatedBlockProto::blocktoken() const {
9488  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.blockToken)
9489  return blocktoken_ != NULL ? *blocktoken_ : *default_instance_->blocktoken_;
9490 }
9491 inline ::hadoop::common::TokenProto* LocatedBlockProto::mutable_blocktoken() {
9492  set_has_blocktoken();
9493  if (blocktoken_ == NULL) {
9494  blocktoken_ = new ::hadoop::common::TokenProto;
9495  }
9496  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlockProto.blockToken)
9497  return blocktoken_;
9498 }
9499 inline ::hadoop::common::TokenProto* LocatedBlockProto::release_blocktoken() {
9500  // @@protoc_insertion_point(field_release:hadoop.hdfs.LocatedBlockProto.blockToken)
9501  clear_has_blocktoken();
9502  ::hadoop::common::TokenProto* temp = blocktoken_;
9503  blocktoken_ = NULL;
9504  return temp;
9505 }
9506 inline void LocatedBlockProto::set_allocated_blocktoken(::hadoop::common::TokenProto* blocktoken) {
9507  delete blocktoken_;
9508  blocktoken_ = blocktoken;
9509  if (blocktoken) {
9510  set_has_blocktoken();
9511  } else {
9512  clear_has_blocktoken();
9513  }
9514  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.LocatedBlockProto.blockToken)
9515 }
9516 
9517 // repeated bool isCached = 6 [packed = true];
9518 inline int LocatedBlockProto::iscached_size() const {
9519  return iscached_.size();
9520 }
9521 inline void LocatedBlockProto::clear_iscached() {
9522  iscached_.Clear();
9523 }
9524 inline bool LocatedBlockProto::iscached(int index) const {
9525  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.isCached)
9526  return iscached_.Get(index);
9527 }
9528 inline void LocatedBlockProto::set_iscached(int index, bool value) {
9529  iscached_.Set(index, value);
9530  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlockProto.isCached)
9531 }
9532 inline void LocatedBlockProto::add_iscached(bool value) {
9533  iscached_.Add(value);
9534  // @@protoc_insertion_point(field_add:hadoop.hdfs.LocatedBlockProto.isCached)
9535 }
9536 inline const ::google::protobuf::RepeatedField< bool >&
9537 LocatedBlockProto::iscached() const {
9538  // @@protoc_insertion_point(field_list:hadoop.hdfs.LocatedBlockProto.isCached)
9539  return iscached_;
9540 }
9541 inline ::google::protobuf::RepeatedField< bool >*
9542 LocatedBlockProto::mutable_iscached() {
9543  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.LocatedBlockProto.isCached)
9544  return &iscached_;
9545 }
9546 
9547 // repeated .hadoop.hdfs.StorageTypeProto storageTypes = 7;
9548 inline int LocatedBlockProto::storagetypes_size() const {
9549  return storagetypes_.size();
9550 }
9551 inline void LocatedBlockProto::clear_storagetypes() {
9552  storagetypes_.Clear();
9553 }
9554 inline ::hadoop::hdfs::StorageTypeProto LocatedBlockProto::storagetypes(int index) const {
9555  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.storageTypes)
9556  return static_cast< ::hadoop::hdfs::StorageTypeProto >(storagetypes_.Get(index));
9557 }
9558 inline void LocatedBlockProto::set_storagetypes(int index, ::hadoop::hdfs::StorageTypeProto value) {
9559  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9560  storagetypes_.Set(index, value);
9561  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlockProto.storageTypes)
9562 }
9563 inline void LocatedBlockProto::add_storagetypes(::hadoop::hdfs::StorageTypeProto value) {
9564  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9565  storagetypes_.Add(value);
9566  // @@protoc_insertion_point(field_add:hadoop.hdfs.LocatedBlockProto.storageTypes)
9567 }
9568 inline const ::google::protobuf::RepeatedField<int>&
9569 LocatedBlockProto::storagetypes() const {
9570  // @@protoc_insertion_point(field_list:hadoop.hdfs.LocatedBlockProto.storageTypes)
9571  return storagetypes_;
9572 }
9573 inline ::google::protobuf::RepeatedField<int>*
9574 LocatedBlockProto::mutable_storagetypes() {
9575  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.LocatedBlockProto.storageTypes)
9576  return &storagetypes_;
9577 }
9578 
9579 // repeated string storageIDs = 8;
9580 inline int LocatedBlockProto::storageids_size() const {
9581  return storageids_.size();
9582 }
9583 inline void LocatedBlockProto::clear_storageids() {
9584  storageids_.Clear();
9585 }
9586 inline const ::std::string& LocatedBlockProto::storageids(int index) const {
9587  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.storageIDs)
9588  return storageids_.Get(index);
9589 }
9590 inline ::std::string* LocatedBlockProto::mutable_storageids(int index) {
9591  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlockProto.storageIDs)
9592  return storageids_.Mutable(index);
9593 }
9594 inline void LocatedBlockProto::set_storageids(int index, const ::std::string& value) {
9595  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlockProto.storageIDs)
9596  storageids_.Mutable(index)->assign(value);
9597 }
9598 inline void LocatedBlockProto::set_storageids(int index, const char* value) {
9599  storageids_.Mutable(index)->assign(value);
9600  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.LocatedBlockProto.storageIDs)
9601 }
9602 inline void LocatedBlockProto::set_storageids(int index, const char* value, size_t size) {
9603  storageids_.Mutable(index)->assign(
9604  reinterpret_cast<const char*>(value), size);
9605  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.LocatedBlockProto.storageIDs)
9606 }
9607 inline ::std::string* LocatedBlockProto::add_storageids() {
9608  // @@protoc_insertion_point(field_add_mutable:hadoop.hdfs.LocatedBlockProto.storageIDs)
9609  return storageids_.Add();
9610 }
9611 inline void LocatedBlockProto::add_storageids(const ::std::string& value) {
9612  storageids_.Add()->assign(value);
9613  // @@protoc_insertion_point(field_add:hadoop.hdfs.LocatedBlockProto.storageIDs)
9614 }
9615 inline void LocatedBlockProto::add_storageids(const char* value) {
9616  storageids_.Add()->assign(value);
9617  // @@protoc_insertion_point(field_add_char:hadoop.hdfs.LocatedBlockProto.storageIDs)
9618 }
9619 inline void LocatedBlockProto::add_storageids(const char* value, size_t size) {
9620  storageids_.Add()->assign(reinterpret_cast<const char*>(value), size);
9621  // @@protoc_insertion_point(field_add_pointer:hadoop.hdfs.LocatedBlockProto.storageIDs)
9622 }
9623 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9624 LocatedBlockProto::storageids() const {
9625  // @@protoc_insertion_point(field_list:hadoop.hdfs.LocatedBlockProto.storageIDs)
9626  return storageids_;
9627 }
9628 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9629 LocatedBlockProto::mutable_storageids() {
9630  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.LocatedBlockProto.storageIDs)
9631  return &storageids_;
9632 }
9633 
9634 // optional bytes blockIndices = 9;
9635 inline bool LocatedBlockProto::has_blockindices() const {
9636  return (_has_bits_[0] & 0x00000100u) != 0;
9637 }
9638 inline void LocatedBlockProto::set_has_blockindices() {
9639  _has_bits_[0] |= 0x00000100u;
9640 }
9641 inline void LocatedBlockProto::clear_has_blockindices() {
9642  _has_bits_[0] &= ~0x00000100u;
9643 }
9644 inline void LocatedBlockProto::clear_blockindices() {
9645  blockindices_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9646  clear_has_blockindices();
9647 }
9648 inline const ::std::string& LocatedBlockProto::blockindices() const {
9649  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.blockIndices)
9650  return blockindices_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9651 }
9652 inline void LocatedBlockProto::set_blockindices(const ::std::string& value) {
9653  set_has_blockindices();
9654  blockindices_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9655  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlockProto.blockIndices)
9656 }
9657 inline void LocatedBlockProto::set_blockindices(const char* value) {
9658  set_has_blockindices();
9659  blockindices_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9660  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.LocatedBlockProto.blockIndices)
9661 }
9662 inline void LocatedBlockProto::set_blockindices(const void* value, size_t size) {
9663  set_has_blockindices();
9664  blockindices_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9665  ::std::string(reinterpret_cast<const char*>(value), size));
9666  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.LocatedBlockProto.blockIndices)
9667 }
9668 inline ::std::string* LocatedBlockProto::mutable_blockindices() {
9669  set_has_blockindices();
9670  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlockProto.blockIndices)
9671  return blockindices_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9672 }
9673 inline ::std::string* LocatedBlockProto::release_blockindices() {
9674  // @@protoc_insertion_point(field_release:hadoop.hdfs.LocatedBlockProto.blockIndices)
9675  clear_has_blockindices();
9676  return blockindices_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9677 }
9678 inline void LocatedBlockProto::set_allocated_blockindices(::std::string* blockindices) {
9679  if (blockindices != NULL) {
9680  set_has_blockindices();
9681  } else {
9682  clear_has_blockindices();
9683  }
9684  blockindices_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockindices);
9685  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.LocatedBlockProto.blockIndices)
9686 }
9687 
9688 // repeated .hadoop.common.TokenProto blockTokens = 10;
9689 inline int LocatedBlockProto::blocktokens_size() const {
9690  return blocktokens_.size();
9691 }
9692 inline void LocatedBlockProto::clear_blocktokens() {
9693  blocktokens_.Clear();
9694 }
9695 inline const ::hadoop::common::TokenProto& LocatedBlockProto::blocktokens(int index) const {
9696  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlockProto.blockTokens)
9697  return blocktokens_.Get(index);
9698 }
9699 inline ::hadoop::common::TokenProto* LocatedBlockProto::mutable_blocktokens(int index) {
9700  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlockProto.blockTokens)
9701  return blocktokens_.Mutable(index);
9702 }
9703 inline ::hadoop::common::TokenProto* LocatedBlockProto::add_blocktokens() {
9704  // @@protoc_insertion_point(field_add:hadoop.hdfs.LocatedBlockProto.blockTokens)
9705  return blocktokens_.Add();
9706 }
9707 inline ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >*
9708 LocatedBlockProto::mutable_blocktokens() {
9709  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.LocatedBlockProto.blockTokens)
9710  return &blocktokens_;
9711 }
9712 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >&
9713 LocatedBlockProto::blocktokens() const {
9714  // @@protoc_insertion_point(field_list:hadoop.hdfs.LocatedBlockProto.blockTokens)
9715  return blocktokens_;
9716 }
9717 
9718 // -------------------------------------------------------------------
9719 
9720 // DataEncryptionKeyProto
9721 
9722 // required uint32 keyId = 1;
9723 inline bool DataEncryptionKeyProto::has_keyid() const {
9724  return (_has_bits_[0] & 0x00000001u) != 0;
9725 }
9726 inline void DataEncryptionKeyProto::set_has_keyid() {
9727  _has_bits_[0] |= 0x00000001u;
9728 }
9729 inline void DataEncryptionKeyProto::clear_has_keyid() {
9730  _has_bits_[0] &= ~0x00000001u;
9731 }
9732 inline void DataEncryptionKeyProto::clear_keyid() {
9733  keyid_ = 0u;
9734  clear_has_keyid();
9735 }
9736 inline ::google::protobuf::uint32 DataEncryptionKeyProto::keyid() const {
9737  // @@protoc_insertion_point(field_get:hadoop.hdfs.DataEncryptionKeyProto.keyId)
9738  return keyid_;
9739 }
9740 inline void DataEncryptionKeyProto::set_keyid(::google::protobuf::uint32 value) {
9741  set_has_keyid();
9742  keyid_ = value;
9743  // @@protoc_insertion_point(field_set:hadoop.hdfs.DataEncryptionKeyProto.keyId)
9744 }
9745 
9746 // required string blockPoolId = 2;
9747 inline bool DataEncryptionKeyProto::has_blockpoolid() const {
9748  return (_has_bits_[0] & 0x00000002u) != 0;
9749 }
9750 inline void DataEncryptionKeyProto::set_has_blockpoolid() {
9751  _has_bits_[0] |= 0x00000002u;
9752 }
9753 inline void DataEncryptionKeyProto::clear_has_blockpoolid() {
9754  _has_bits_[0] &= ~0x00000002u;
9755 }
9756 inline void DataEncryptionKeyProto::clear_blockpoolid() {
9757  blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9758  clear_has_blockpoolid();
9759 }
9760 inline const ::std::string& DataEncryptionKeyProto::blockpoolid() const {
9761  // @@protoc_insertion_point(field_get:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9762  return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9763 }
9764 inline void DataEncryptionKeyProto::set_blockpoolid(const ::std::string& value) {
9765  set_has_blockpoolid();
9766  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9767  // @@protoc_insertion_point(field_set:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9768 }
9769 inline void DataEncryptionKeyProto::set_blockpoolid(const char* value) {
9770  set_has_blockpoolid();
9771  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9772  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9773 }
9774 inline void DataEncryptionKeyProto::set_blockpoolid(const char* value, size_t size) {
9775  set_has_blockpoolid();
9776  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9777  ::std::string(reinterpret_cast<const char*>(value), size));
9778  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9779 }
9780 inline ::std::string* DataEncryptionKeyProto::mutable_blockpoolid() {
9781  set_has_blockpoolid();
9782  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9783  return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9784 }
9785 inline ::std::string* DataEncryptionKeyProto::release_blockpoolid() {
9786  // @@protoc_insertion_point(field_release:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9787  clear_has_blockpoolid();
9788  return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9789 }
9790 inline void DataEncryptionKeyProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
9791  if (blockpoolid != NULL) {
9792  set_has_blockpoolid();
9793  } else {
9794  clear_has_blockpoolid();
9795  }
9796  blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
9797  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DataEncryptionKeyProto.blockPoolId)
9798 }
9799 
9800 // required bytes nonce = 3;
9801 inline bool DataEncryptionKeyProto::has_nonce() const {
9802  return (_has_bits_[0] & 0x00000004u) != 0;
9803 }
9804 inline void DataEncryptionKeyProto::set_has_nonce() {
9805  _has_bits_[0] |= 0x00000004u;
9806 }
9807 inline void DataEncryptionKeyProto::clear_has_nonce() {
9808  _has_bits_[0] &= ~0x00000004u;
9809 }
9810 inline void DataEncryptionKeyProto::clear_nonce() {
9811  nonce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9812  clear_has_nonce();
9813 }
9814 inline const ::std::string& DataEncryptionKeyProto::nonce() const {
9815  // @@protoc_insertion_point(field_get:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9816  return nonce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9817 }
9818 inline void DataEncryptionKeyProto::set_nonce(const ::std::string& value) {
9819  set_has_nonce();
9820  nonce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9821  // @@protoc_insertion_point(field_set:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9822 }
9823 inline void DataEncryptionKeyProto::set_nonce(const char* value) {
9824  set_has_nonce();
9825  nonce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9826  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9827 }
9828 inline void DataEncryptionKeyProto::set_nonce(const void* value, size_t size) {
9829  set_has_nonce();
9830  nonce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9831  ::std::string(reinterpret_cast<const char*>(value), size));
9832  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9833 }
9834 inline ::std::string* DataEncryptionKeyProto::mutable_nonce() {
9835  set_has_nonce();
9836  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9837  return nonce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9838 }
9839 inline ::std::string* DataEncryptionKeyProto::release_nonce() {
9840  // @@protoc_insertion_point(field_release:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9841  clear_has_nonce();
9842  return nonce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9843 }
9844 inline void DataEncryptionKeyProto::set_allocated_nonce(::std::string* nonce) {
9845  if (nonce != NULL) {
9846  set_has_nonce();
9847  } else {
9848  clear_has_nonce();
9849  }
9850  nonce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), nonce);
9851  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DataEncryptionKeyProto.nonce)
9852 }
9853 
9854 // required bytes encryptionKey = 4;
9855 inline bool DataEncryptionKeyProto::has_encryptionkey() const {
9856  return (_has_bits_[0] & 0x00000008u) != 0;
9857 }
9858 inline void DataEncryptionKeyProto::set_has_encryptionkey() {
9859  _has_bits_[0] |= 0x00000008u;
9860 }
9861 inline void DataEncryptionKeyProto::clear_has_encryptionkey() {
9862  _has_bits_[0] &= ~0x00000008u;
9863 }
9864 inline void DataEncryptionKeyProto::clear_encryptionkey() {
9865  encryptionkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9866  clear_has_encryptionkey();
9867 }
9868 inline const ::std::string& DataEncryptionKeyProto::encryptionkey() const {
9869  // @@protoc_insertion_point(field_get:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9870  return encryptionkey_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9871 }
9872 inline void DataEncryptionKeyProto::set_encryptionkey(const ::std::string& value) {
9873  set_has_encryptionkey();
9874  encryptionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9875  // @@protoc_insertion_point(field_set:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9876 }
9877 inline void DataEncryptionKeyProto::set_encryptionkey(const char* value) {
9878  set_has_encryptionkey();
9879  encryptionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9880  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9881 }
9882 inline void DataEncryptionKeyProto::set_encryptionkey(const void* value, size_t size) {
9883  set_has_encryptionkey();
9884  encryptionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9885  ::std::string(reinterpret_cast<const char*>(value), size));
9886  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9887 }
9888 inline ::std::string* DataEncryptionKeyProto::mutable_encryptionkey() {
9889  set_has_encryptionkey();
9890  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9891  return encryptionkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9892 }
9893 inline ::std::string* DataEncryptionKeyProto::release_encryptionkey() {
9894  // @@protoc_insertion_point(field_release:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9895  clear_has_encryptionkey();
9896  return encryptionkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9897 }
9898 inline void DataEncryptionKeyProto::set_allocated_encryptionkey(::std::string* encryptionkey) {
9899  if (encryptionkey != NULL) {
9900  set_has_encryptionkey();
9901  } else {
9902  clear_has_encryptionkey();
9903  }
9904  encryptionkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), encryptionkey);
9905  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DataEncryptionKeyProto.encryptionKey)
9906 }
9907 
9908 // required uint64 expiryDate = 5;
9909 inline bool DataEncryptionKeyProto::has_expirydate() const {
9910  return (_has_bits_[0] & 0x00000010u) != 0;
9911 }
9912 inline void DataEncryptionKeyProto::set_has_expirydate() {
9913  _has_bits_[0] |= 0x00000010u;
9914 }
9915 inline void DataEncryptionKeyProto::clear_has_expirydate() {
9916  _has_bits_[0] &= ~0x00000010u;
9917 }
9918 inline void DataEncryptionKeyProto::clear_expirydate() {
9919  expirydate_ = GOOGLE_ULONGLONG(0);
9920  clear_has_expirydate();
9921 }
9922 inline ::google::protobuf::uint64 DataEncryptionKeyProto::expirydate() const {
9923  // @@protoc_insertion_point(field_get:hadoop.hdfs.DataEncryptionKeyProto.expiryDate)
9924  return expirydate_;
9925 }
9926 inline void DataEncryptionKeyProto::set_expirydate(::google::protobuf::uint64 value) {
9927  set_has_expirydate();
9928  expirydate_ = value;
9929  // @@protoc_insertion_point(field_set:hadoop.hdfs.DataEncryptionKeyProto.expiryDate)
9930 }
9931 
9932 // optional string encryptionAlgorithm = 6;
9933 inline bool DataEncryptionKeyProto::has_encryptionalgorithm() const {
9934  return (_has_bits_[0] & 0x00000020u) != 0;
9935 }
9936 inline void DataEncryptionKeyProto::set_has_encryptionalgorithm() {
9937  _has_bits_[0] |= 0x00000020u;
9938 }
9939 inline void DataEncryptionKeyProto::clear_has_encryptionalgorithm() {
9940  _has_bits_[0] &= ~0x00000020u;
9941 }
9942 inline void DataEncryptionKeyProto::clear_encryptionalgorithm() {
9943  encryptionalgorithm_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9944  clear_has_encryptionalgorithm();
9945 }
9946 inline const ::std::string& DataEncryptionKeyProto::encryptionalgorithm() const {
9947  // @@protoc_insertion_point(field_get:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9948  return encryptionalgorithm_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9949 }
9950 inline void DataEncryptionKeyProto::set_encryptionalgorithm(const ::std::string& value) {
9951  set_has_encryptionalgorithm();
9952  encryptionalgorithm_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9953  // @@protoc_insertion_point(field_set:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9954 }
9955 inline void DataEncryptionKeyProto::set_encryptionalgorithm(const char* value) {
9956  set_has_encryptionalgorithm();
9957  encryptionalgorithm_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9958  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9959 }
9960 inline void DataEncryptionKeyProto::set_encryptionalgorithm(const char* value, size_t size) {
9961  set_has_encryptionalgorithm();
9962  encryptionalgorithm_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9963  ::std::string(reinterpret_cast<const char*>(value), size));
9964  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9965 }
9966 inline ::std::string* DataEncryptionKeyProto::mutable_encryptionalgorithm() {
9967  set_has_encryptionalgorithm();
9968  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9969  return encryptionalgorithm_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9970 }
9971 inline ::std::string* DataEncryptionKeyProto::release_encryptionalgorithm() {
9972  // @@protoc_insertion_point(field_release:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9973  clear_has_encryptionalgorithm();
9974  return encryptionalgorithm_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9975 }
9976 inline void DataEncryptionKeyProto::set_allocated_encryptionalgorithm(::std::string* encryptionalgorithm) {
9977  if (encryptionalgorithm != NULL) {
9978  set_has_encryptionalgorithm();
9979  } else {
9980  clear_has_encryptionalgorithm();
9981  }
9982  encryptionalgorithm_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), encryptionalgorithm);
9983  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.DataEncryptionKeyProto.encryptionAlgorithm)
9984 }
9985 
9986 // -------------------------------------------------------------------
9987 
9988 // FileEncryptionInfoProto
9989 
9990 // required .hadoop.hdfs.CipherSuiteProto suite = 1;
9991 inline bool FileEncryptionInfoProto::has_suite() const {
9992  return (_has_bits_[0] & 0x00000001u) != 0;
9993 }
9994 inline void FileEncryptionInfoProto::set_has_suite() {
9995  _has_bits_[0] |= 0x00000001u;
9996 }
9997 inline void FileEncryptionInfoProto::clear_has_suite() {
9998  _has_bits_[0] &= ~0x00000001u;
9999 }
10000 inline void FileEncryptionInfoProto::clear_suite() {
10001  suite_ = 1;
10002  clear_has_suite();
10003 }
10004 inline ::hadoop::hdfs::CipherSuiteProto FileEncryptionInfoProto::suite() const {
10005  // @@protoc_insertion_point(field_get:hadoop.hdfs.FileEncryptionInfoProto.suite)
10006  return static_cast< ::hadoop::hdfs::CipherSuiteProto >(suite_);
10007 }
10008 inline void FileEncryptionInfoProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
10009  assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
10010  set_has_suite();
10011  suite_ = value;
10012  // @@protoc_insertion_point(field_set:hadoop.hdfs.FileEncryptionInfoProto.suite)
10013 }
10014 
10015 // required .hadoop.hdfs.CryptoProtocolVersionProto cryptoProtocolVersion = 2;
10016 inline bool FileEncryptionInfoProto::has_cryptoprotocolversion() const {
10017  return (_has_bits_[0] & 0x00000002u) != 0;
10018 }
10019 inline void FileEncryptionInfoProto::set_has_cryptoprotocolversion() {
10020  _has_bits_[0] |= 0x00000002u;
10021 }
10022 inline void FileEncryptionInfoProto::clear_has_cryptoprotocolversion() {
10023  _has_bits_[0] &= ~0x00000002u;
10024 }
10025 inline void FileEncryptionInfoProto::clear_cryptoprotocolversion() {
10026  cryptoprotocolversion_ = 1;
10027  clear_has_cryptoprotocolversion();
10028 }
10029 inline ::hadoop::hdfs::CryptoProtocolVersionProto FileEncryptionInfoProto::cryptoprotocolversion() const {
10030  // @@protoc_insertion_point(field_get:hadoop.hdfs.FileEncryptionInfoProto.cryptoProtocolVersion)
10031  return static_cast< ::hadoop::hdfs::CryptoProtocolVersionProto >(cryptoprotocolversion_);
10032 }
10033 inline void FileEncryptionInfoProto::set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value) {
10034  assert(::hadoop::hdfs::CryptoProtocolVersionProto_IsValid(value));
10035  set_has_cryptoprotocolversion();
10036  cryptoprotocolversion_ = value;
10037  // @@protoc_insertion_point(field_set:hadoop.hdfs.FileEncryptionInfoProto.cryptoProtocolVersion)
10038 }
10039 
10040 // required bytes key = 3;
10041 inline bool FileEncryptionInfoProto::has_key() const {
10042  return (_has_bits_[0] & 0x00000004u) != 0;
10043 }
10044 inline void FileEncryptionInfoProto::set_has_key() {
10045  _has_bits_[0] |= 0x00000004u;
10046 }
10047 inline void FileEncryptionInfoProto::clear_has_key() {
10048  _has_bits_[0] &= ~0x00000004u;
10049 }
10050 inline void FileEncryptionInfoProto::clear_key() {
10051  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10052  clear_has_key();
10053 }
10054 inline const ::std::string& FileEncryptionInfoProto::key() const {
10055  // @@protoc_insertion_point(field_get:hadoop.hdfs.FileEncryptionInfoProto.key)
10056  return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10057 }
10058 inline void FileEncryptionInfoProto::set_key(const ::std::string& value) {
10059  set_has_key();
10060  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10061  // @@protoc_insertion_point(field_set:hadoop.hdfs.FileEncryptionInfoProto.key)
10062 }
10063 inline void FileEncryptionInfoProto::set_key(const char* value) {
10064  set_has_key();
10065  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10066  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.FileEncryptionInfoProto.key)
10067 }
10068 inline void FileEncryptionInfoProto::set_key(const void* value, size_t size) {
10069  set_has_key();
10070  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10071  ::std::string(reinterpret_cast<const char*>(value), size));
10072  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.FileEncryptionInfoProto.key)
10073 }
10074 inline ::std::string* FileEncryptionInfoProto::mutable_key() {
10075  set_has_key();
10076  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.FileEncryptionInfoProto.key)
10077  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10078 }
10079 inline ::std::string* FileEncryptionInfoProto::release_key() {
10080  // @@protoc_insertion_point(field_release:hadoop.hdfs.FileEncryptionInfoProto.key)
10081  clear_has_key();
10082  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10083 }
10084 inline void FileEncryptionInfoProto::set_allocated_key(::std::string* key) {
10085  if (key != NULL) {
10086  set_has_key();
10087  } else {
10088  clear_has_key();
10089  }
10090  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
10091  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.FileEncryptionInfoProto.key)
10092 }
10093 
10094 // required bytes iv = 4;
10095 inline bool FileEncryptionInfoProto::has_iv() const {
10096  return (_has_bits_[0] & 0x00000008u) != 0;
10097 }
10098 inline void FileEncryptionInfoProto::set_has_iv() {
10099  _has_bits_[0] |= 0x00000008u;
10100 }
10101 inline void FileEncryptionInfoProto::clear_has_iv() {
10102  _has_bits_[0] &= ~0x00000008u;
10103 }
10104 inline void FileEncryptionInfoProto::clear_iv() {
10105  iv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10106  clear_has_iv();
10107 }
10108 inline const ::std::string& FileEncryptionInfoProto::iv() const {
10109  // @@protoc_insertion_point(field_get:hadoop.hdfs.FileEncryptionInfoProto.iv)
10110  return iv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10111 }
10112 inline void FileEncryptionInfoProto::set_iv(const ::std::string& value) {
10113  set_has_iv();
10114  iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10115  // @@protoc_insertion_point(field_set:hadoop.hdfs.FileEncryptionInfoProto.iv)
10116 }
10117 inline void FileEncryptionInfoProto::set_iv(const char* value) {
10118  set_has_iv();
10119  iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10120  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.FileEncryptionInfoProto.iv)
10121 }
10122 inline void FileEncryptionInfoProto::set_iv(const void* value, size_t size) {
10123  set_has_iv();
10124  iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10125  ::std::string(reinterpret_cast<const char*>(value), size));
10126  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.FileEncryptionInfoProto.iv)
10127 }
10128 inline ::std::string* FileEncryptionInfoProto::mutable_iv() {
10129  set_has_iv();
10130  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.FileEncryptionInfoProto.iv)
10131  return iv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10132 }
10133 inline ::std::string* FileEncryptionInfoProto::release_iv() {
10134  // @@protoc_insertion_point(field_release:hadoop.hdfs.FileEncryptionInfoProto.iv)
10135  clear_has_iv();
10136  return iv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10137 }
10138 inline void FileEncryptionInfoProto::set_allocated_iv(::std::string* iv) {
10139  if (iv != NULL) {
10140  set_has_iv();
10141  } else {
10142  clear_has_iv();
10143  }
10144  iv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iv);
10145  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.FileEncryptionInfoProto.iv)
10146 }
10147 
10148 // required string keyName = 5;
10149 inline bool FileEncryptionInfoProto::has_keyname() const {
10150  return (_has_bits_[0] & 0x00000010u) != 0;
10151 }
10152 inline void FileEncryptionInfoProto::set_has_keyname() {
10153  _has_bits_[0] |= 0x00000010u;
10154 }
10155 inline void FileEncryptionInfoProto::clear_has_keyname() {
10156  _has_bits_[0] &= ~0x00000010u;
10157 }
10158 inline void FileEncryptionInfoProto::clear_keyname() {
10159  keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10160  clear_has_keyname();
10161 }
10162 inline const ::std::string& FileEncryptionInfoProto::keyname() const {
10163  // @@protoc_insertion_point(field_get:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10164  return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10165 }
10166 inline void FileEncryptionInfoProto::set_keyname(const ::std::string& value) {
10167  set_has_keyname();
10168  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10169  // @@protoc_insertion_point(field_set:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10170 }
10171 inline void FileEncryptionInfoProto::set_keyname(const char* value) {
10172  set_has_keyname();
10173  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10174  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10175 }
10176 inline void FileEncryptionInfoProto::set_keyname(const char* value, size_t size) {
10177  set_has_keyname();
10178  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10179  ::std::string(reinterpret_cast<const char*>(value), size));
10180  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10181 }
10182 inline ::std::string* FileEncryptionInfoProto::mutable_keyname() {
10183  set_has_keyname();
10184  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10185  return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10186 }
10187 inline ::std::string* FileEncryptionInfoProto::release_keyname() {
10188  // @@protoc_insertion_point(field_release:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10189  clear_has_keyname();
10190  return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10191 }
10192 inline void FileEncryptionInfoProto::set_allocated_keyname(::std::string* keyname) {
10193  if (keyname != NULL) {
10194  set_has_keyname();
10195  } else {
10196  clear_has_keyname();
10197  }
10198  keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
10199  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.FileEncryptionInfoProto.keyName)
10200 }
10201 
10202 // required string ezKeyVersionName = 6;
10203 inline bool FileEncryptionInfoProto::has_ezkeyversionname() const {
10204  return (_has_bits_[0] & 0x00000020u) != 0;
10205 }
10206 inline void FileEncryptionInfoProto::set_has_ezkeyversionname() {
10207  _has_bits_[0] |= 0x00000020u;
10208 }
10209 inline void FileEncryptionInfoProto::clear_has_ezkeyversionname() {
10210  _has_bits_[0] &= ~0x00000020u;
10211 }
10212 inline void FileEncryptionInfoProto::clear_ezkeyversionname() {
10213  ezkeyversionname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10214  clear_has_ezkeyversionname();
10215 }
10216 inline const ::std::string& FileEncryptionInfoProto::ezkeyversionname() const {
10217  // @@protoc_insertion_point(field_get:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10218  return ezkeyversionname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10219 }
10220 inline void FileEncryptionInfoProto::set_ezkeyversionname(const ::std::string& value) {
10221  set_has_ezkeyversionname();
10222  ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10223  // @@protoc_insertion_point(field_set:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10224 }
10225 inline void FileEncryptionInfoProto::set_ezkeyversionname(const char* value) {
10226  set_has_ezkeyversionname();
10227  ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10228  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10229 }
10230 inline void FileEncryptionInfoProto::set_ezkeyversionname(const char* value, size_t size) {
10231  set_has_ezkeyversionname();
10232  ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10233  ::std::string(reinterpret_cast<const char*>(value), size));
10234  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10235 }
10236 inline ::std::string* FileEncryptionInfoProto::mutable_ezkeyversionname() {
10237  set_has_ezkeyversionname();
10238  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10239  return ezkeyversionname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10240 }
10241 inline ::std::string* FileEncryptionInfoProto::release_ezkeyversionname() {
10242  // @@protoc_insertion_point(field_release:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10243  clear_has_ezkeyversionname();
10244  return ezkeyversionname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10245 }
10246 inline void FileEncryptionInfoProto::set_allocated_ezkeyversionname(::std::string* ezkeyversionname) {
10247  if (ezkeyversionname != NULL) {
10248  set_has_ezkeyversionname();
10249  } else {
10250  clear_has_ezkeyversionname();
10251  }
10252  ezkeyversionname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ezkeyversionname);
10253  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.FileEncryptionInfoProto.ezKeyVersionName)
10254 }
10255 
10256 // -------------------------------------------------------------------
10257 
10258 // PerFileEncryptionInfoProto
10259 
10260 // required bytes key = 1;
10261 inline bool PerFileEncryptionInfoProto::has_key() const {
10262  return (_has_bits_[0] & 0x00000001u) != 0;
10263 }
10264 inline void PerFileEncryptionInfoProto::set_has_key() {
10265  _has_bits_[0] |= 0x00000001u;
10266 }
10267 inline void PerFileEncryptionInfoProto::clear_has_key() {
10268  _has_bits_[0] &= ~0x00000001u;
10269 }
10270 inline void PerFileEncryptionInfoProto::clear_key() {
10271  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10272  clear_has_key();
10273 }
10274 inline const ::std::string& PerFileEncryptionInfoProto::key() const {
10275  // @@protoc_insertion_point(field_get:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10276  return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10277 }
10278 inline void PerFileEncryptionInfoProto::set_key(const ::std::string& value) {
10279  set_has_key();
10280  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10281  // @@protoc_insertion_point(field_set:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10282 }
10283 inline void PerFileEncryptionInfoProto::set_key(const char* value) {
10284  set_has_key();
10285  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10286  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10287 }
10288 inline void PerFileEncryptionInfoProto::set_key(const void* value, size_t size) {
10289  set_has_key();
10290  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10291  ::std::string(reinterpret_cast<const char*>(value), size));
10292  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10293 }
10294 inline ::std::string* PerFileEncryptionInfoProto::mutable_key() {
10295  set_has_key();
10296  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10297  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10298 }
10299 inline ::std::string* PerFileEncryptionInfoProto::release_key() {
10300  // @@protoc_insertion_point(field_release:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10301  clear_has_key();
10302  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10303 }
10304 inline void PerFileEncryptionInfoProto::set_allocated_key(::std::string* key) {
10305  if (key != NULL) {
10306  set_has_key();
10307  } else {
10308  clear_has_key();
10309  }
10310  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
10311  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.PerFileEncryptionInfoProto.key)
10312 }
10313 
10314 // required bytes iv = 2;
10315 inline bool PerFileEncryptionInfoProto::has_iv() const {
10316  return (_has_bits_[0] & 0x00000002u) != 0;
10317 }
10318 inline void PerFileEncryptionInfoProto::set_has_iv() {
10319  _has_bits_[0] |= 0x00000002u;
10320 }
10321 inline void PerFileEncryptionInfoProto::clear_has_iv() {
10322  _has_bits_[0] &= ~0x00000002u;
10323 }
10324 inline void PerFileEncryptionInfoProto::clear_iv() {
10325  iv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10326  clear_has_iv();
10327 }
10328 inline const ::std::string& PerFileEncryptionInfoProto::iv() const {
10329  // @@protoc_insertion_point(field_get:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10330  return iv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10331 }
10332 inline void PerFileEncryptionInfoProto::set_iv(const ::std::string& value) {
10333  set_has_iv();
10334  iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10335  // @@protoc_insertion_point(field_set:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10336 }
10337 inline void PerFileEncryptionInfoProto::set_iv(const char* value) {
10338  set_has_iv();
10339  iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10340  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10341 }
10342 inline void PerFileEncryptionInfoProto::set_iv(const void* value, size_t size) {
10343  set_has_iv();
10344  iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10345  ::std::string(reinterpret_cast<const char*>(value), size));
10346  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10347 }
10348 inline ::std::string* PerFileEncryptionInfoProto::mutable_iv() {
10349  set_has_iv();
10350  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10351  return iv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10352 }
10353 inline ::std::string* PerFileEncryptionInfoProto::release_iv() {
10354  // @@protoc_insertion_point(field_release:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10355  clear_has_iv();
10356  return iv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10357 }
10358 inline void PerFileEncryptionInfoProto::set_allocated_iv(::std::string* iv) {
10359  if (iv != NULL) {
10360  set_has_iv();
10361  } else {
10362  clear_has_iv();
10363  }
10364  iv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iv);
10365  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.PerFileEncryptionInfoProto.iv)
10366 }
10367 
10368 // required string ezKeyVersionName = 3;
10369 inline bool PerFileEncryptionInfoProto::has_ezkeyversionname() const {
10370  return (_has_bits_[0] & 0x00000004u) != 0;
10371 }
10372 inline void PerFileEncryptionInfoProto::set_has_ezkeyversionname() {
10373  _has_bits_[0] |= 0x00000004u;
10374 }
10375 inline void PerFileEncryptionInfoProto::clear_has_ezkeyversionname() {
10376  _has_bits_[0] &= ~0x00000004u;
10377 }
10378 inline void PerFileEncryptionInfoProto::clear_ezkeyversionname() {
10379  ezkeyversionname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10380  clear_has_ezkeyversionname();
10381 }
10382 inline const ::std::string& PerFileEncryptionInfoProto::ezkeyversionname() const {
10383  // @@protoc_insertion_point(field_get:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10384  return ezkeyversionname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10385 }
10386 inline void PerFileEncryptionInfoProto::set_ezkeyversionname(const ::std::string& value) {
10387  set_has_ezkeyversionname();
10388  ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10389  // @@protoc_insertion_point(field_set:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10390 }
10391 inline void PerFileEncryptionInfoProto::set_ezkeyversionname(const char* value) {
10392  set_has_ezkeyversionname();
10393  ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10394  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10395 }
10396 inline void PerFileEncryptionInfoProto::set_ezkeyversionname(const char* value, size_t size) {
10397  set_has_ezkeyversionname();
10398  ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10399  ::std::string(reinterpret_cast<const char*>(value), size));
10400  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10401 }
10402 inline ::std::string* PerFileEncryptionInfoProto::mutable_ezkeyversionname() {
10403  set_has_ezkeyversionname();
10404  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10405  return ezkeyversionname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10406 }
10407 inline ::std::string* PerFileEncryptionInfoProto::release_ezkeyversionname() {
10408  // @@protoc_insertion_point(field_release:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10409  clear_has_ezkeyversionname();
10410  return ezkeyversionname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10411 }
10412 inline void PerFileEncryptionInfoProto::set_allocated_ezkeyversionname(::std::string* ezkeyversionname) {
10413  if (ezkeyversionname != NULL) {
10414  set_has_ezkeyversionname();
10415  } else {
10416  clear_has_ezkeyversionname();
10417  }
10418  ezkeyversionname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ezkeyversionname);
10419  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.PerFileEncryptionInfoProto.ezKeyVersionName)
10420 }
10421 
10422 // -------------------------------------------------------------------
10423 
10424 // ZoneEncryptionInfoProto
10425 
10426 // required .hadoop.hdfs.CipherSuiteProto suite = 1;
10427 inline bool ZoneEncryptionInfoProto::has_suite() const {
10428  return (_has_bits_[0] & 0x00000001u) != 0;
10429 }
10430 inline void ZoneEncryptionInfoProto::set_has_suite() {
10431  _has_bits_[0] |= 0x00000001u;
10432 }
10433 inline void ZoneEncryptionInfoProto::clear_has_suite() {
10434  _has_bits_[0] &= ~0x00000001u;
10435 }
10436 inline void ZoneEncryptionInfoProto::clear_suite() {
10437  suite_ = 1;
10438  clear_has_suite();
10439 }
10440 inline ::hadoop::hdfs::CipherSuiteProto ZoneEncryptionInfoProto::suite() const {
10441  // @@protoc_insertion_point(field_get:hadoop.hdfs.ZoneEncryptionInfoProto.suite)
10442  return static_cast< ::hadoop::hdfs::CipherSuiteProto >(suite_);
10443 }
10444 inline void ZoneEncryptionInfoProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
10445  assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
10446  set_has_suite();
10447  suite_ = value;
10448  // @@protoc_insertion_point(field_set:hadoop.hdfs.ZoneEncryptionInfoProto.suite)
10449 }
10450 
10451 // required .hadoop.hdfs.CryptoProtocolVersionProto cryptoProtocolVersion = 2;
10452 inline bool ZoneEncryptionInfoProto::has_cryptoprotocolversion() const {
10453  return (_has_bits_[0] & 0x00000002u) != 0;
10454 }
10455 inline void ZoneEncryptionInfoProto::set_has_cryptoprotocolversion() {
10456  _has_bits_[0] |= 0x00000002u;
10457 }
10458 inline void ZoneEncryptionInfoProto::clear_has_cryptoprotocolversion() {
10459  _has_bits_[0] &= ~0x00000002u;
10460 }
10461 inline void ZoneEncryptionInfoProto::clear_cryptoprotocolversion() {
10462  cryptoprotocolversion_ = 1;
10463  clear_has_cryptoprotocolversion();
10464 }
10465 inline ::hadoop::hdfs::CryptoProtocolVersionProto ZoneEncryptionInfoProto::cryptoprotocolversion() const {
10466  // @@protoc_insertion_point(field_get:hadoop.hdfs.ZoneEncryptionInfoProto.cryptoProtocolVersion)
10467  return static_cast< ::hadoop::hdfs::CryptoProtocolVersionProto >(cryptoprotocolversion_);
10468 }
10469 inline void ZoneEncryptionInfoProto::set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value) {
10470  assert(::hadoop::hdfs::CryptoProtocolVersionProto_IsValid(value));
10471  set_has_cryptoprotocolversion();
10472  cryptoprotocolversion_ = value;
10473  // @@protoc_insertion_point(field_set:hadoop.hdfs.ZoneEncryptionInfoProto.cryptoProtocolVersion)
10474 }
10475 
10476 // required string keyName = 3;
10477 inline bool ZoneEncryptionInfoProto::has_keyname() const {
10478  return (_has_bits_[0] & 0x00000004u) != 0;
10479 }
10480 inline void ZoneEncryptionInfoProto::set_has_keyname() {
10481  _has_bits_[0] |= 0x00000004u;
10482 }
10483 inline void ZoneEncryptionInfoProto::clear_has_keyname() {
10484  _has_bits_[0] &= ~0x00000004u;
10485 }
10486 inline void ZoneEncryptionInfoProto::clear_keyname() {
10487  keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10488  clear_has_keyname();
10489 }
10490 inline const ::std::string& ZoneEncryptionInfoProto::keyname() const {
10491  // @@protoc_insertion_point(field_get:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10492  return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10493 }
10494 inline void ZoneEncryptionInfoProto::set_keyname(const ::std::string& value) {
10495  set_has_keyname();
10496  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10497  // @@protoc_insertion_point(field_set:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10498 }
10499 inline void ZoneEncryptionInfoProto::set_keyname(const char* value) {
10500  set_has_keyname();
10501  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10502  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10503 }
10504 inline void ZoneEncryptionInfoProto::set_keyname(const char* value, size_t size) {
10505  set_has_keyname();
10506  keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10507  ::std::string(reinterpret_cast<const char*>(value), size));
10508  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10509 }
10510 inline ::std::string* ZoneEncryptionInfoProto::mutable_keyname() {
10511  set_has_keyname();
10512  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10513  return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10514 }
10515 inline ::std::string* ZoneEncryptionInfoProto::release_keyname() {
10516  // @@protoc_insertion_point(field_release:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10517  clear_has_keyname();
10518  return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10519 }
10520 inline void ZoneEncryptionInfoProto::set_allocated_keyname(::std::string* keyname) {
10521  if (keyname != NULL) {
10522  set_has_keyname();
10523  } else {
10524  clear_has_keyname();
10525  }
10526  keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
10527  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ZoneEncryptionInfoProto.keyName)
10528 }
10529 
10530 // -------------------------------------------------------------------
10531 
10532 // CipherOptionProto
10533 
10534 // required .hadoop.hdfs.CipherSuiteProto suite = 1;
10535 inline bool CipherOptionProto::has_suite() const {
10536  return (_has_bits_[0] & 0x00000001u) != 0;
10537 }
10538 inline void CipherOptionProto::set_has_suite() {
10539  _has_bits_[0] |= 0x00000001u;
10540 }
10541 inline void CipherOptionProto::clear_has_suite() {
10542  _has_bits_[0] &= ~0x00000001u;
10543 }
10544 inline void CipherOptionProto::clear_suite() {
10545  suite_ = 1;
10546  clear_has_suite();
10547 }
10548 inline ::hadoop::hdfs::CipherSuiteProto CipherOptionProto::suite() const {
10549  // @@protoc_insertion_point(field_get:hadoop.hdfs.CipherOptionProto.suite)
10550  return static_cast< ::hadoop::hdfs::CipherSuiteProto >(suite_);
10551 }
10552 inline void CipherOptionProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
10553  assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
10554  set_has_suite();
10555  suite_ = value;
10556  // @@protoc_insertion_point(field_set:hadoop.hdfs.CipherOptionProto.suite)
10557 }
10558 
10559 // optional bytes inKey = 2;
10560 inline bool CipherOptionProto::has_inkey() const {
10561  return (_has_bits_[0] & 0x00000002u) != 0;
10562 }
10563 inline void CipherOptionProto::set_has_inkey() {
10564  _has_bits_[0] |= 0x00000002u;
10565 }
10566 inline void CipherOptionProto::clear_has_inkey() {
10567  _has_bits_[0] &= ~0x00000002u;
10568 }
10569 inline void CipherOptionProto::clear_inkey() {
10570  inkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10571  clear_has_inkey();
10572 }
10573 inline const ::std::string& CipherOptionProto::inkey() const {
10574  // @@protoc_insertion_point(field_get:hadoop.hdfs.CipherOptionProto.inKey)
10575  return inkey_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10576 }
10577 inline void CipherOptionProto::set_inkey(const ::std::string& value) {
10578  set_has_inkey();
10579  inkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10580  // @@protoc_insertion_point(field_set:hadoop.hdfs.CipherOptionProto.inKey)
10581 }
10582 inline void CipherOptionProto::set_inkey(const char* value) {
10583  set_has_inkey();
10584  inkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10585  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CipherOptionProto.inKey)
10586 }
10587 inline void CipherOptionProto::set_inkey(const void* value, size_t size) {
10588  set_has_inkey();
10589  inkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10590  ::std::string(reinterpret_cast<const char*>(value), size));
10591  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CipherOptionProto.inKey)
10592 }
10593 inline ::std::string* CipherOptionProto::mutable_inkey() {
10594  set_has_inkey();
10595  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CipherOptionProto.inKey)
10596  return inkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10597 }
10598 inline ::std::string* CipherOptionProto::release_inkey() {
10599  // @@protoc_insertion_point(field_release:hadoop.hdfs.CipherOptionProto.inKey)
10600  clear_has_inkey();
10601  return inkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10602 }
10603 inline void CipherOptionProto::set_allocated_inkey(::std::string* inkey) {
10604  if (inkey != NULL) {
10605  set_has_inkey();
10606  } else {
10607  clear_has_inkey();
10608  }
10609  inkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), inkey);
10610  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CipherOptionProto.inKey)
10611 }
10612 
10613 // optional bytes inIv = 3;
10614 inline bool CipherOptionProto::has_iniv() const {
10615  return (_has_bits_[0] & 0x00000004u) != 0;
10616 }
10617 inline void CipherOptionProto::set_has_iniv() {
10618  _has_bits_[0] |= 0x00000004u;
10619 }
10620 inline void CipherOptionProto::clear_has_iniv() {
10621  _has_bits_[0] &= ~0x00000004u;
10622 }
10623 inline void CipherOptionProto::clear_iniv() {
10624  iniv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10625  clear_has_iniv();
10626 }
10627 inline const ::std::string& CipherOptionProto::iniv() const {
10628  // @@protoc_insertion_point(field_get:hadoop.hdfs.CipherOptionProto.inIv)
10629  return iniv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10630 }
10631 inline void CipherOptionProto::set_iniv(const ::std::string& value) {
10632  set_has_iniv();
10633  iniv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10634  // @@protoc_insertion_point(field_set:hadoop.hdfs.CipherOptionProto.inIv)
10635 }
10636 inline void CipherOptionProto::set_iniv(const char* value) {
10637  set_has_iniv();
10638  iniv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10639  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CipherOptionProto.inIv)
10640 }
10641 inline void CipherOptionProto::set_iniv(const void* value, size_t size) {
10642  set_has_iniv();
10643  iniv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10644  ::std::string(reinterpret_cast<const char*>(value), size));
10645  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CipherOptionProto.inIv)
10646 }
10647 inline ::std::string* CipherOptionProto::mutable_iniv() {
10648  set_has_iniv();
10649  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CipherOptionProto.inIv)
10650  return iniv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10651 }
10652 inline ::std::string* CipherOptionProto::release_iniv() {
10653  // @@protoc_insertion_point(field_release:hadoop.hdfs.CipherOptionProto.inIv)
10654  clear_has_iniv();
10655  return iniv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10656 }
10657 inline void CipherOptionProto::set_allocated_iniv(::std::string* iniv) {
10658  if (iniv != NULL) {
10659  set_has_iniv();
10660  } else {
10661  clear_has_iniv();
10662  }
10663  iniv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iniv);
10664  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CipherOptionProto.inIv)
10665 }
10666 
10667 // optional bytes outKey = 4;
10668 inline bool CipherOptionProto::has_outkey() const {
10669  return (_has_bits_[0] & 0x00000008u) != 0;
10670 }
10671 inline void CipherOptionProto::set_has_outkey() {
10672  _has_bits_[0] |= 0x00000008u;
10673 }
10674 inline void CipherOptionProto::clear_has_outkey() {
10675  _has_bits_[0] &= ~0x00000008u;
10676 }
10677 inline void CipherOptionProto::clear_outkey() {
10678  outkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10679  clear_has_outkey();
10680 }
10681 inline const ::std::string& CipherOptionProto::outkey() const {
10682  // @@protoc_insertion_point(field_get:hadoop.hdfs.CipherOptionProto.outKey)
10683  return outkey_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10684 }
10685 inline void CipherOptionProto::set_outkey(const ::std::string& value) {
10686  set_has_outkey();
10687  outkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10688  // @@protoc_insertion_point(field_set:hadoop.hdfs.CipherOptionProto.outKey)
10689 }
10690 inline void CipherOptionProto::set_outkey(const char* value) {
10691  set_has_outkey();
10692  outkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10693  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CipherOptionProto.outKey)
10694 }
10695 inline void CipherOptionProto::set_outkey(const void* value, size_t size) {
10696  set_has_outkey();
10697  outkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10698  ::std::string(reinterpret_cast<const char*>(value), size));
10699  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CipherOptionProto.outKey)
10700 }
10701 inline ::std::string* CipherOptionProto::mutable_outkey() {
10702  set_has_outkey();
10703  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CipherOptionProto.outKey)
10704  return outkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10705 }
10706 inline ::std::string* CipherOptionProto::release_outkey() {
10707  // @@protoc_insertion_point(field_release:hadoop.hdfs.CipherOptionProto.outKey)
10708  clear_has_outkey();
10709  return outkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10710 }
10711 inline void CipherOptionProto::set_allocated_outkey(::std::string* outkey) {
10712  if (outkey != NULL) {
10713  set_has_outkey();
10714  } else {
10715  clear_has_outkey();
10716  }
10717  outkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), outkey);
10718  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CipherOptionProto.outKey)
10719 }
10720 
10721 // optional bytes outIv = 5;
10722 inline bool CipherOptionProto::has_outiv() const {
10723  return (_has_bits_[0] & 0x00000010u) != 0;
10724 }
10725 inline void CipherOptionProto::set_has_outiv() {
10726  _has_bits_[0] |= 0x00000010u;
10727 }
10728 inline void CipherOptionProto::clear_has_outiv() {
10729  _has_bits_[0] &= ~0x00000010u;
10730 }
10731 inline void CipherOptionProto::clear_outiv() {
10732  outiv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10733  clear_has_outiv();
10734 }
10735 inline const ::std::string& CipherOptionProto::outiv() const {
10736  // @@protoc_insertion_point(field_get:hadoop.hdfs.CipherOptionProto.outIv)
10737  return outiv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10738 }
10739 inline void CipherOptionProto::set_outiv(const ::std::string& value) {
10740  set_has_outiv();
10741  outiv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10742  // @@protoc_insertion_point(field_set:hadoop.hdfs.CipherOptionProto.outIv)
10743 }
10744 inline void CipherOptionProto::set_outiv(const char* value) {
10745  set_has_outiv();
10746  outiv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10747  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CipherOptionProto.outIv)
10748 }
10749 inline void CipherOptionProto::set_outiv(const void* value, size_t size) {
10750  set_has_outiv();
10751  outiv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10752  ::std::string(reinterpret_cast<const char*>(value), size));
10753  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CipherOptionProto.outIv)
10754 }
10755 inline ::std::string* CipherOptionProto::mutable_outiv() {
10756  set_has_outiv();
10757  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CipherOptionProto.outIv)
10758  return outiv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10759 }
10760 inline ::std::string* CipherOptionProto::release_outiv() {
10761  // @@protoc_insertion_point(field_release:hadoop.hdfs.CipherOptionProto.outIv)
10762  clear_has_outiv();
10763  return outiv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10764 }
10765 inline void CipherOptionProto::set_allocated_outiv(::std::string* outiv) {
10766  if (outiv != NULL) {
10767  set_has_outiv();
10768  } else {
10769  clear_has_outiv();
10770  }
10771  outiv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), outiv);
10772  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CipherOptionProto.outIv)
10773 }
10774 
10775 // -------------------------------------------------------------------
10776 
10777 // LocatedBlocksProto
10778 
10779 // required uint64 fileLength = 1;
10780 inline bool LocatedBlocksProto::has_filelength() const {
10781  return (_has_bits_[0] & 0x00000001u) != 0;
10782 }
10783 inline void LocatedBlocksProto::set_has_filelength() {
10784  _has_bits_[0] |= 0x00000001u;
10785 }
10786 inline void LocatedBlocksProto::clear_has_filelength() {
10787  _has_bits_[0] &= ~0x00000001u;
10788 }
10789 inline void LocatedBlocksProto::clear_filelength() {
10790  filelength_ = GOOGLE_ULONGLONG(0);
10791  clear_has_filelength();
10792 }
10793 inline ::google::protobuf::uint64 LocatedBlocksProto::filelength() const {
10794  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.fileLength)
10795  return filelength_;
10796 }
10797 inline void LocatedBlocksProto::set_filelength(::google::protobuf::uint64 value) {
10798  set_has_filelength();
10799  filelength_ = value;
10800  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlocksProto.fileLength)
10801 }
10802 
10803 // repeated .hadoop.hdfs.LocatedBlockProto blocks = 2;
10804 inline int LocatedBlocksProto::blocks_size() const {
10805  return blocks_.size();
10806 }
10807 inline void LocatedBlocksProto::clear_blocks() {
10808  blocks_.Clear();
10809 }
10810 inline const ::hadoop::hdfs::LocatedBlockProto& LocatedBlocksProto::blocks(int index) const {
10811  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.blocks)
10812  return blocks_.Get(index);
10813 }
10814 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::mutable_blocks(int index) {
10815  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlocksProto.blocks)
10816  return blocks_.Mutable(index);
10817 }
10818 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::add_blocks() {
10819  // @@protoc_insertion_point(field_add:hadoop.hdfs.LocatedBlocksProto.blocks)
10820  return blocks_.Add();
10821 }
10822 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >*
10823 LocatedBlocksProto::mutable_blocks() {
10824  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.LocatedBlocksProto.blocks)
10825  return &blocks_;
10826 }
10827 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >&
10828 LocatedBlocksProto::blocks() const {
10829  // @@protoc_insertion_point(field_list:hadoop.hdfs.LocatedBlocksProto.blocks)
10830  return blocks_;
10831 }
10832 
10833 // required bool underConstruction = 3;
10834 inline bool LocatedBlocksProto::has_underconstruction() const {
10835  return (_has_bits_[0] & 0x00000004u) != 0;
10836 }
10837 inline void LocatedBlocksProto::set_has_underconstruction() {
10838  _has_bits_[0] |= 0x00000004u;
10839 }
10840 inline void LocatedBlocksProto::clear_has_underconstruction() {
10841  _has_bits_[0] &= ~0x00000004u;
10842 }
10843 inline void LocatedBlocksProto::clear_underconstruction() {
10844  underconstruction_ = false;
10845  clear_has_underconstruction();
10846 }
10847 inline bool LocatedBlocksProto::underconstruction() const {
10848  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.underConstruction)
10849  return underconstruction_;
10850 }
10851 inline void LocatedBlocksProto::set_underconstruction(bool value) {
10852  set_has_underconstruction();
10853  underconstruction_ = value;
10854  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlocksProto.underConstruction)
10855 }
10856 
10857 // optional .hadoop.hdfs.LocatedBlockProto lastBlock = 4;
10858 inline bool LocatedBlocksProto::has_lastblock() const {
10859  return (_has_bits_[0] & 0x00000008u) != 0;
10860 }
10861 inline void LocatedBlocksProto::set_has_lastblock() {
10862  _has_bits_[0] |= 0x00000008u;
10863 }
10864 inline void LocatedBlocksProto::clear_has_lastblock() {
10865  _has_bits_[0] &= ~0x00000008u;
10866 }
10867 inline void LocatedBlocksProto::clear_lastblock() {
10868  if (lastblock_ != NULL) lastblock_->::hadoop::hdfs::LocatedBlockProto::Clear();
10869  clear_has_lastblock();
10870 }
10871 inline const ::hadoop::hdfs::LocatedBlockProto& LocatedBlocksProto::lastblock() const {
10872  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.lastBlock)
10873  return lastblock_ != NULL ? *lastblock_ : *default_instance_->lastblock_;
10874 }
10875 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::mutable_lastblock() {
10876  set_has_lastblock();
10877  if (lastblock_ == NULL) {
10878  lastblock_ = new ::hadoop::hdfs::LocatedBlockProto;
10879  }
10880  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlocksProto.lastBlock)
10881  return lastblock_;
10882 }
10883 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::release_lastblock() {
10884  // @@protoc_insertion_point(field_release:hadoop.hdfs.LocatedBlocksProto.lastBlock)
10885  clear_has_lastblock();
10886  ::hadoop::hdfs::LocatedBlockProto* temp = lastblock_;
10887  lastblock_ = NULL;
10888  return temp;
10889 }
10890 inline void LocatedBlocksProto::set_allocated_lastblock(::hadoop::hdfs::LocatedBlockProto* lastblock) {
10891  delete lastblock_;
10892  lastblock_ = lastblock;
10893  if (lastblock) {
10894  set_has_lastblock();
10895  } else {
10896  clear_has_lastblock();
10897  }
10898  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.LocatedBlocksProto.lastBlock)
10899 }
10900 
10901 // required bool isLastBlockComplete = 5;
10902 inline bool LocatedBlocksProto::has_islastblockcomplete() const {
10903  return (_has_bits_[0] & 0x00000010u) != 0;
10904 }
10905 inline void LocatedBlocksProto::set_has_islastblockcomplete() {
10906  _has_bits_[0] |= 0x00000010u;
10907 }
10908 inline void LocatedBlocksProto::clear_has_islastblockcomplete() {
10909  _has_bits_[0] &= ~0x00000010u;
10910 }
10911 inline void LocatedBlocksProto::clear_islastblockcomplete() {
10912  islastblockcomplete_ = false;
10913  clear_has_islastblockcomplete();
10914 }
10915 inline bool LocatedBlocksProto::islastblockcomplete() const {
10916  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.isLastBlockComplete)
10917  return islastblockcomplete_;
10918 }
10919 inline void LocatedBlocksProto::set_islastblockcomplete(bool value) {
10920  set_has_islastblockcomplete();
10921  islastblockcomplete_ = value;
10922  // @@protoc_insertion_point(field_set:hadoop.hdfs.LocatedBlocksProto.isLastBlockComplete)
10923 }
10924 
10925 // optional .hadoop.hdfs.FileEncryptionInfoProto fileEncryptionInfo = 6;
10926 inline bool LocatedBlocksProto::has_fileencryptioninfo() const {
10927  return (_has_bits_[0] & 0x00000020u) != 0;
10928 }
10929 inline void LocatedBlocksProto::set_has_fileencryptioninfo() {
10930  _has_bits_[0] |= 0x00000020u;
10931 }
10932 inline void LocatedBlocksProto::clear_has_fileencryptioninfo() {
10933  _has_bits_[0] &= ~0x00000020u;
10934 }
10935 inline void LocatedBlocksProto::clear_fileencryptioninfo() {
10936  if (fileencryptioninfo_ != NULL) fileencryptioninfo_->::hadoop::hdfs::FileEncryptionInfoProto::Clear();
10937  clear_has_fileencryptioninfo();
10938 }
10939 inline const ::hadoop::hdfs::FileEncryptionInfoProto& LocatedBlocksProto::fileencryptioninfo() const {
10940  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.fileEncryptionInfo)
10941  return fileencryptioninfo_ != NULL ? *fileencryptioninfo_ : *default_instance_->fileencryptioninfo_;
10942 }
10943 inline ::hadoop::hdfs::FileEncryptionInfoProto* LocatedBlocksProto::mutable_fileencryptioninfo() {
10944  set_has_fileencryptioninfo();
10945  if (fileencryptioninfo_ == NULL) {
10946  fileencryptioninfo_ = new ::hadoop::hdfs::FileEncryptionInfoProto;
10947  }
10948  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlocksProto.fileEncryptionInfo)
10949  return fileencryptioninfo_;
10950 }
10951 inline ::hadoop::hdfs::FileEncryptionInfoProto* LocatedBlocksProto::release_fileencryptioninfo() {
10952  // @@protoc_insertion_point(field_release:hadoop.hdfs.LocatedBlocksProto.fileEncryptionInfo)
10953  clear_has_fileencryptioninfo();
10954  ::hadoop::hdfs::FileEncryptionInfoProto* temp = fileencryptioninfo_;
10955  fileencryptioninfo_ = NULL;
10956  return temp;
10957 }
10958 inline void LocatedBlocksProto::set_allocated_fileencryptioninfo(::hadoop::hdfs::FileEncryptionInfoProto* fileencryptioninfo) {
10959  delete fileencryptioninfo_;
10960  fileencryptioninfo_ = fileencryptioninfo;
10961  if (fileencryptioninfo) {
10962  set_has_fileencryptioninfo();
10963  } else {
10964  clear_has_fileencryptioninfo();
10965  }
10966  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.LocatedBlocksProto.fileEncryptionInfo)
10967 }
10968 
10969 // optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 7;
10970 inline bool LocatedBlocksProto::has_ecpolicy() const {
10971  return (_has_bits_[0] & 0x00000040u) != 0;
10972 }
10973 inline void LocatedBlocksProto::set_has_ecpolicy() {
10974  _has_bits_[0] |= 0x00000040u;
10975 }
10976 inline void LocatedBlocksProto::clear_has_ecpolicy() {
10977  _has_bits_[0] &= ~0x00000040u;
10978 }
10979 inline void LocatedBlocksProto::clear_ecpolicy() {
10980  if (ecpolicy_ != NULL) ecpolicy_->::hadoop::hdfs::ErasureCodingPolicyProto::Clear();
10981  clear_has_ecpolicy();
10982 }
10983 inline const ::hadoop::hdfs::ErasureCodingPolicyProto& LocatedBlocksProto::ecpolicy() const {
10984  // @@protoc_insertion_point(field_get:hadoop.hdfs.LocatedBlocksProto.ecPolicy)
10985  return ecpolicy_ != NULL ? *ecpolicy_ : *default_instance_->ecpolicy_;
10986 }
10987 inline ::hadoop::hdfs::ErasureCodingPolicyProto* LocatedBlocksProto::mutable_ecpolicy() {
10988  set_has_ecpolicy();
10989  if (ecpolicy_ == NULL) {
10990  ecpolicy_ = new ::hadoop::hdfs::ErasureCodingPolicyProto;
10991  }
10992  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.LocatedBlocksProto.ecPolicy)
10993  return ecpolicy_;
10994 }
10995 inline ::hadoop::hdfs::ErasureCodingPolicyProto* LocatedBlocksProto::release_ecpolicy() {
10996  // @@protoc_insertion_point(field_release:hadoop.hdfs.LocatedBlocksProto.ecPolicy)
10997  clear_has_ecpolicy();
10998  ::hadoop::hdfs::ErasureCodingPolicyProto* temp = ecpolicy_;
10999  ecpolicy_ = NULL;
11000  return temp;
11001 }
11002 inline void LocatedBlocksProto::set_allocated_ecpolicy(::hadoop::hdfs::ErasureCodingPolicyProto* ecpolicy) {
11003  delete ecpolicy_;
11004  ecpolicy_ = ecpolicy;
11005  if (ecpolicy) {
11006  set_has_ecpolicy();
11007  } else {
11008  clear_has_ecpolicy();
11009  }
11010  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.LocatedBlocksProto.ecPolicy)
11011 }
11012 
11013 // -------------------------------------------------------------------
11014 
11015 // ECSchemaOptionEntryProto
11016 
11017 // required string key = 1;
11018 inline bool ECSchemaOptionEntryProto::has_key() const {
11019  return (_has_bits_[0] & 0x00000001u) != 0;
11020 }
11021 inline void ECSchemaOptionEntryProto::set_has_key() {
11022  _has_bits_[0] |= 0x00000001u;
11023 }
11024 inline void ECSchemaOptionEntryProto::clear_has_key() {
11025  _has_bits_[0] &= ~0x00000001u;
11026 }
11027 inline void ECSchemaOptionEntryProto::clear_key() {
11028  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11029  clear_has_key();
11030 }
11031 inline const ::std::string& ECSchemaOptionEntryProto::key() const {
11032  // @@protoc_insertion_point(field_get:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11033  return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11034 }
11035 inline void ECSchemaOptionEntryProto::set_key(const ::std::string& value) {
11036  set_has_key();
11037  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11038  // @@protoc_insertion_point(field_set:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11039 }
11040 inline void ECSchemaOptionEntryProto::set_key(const char* value) {
11041  set_has_key();
11042  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11043  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11044 }
11045 inline void ECSchemaOptionEntryProto::set_key(const char* value, size_t size) {
11046  set_has_key();
11047  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11048  ::std::string(reinterpret_cast<const char*>(value), size));
11049  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11050 }
11051 inline ::std::string* ECSchemaOptionEntryProto::mutable_key() {
11052  set_has_key();
11053  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11054  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11055 }
11056 inline ::std::string* ECSchemaOptionEntryProto::release_key() {
11057  // @@protoc_insertion_point(field_release:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11058  clear_has_key();
11059  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11060 }
11061 inline void ECSchemaOptionEntryProto::set_allocated_key(::std::string* key) {
11062  if (key != NULL) {
11063  set_has_key();
11064  } else {
11065  clear_has_key();
11066  }
11067  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
11068  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ECSchemaOptionEntryProto.key)
11069 }
11070 
11071 // required string value = 2;
11072 inline bool ECSchemaOptionEntryProto::has_value() const {
11073  return (_has_bits_[0] & 0x00000002u) != 0;
11074 }
11075 inline void ECSchemaOptionEntryProto::set_has_value() {
11076  _has_bits_[0] |= 0x00000002u;
11077 }
11078 inline void ECSchemaOptionEntryProto::clear_has_value() {
11079  _has_bits_[0] &= ~0x00000002u;
11080 }
11081 inline void ECSchemaOptionEntryProto::clear_value() {
11082  value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11083  clear_has_value();
11084 }
11085 inline const ::std::string& ECSchemaOptionEntryProto::value() const {
11086  // @@protoc_insertion_point(field_get:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11087  return value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11088 }
11089 inline void ECSchemaOptionEntryProto::set_value(const ::std::string& value) {
11090  set_has_value();
11091  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11092  // @@protoc_insertion_point(field_set:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11093 }
11094 inline void ECSchemaOptionEntryProto::set_value(const char* value) {
11095  set_has_value();
11096  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11097  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11098 }
11099 inline void ECSchemaOptionEntryProto::set_value(const char* value, size_t size) {
11100  set_has_value();
11101  value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11102  ::std::string(reinterpret_cast<const char*>(value), size));
11103  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11104 }
11105 inline ::std::string* ECSchemaOptionEntryProto::mutable_value() {
11106  set_has_value();
11107  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11108  return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11109 }
11110 inline ::std::string* ECSchemaOptionEntryProto::release_value() {
11111  // @@protoc_insertion_point(field_release:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11112  clear_has_value();
11113  return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11114 }
11115 inline void ECSchemaOptionEntryProto::set_allocated_value(::std::string* value) {
11116  if (value != NULL) {
11117  set_has_value();
11118  } else {
11119  clear_has_value();
11120  }
11121  value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11122  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ECSchemaOptionEntryProto.value)
11123 }
11124 
11125 // -------------------------------------------------------------------
11126 
11127 // ECSchemaProto
11128 
11129 // required string codecName = 1;
11130 inline bool ECSchemaProto::has_codecname() const {
11131  return (_has_bits_[0] & 0x00000001u) != 0;
11132 }
11133 inline void ECSchemaProto::set_has_codecname() {
11134  _has_bits_[0] |= 0x00000001u;
11135 }
11136 inline void ECSchemaProto::clear_has_codecname() {
11137  _has_bits_[0] &= ~0x00000001u;
11138 }
11139 inline void ECSchemaProto::clear_codecname() {
11140  codecname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11141  clear_has_codecname();
11142 }
11143 inline const ::std::string& ECSchemaProto::codecname() const {
11144  // @@protoc_insertion_point(field_get:hadoop.hdfs.ECSchemaProto.codecName)
11145  return codecname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11146 }
11147 inline void ECSchemaProto::set_codecname(const ::std::string& value) {
11148  set_has_codecname();
11149  codecname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11150  // @@protoc_insertion_point(field_set:hadoop.hdfs.ECSchemaProto.codecName)
11151 }
11152 inline void ECSchemaProto::set_codecname(const char* value) {
11153  set_has_codecname();
11154  codecname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11155  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ECSchemaProto.codecName)
11156 }
11157 inline void ECSchemaProto::set_codecname(const char* value, size_t size) {
11158  set_has_codecname();
11159  codecname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11160  ::std::string(reinterpret_cast<const char*>(value), size));
11161  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ECSchemaProto.codecName)
11162 }
11163 inline ::std::string* ECSchemaProto::mutable_codecname() {
11164  set_has_codecname();
11165  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ECSchemaProto.codecName)
11166  return codecname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11167 }
11168 inline ::std::string* ECSchemaProto::release_codecname() {
11169  // @@protoc_insertion_point(field_release:hadoop.hdfs.ECSchemaProto.codecName)
11170  clear_has_codecname();
11171  return codecname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11172 }
11173 inline void ECSchemaProto::set_allocated_codecname(::std::string* codecname) {
11174  if (codecname != NULL) {
11175  set_has_codecname();
11176  } else {
11177  clear_has_codecname();
11178  }
11179  codecname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codecname);
11180  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ECSchemaProto.codecName)
11181 }
11182 
11183 // required uint32 dataUnits = 2;
11184 inline bool ECSchemaProto::has_dataunits() const {
11185  return (_has_bits_[0] & 0x00000002u) != 0;
11186 }
11187 inline void ECSchemaProto::set_has_dataunits() {
11188  _has_bits_[0] |= 0x00000002u;
11189 }
11190 inline void ECSchemaProto::clear_has_dataunits() {
11191  _has_bits_[0] &= ~0x00000002u;
11192 }
11193 inline void ECSchemaProto::clear_dataunits() {
11194  dataunits_ = 0u;
11195  clear_has_dataunits();
11196 }
11197 inline ::google::protobuf::uint32 ECSchemaProto::dataunits() const {
11198  // @@protoc_insertion_point(field_get:hadoop.hdfs.ECSchemaProto.dataUnits)
11199  return dataunits_;
11200 }
11201 inline void ECSchemaProto::set_dataunits(::google::protobuf::uint32 value) {
11202  set_has_dataunits();
11203  dataunits_ = value;
11204  // @@protoc_insertion_point(field_set:hadoop.hdfs.ECSchemaProto.dataUnits)
11205 }
11206 
11207 // required uint32 parityUnits = 3;
11208 inline bool ECSchemaProto::has_parityunits() const {
11209  return (_has_bits_[0] & 0x00000004u) != 0;
11210 }
11211 inline void ECSchemaProto::set_has_parityunits() {
11212  _has_bits_[0] |= 0x00000004u;
11213 }
11214 inline void ECSchemaProto::clear_has_parityunits() {
11215  _has_bits_[0] &= ~0x00000004u;
11216 }
11217 inline void ECSchemaProto::clear_parityunits() {
11218  parityunits_ = 0u;
11219  clear_has_parityunits();
11220 }
11221 inline ::google::protobuf::uint32 ECSchemaProto::parityunits() const {
11222  // @@protoc_insertion_point(field_get:hadoop.hdfs.ECSchemaProto.parityUnits)
11223  return parityunits_;
11224 }
11225 inline void ECSchemaProto::set_parityunits(::google::protobuf::uint32 value) {
11226  set_has_parityunits();
11227  parityunits_ = value;
11228  // @@protoc_insertion_point(field_set:hadoop.hdfs.ECSchemaProto.parityUnits)
11229 }
11230 
11231 // repeated .hadoop.hdfs.ECSchemaOptionEntryProto options = 4;
11232 inline int ECSchemaProto::options_size() const {
11233  return options_.size();
11234 }
11235 inline void ECSchemaProto::clear_options() {
11236  options_.Clear();
11237 }
11238 inline const ::hadoop::hdfs::ECSchemaOptionEntryProto& ECSchemaProto::options(int index) const {
11239  // @@protoc_insertion_point(field_get:hadoop.hdfs.ECSchemaProto.options)
11240  return options_.Get(index);
11241 }
11242 inline ::hadoop::hdfs::ECSchemaOptionEntryProto* ECSchemaProto::mutable_options(int index) {
11243  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ECSchemaProto.options)
11244  return options_.Mutable(index);
11245 }
11246 inline ::hadoop::hdfs::ECSchemaOptionEntryProto* ECSchemaProto::add_options() {
11247  // @@protoc_insertion_point(field_add:hadoop.hdfs.ECSchemaProto.options)
11248  return options_.Add();
11249 }
11250 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >*
11251 ECSchemaProto::mutable_options() {
11252  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.ECSchemaProto.options)
11253  return &options_;
11254 }
11255 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >&
11256 ECSchemaProto::options() const {
11257  // @@protoc_insertion_point(field_list:hadoop.hdfs.ECSchemaProto.options)
11258  return options_;
11259 }
11260 
11261 // -------------------------------------------------------------------
11262 
11263 // ErasureCodingPolicyProto
11264 
11265 // optional string name = 1;
11266 inline bool ErasureCodingPolicyProto::has_name() const {
11267  return (_has_bits_[0] & 0x00000001u) != 0;
11268 }
11269 inline void ErasureCodingPolicyProto::set_has_name() {
11270  _has_bits_[0] |= 0x00000001u;
11271 }
11272 inline void ErasureCodingPolicyProto::clear_has_name() {
11273  _has_bits_[0] &= ~0x00000001u;
11274 }
11275 inline void ErasureCodingPolicyProto::clear_name() {
11276  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11277  clear_has_name();
11278 }
11279 inline const ::std::string& ErasureCodingPolicyProto::name() const {
11280  // @@protoc_insertion_point(field_get:hadoop.hdfs.ErasureCodingPolicyProto.name)
11281  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11282 }
11283 inline void ErasureCodingPolicyProto::set_name(const ::std::string& value) {
11284  set_has_name();
11285  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11286  // @@protoc_insertion_point(field_set:hadoop.hdfs.ErasureCodingPolicyProto.name)
11287 }
11288 inline void ErasureCodingPolicyProto::set_name(const char* value) {
11289  set_has_name();
11290  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11291  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.ErasureCodingPolicyProto.name)
11292 }
11293 inline void ErasureCodingPolicyProto::set_name(const char* value, size_t size) {
11294  set_has_name();
11295  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11296  ::std::string(reinterpret_cast<const char*>(value), size));
11297  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.ErasureCodingPolicyProto.name)
11298 }
11299 inline ::std::string* ErasureCodingPolicyProto::mutable_name() {
11300  set_has_name();
11301  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ErasureCodingPolicyProto.name)
11302  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11303 }
11304 inline ::std::string* ErasureCodingPolicyProto::release_name() {
11305  // @@protoc_insertion_point(field_release:hadoop.hdfs.ErasureCodingPolicyProto.name)
11306  clear_has_name();
11307  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11308 }
11309 inline void ErasureCodingPolicyProto::set_allocated_name(::std::string* name) {
11310  if (name != NULL) {
11311  set_has_name();
11312  } else {
11313  clear_has_name();
11314  }
11315  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
11316  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ErasureCodingPolicyProto.name)
11317 }
11318 
11319 // optional .hadoop.hdfs.ECSchemaProto schema = 2;
11320 inline bool ErasureCodingPolicyProto::has_schema() const {
11321  return (_has_bits_[0] & 0x00000002u) != 0;
11322 }
11323 inline void ErasureCodingPolicyProto::set_has_schema() {
11324  _has_bits_[0] |= 0x00000002u;
11325 }
11326 inline void ErasureCodingPolicyProto::clear_has_schema() {
11327  _has_bits_[0] &= ~0x00000002u;
11328 }
11329 inline void ErasureCodingPolicyProto::clear_schema() {
11330  if (schema_ != NULL) schema_->::hadoop::hdfs::ECSchemaProto::Clear();
11331  clear_has_schema();
11332 }
11333 inline const ::hadoop::hdfs::ECSchemaProto& ErasureCodingPolicyProto::schema() const {
11334  // @@protoc_insertion_point(field_get:hadoop.hdfs.ErasureCodingPolicyProto.schema)
11335  return schema_ != NULL ? *schema_ : *default_instance_->schema_;
11336 }
11337 inline ::hadoop::hdfs::ECSchemaProto* ErasureCodingPolicyProto::mutable_schema() {
11338  set_has_schema();
11339  if (schema_ == NULL) {
11340  schema_ = new ::hadoop::hdfs::ECSchemaProto;
11341  }
11342  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ErasureCodingPolicyProto.schema)
11343  return schema_;
11344 }
11345 inline ::hadoop::hdfs::ECSchemaProto* ErasureCodingPolicyProto::release_schema() {
11346  // @@protoc_insertion_point(field_release:hadoop.hdfs.ErasureCodingPolicyProto.schema)
11347  clear_has_schema();
11348  ::hadoop::hdfs::ECSchemaProto* temp = schema_;
11349  schema_ = NULL;
11350  return temp;
11351 }
11352 inline void ErasureCodingPolicyProto::set_allocated_schema(::hadoop::hdfs::ECSchemaProto* schema) {
11353  delete schema_;
11354  schema_ = schema;
11355  if (schema) {
11356  set_has_schema();
11357  } else {
11358  clear_has_schema();
11359  }
11360  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ErasureCodingPolicyProto.schema)
11361 }
11362 
11363 // optional uint32 cellSize = 3;
11364 inline bool ErasureCodingPolicyProto::has_cellsize() const {
11365  return (_has_bits_[0] & 0x00000004u) != 0;
11366 }
11367 inline void ErasureCodingPolicyProto::set_has_cellsize() {
11368  _has_bits_[0] |= 0x00000004u;
11369 }
11370 inline void ErasureCodingPolicyProto::clear_has_cellsize() {
11371  _has_bits_[0] &= ~0x00000004u;
11372 }
11373 inline void ErasureCodingPolicyProto::clear_cellsize() {
11374  cellsize_ = 0u;
11375  clear_has_cellsize();
11376 }
11377 inline ::google::protobuf::uint32 ErasureCodingPolicyProto::cellsize() const {
11378  // @@protoc_insertion_point(field_get:hadoop.hdfs.ErasureCodingPolicyProto.cellSize)
11379  return cellsize_;
11380 }
11381 inline void ErasureCodingPolicyProto::set_cellsize(::google::protobuf::uint32 value) {
11382  set_has_cellsize();
11383  cellsize_ = value;
11384  // @@protoc_insertion_point(field_set:hadoop.hdfs.ErasureCodingPolicyProto.cellSize)
11385 }
11386 
11387 // required uint32 id = 4;
11388 inline bool ErasureCodingPolicyProto::has_id() const {
11389  return (_has_bits_[0] & 0x00000008u) != 0;
11390 }
11391 inline void ErasureCodingPolicyProto::set_has_id() {
11392  _has_bits_[0] |= 0x00000008u;
11393 }
11394 inline void ErasureCodingPolicyProto::clear_has_id() {
11395  _has_bits_[0] &= ~0x00000008u;
11396 }
11397 inline void ErasureCodingPolicyProto::clear_id() {
11398  id_ = 0u;
11399  clear_has_id();
11400 }
11401 inline ::google::protobuf::uint32 ErasureCodingPolicyProto::id() const {
11402  // @@protoc_insertion_point(field_get:hadoop.hdfs.ErasureCodingPolicyProto.id)
11403  return id_;
11404 }
11405 inline void ErasureCodingPolicyProto::set_id(::google::protobuf::uint32 value) {
11406  set_has_id();
11407  id_ = value;
11408  // @@protoc_insertion_point(field_set:hadoop.hdfs.ErasureCodingPolicyProto.id)
11409 }
11410 
11411 // optional .hadoop.hdfs.ErasureCodingPolicyState state = 5 [default = ENABLED];
11412 inline bool ErasureCodingPolicyProto::has_state() const {
11413  return (_has_bits_[0] & 0x00000010u) != 0;
11414 }
11415 inline void ErasureCodingPolicyProto::set_has_state() {
11416  _has_bits_[0] |= 0x00000010u;
11417 }
11418 inline void ErasureCodingPolicyProto::clear_has_state() {
11419  _has_bits_[0] &= ~0x00000010u;
11420 }
11421 inline void ErasureCodingPolicyProto::clear_state() {
11422  state_ = 2;
11423  clear_has_state();
11424 }
11425 inline ::hadoop::hdfs::ErasureCodingPolicyState ErasureCodingPolicyProto::state() const {
11426  // @@protoc_insertion_point(field_get:hadoop.hdfs.ErasureCodingPolicyProto.state)
11427  return static_cast< ::hadoop::hdfs::ErasureCodingPolicyState >(state_);
11428 }
11429 inline void ErasureCodingPolicyProto::set_state(::hadoop::hdfs::ErasureCodingPolicyState value) {
11430  assert(::hadoop::hdfs::ErasureCodingPolicyState_IsValid(value));
11431  set_has_state();
11432  state_ = value;
11433  // @@protoc_insertion_point(field_set:hadoop.hdfs.ErasureCodingPolicyProto.state)
11434 }
11435 
11436 // -------------------------------------------------------------------
11437 
11438 // HdfsFileStatusProto
11439 
11440 // required .hadoop.hdfs.HdfsFileStatusProto.FileType fileType = 1;
11441 inline bool HdfsFileStatusProto::has_filetype() const {
11442  return (_has_bits_[0] & 0x00000001u) != 0;
11443 }
11444 inline void HdfsFileStatusProto::set_has_filetype() {
11445  _has_bits_[0] |= 0x00000001u;
11446 }
11447 inline void HdfsFileStatusProto::clear_has_filetype() {
11448  _has_bits_[0] &= ~0x00000001u;
11449 }
11450 inline void HdfsFileStatusProto::clear_filetype() {
11451  filetype_ = 1;
11452  clear_has_filetype();
11453 }
11454 inline ::hadoop::hdfs::HdfsFileStatusProto_FileType HdfsFileStatusProto::filetype() const {
11455  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.fileType)
11456  return static_cast< ::hadoop::hdfs::HdfsFileStatusProto_FileType >(filetype_);
11457 }
11458 inline void HdfsFileStatusProto::set_filetype(::hadoop::hdfs::HdfsFileStatusProto_FileType value) {
11459  assert(::hadoop::hdfs::HdfsFileStatusProto_FileType_IsValid(value));
11460  set_has_filetype();
11461  filetype_ = value;
11462  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.fileType)
11463 }
11464 
11465 // required bytes path = 2;
11466 inline bool HdfsFileStatusProto::has_path() const {
11467  return (_has_bits_[0] & 0x00000002u) != 0;
11468 }
11469 inline void HdfsFileStatusProto::set_has_path() {
11470  _has_bits_[0] |= 0x00000002u;
11471 }
11472 inline void HdfsFileStatusProto::clear_has_path() {
11473  _has_bits_[0] &= ~0x00000002u;
11474 }
11475 inline void HdfsFileStatusProto::clear_path() {
11476  path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11477  clear_has_path();
11478 }
11479 inline const ::std::string& HdfsFileStatusProto::path() const {
11480  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.path)
11481  return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11482 }
11483 inline void HdfsFileStatusProto::set_path(const ::std::string& value) {
11484  set_has_path();
11485  path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11486  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.path)
11487 }
11488 inline void HdfsFileStatusProto::set_path(const char* value) {
11489  set_has_path();
11490  path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11491  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.HdfsFileStatusProto.path)
11492 }
11493 inline void HdfsFileStatusProto::set_path(const void* value, size_t size) {
11494  set_has_path();
11495  path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11496  ::std::string(reinterpret_cast<const char*>(value), size));
11497  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.HdfsFileStatusProto.path)
11498 }
11499 inline ::std::string* HdfsFileStatusProto::mutable_path() {
11500  set_has_path();
11501  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.path)
11502  return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11503 }
11504 inline ::std::string* HdfsFileStatusProto::release_path() {
11505  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.path)
11506  clear_has_path();
11507  return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11508 }
11509 inline void HdfsFileStatusProto::set_allocated_path(::std::string* path) {
11510  if (path != NULL) {
11511  set_has_path();
11512  } else {
11513  clear_has_path();
11514  }
11515  path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
11516  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.path)
11517 }
11518 
11519 // required uint64 length = 3;
11520 inline bool HdfsFileStatusProto::has_length() const {
11521  return (_has_bits_[0] & 0x00000004u) != 0;
11522 }
11523 inline void HdfsFileStatusProto::set_has_length() {
11524  _has_bits_[0] |= 0x00000004u;
11525 }
11526 inline void HdfsFileStatusProto::clear_has_length() {
11527  _has_bits_[0] &= ~0x00000004u;
11528 }
11529 inline void HdfsFileStatusProto::clear_length() {
11530  length_ = GOOGLE_ULONGLONG(0);
11531  clear_has_length();
11532 }
11533 inline ::google::protobuf::uint64 HdfsFileStatusProto::length() const {
11534  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.length)
11535  return length_;
11536 }
11537 inline void HdfsFileStatusProto::set_length(::google::protobuf::uint64 value) {
11538  set_has_length();
11539  length_ = value;
11540  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.length)
11541 }
11542 
11543 // required .hadoop.hdfs.FsPermissionProto permission = 4;
11544 inline bool HdfsFileStatusProto::has_permission() const {
11545  return (_has_bits_[0] & 0x00000008u) != 0;
11546 }
11547 inline void HdfsFileStatusProto::set_has_permission() {
11548  _has_bits_[0] |= 0x00000008u;
11549 }
11550 inline void HdfsFileStatusProto::clear_has_permission() {
11551  _has_bits_[0] &= ~0x00000008u;
11552 }
11553 inline void HdfsFileStatusProto::clear_permission() {
11554  if (permission_ != NULL) permission_->::hadoop::hdfs::FsPermissionProto::Clear();
11555  clear_has_permission();
11556 }
11557 inline const ::hadoop::hdfs::FsPermissionProto& HdfsFileStatusProto::permission() const {
11558  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.permission)
11559  return permission_ != NULL ? *permission_ : *default_instance_->permission_;
11560 }
11561 inline ::hadoop::hdfs::FsPermissionProto* HdfsFileStatusProto::mutable_permission() {
11562  set_has_permission();
11563  if (permission_ == NULL) {
11564  permission_ = new ::hadoop::hdfs::FsPermissionProto;
11565  }
11566  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.permission)
11567  return permission_;
11568 }
11569 inline ::hadoop::hdfs::FsPermissionProto* HdfsFileStatusProto::release_permission() {
11570  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.permission)
11571  clear_has_permission();
11572  ::hadoop::hdfs::FsPermissionProto* temp = permission_;
11573  permission_ = NULL;
11574  return temp;
11575 }
11576 inline void HdfsFileStatusProto::set_allocated_permission(::hadoop::hdfs::FsPermissionProto* permission) {
11577  delete permission_;
11578  permission_ = permission;
11579  if (permission) {
11580  set_has_permission();
11581  } else {
11582  clear_has_permission();
11583  }
11584  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.permission)
11585 }
11586 
11587 // required string owner = 5;
11588 inline bool HdfsFileStatusProto::has_owner() const {
11589  return (_has_bits_[0] & 0x00000010u) != 0;
11590 }
11591 inline void HdfsFileStatusProto::set_has_owner() {
11592  _has_bits_[0] |= 0x00000010u;
11593 }
11594 inline void HdfsFileStatusProto::clear_has_owner() {
11595  _has_bits_[0] &= ~0x00000010u;
11596 }
11597 inline void HdfsFileStatusProto::clear_owner() {
11598  owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11599  clear_has_owner();
11600 }
11601 inline const ::std::string& HdfsFileStatusProto::owner() const {
11602  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.owner)
11603  return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11604 }
11605 inline void HdfsFileStatusProto::set_owner(const ::std::string& value) {
11606  set_has_owner();
11607  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11608  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.owner)
11609 }
11610 inline void HdfsFileStatusProto::set_owner(const char* value) {
11611  set_has_owner();
11612  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11613  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.HdfsFileStatusProto.owner)
11614 }
11615 inline void HdfsFileStatusProto::set_owner(const char* value, size_t size) {
11616  set_has_owner();
11617  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11618  ::std::string(reinterpret_cast<const char*>(value), size));
11619  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.HdfsFileStatusProto.owner)
11620 }
11621 inline ::std::string* HdfsFileStatusProto::mutable_owner() {
11622  set_has_owner();
11623  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.owner)
11624  return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11625 }
11626 inline ::std::string* HdfsFileStatusProto::release_owner() {
11627  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.owner)
11628  clear_has_owner();
11629  return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11630 }
11631 inline void HdfsFileStatusProto::set_allocated_owner(::std::string* owner) {
11632  if (owner != NULL) {
11633  set_has_owner();
11634  } else {
11635  clear_has_owner();
11636  }
11637  owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
11638  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.owner)
11639 }
11640 
11641 // required string group = 6;
11642 inline bool HdfsFileStatusProto::has_group() const {
11643  return (_has_bits_[0] & 0x00000020u) != 0;
11644 }
11645 inline void HdfsFileStatusProto::set_has_group() {
11646  _has_bits_[0] |= 0x00000020u;
11647 }
11648 inline void HdfsFileStatusProto::clear_has_group() {
11649  _has_bits_[0] &= ~0x00000020u;
11650 }
11651 inline void HdfsFileStatusProto::clear_group() {
11652  group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11653  clear_has_group();
11654 }
11655 inline const ::std::string& HdfsFileStatusProto::group() const {
11656  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.group)
11657  return group_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11658 }
11659 inline void HdfsFileStatusProto::set_group(const ::std::string& value) {
11660  set_has_group();
11661  group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11662  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.group)
11663 }
11664 inline void HdfsFileStatusProto::set_group(const char* value) {
11665  set_has_group();
11666  group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11667  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.HdfsFileStatusProto.group)
11668 }
11669 inline void HdfsFileStatusProto::set_group(const char* value, size_t size) {
11670  set_has_group();
11671  group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11672  ::std::string(reinterpret_cast<const char*>(value), size));
11673  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.HdfsFileStatusProto.group)
11674 }
11675 inline ::std::string* HdfsFileStatusProto::mutable_group() {
11676  set_has_group();
11677  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.group)
11678  return group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11679 }
11680 inline ::std::string* HdfsFileStatusProto::release_group() {
11681  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.group)
11682  clear_has_group();
11683  return group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11684 }
11685 inline void HdfsFileStatusProto::set_allocated_group(::std::string* group) {
11686  if (group != NULL) {
11687  set_has_group();
11688  } else {
11689  clear_has_group();
11690  }
11691  group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group);
11692  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.group)
11693 }
11694 
11695 // required uint64 modification_time = 7;
11696 inline bool HdfsFileStatusProto::has_modification_time() const {
11697  return (_has_bits_[0] & 0x00000040u) != 0;
11698 }
11699 inline void HdfsFileStatusProto::set_has_modification_time() {
11700  _has_bits_[0] |= 0x00000040u;
11701 }
11702 inline void HdfsFileStatusProto::clear_has_modification_time() {
11703  _has_bits_[0] &= ~0x00000040u;
11704 }
11705 inline void HdfsFileStatusProto::clear_modification_time() {
11706  modification_time_ = GOOGLE_ULONGLONG(0);
11707  clear_has_modification_time();
11708 }
11709 inline ::google::protobuf::uint64 HdfsFileStatusProto::modification_time() const {
11710  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.modification_time)
11711  return modification_time_;
11712 }
11713 inline void HdfsFileStatusProto::set_modification_time(::google::protobuf::uint64 value) {
11714  set_has_modification_time();
11715  modification_time_ = value;
11716  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.modification_time)
11717 }
11718 
11719 // required uint64 access_time = 8;
11720 inline bool HdfsFileStatusProto::has_access_time() const {
11721  return (_has_bits_[0] & 0x00000080u) != 0;
11722 }
11723 inline void HdfsFileStatusProto::set_has_access_time() {
11724  _has_bits_[0] |= 0x00000080u;
11725 }
11726 inline void HdfsFileStatusProto::clear_has_access_time() {
11727  _has_bits_[0] &= ~0x00000080u;
11728 }
11729 inline void HdfsFileStatusProto::clear_access_time() {
11730  access_time_ = GOOGLE_ULONGLONG(0);
11731  clear_has_access_time();
11732 }
11733 inline ::google::protobuf::uint64 HdfsFileStatusProto::access_time() const {
11734  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.access_time)
11735  return access_time_;
11736 }
11737 inline void HdfsFileStatusProto::set_access_time(::google::protobuf::uint64 value) {
11738  set_has_access_time();
11739  access_time_ = value;
11740  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.access_time)
11741 }
11742 
11743 // optional bytes symlink = 9;
11744 inline bool HdfsFileStatusProto::has_symlink() const {
11745  return (_has_bits_[0] & 0x00000100u) != 0;
11746 }
11747 inline void HdfsFileStatusProto::set_has_symlink() {
11748  _has_bits_[0] |= 0x00000100u;
11749 }
11750 inline void HdfsFileStatusProto::clear_has_symlink() {
11751  _has_bits_[0] &= ~0x00000100u;
11752 }
11753 inline void HdfsFileStatusProto::clear_symlink() {
11754  symlink_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11755  clear_has_symlink();
11756 }
11757 inline const ::std::string& HdfsFileStatusProto::symlink() const {
11758  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.symlink)
11759  return symlink_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11760 }
11761 inline void HdfsFileStatusProto::set_symlink(const ::std::string& value) {
11762  set_has_symlink();
11763  symlink_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11764  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.symlink)
11765 }
11766 inline void HdfsFileStatusProto::set_symlink(const char* value) {
11767  set_has_symlink();
11768  symlink_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11769  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.HdfsFileStatusProto.symlink)
11770 }
11771 inline void HdfsFileStatusProto::set_symlink(const void* value, size_t size) {
11772  set_has_symlink();
11773  symlink_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11774  ::std::string(reinterpret_cast<const char*>(value), size));
11775  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.HdfsFileStatusProto.symlink)
11776 }
11777 inline ::std::string* HdfsFileStatusProto::mutable_symlink() {
11778  set_has_symlink();
11779  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.symlink)
11780  return symlink_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11781 }
11782 inline ::std::string* HdfsFileStatusProto::release_symlink() {
11783  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.symlink)
11784  clear_has_symlink();
11785  return symlink_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11786 }
11787 inline void HdfsFileStatusProto::set_allocated_symlink(::std::string* symlink) {
11788  if (symlink != NULL) {
11789  set_has_symlink();
11790  } else {
11791  clear_has_symlink();
11792  }
11793  symlink_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), symlink);
11794  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.symlink)
11795 }
11796 
11797 // optional uint32 block_replication = 10 [default = 0];
11798 inline bool HdfsFileStatusProto::has_block_replication() const {
11799  return (_has_bits_[0] & 0x00000200u) != 0;
11800 }
11801 inline void HdfsFileStatusProto::set_has_block_replication() {
11802  _has_bits_[0] |= 0x00000200u;
11803 }
11804 inline void HdfsFileStatusProto::clear_has_block_replication() {
11805  _has_bits_[0] &= ~0x00000200u;
11806 }
11807 inline void HdfsFileStatusProto::clear_block_replication() {
11808  block_replication_ = 0u;
11809  clear_has_block_replication();
11810 }
11811 inline ::google::protobuf::uint32 HdfsFileStatusProto::block_replication() const {
11812  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.block_replication)
11813  return block_replication_;
11814 }
11815 inline void HdfsFileStatusProto::set_block_replication(::google::protobuf::uint32 value) {
11816  set_has_block_replication();
11817  block_replication_ = value;
11818  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.block_replication)
11819 }
11820 
11821 // optional uint64 blocksize = 11 [default = 0];
11822 inline bool HdfsFileStatusProto::has_blocksize() const {
11823  return (_has_bits_[0] & 0x00000400u) != 0;
11824 }
11825 inline void HdfsFileStatusProto::set_has_blocksize() {
11826  _has_bits_[0] |= 0x00000400u;
11827 }
11828 inline void HdfsFileStatusProto::clear_has_blocksize() {
11829  _has_bits_[0] &= ~0x00000400u;
11830 }
11831 inline void HdfsFileStatusProto::clear_blocksize() {
11832  blocksize_ = GOOGLE_ULONGLONG(0);
11833  clear_has_blocksize();
11834 }
11835 inline ::google::protobuf::uint64 HdfsFileStatusProto::blocksize() const {
11836  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.blocksize)
11837  return blocksize_;
11838 }
11839 inline void HdfsFileStatusProto::set_blocksize(::google::protobuf::uint64 value) {
11840  set_has_blocksize();
11841  blocksize_ = value;
11842  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.blocksize)
11843 }
11844 
11845 // optional .hadoop.hdfs.LocatedBlocksProto locations = 12;
11846 inline bool HdfsFileStatusProto::has_locations() const {
11847  return (_has_bits_[0] & 0x00000800u) != 0;
11848 }
11849 inline void HdfsFileStatusProto::set_has_locations() {
11850  _has_bits_[0] |= 0x00000800u;
11851 }
11852 inline void HdfsFileStatusProto::clear_has_locations() {
11853  _has_bits_[0] &= ~0x00000800u;
11854 }
11855 inline void HdfsFileStatusProto::clear_locations() {
11856  if (locations_ != NULL) locations_->::hadoop::hdfs::LocatedBlocksProto::Clear();
11857  clear_has_locations();
11858 }
11859 inline const ::hadoop::hdfs::LocatedBlocksProto& HdfsFileStatusProto::locations() const {
11860  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.locations)
11861  return locations_ != NULL ? *locations_ : *default_instance_->locations_;
11862 }
11863 inline ::hadoop::hdfs::LocatedBlocksProto* HdfsFileStatusProto::mutable_locations() {
11864  set_has_locations();
11865  if (locations_ == NULL) {
11866  locations_ = new ::hadoop::hdfs::LocatedBlocksProto;
11867  }
11868  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.locations)
11869  return locations_;
11870 }
11871 inline ::hadoop::hdfs::LocatedBlocksProto* HdfsFileStatusProto::release_locations() {
11872  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.locations)
11873  clear_has_locations();
11874  ::hadoop::hdfs::LocatedBlocksProto* temp = locations_;
11875  locations_ = NULL;
11876  return temp;
11877 }
11878 inline void HdfsFileStatusProto::set_allocated_locations(::hadoop::hdfs::LocatedBlocksProto* locations) {
11879  delete locations_;
11880  locations_ = locations;
11881  if (locations) {
11882  set_has_locations();
11883  } else {
11884  clear_has_locations();
11885  }
11886  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.locations)
11887 }
11888 
11889 // optional uint64 fileId = 13 [default = 0];
11890 inline bool HdfsFileStatusProto::has_fileid() const {
11891  return (_has_bits_[0] & 0x00001000u) != 0;
11892 }
11893 inline void HdfsFileStatusProto::set_has_fileid() {
11894  _has_bits_[0] |= 0x00001000u;
11895 }
11896 inline void HdfsFileStatusProto::clear_has_fileid() {
11897  _has_bits_[0] &= ~0x00001000u;
11898 }
11899 inline void HdfsFileStatusProto::clear_fileid() {
11900  fileid_ = GOOGLE_ULONGLONG(0);
11901  clear_has_fileid();
11902 }
11903 inline ::google::protobuf::uint64 HdfsFileStatusProto::fileid() const {
11904  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.fileId)
11905  return fileid_;
11906 }
11907 inline void HdfsFileStatusProto::set_fileid(::google::protobuf::uint64 value) {
11908  set_has_fileid();
11909  fileid_ = value;
11910  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.fileId)
11911 }
11912 
11913 // optional int32 childrenNum = 14 [default = -1];
11914 inline bool HdfsFileStatusProto::has_childrennum() const {
11915  return (_has_bits_[0] & 0x00002000u) != 0;
11916 }
11917 inline void HdfsFileStatusProto::set_has_childrennum() {
11918  _has_bits_[0] |= 0x00002000u;
11919 }
11920 inline void HdfsFileStatusProto::clear_has_childrennum() {
11921  _has_bits_[0] &= ~0x00002000u;
11922 }
11923 inline void HdfsFileStatusProto::clear_childrennum() {
11924  childrennum_ = -1;
11925  clear_has_childrennum();
11926 }
11927 inline ::google::protobuf::int32 HdfsFileStatusProto::childrennum() const {
11928  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.childrenNum)
11929  return childrennum_;
11930 }
11931 inline void HdfsFileStatusProto::set_childrennum(::google::protobuf::int32 value) {
11932  set_has_childrennum();
11933  childrennum_ = value;
11934  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.childrenNum)
11935 }
11936 
11937 // optional .hadoop.hdfs.FileEncryptionInfoProto fileEncryptionInfo = 15;
11938 inline bool HdfsFileStatusProto::has_fileencryptioninfo() const {
11939  return (_has_bits_[0] & 0x00004000u) != 0;
11940 }
11941 inline void HdfsFileStatusProto::set_has_fileencryptioninfo() {
11942  _has_bits_[0] |= 0x00004000u;
11943 }
11944 inline void HdfsFileStatusProto::clear_has_fileencryptioninfo() {
11945  _has_bits_[0] &= ~0x00004000u;
11946 }
11947 inline void HdfsFileStatusProto::clear_fileencryptioninfo() {
11948  if (fileencryptioninfo_ != NULL) fileencryptioninfo_->::hadoop::hdfs::FileEncryptionInfoProto::Clear();
11949  clear_has_fileencryptioninfo();
11950 }
11951 inline const ::hadoop::hdfs::FileEncryptionInfoProto& HdfsFileStatusProto::fileencryptioninfo() const {
11952  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.fileEncryptionInfo)
11953  return fileencryptioninfo_ != NULL ? *fileencryptioninfo_ : *default_instance_->fileencryptioninfo_;
11954 }
11955 inline ::hadoop::hdfs::FileEncryptionInfoProto* HdfsFileStatusProto::mutable_fileencryptioninfo() {
11956  set_has_fileencryptioninfo();
11957  if (fileencryptioninfo_ == NULL) {
11958  fileencryptioninfo_ = new ::hadoop::hdfs::FileEncryptionInfoProto;
11959  }
11960  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.fileEncryptionInfo)
11961  return fileencryptioninfo_;
11962 }
11963 inline ::hadoop::hdfs::FileEncryptionInfoProto* HdfsFileStatusProto::release_fileencryptioninfo() {
11964  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.fileEncryptionInfo)
11965  clear_has_fileencryptioninfo();
11966  ::hadoop::hdfs::FileEncryptionInfoProto* temp = fileencryptioninfo_;
11967  fileencryptioninfo_ = NULL;
11968  return temp;
11969 }
11970 inline void HdfsFileStatusProto::set_allocated_fileencryptioninfo(::hadoop::hdfs::FileEncryptionInfoProto* fileencryptioninfo) {
11971  delete fileencryptioninfo_;
11972  fileencryptioninfo_ = fileencryptioninfo;
11973  if (fileencryptioninfo) {
11974  set_has_fileencryptioninfo();
11975  } else {
11976  clear_has_fileencryptioninfo();
11977  }
11978  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.fileEncryptionInfo)
11979 }
11980 
11981 // optional uint32 storagePolicy = 16 [default = 0];
11982 inline bool HdfsFileStatusProto::has_storagepolicy() const {
11983  return (_has_bits_[0] & 0x00008000u) != 0;
11984 }
11985 inline void HdfsFileStatusProto::set_has_storagepolicy() {
11986  _has_bits_[0] |= 0x00008000u;
11987 }
11988 inline void HdfsFileStatusProto::clear_has_storagepolicy() {
11989  _has_bits_[0] &= ~0x00008000u;
11990 }
11991 inline void HdfsFileStatusProto::clear_storagepolicy() {
11992  storagepolicy_ = 0u;
11993  clear_has_storagepolicy();
11994 }
11995 inline ::google::protobuf::uint32 HdfsFileStatusProto::storagepolicy() const {
11996  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.storagePolicy)
11997  return storagepolicy_;
11998 }
11999 inline void HdfsFileStatusProto::set_storagepolicy(::google::protobuf::uint32 value) {
12000  set_has_storagepolicy();
12001  storagepolicy_ = value;
12002  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.storagePolicy)
12003 }
12004 
12005 // optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 17;
12006 inline bool HdfsFileStatusProto::has_ecpolicy() const {
12007  return (_has_bits_[0] & 0x00010000u) != 0;
12008 }
12009 inline void HdfsFileStatusProto::set_has_ecpolicy() {
12010  _has_bits_[0] |= 0x00010000u;
12011 }
12012 inline void HdfsFileStatusProto::clear_has_ecpolicy() {
12013  _has_bits_[0] &= ~0x00010000u;
12014 }
12015 inline void HdfsFileStatusProto::clear_ecpolicy() {
12016  if (ecpolicy_ != NULL) ecpolicy_->::hadoop::hdfs::ErasureCodingPolicyProto::Clear();
12017  clear_has_ecpolicy();
12018 }
12019 inline const ::hadoop::hdfs::ErasureCodingPolicyProto& HdfsFileStatusProto::ecpolicy() const {
12020  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.ecPolicy)
12021  return ecpolicy_ != NULL ? *ecpolicy_ : *default_instance_->ecpolicy_;
12022 }
12023 inline ::hadoop::hdfs::ErasureCodingPolicyProto* HdfsFileStatusProto::mutable_ecpolicy() {
12024  set_has_ecpolicy();
12025  if (ecpolicy_ == NULL) {
12026  ecpolicy_ = new ::hadoop::hdfs::ErasureCodingPolicyProto;
12027  }
12028  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.HdfsFileStatusProto.ecPolicy)
12029  return ecpolicy_;
12030 }
12031 inline ::hadoop::hdfs::ErasureCodingPolicyProto* HdfsFileStatusProto::release_ecpolicy() {
12032  // @@protoc_insertion_point(field_release:hadoop.hdfs.HdfsFileStatusProto.ecPolicy)
12033  clear_has_ecpolicy();
12034  ::hadoop::hdfs::ErasureCodingPolicyProto* temp = ecpolicy_;
12035  ecpolicy_ = NULL;
12036  return temp;
12037 }
12038 inline void HdfsFileStatusProto::set_allocated_ecpolicy(::hadoop::hdfs::ErasureCodingPolicyProto* ecpolicy) {
12039  delete ecpolicy_;
12040  ecpolicy_ = ecpolicy;
12041  if (ecpolicy) {
12042  set_has_ecpolicy();
12043  } else {
12044  clear_has_ecpolicy();
12045  }
12046  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.HdfsFileStatusProto.ecPolicy)
12047 }
12048 
12049 // optional uint32 flags = 18 [default = 0];
12050 inline bool HdfsFileStatusProto::has_flags() const {
12051  return (_has_bits_[0] & 0x00020000u) != 0;
12052 }
12053 inline void HdfsFileStatusProto::set_has_flags() {
12054  _has_bits_[0] |= 0x00020000u;
12055 }
12056 inline void HdfsFileStatusProto::clear_has_flags() {
12057  _has_bits_[0] &= ~0x00020000u;
12058 }
12059 inline void HdfsFileStatusProto::clear_flags() {
12060  flags_ = 0u;
12061  clear_has_flags();
12062 }
12063 inline ::google::protobuf::uint32 HdfsFileStatusProto::flags() const {
12064  // @@protoc_insertion_point(field_get:hadoop.hdfs.HdfsFileStatusProto.flags)
12065  return flags_;
12066 }
12067 inline void HdfsFileStatusProto::set_flags(::google::protobuf::uint32 value) {
12068  set_has_flags();
12069  flags_ = value;
12070  // @@protoc_insertion_point(field_set:hadoop.hdfs.HdfsFileStatusProto.flags)
12071 }
12072 
12073 // -------------------------------------------------------------------
12074 
12075 // FsServerDefaultsProto
12076 
12077 // required uint64 blockSize = 1;
12078 inline bool FsServerDefaultsProto::has_blocksize() const {
12079  return (_has_bits_[0] & 0x00000001u) != 0;
12080 }
12081 inline void FsServerDefaultsProto::set_has_blocksize() {
12082  _has_bits_[0] |= 0x00000001u;
12083 }
12084 inline void FsServerDefaultsProto::clear_has_blocksize() {
12085  _has_bits_[0] &= ~0x00000001u;
12086 }
12087 inline void FsServerDefaultsProto::clear_blocksize() {
12088  blocksize_ = GOOGLE_ULONGLONG(0);
12089  clear_has_blocksize();
12090 }
12091 inline ::google::protobuf::uint64 FsServerDefaultsProto::blocksize() const {
12092  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.blockSize)
12093  return blocksize_;
12094 }
12095 inline void FsServerDefaultsProto::set_blocksize(::google::protobuf::uint64 value) {
12096  set_has_blocksize();
12097  blocksize_ = value;
12098  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.blockSize)
12099 }
12100 
12101 // required uint32 bytesPerChecksum = 2;
12102 inline bool FsServerDefaultsProto::has_bytesperchecksum() const {
12103  return (_has_bits_[0] & 0x00000002u) != 0;
12104 }
12105 inline void FsServerDefaultsProto::set_has_bytesperchecksum() {
12106  _has_bits_[0] |= 0x00000002u;
12107 }
12108 inline void FsServerDefaultsProto::clear_has_bytesperchecksum() {
12109  _has_bits_[0] &= ~0x00000002u;
12110 }
12111 inline void FsServerDefaultsProto::clear_bytesperchecksum() {
12112  bytesperchecksum_ = 0u;
12113  clear_has_bytesperchecksum();
12114 }
12115 inline ::google::protobuf::uint32 FsServerDefaultsProto::bytesperchecksum() const {
12116  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.bytesPerChecksum)
12117  return bytesperchecksum_;
12118 }
12119 inline void FsServerDefaultsProto::set_bytesperchecksum(::google::protobuf::uint32 value) {
12120  set_has_bytesperchecksum();
12121  bytesperchecksum_ = value;
12122  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.bytesPerChecksum)
12123 }
12124 
12125 // required uint32 writePacketSize = 3;
12126 inline bool FsServerDefaultsProto::has_writepacketsize() const {
12127  return (_has_bits_[0] & 0x00000004u) != 0;
12128 }
12129 inline void FsServerDefaultsProto::set_has_writepacketsize() {
12130  _has_bits_[0] |= 0x00000004u;
12131 }
12132 inline void FsServerDefaultsProto::clear_has_writepacketsize() {
12133  _has_bits_[0] &= ~0x00000004u;
12134 }
12135 inline void FsServerDefaultsProto::clear_writepacketsize() {
12136  writepacketsize_ = 0u;
12137  clear_has_writepacketsize();
12138 }
12139 inline ::google::protobuf::uint32 FsServerDefaultsProto::writepacketsize() const {
12140  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.writePacketSize)
12141  return writepacketsize_;
12142 }
12143 inline void FsServerDefaultsProto::set_writepacketsize(::google::protobuf::uint32 value) {
12144  set_has_writepacketsize();
12145  writepacketsize_ = value;
12146  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.writePacketSize)
12147 }
12148 
12149 // required uint32 replication = 4;
12150 inline bool FsServerDefaultsProto::has_replication() const {
12151  return (_has_bits_[0] & 0x00000008u) != 0;
12152 }
12153 inline void FsServerDefaultsProto::set_has_replication() {
12154  _has_bits_[0] |= 0x00000008u;
12155 }
12156 inline void FsServerDefaultsProto::clear_has_replication() {
12157  _has_bits_[0] &= ~0x00000008u;
12158 }
12159 inline void FsServerDefaultsProto::clear_replication() {
12160  replication_ = 0u;
12161  clear_has_replication();
12162 }
12163 inline ::google::protobuf::uint32 FsServerDefaultsProto::replication() const {
12164  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.replication)
12165  return replication_;
12166 }
12167 inline void FsServerDefaultsProto::set_replication(::google::protobuf::uint32 value) {
12168  set_has_replication();
12169  replication_ = value;
12170  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.replication)
12171 }
12172 
12173 // required uint32 fileBufferSize = 5;
12174 inline bool FsServerDefaultsProto::has_filebuffersize() const {
12175  return (_has_bits_[0] & 0x00000010u) != 0;
12176 }
12177 inline void FsServerDefaultsProto::set_has_filebuffersize() {
12178  _has_bits_[0] |= 0x00000010u;
12179 }
12180 inline void FsServerDefaultsProto::clear_has_filebuffersize() {
12181  _has_bits_[0] &= ~0x00000010u;
12182 }
12183 inline void FsServerDefaultsProto::clear_filebuffersize() {
12184  filebuffersize_ = 0u;
12185  clear_has_filebuffersize();
12186 }
12187 inline ::google::protobuf::uint32 FsServerDefaultsProto::filebuffersize() const {
12188  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.fileBufferSize)
12189  return filebuffersize_;
12190 }
12191 inline void FsServerDefaultsProto::set_filebuffersize(::google::protobuf::uint32 value) {
12192  set_has_filebuffersize();
12193  filebuffersize_ = value;
12194  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.fileBufferSize)
12195 }
12196 
12197 // optional bool encryptDataTransfer = 6 [default = false];
12198 inline bool FsServerDefaultsProto::has_encryptdatatransfer() const {
12199  return (_has_bits_[0] & 0x00000020u) != 0;
12200 }
12201 inline void FsServerDefaultsProto::set_has_encryptdatatransfer() {
12202  _has_bits_[0] |= 0x00000020u;
12203 }
12204 inline void FsServerDefaultsProto::clear_has_encryptdatatransfer() {
12205  _has_bits_[0] &= ~0x00000020u;
12206 }
12207 inline void FsServerDefaultsProto::clear_encryptdatatransfer() {
12208  encryptdatatransfer_ = false;
12209  clear_has_encryptdatatransfer();
12210 }
12211 inline bool FsServerDefaultsProto::encryptdatatransfer() const {
12212  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.encryptDataTransfer)
12213  return encryptdatatransfer_;
12214 }
12215 inline void FsServerDefaultsProto::set_encryptdatatransfer(bool value) {
12216  set_has_encryptdatatransfer();
12217  encryptdatatransfer_ = value;
12218  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.encryptDataTransfer)
12219 }
12220 
12221 // optional uint64 trashInterval = 7 [default = 0];
12222 inline bool FsServerDefaultsProto::has_trashinterval() const {
12223  return (_has_bits_[0] & 0x00000040u) != 0;
12224 }
12225 inline void FsServerDefaultsProto::set_has_trashinterval() {
12226  _has_bits_[0] |= 0x00000040u;
12227 }
12228 inline void FsServerDefaultsProto::clear_has_trashinterval() {
12229  _has_bits_[0] &= ~0x00000040u;
12230 }
12231 inline void FsServerDefaultsProto::clear_trashinterval() {
12232  trashinterval_ = GOOGLE_ULONGLONG(0);
12233  clear_has_trashinterval();
12234 }
12235 inline ::google::protobuf::uint64 FsServerDefaultsProto::trashinterval() const {
12236  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.trashInterval)
12237  return trashinterval_;
12238 }
12239 inline void FsServerDefaultsProto::set_trashinterval(::google::protobuf::uint64 value) {
12240  set_has_trashinterval();
12241  trashinterval_ = value;
12242  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.trashInterval)
12243 }
12244 
12245 // optional .hadoop.hdfs.ChecksumTypeProto checksumType = 8 [default = CHECKSUM_CRC32];
12246 inline bool FsServerDefaultsProto::has_checksumtype() const {
12247  return (_has_bits_[0] & 0x00000080u) != 0;
12248 }
12249 inline void FsServerDefaultsProto::set_has_checksumtype() {
12250  _has_bits_[0] |= 0x00000080u;
12251 }
12252 inline void FsServerDefaultsProto::clear_has_checksumtype() {
12253  _has_bits_[0] &= ~0x00000080u;
12254 }
12255 inline void FsServerDefaultsProto::clear_checksumtype() {
12256  checksumtype_ = 1;
12257  clear_has_checksumtype();
12258 }
12259 inline ::hadoop::hdfs::ChecksumTypeProto FsServerDefaultsProto::checksumtype() const {
12260  // @@protoc_insertion_point(field_get:hadoop.hdfs.FsServerDefaultsProto.checksumType)
12261  return static_cast< ::hadoop::hdfs::ChecksumTypeProto >(checksumtype_);
12262 }
12263 inline void FsServerDefaultsProto::set_checksumtype(::hadoop::hdfs::ChecksumTypeProto value) {
12264  assert(::hadoop::hdfs::ChecksumTypeProto_IsValid(value));
12265  set_has_checksumtype();
12266  checksumtype_ = value;
12267  // @@protoc_insertion_point(field_set:hadoop.hdfs.FsServerDefaultsProto.checksumType)
12268 }
12269 
12270 // -------------------------------------------------------------------
12271 
12272 // DirectoryListingProto
12273 
12274 // repeated .hadoop.hdfs.HdfsFileStatusProto partialListing = 1;
12275 inline int DirectoryListingProto::partiallisting_size() const {
12276  return partiallisting_.size();
12277 }
12278 inline void DirectoryListingProto::clear_partiallisting() {
12279  partiallisting_.Clear();
12280 }
12281 inline const ::hadoop::hdfs::HdfsFileStatusProto& DirectoryListingProto::partiallisting(int index) const {
12282  // @@protoc_insertion_point(field_get:hadoop.hdfs.DirectoryListingProto.partialListing)
12283  return partiallisting_.Get(index);
12284 }
12285 inline ::hadoop::hdfs::HdfsFileStatusProto* DirectoryListingProto::mutable_partiallisting(int index) {
12286  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.DirectoryListingProto.partialListing)
12287  return partiallisting_.Mutable(index);
12288 }
12289 inline ::hadoop::hdfs::HdfsFileStatusProto* DirectoryListingProto::add_partiallisting() {
12290  // @@protoc_insertion_point(field_add:hadoop.hdfs.DirectoryListingProto.partialListing)
12291  return partiallisting_.Add();
12292 }
12293 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >*
12294 DirectoryListingProto::mutable_partiallisting() {
12295  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.DirectoryListingProto.partialListing)
12296  return &partiallisting_;
12297 }
12298 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >&
12299 DirectoryListingProto::partiallisting() const {
12300  // @@protoc_insertion_point(field_list:hadoop.hdfs.DirectoryListingProto.partialListing)
12301  return partiallisting_;
12302 }
12303 
12304 // required uint32 remainingEntries = 2;
12305 inline bool DirectoryListingProto::has_remainingentries() const {
12306  return (_has_bits_[0] & 0x00000002u) != 0;
12307 }
12308 inline void DirectoryListingProto::set_has_remainingentries() {
12309  _has_bits_[0] |= 0x00000002u;
12310 }
12311 inline void DirectoryListingProto::clear_has_remainingentries() {
12312  _has_bits_[0] &= ~0x00000002u;
12313 }
12314 inline void DirectoryListingProto::clear_remainingentries() {
12315  remainingentries_ = 0u;
12316  clear_has_remainingentries();
12317 }
12318 inline ::google::protobuf::uint32 DirectoryListingProto::remainingentries() const {
12319  // @@protoc_insertion_point(field_get:hadoop.hdfs.DirectoryListingProto.remainingEntries)
12320  return remainingentries_;
12321 }
12322 inline void DirectoryListingProto::set_remainingentries(::google::protobuf::uint32 value) {
12323  set_has_remainingentries();
12324  remainingentries_ = value;
12325  // @@protoc_insertion_point(field_set:hadoop.hdfs.DirectoryListingProto.remainingEntries)
12326 }
12327 
12328 // -------------------------------------------------------------------
12329 
12330 // SnapshottableDirectoryStatusProto
12331 
12332 // required .hadoop.hdfs.HdfsFileStatusProto dirStatus = 1;
12333 inline bool SnapshottableDirectoryStatusProto::has_dirstatus() const {
12334  return (_has_bits_[0] & 0x00000001u) != 0;
12335 }
12336 inline void SnapshottableDirectoryStatusProto::set_has_dirstatus() {
12337  _has_bits_[0] |= 0x00000001u;
12338 }
12339 inline void SnapshottableDirectoryStatusProto::clear_has_dirstatus() {
12340  _has_bits_[0] &= ~0x00000001u;
12341 }
12342 inline void SnapshottableDirectoryStatusProto::clear_dirstatus() {
12343  if (dirstatus_ != NULL) dirstatus_->::hadoop::hdfs::HdfsFileStatusProto::Clear();
12344  clear_has_dirstatus();
12345 }
12346 inline const ::hadoop::hdfs::HdfsFileStatusProto& SnapshottableDirectoryStatusProto::dirstatus() const {
12347  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshottableDirectoryStatusProto.dirStatus)
12348  return dirstatus_ != NULL ? *dirstatus_ : *default_instance_->dirstatus_;
12349 }
12350 inline ::hadoop::hdfs::HdfsFileStatusProto* SnapshottableDirectoryStatusProto::mutable_dirstatus() {
12351  set_has_dirstatus();
12352  if (dirstatus_ == NULL) {
12353  dirstatus_ = new ::hadoop::hdfs::HdfsFileStatusProto;
12354  }
12355  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshottableDirectoryStatusProto.dirStatus)
12356  return dirstatus_;
12357 }
12358 inline ::hadoop::hdfs::HdfsFileStatusProto* SnapshottableDirectoryStatusProto::release_dirstatus() {
12359  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshottableDirectoryStatusProto.dirStatus)
12360  clear_has_dirstatus();
12361  ::hadoop::hdfs::HdfsFileStatusProto* temp = dirstatus_;
12362  dirstatus_ = NULL;
12363  return temp;
12364 }
12365 inline void SnapshottableDirectoryStatusProto::set_allocated_dirstatus(::hadoop::hdfs::HdfsFileStatusProto* dirstatus) {
12366  delete dirstatus_;
12367  dirstatus_ = dirstatus;
12368  if (dirstatus) {
12369  set_has_dirstatus();
12370  } else {
12371  clear_has_dirstatus();
12372  }
12373  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshottableDirectoryStatusProto.dirStatus)
12374 }
12375 
12376 // required uint32 snapshot_quota = 2;
12377 inline bool SnapshottableDirectoryStatusProto::has_snapshot_quota() const {
12378  return (_has_bits_[0] & 0x00000002u) != 0;
12379 }
12380 inline void SnapshottableDirectoryStatusProto::set_has_snapshot_quota() {
12381  _has_bits_[0] |= 0x00000002u;
12382 }
12383 inline void SnapshottableDirectoryStatusProto::clear_has_snapshot_quota() {
12384  _has_bits_[0] &= ~0x00000002u;
12385 }
12386 inline void SnapshottableDirectoryStatusProto::clear_snapshot_quota() {
12387  snapshot_quota_ = 0u;
12388  clear_has_snapshot_quota();
12389 }
12390 inline ::google::protobuf::uint32 SnapshottableDirectoryStatusProto::snapshot_quota() const {
12391  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshottableDirectoryStatusProto.snapshot_quota)
12392  return snapshot_quota_;
12393 }
12394 inline void SnapshottableDirectoryStatusProto::set_snapshot_quota(::google::protobuf::uint32 value) {
12395  set_has_snapshot_quota();
12396  snapshot_quota_ = value;
12397  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshottableDirectoryStatusProto.snapshot_quota)
12398 }
12399 
12400 // required uint32 snapshot_number = 3;
12401 inline bool SnapshottableDirectoryStatusProto::has_snapshot_number() const {
12402  return (_has_bits_[0] & 0x00000004u) != 0;
12403 }
12404 inline void SnapshottableDirectoryStatusProto::set_has_snapshot_number() {
12405  _has_bits_[0] |= 0x00000004u;
12406 }
12407 inline void SnapshottableDirectoryStatusProto::clear_has_snapshot_number() {
12408  _has_bits_[0] &= ~0x00000004u;
12409 }
12410 inline void SnapshottableDirectoryStatusProto::clear_snapshot_number() {
12411  snapshot_number_ = 0u;
12412  clear_has_snapshot_number();
12413 }
12414 inline ::google::protobuf::uint32 SnapshottableDirectoryStatusProto::snapshot_number() const {
12415  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshottableDirectoryStatusProto.snapshot_number)
12416  return snapshot_number_;
12417 }
12418 inline void SnapshottableDirectoryStatusProto::set_snapshot_number(::google::protobuf::uint32 value) {
12419  set_has_snapshot_number();
12420  snapshot_number_ = value;
12421  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshottableDirectoryStatusProto.snapshot_number)
12422 }
12423 
12424 // required bytes parent_fullpath = 4;
12425 inline bool SnapshottableDirectoryStatusProto::has_parent_fullpath() const {
12426  return (_has_bits_[0] & 0x00000008u) != 0;
12427 }
12428 inline void SnapshottableDirectoryStatusProto::set_has_parent_fullpath() {
12429  _has_bits_[0] |= 0x00000008u;
12430 }
12431 inline void SnapshottableDirectoryStatusProto::clear_has_parent_fullpath() {
12432  _has_bits_[0] &= ~0x00000008u;
12433 }
12434 inline void SnapshottableDirectoryStatusProto::clear_parent_fullpath() {
12435  parent_fullpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12436  clear_has_parent_fullpath();
12437 }
12438 inline const ::std::string& SnapshottableDirectoryStatusProto::parent_fullpath() const {
12439  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12440  return parent_fullpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12441 }
12442 inline void SnapshottableDirectoryStatusProto::set_parent_fullpath(const ::std::string& value) {
12443  set_has_parent_fullpath();
12444  parent_fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12445  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12446 }
12447 inline void SnapshottableDirectoryStatusProto::set_parent_fullpath(const char* value) {
12448  set_has_parent_fullpath();
12449  parent_fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12450  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12451 }
12452 inline void SnapshottableDirectoryStatusProto::set_parent_fullpath(const void* value, size_t size) {
12453  set_has_parent_fullpath();
12454  parent_fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12455  ::std::string(reinterpret_cast<const char*>(value), size));
12456  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12457 }
12458 inline ::std::string* SnapshottableDirectoryStatusProto::mutable_parent_fullpath() {
12459  set_has_parent_fullpath();
12460  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12461  return parent_fullpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12462 }
12463 inline ::std::string* SnapshottableDirectoryStatusProto::release_parent_fullpath() {
12464  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12465  clear_has_parent_fullpath();
12466  return parent_fullpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12467 }
12468 inline void SnapshottableDirectoryStatusProto::set_allocated_parent_fullpath(::std::string* parent_fullpath) {
12469  if (parent_fullpath != NULL) {
12470  set_has_parent_fullpath();
12471  } else {
12472  clear_has_parent_fullpath();
12473  }
12474  parent_fullpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent_fullpath);
12475  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshottableDirectoryStatusProto.parent_fullpath)
12476 }
12477 
12478 // -------------------------------------------------------------------
12479 
12480 // SnapshottableDirectoryListingProto
12481 
12482 // repeated .hadoop.hdfs.SnapshottableDirectoryStatusProto snapshottableDirListing = 1;
12483 inline int SnapshottableDirectoryListingProto::snapshottabledirlisting_size() const {
12484  return snapshottabledirlisting_.size();
12485 }
12486 inline void SnapshottableDirectoryListingProto::clear_snapshottabledirlisting() {
12487  snapshottabledirlisting_.Clear();
12488 }
12489 inline const ::hadoop::hdfs::SnapshottableDirectoryStatusProto& SnapshottableDirectoryListingProto::snapshottabledirlisting(int index) const {
12490  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshottableDirectoryListingProto.snapshottableDirListing)
12491  return snapshottabledirlisting_.Get(index);
12492 }
12493 inline ::hadoop::hdfs::SnapshottableDirectoryStatusProto* SnapshottableDirectoryListingProto::mutable_snapshottabledirlisting(int index) {
12494  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshottableDirectoryListingProto.snapshottableDirListing)
12495  return snapshottabledirlisting_.Mutable(index);
12496 }
12497 inline ::hadoop::hdfs::SnapshottableDirectoryStatusProto* SnapshottableDirectoryListingProto::add_snapshottabledirlisting() {
12498  // @@protoc_insertion_point(field_add:hadoop.hdfs.SnapshottableDirectoryListingProto.snapshottableDirListing)
12499  return snapshottabledirlisting_.Add();
12500 }
12501 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >*
12502 SnapshottableDirectoryListingProto::mutable_snapshottabledirlisting() {
12503  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.SnapshottableDirectoryListingProto.snapshottableDirListing)
12504  return &snapshottabledirlisting_;
12505 }
12506 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >&
12507 SnapshottableDirectoryListingProto::snapshottabledirlisting() const {
12508  // @@protoc_insertion_point(field_list:hadoop.hdfs.SnapshottableDirectoryListingProto.snapshottableDirListing)
12509  return snapshottabledirlisting_;
12510 }
12511 
12512 // -------------------------------------------------------------------
12513 
12514 // SnapshotDiffReportEntryProto
12515 
12516 // required bytes fullpath = 1;
12517 inline bool SnapshotDiffReportEntryProto::has_fullpath() const {
12518  return (_has_bits_[0] & 0x00000001u) != 0;
12519 }
12520 inline void SnapshotDiffReportEntryProto::set_has_fullpath() {
12521  _has_bits_[0] |= 0x00000001u;
12522 }
12523 inline void SnapshotDiffReportEntryProto::clear_has_fullpath() {
12524  _has_bits_[0] &= ~0x00000001u;
12525 }
12526 inline void SnapshotDiffReportEntryProto::clear_fullpath() {
12527  fullpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12528  clear_has_fullpath();
12529 }
12530 inline const ::std::string& SnapshotDiffReportEntryProto::fullpath() const {
12531  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12532  return fullpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12533 }
12534 inline void SnapshotDiffReportEntryProto::set_fullpath(const ::std::string& value) {
12535  set_has_fullpath();
12536  fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12537  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12538 }
12539 inline void SnapshotDiffReportEntryProto::set_fullpath(const char* value) {
12540  set_has_fullpath();
12541  fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12542  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12543 }
12544 inline void SnapshotDiffReportEntryProto::set_fullpath(const void* value, size_t size) {
12545  set_has_fullpath();
12546  fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12547  ::std::string(reinterpret_cast<const char*>(value), size));
12548  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12549 }
12550 inline ::std::string* SnapshotDiffReportEntryProto::mutable_fullpath() {
12551  set_has_fullpath();
12552  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12553  return fullpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12554 }
12555 inline ::std::string* SnapshotDiffReportEntryProto::release_fullpath() {
12556  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12557  clear_has_fullpath();
12558  return fullpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12559 }
12560 inline void SnapshotDiffReportEntryProto::set_allocated_fullpath(::std::string* fullpath) {
12561  if (fullpath != NULL) {
12562  set_has_fullpath();
12563  } else {
12564  clear_has_fullpath();
12565  }
12566  fullpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fullpath);
12567  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotDiffReportEntryProto.fullpath)
12568 }
12569 
12570 // required string modificationLabel = 2;
12571 inline bool SnapshotDiffReportEntryProto::has_modificationlabel() const {
12572  return (_has_bits_[0] & 0x00000002u) != 0;
12573 }
12574 inline void SnapshotDiffReportEntryProto::set_has_modificationlabel() {
12575  _has_bits_[0] |= 0x00000002u;
12576 }
12577 inline void SnapshotDiffReportEntryProto::clear_has_modificationlabel() {
12578  _has_bits_[0] &= ~0x00000002u;
12579 }
12580 inline void SnapshotDiffReportEntryProto::clear_modificationlabel() {
12581  modificationlabel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12582  clear_has_modificationlabel();
12583 }
12584 inline const ::std::string& SnapshotDiffReportEntryProto::modificationlabel() const {
12585  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12586  return modificationlabel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12587 }
12588 inline void SnapshotDiffReportEntryProto::set_modificationlabel(const ::std::string& value) {
12589  set_has_modificationlabel();
12590  modificationlabel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12591  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12592 }
12593 inline void SnapshotDiffReportEntryProto::set_modificationlabel(const char* value) {
12594  set_has_modificationlabel();
12595  modificationlabel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12596  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12597 }
12598 inline void SnapshotDiffReportEntryProto::set_modificationlabel(const char* value, size_t size) {
12599  set_has_modificationlabel();
12600  modificationlabel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12601  ::std::string(reinterpret_cast<const char*>(value), size));
12602  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12603 }
12604 inline ::std::string* SnapshotDiffReportEntryProto::mutable_modificationlabel() {
12605  set_has_modificationlabel();
12606  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12607  return modificationlabel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12608 }
12609 inline ::std::string* SnapshotDiffReportEntryProto::release_modificationlabel() {
12610  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12611  clear_has_modificationlabel();
12612  return modificationlabel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12613 }
12614 inline void SnapshotDiffReportEntryProto::set_allocated_modificationlabel(::std::string* modificationlabel) {
12615  if (modificationlabel != NULL) {
12616  set_has_modificationlabel();
12617  } else {
12618  clear_has_modificationlabel();
12619  }
12620  modificationlabel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), modificationlabel);
12621  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotDiffReportEntryProto.modificationLabel)
12622 }
12623 
12624 // optional bytes targetPath = 3;
12625 inline bool SnapshotDiffReportEntryProto::has_targetpath() const {
12626  return (_has_bits_[0] & 0x00000004u) != 0;
12627 }
12628 inline void SnapshotDiffReportEntryProto::set_has_targetpath() {
12629  _has_bits_[0] |= 0x00000004u;
12630 }
12631 inline void SnapshotDiffReportEntryProto::clear_has_targetpath() {
12632  _has_bits_[0] &= ~0x00000004u;
12633 }
12634 inline void SnapshotDiffReportEntryProto::clear_targetpath() {
12635  targetpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12636  clear_has_targetpath();
12637 }
12638 inline const ::std::string& SnapshotDiffReportEntryProto::targetpath() const {
12639  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12640  return targetpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12641 }
12642 inline void SnapshotDiffReportEntryProto::set_targetpath(const ::std::string& value) {
12643  set_has_targetpath();
12644  targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12645  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12646 }
12647 inline void SnapshotDiffReportEntryProto::set_targetpath(const char* value) {
12648  set_has_targetpath();
12649  targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12650  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12651 }
12652 inline void SnapshotDiffReportEntryProto::set_targetpath(const void* value, size_t size) {
12653  set_has_targetpath();
12654  targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12655  ::std::string(reinterpret_cast<const char*>(value), size));
12656  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12657 }
12658 inline ::std::string* SnapshotDiffReportEntryProto::mutable_targetpath() {
12659  set_has_targetpath();
12660  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12661  return targetpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12662 }
12663 inline ::std::string* SnapshotDiffReportEntryProto::release_targetpath() {
12664  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12665  clear_has_targetpath();
12666  return targetpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12667 }
12668 inline void SnapshotDiffReportEntryProto::set_allocated_targetpath(::std::string* targetpath) {
12669  if (targetpath != NULL) {
12670  set_has_targetpath();
12671  } else {
12672  clear_has_targetpath();
12673  }
12674  targetpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), targetpath);
12675  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotDiffReportEntryProto.targetPath)
12676 }
12677 
12678 // -------------------------------------------------------------------
12679 
12680 // SnapshotDiffReportProto
12681 
12682 // required string snapshotRoot = 1;
12683 inline bool SnapshotDiffReportProto::has_snapshotroot() const {
12684  return (_has_bits_[0] & 0x00000001u) != 0;
12685 }
12686 inline void SnapshotDiffReportProto::set_has_snapshotroot() {
12687  _has_bits_[0] |= 0x00000001u;
12688 }
12689 inline void SnapshotDiffReportProto::clear_has_snapshotroot() {
12690  _has_bits_[0] &= ~0x00000001u;
12691 }
12692 inline void SnapshotDiffReportProto::clear_snapshotroot() {
12693  snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12694  clear_has_snapshotroot();
12695 }
12696 inline const ::std::string& SnapshotDiffReportProto::snapshotroot() const {
12697  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12698  return snapshotroot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12699 }
12700 inline void SnapshotDiffReportProto::set_snapshotroot(const ::std::string& value) {
12701  set_has_snapshotroot();
12702  snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12703  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12704 }
12705 inline void SnapshotDiffReportProto::set_snapshotroot(const char* value) {
12706  set_has_snapshotroot();
12707  snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12708  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12709 }
12710 inline void SnapshotDiffReportProto::set_snapshotroot(const char* value, size_t size) {
12711  set_has_snapshotroot();
12712  snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12713  ::std::string(reinterpret_cast<const char*>(value), size));
12714  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12715 }
12716 inline ::std::string* SnapshotDiffReportProto::mutable_snapshotroot() {
12717  set_has_snapshotroot();
12718  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12719  return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12720 }
12721 inline ::std::string* SnapshotDiffReportProto::release_snapshotroot() {
12722  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12723  clear_has_snapshotroot();
12724  return snapshotroot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12725 }
12726 inline void SnapshotDiffReportProto::set_allocated_snapshotroot(::std::string* snapshotroot) {
12727  if (snapshotroot != NULL) {
12728  set_has_snapshotroot();
12729  } else {
12730  clear_has_snapshotroot();
12731  }
12732  snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot);
12733  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotDiffReportProto.snapshotRoot)
12734 }
12735 
12736 // required string fromSnapshot = 2;
12737 inline bool SnapshotDiffReportProto::has_fromsnapshot() const {
12738  return (_has_bits_[0] & 0x00000002u) != 0;
12739 }
12740 inline void SnapshotDiffReportProto::set_has_fromsnapshot() {
12741  _has_bits_[0] |= 0x00000002u;
12742 }
12743 inline void SnapshotDiffReportProto::clear_has_fromsnapshot() {
12744  _has_bits_[0] &= ~0x00000002u;
12745 }
12746 inline void SnapshotDiffReportProto::clear_fromsnapshot() {
12747  fromsnapshot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12748  clear_has_fromsnapshot();
12749 }
12750 inline const ::std::string& SnapshotDiffReportProto::fromsnapshot() const {
12751  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12752  return fromsnapshot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12753 }
12754 inline void SnapshotDiffReportProto::set_fromsnapshot(const ::std::string& value) {
12755  set_has_fromsnapshot();
12756  fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12757  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12758 }
12759 inline void SnapshotDiffReportProto::set_fromsnapshot(const char* value) {
12760  set_has_fromsnapshot();
12761  fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12762  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12763 }
12764 inline void SnapshotDiffReportProto::set_fromsnapshot(const char* value, size_t size) {
12765  set_has_fromsnapshot();
12766  fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12767  ::std::string(reinterpret_cast<const char*>(value), size));
12768  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12769 }
12770 inline ::std::string* SnapshotDiffReportProto::mutable_fromsnapshot() {
12771  set_has_fromsnapshot();
12772  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12773  return fromsnapshot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12774 }
12775 inline ::std::string* SnapshotDiffReportProto::release_fromsnapshot() {
12776  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12777  clear_has_fromsnapshot();
12778  return fromsnapshot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12779 }
12780 inline void SnapshotDiffReportProto::set_allocated_fromsnapshot(::std::string* fromsnapshot) {
12781  if (fromsnapshot != NULL) {
12782  set_has_fromsnapshot();
12783  } else {
12784  clear_has_fromsnapshot();
12785  }
12786  fromsnapshot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fromsnapshot);
12787  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotDiffReportProto.fromSnapshot)
12788 }
12789 
12790 // required string toSnapshot = 3;
12791 inline bool SnapshotDiffReportProto::has_tosnapshot() const {
12792  return (_has_bits_[0] & 0x00000004u) != 0;
12793 }
12794 inline void SnapshotDiffReportProto::set_has_tosnapshot() {
12795  _has_bits_[0] |= 0x00000004u;
12796 }
12797 inline void SnapshotDiffReportProto::clear_has_tosnapshot() {
12798  _has_bits_[0] &= ~0x00000004u;
12799 }
12800 inline void SnapshotDiffReportProto::clear_tosnapshot() {
12801  tosnapshot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12802  clear_has_tosnapshot();
12803 }
12804 inline const ::std::string& SnapshotDiffReportProto::tosnapshot() const {
12805  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12806  return tosnapshot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12807 }
12808 inline void SnapshotDiffReportProto::set_tosnapshot(const ::std::string& value) {
12809  set_has_tosnapshot();
12810  tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12811  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12812 }
12813 inline void SnapshotDiffReportProto::set_tosnapshot(const char* value) {
12814  set_has_tosnapshot();
12815  tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12816  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12817 }
12818 inline void SnapshotDiffReportProto::set_tosnapshot(const char* value, size_t size) {
12819  set_has_tosnapshot();
12820  tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12821  ::std::string(reinterpret_cast<const char*>(value), size));
12822  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12823 }
12824 inline ::std::string* SnapshotDiffReportProto::mutable_tosnapshot() {
12825  set_has_tosnapshot();
12826  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12827  return tosnapshot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12828 }
12829 inline ::std::string* SnapshotDiffReportProto::release_tosnapshot() {
12830  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12831  clear_has_tosnapshot();
12832  return tosnapshot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12833 }
12834 inline void SnapshotDiffReportProto::set_allocated_tosnapshot(::std::string* tosnapshot) {
12835  if (tosnapshot != NULL) {
12836  set_has_tosnapshot();
12837  } else {
12838  clear_has_tosnapshot();
12839  }
12840  tosnapshot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tosnapshot);
12841  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotDiffReportProto.toSnapshot)
12842 }
12843 
12844 // repeated .hadoop.hdfs.SnapshotDiffReportEntryProto diffReportEntries = 4;
12845 inline int SnapshotDiffReportProto::diffreportentries_size() const {
12846  return diffreportentries_.size();
12847 }
12848 inline void SnapshotDiffReportProto::clear_diffreportentries() {
12849  diffreportentries_.Clear();
12850 }
12851 inline const ::hadoop::hdfs::SnapshotDiffReportEntryProto& SnapshotDiffReportProto::diffreportentries(int index) const {
12852  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotDiffReportProto.diffReportEntries)
12853  return diffreportentries_.Get(index);
12854 }
12855 inline ::hadoop::hdfs::SnapshotDiffReportEntryProto* SnapshotDiffReportProto::mutable_diffreportentries(int index) {
12856  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotDiffReportProto.diffReportEntries)
12857  return diffreportentries_.Mutable(index);
12858 }
12859 inline ::hadoop::hdfs::SnapshotDiffReportEntryProto* SnapshotDiffReportProto::add_diffreportentries() {
12860  // @@protoc_insertion_point(field_add:hadoop.hdfs.SnapshotDiffReportProto.diffReportEntries)
12861  return diffreportentries_.Add();
12862 }
12863 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >*
12864 SnapshotDiffReportProto::mutable_diffreportentries() {
12865  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.SnapshotDiffReportProto.diffReportEntries)
12866  return &diffreportentries_;
12867 }
12868 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >&
12869 SnapshotDiffReportProto::diffreportentries() const {
12870  // @@protoc_insertion_point(field_list:hadoop.hdfs.SnapshotDiffReportProto.diffReportEntries)
12871  return diffreportentries_;
12872 }
12873 
12874 // -------------------------------------------------------------------
12875 
12876 // StorageInfoProto
12877 
12878 // required uint32 layoutVersion = 1;
12879 inline bool StorageInfoProto::has_layoutversion() const {
12880  return (_has_bits_[0] & 0x00000001u) != 0;
12881 }
12882 inline void StorageInfoProto::set_has_layoutversion() {
12883  _has_bits_[0] |= 0x00000001u;
12884 }
12885 inline void StorageInfoProto::clear_has_layoutversion() {
12886  _has_bits_[0] &= ~0x00000001u;
12887 }
12888 inline void StorageInfoProto::clear_layoutversion() {
12889  layoutversion_ = 0u;
12890  clear_has_layoutversion();
12891 }
12892 inline ::google::protobuf::uint32 StorageInfoProto::layoutversion() const {
12893  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageInfoProto.layoutVersion)
12894  return layoutversion_;
12895 }
12896 inline void StorageInfoProto::set_layoutversion(::google::protobuf::uint32 value) {
12897  set_has_layoutversion();
12898  layoutversion_ = value;
12899  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageInfoProto.layoutVersion)
12900 }
12901 
12902 // required uint32 namespceID = 2;
12903 inline bool StorageInfoProto::has_namespceid() const {
12904  return (_has_bits_[0] & 0x00000002u) != 0;
12905 }
12906 inline void StorageInfoProto::set_has_namespceid() {
12907  _has_bits_[0] |= 0x00000002u;
12908 }
12909 inline void StorageInfoProto::clear_has_namespceid() {
12910  _has_bits_[0] &= ~0x00000002u;
12911 }
12912 inline void StorageInfoProto::clear_namespceid() {
12913  namespceid_ = 0u;
12914  clear_has_namespceid();
12915 }
12916 inline ::google::protobuf::uint32 StorageInfoProto::namespceid() const {
12917  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageInfoProto.namespceID)
12918  return namespceid_;
12919 }
12920 inline void StorageInfoProto::set_namespceid(::google::protobuf::uint32 value) {
12921  set_has_namespceid();
12922  namespceid_ = value;
12923  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageInfoProto.namespceID)
12924 }
12925 
12926 // required string clusterID = 3;
12927 inline bool StorageInfoProto::has_clusterid() const {
12928  return (_has_bits_[0] & 0x00000004u) != 0;
12929 }
12930 inline void StorageInfoProto::set_has_clusterid() {
12931  _has_bits_[0] |= 0x00000004u;
12932 }
12933 inline void StorageInfoProto::clear_has_clusterid() {
12934  _has_bits_[0] &= ~0x00000004u;
12935 }
12936 inline void StorageInfoProto::clear_clusterid() {
12937  clusterid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12938  clear_has_clusterid();
12939 }
12940 inline const ::std::string& StorageInfoProto::clusterid() const {
12941  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageInfoProto.clusterID)
12942  return clusterid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12943 }
12944 inline void StorageInfoProto::set_clusterid(const ::std::string& value) {
12945  set_has_clusterid();
12946  clusterid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12947  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageInfoProto.clusterID)
12948 }
12949 inline void StorageInfoProto::set_clusterid(const char* value) {
12950  set_has_clusterid();
12951  clusterid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
12952  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.StorageInfoProto.clusterID)
12953 }
12954 inline void StorageInfoProto::set_clusterid(const char* value, size_t size) {
12955  set_has_clusterid();
12956  clusterid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
12957  ::std::string(reinterpret_cast<const char*>(value), size));
12958  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.StorageInfoProto.clusterID)
12959 }
12960 inline ::std::string* StorageInfoProto::mutable_clusterid() {
12961  set_has_clusterid();
12962  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.StorageInfoProto.clusterID)
12963  return clusterid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12964 }
12965 inline ::std::string* StorageInfoProto::release_clusterid() {
12966  // @@protoc_insertion_point(field_release:hadoop.hdfs.StorageInfoProto.clusterID)
12967  clear_has_clusterid();
12968  return clusterid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12969 }
12970 inline void StorageInfoProto::set_allocated_clusterid(::std::string* clusterid) {
12971  if (clusterid != NULL) {
12972  set_has_clusterid();
12973  } else {
12974  clear_has_clusterid();
12975  }
12976  clusterid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clusterid);
12977  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.StorageInfoProto.clusterID)
12978 }
12979 
12980 // required uint64 cTime = 4;
12981 inline bool StorageInfoProto::has_ctime() const {
12982  return (_has_bits_[0] & 0x00000008u) != 0;
12983 }
12984 inline void StorageInfoProto::set_has_ctime() {
12985  _has_bits_[0] |= 0x00000008u;
12986 }
12987 inline void StorageInfoProto::clear_has_ctime() {
12988  _has_bits_[0] &= ~0x00000008u;
12989 }
12990 inline void StorageInfoProto::clear_ctime() {
12991  ctime_ = GOOGLE_ULONGLONG(0);
12992  clear_has_ctime();
12993 }
12994 inline ::google::protobuf::uint64 StorageInfoProto::ctime() const {
12995  // @@protoc_insertion_point(field_get:hadoop.hdfs.StorageInfoProto.cTime)
12996  return ctime_;
12997 }
12998 inline void StorageInfoProto::set_ctime(::google::protobuf::uint64 value) {
12999  set_has_ctime();
13000  ctime_ = value;
13001  // @@protoc_insertion_point(field_set:hadoop.hdfs.StorageInfoProto.cTime)
13002 }
13003 
13004 // -------------------------------------------------------------------
13005 
13006 // NamenodeRegistrationProto
13007 
13008 // required string rpcAddress = 1;
13009 inline bool NamenodeRegistrationProto::has_rpcaddress() const {
13010  return (_has_bits_[0] & 0x00000001u) != 0;
13011 }
13012 inline void NamenodeRegistrationProto::set_has_rpcaddress() {
13013  _has_bits_[0] |= 0x00000001u;
13014 }
13015 inline void NamenodeRegistrationProto::clear_has_rpcaddress() {
13016  _has_bits_[0] &= ~0x00000001u;
13017 }
13018 inline void NamenodeRegistrationProto::clear_rpcaddress() {
13019  rpcaddress_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13020  clear_has_rpcaddress();
13021 }
13022 inline const ::std::string& NamenodeRegistrationProto::rpcaddress() const {
13023  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13024  return rpcaddress_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13025 }
13026 inline void NamenodeRegistrationProto::set_rpcaddress(const ::std::string& value) {
13027  set_has_rpcaddress();
13028  rpcaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13029  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13030 }
13031 inline void NamenodeRegistrationProto::set_rpcaddress(const char* value) {
13032  set_has_rpcaddress();
13033  rpcaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
13034  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13035 }
13036 inline void NamenodeRegistrationProto::set_rpcaddress(const char* value, size_t size) {
13037  set_has_rpcaddress();
13038  rpcaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13039  ::std::string(reinterpret_cast<const char*>(value), size));
13040  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13041 }
13042 inline ::std::string* NamenodeRegistrationProto::mutable_rpcaddress() {
13043  set_has_rpcaddress();
13044  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13045  return rpcaddress_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13046 }
13047 inline ::std::string* NamenodeRegistrationProto::release_rpcaddress() {
13048  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13049  clear_has_rpcaddress();
13050  return rpcaddress_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13051 }
13052 inline void NamenodeRegistrationProto::set_allocated_rpcaddress(::std::string* rpcaddress) {
13053  if (rpcaddress != NULL) {
13054  set_has_rpcaddress();
13055  } else {
13056  clear_has_rpcaddress();
13057  }
13058  rpcaddress_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rpcaddress);
13059  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamenodeRegistrationProto.rpcAddress)
13060 }
13061 
13062 // required string httpAddress = 2;
13063 inline bool NamenodeRegistrationProto::has_httpaddress() const {
13064  return (_has_bits_[0] & 0x00000002u) != 0;
13065 }
13066 inline void NamenodeRegistrationProto::set_has_httpaddress() {
13067  _has_bits_[0] |= 0x00000002u;
13068 }
13069 inline void NamenodeRegistrationProto::clear_has_httpaddress() {
13070  _has_bits_[0] &= ~0x00000002u;
13071 }
13072 inline void NamenodeRegistrationProto::clear_httpaddress() {
13073  httpaddress_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13074  clear_has_httpaddress();
13075 }
13076 inline const ::std::string& NamenodeRegistrationProto::httpaddress() const {
13077  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13078  return httpaddress_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13079 }
13080 inline void NamenodeRegistrationProto::set_httpaddress(const ::std::string& value) {
13081  set_has_httpaddress();
13082  httpaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13083  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13084 }
13085 inline void NamenodeRegistrationProto::set_httpaddress(const char* value) {
13086  set_has_httpaddress();
13087  httpaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
13088  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13089 }
13090 inline void NamenodeRegistrationProto::set_httpaddress(const char* value, size_t size) {
13091  set_has_httpaddress();
13092  httpaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13093  ::std::string(reinterpret_cast<const char*>(value), size));
13094  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13095 }
13096 inline ::std::string* NamenodeRegistrationProto::mutable_httpaddress() {
13097  set_has_httpaddress();
13098  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13099  return httpaddress_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13100 }
13101 inline ::std::string* NamenodeRegistrationProto::release_httpaddress() {
13102  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13103  clear_has_httpaddress();
13104  return httpaddress_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13105 }
13106 inline void NamenodeRegistrationProto::set_allocated_httpaddress(::std::string* httpaddress) {
13107  if (httpaddress != NULL) {
13108  set_has_httpaddress();
13109  } else {
13110  clear_has_httpaddress();
13111  }
13112  httpaddress_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), httpaddress);
13113  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamenodeRegistrationProto.httpAddress)
13114 }
13115 
13116 // required .hadoop.hdfs.StorageInfoProto storageInfo = 3;
13117 inline bool NamenodeRegistrationProto::has_storageinfo() const {
13118  return (_has_bits_[0] & 0x00000004u) != 0;
13119 }
13120 inline void NamenodeRegistrationProto::set_has_storageinfo() {
13121  _has_bits_[0] |= 0x00000004u;
13122 }
13123 inline void NamenodeRegistrationProto::clear_has_storageinfo() {
13124  _has_bits_[0] &= ~0x00000004u;
13125 }
13126 inline void NamenodeRegistrationProto::clear_storageinfo() {
13127  if (storageinfo_ != NULL) storageinfo_->::hadoop::hdfs::StorageInfoProto::Clear();
13128  clear_has_storageinfo();
13129 }
13130 inline const ::hadoop::hdfs::StorageInfoProto& NamenodeRegistrationProto::storageinfo() const {
13131  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeRegistrationProto.storageInfo)
13132  return storageinfo_ != NULL ? *storageinfo_ : *default_instance_->storageinfo_;
13133 }
13134 inline ::hadoop::hdfs::StorageInfoProto* NamenodeRegistrationProto::mutable_storageinfo() {
13135  set_has_storageinfo();
13136  if (storageinfo_ == NULL) {
13137  storageinfo_ = new ::hadoop::hdfs::StorageInfoProto;
13138  }
13139  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamenodeRegistrationProto.storageInfo)
13140  return storageinfo_;
13141 }
13142 inline ::hadoop::hdfs::StorageInfoProto* NamenodeRegistrationProto::release_storageinfo() {
13143  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamenodeRegistrationProto.storageInfo)
13144  clear_has_storageinfo();
13145  ::hadoop::hdfs::StorageInfoProto* temp = storageinfo_;
13146  storageinfo_ = NULL;
13147  return temp;
13148 }
13149 inline void NamenodeRegistrationProto::set_allocated_storageinfo(::hadoop::hdfs::StorageInfoProto* storageinfo) {
13150  delete storageinfo_;
13151  storageinfo_ = storageinfo;
13152  if (storageinfo) {
13153  set_has_storageinfo();
13154  } else {
13155  clear_has_storageinfo();
13156  }
13157  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamenodeRegistrationProto.storageInfo)
13158 }
13159 
13160 // optional .hadoop.hdfs.NamenodeRegistrationProto.NamenodeRoleProto role = 4 [default = NAMENODE];
13161 inline bool NamenodeRegistrationProto::has_role() const {
13162  return (_has_bits_[0] & 0x00000008u) != 0;
13163 }
13164 inline void NamenodeRegistrationProto::set_has_role() {
13165  _has_bits_[0] |= 0x00000008u;
13166 }
13167 inline void NamenodeRegistrationProto::clear_has_role() {
13168  _has_bits_[0] &= ~0x00000008u;
13169 }
13170 inline void NamenodeRegistrationProto::clear_role() {
13171  role_ = 1;
13172  clear_has_role();
13173 }
13174 inline ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto NamenodeRegistrationProto::role() const {
13175  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeRegistrationProto.role)
13176  return static_cast< ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto >(role_);
13177 }
13178 inline void NamenodeRegistrationProto::set_role(::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto value) {
13179  assert(::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto_IsValid(value));
13180  set_has_role();
13181  role_ = value;
13182  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamenodeRegistrationProto.role)
13183 }
13184 
13185 // -------------------------------------------------------------------
13186 
13187 // CheckpointSignatureProto
13188 
13189 // required string blockPoolId = 1;
13190 inline bool CheckpointSignatureProto::has_blockpoolid() const {
13191  return (_has_bits_[0] & 0x00000001u) != 0;
13192 }
13193 inline void CheckpointSignatureProto::set_has_blockpoolid() {
13194  _has_bits_[0] |= 0x00000001u;
13195 }
13196 inline void CheckpointSignatureProto::clear_has_blockpoolid() {
13197  _has_bits_[0] &= ~0x00000001u;
13198 }
13199 inline void CheckpointSignatureProto::clear_blockpoolid() {
13200  blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13201  clear_has_blockpoolid();
13202 }
13203 inline const ::std::string& CheckpointSignatureProto::blockpoolid() const {
13204  // @@protoc_insertion_point(field_get:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13205  return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13206 }
13207 inline void CheckpointSignatureProto::set_blockpoolid(const ::std::string& value) {
13208  set_has_blockpoolid();
13209  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13210  // @@protoc_insertion_point(field_set:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13211 }
13212 inline void CheckpointSignatureProto::set_blockpoolid(const char* value) {
13213  set_has_blockpoolid();
13214  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
13215  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13216 }
13217 inline void CheckpointSignatureProto::set_blockpoolid(const char* value, size_t size) {
13218  set_has_blockpoolid();
13219  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13220  ::std::string(reinterpret_cast<const char*>(value), size));
13221  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13222 }
13223 inline ::std::string* CheckpointSignatureProto::mutable_blockpoolid() {
13224  set_has_blockpoolid();
13225  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13226  return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13227 }
13228 inline ::std::string* CheckpointSignatureProto::release_blockpoolid() {
13229  // @@protoc_insertion_point(field_release:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13230  clear_has_blockpoolid();
13231  return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13232 }
13233 inline void CheckpointSignatureProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
13234  if (blockpoolid != NULL) {
13235  set_has_blockpoolid();
13236  } else {
13237  clear_has_blockpoolid();
13238  }
13239  blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
13240  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CheckpointSignatureProto.blockPoolId)
13241 }
13242 
13243 // required uint64 mostRecentCheckpointTxId = 2;
13244 inline bool CheckpointSignatureProto::has_mostrecentcheckpointtxid() const {
13245  return (_has_bits_[0] & 0x00000002u) != 0;
13246 }
13247 inline void CheckpointSignatureProto::set_has_mostrecentcheckpointtxid() {
13248  _has_bits_[0] |= 0x00000002u;
13249 }
13250 inline void CheckpointSignatureProto::clear_has_mostrecentcheckpointtxid() {
13251  _has_bits_[0] &= ~0x00000002u;
13252 }
13253 inline void CheckpointSignatureProto::clear_mostrecentcheckpointtxid() {
13254  mostrecentcheckpointtxid_ = GOOGLE_ULONGLONG(0);
13255  clear_has_mostrecentcheckpointtxid();
13256 }
13257 inline ::google::protobuf::uint64 CheckpointSignatureProto::mostrecentcheckpointtxid() const {
13258  // @@protoc_insertion_point(field_get:hadoop.hdfs.CheckpointSignatureProto.mostRecentCheckpointTxId)
13259  return mostrecentcheckpointtxid_;
13260 }
13261 inline void CheckpointSignatureProto::set_mostrecentcheckpointtxid(::google::protobuf::uint64 value) {
13262  set_has_mostrecentcheckpointtxid();
13263  mostrecentcheckpointtxid_ = value;
13264  // @@protoc_insertion_point(field_set:hadoop.hdfs.CheckpointSignatureProto.mostRecentCheckpointTxId)
13265 }
13266 
13267 // required uint64 curSegmentTxId = 3;
13268 inline bool CheckpointSignatureProto::has_cursegmenttxid() const {
13269  return (_has_bits_[0] & 0x00000004u) != 0;
13270 }
13271 inline void CheckpointSignatureProto::set_has_cursegmenttxid() {
13272  _has_bits_[0] |= 0x00000004u;
13273 }
13274 inline void CheckpointSignatureProto::clear_has_cursegmenttxid() {
13275  _has_bits_[0] &= ~0x00000004u;
13276 }
13277 inline void CheckpointSignatureProto::clear_cursegmenttxid() {
13278  cursegmenttxid_ = GOOGLE_ULONGLONG(0);
13279  clear_has_cursegmenttxid();
13280 }
13281 inline ::google::protobuf::uint64 CheckpointSignatureProto::cursegmenttxid() const {
13282  // @@protoc_insertion_point(field_get:hadoop.hdfs.CheckpointSignatureProto.curSegmentTxId)
13283  return cursegmenttxid_;
13284 }
13285 inline void CheckpointSignatureProto::set_cursegmenttxid(::google::protobuf::uint64 value) {
13286  set_has_cursegmenttxid();
13287  cursegmenttxid_ = value;
13288  // @@protoc_insertion_point(field_set:hadoop.hdfs.CheckpointSignatureProto.curSegmentTxId)
13289 }
13290 
13291 // required .hadoop.hdfs.StorageInfoProto storageInfo = 4;
13292 inline bool CheckpointSignatureProto::has_storageinfo() const {
13293  return (_has_bits_[0] & 0x00000008u) != 0;
13294 }
13295 inline void CheckpointSignatureProto::set_has_storageinfo() {
13296  _has_bits_[0] |= 0x00000008u;
13297 }
13298 inline void CheckpointSignatureProto::clear_has_storageinfo() {
13299  _has_bits_[0] &= ~0x00000008u;
13300 }
13301 inline void CheckpointSignatureProto::clear_storageinfo() {
13302  if (storageinfo_ != NULL) storageinfo_->::hadoop::hdfs::StorageInfoProto::Clear();
13303  clear_has_storageinfo();
13304 }
13305 inline const ::hadoop::hdfs::StorageInfoProto& CheckpointSignatureProto::storageinfo() const {
13306  // @@protoc_insertion_point(field_get:hadoop.hdfs.CheckpointSignatureProto.storageInfo)
13307  return storageinfo_ != NULL ? *storageinfo_ : *default_instance_->storageinfo_;
13308 }
13309 inline ::hadoop::hdfs::StorageInfoProto* CheckpointSignatureProto::mutable_storageinfo() {
13310  set_has_storageinfo();
13311  if (storageinfo_ == NULL) {
13312  storageinfo_ = new ::hadoop::hdfs::StorageInfoProto;
13313  }
13314  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CheckpointSignatureProto.storageInfo)
13315  return storageinfo_;
13316 }
13317 inline ::hadoop::hdfs::StorageInfoProto* CheckpointSignatureProto::release_storageinfo() {
13318  // @@protoc_insertion_point(field_release:hadoop.hdfs.CheckpointSignatureProto.storageInfo)
13319  clear_has_storageinfo();
13320  ::hadoop::hdfs::StorageInfoProto* temp = storageinfo_;
13321  storageinfo_ = NULL;
13322  return temp;
13323 }
13324 inline void CheckpointSignatureProto::set_allocated_storageinfo(::hadoop::hdfs::StorageInfoProto* storageinfo) {
13325  delete storageinfo_;
13326  storageinfo_ = storageinfo;
13327  if (storageinfo) {
13328  set_has_storageinfo();
13329  } else {
13330  clear_has_storageinfo();
13331  }
13332  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CheckpointSignatureProto.storageInfo)
13333 }
13334 
13335 // -------------------------------------------------------------------
13336 
13337 // NamenodeCommandProto
13338 
13339 // required uint32 action = 1;
13340 inline bool NamenodeCommandProto::has_action() const {
13341  return (_has_bits_[0] & 0x00000001u) != 0;
13342 }
13343 inline void NamenodeCommandProto::set_has_action() {
13344  _has_bits_[0] |= 0x00000001u;
13345 }
13346 inline void NamenodeCommandProto::clear_has_action() {
13347  _has_bits_[0] &= ~0x00000001u;
13348 }
13349 inline void NamenodeCommandProto::clear_action() {
13350  action_ = 0u;
13351  clear_has_action();
13352 }
13353 inline ::google::protobuf::uint32 NamenodeCommandProto::action() const {
13354  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeCommandProto.action)
13355  return action_;
13356 }
13357 inline void NamenodeCommandProto::set_action(::google::protobuf::uint32 value) {
13358  set_has_action();
13359  action_ = value;
13360  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamenodeCommandProto.action)
13361 }
13362 
13363 // required .hadoop.hdfs.NamenodeCommandProto.Type type = 2;
13364 inline bool NamenodeCommandProto::has_type() const {
13365  return (_has_bits_[0] & 0x00000002u) != 0;
13366 }
13367 inline void NamenodeCommandProto::set_has_type() {
13368  _has_bits_[0] |= 0x00000002u;
13369 }
13370 inline void NamenodeCommandProto::clear_has_type() {
13371  _has_bits_[0] &= ~0x00000002u;
13372 }
13373 inline void NamenodeCommandProto::clear_type() {
13374  type_ = 0;
13375  clear_has_type();
13376 }
13377 inline ::hadoop::hdfs::NamenodeCommandProto_Type NamenodeCommandProto::type() const {
13378  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeCommandProto.type)
13379  return static_cast< ::hadoop::hdfs::NamenodeCommandProto_Type >(type_);
13380 }
13381 inline void NamenodeCommandProto::set_type(::hadoop::hdfs::NamenodeCommandProto_Type value) {
13382  assert(::hadoop::hdfs::NamenodeCommandProto_Type_IsValid(value));
13383  set_has_type();
13384  type_ = value;
13385  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamenodeCommandProto.type)
13386 }
13387 
13388 // optional .hadoop.hdfs.CheckpointCommandProto checkpointCmd = 3;
13389 inline bool NamenodeCommandProto::has_checkpointcmd() const {
13390  return (_has_bits_[0] & 0x00000004u) != 0;
13391 }
13392 inline void NamenodeCommandProto::set_has_checkpointcmd() {
13393  _has_bits_[0] |= 0x00000004u;
13394 }
13395 inline void NamenodeCommandProto::clear_has_checkpointcmd() {
13396  _has_bits_[0] &= ~0x00000004u;
13397 }
13398 inline void NamenodeCommandProto::clear_checkpointcmd() {
13399  if (checkpointcmd_ != NULL) checkpointcmd_->::hadoop::hdfs::CheckpointCommandProto::Clear();
13400  clear_has_checkpointcmd();
13401 }
13402 inline const ::hadoop::hdfs::CheckpointCommandProto& NamenodeCommandProto::checkpointcmd() const {
13403  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamenodeCommandProto.checkpointCmd)
13404  return checkpointcmd_ != NULL ? *checkpointcmd_ : *default_instance_->checkpointcmd_;
13405 }
13406 inline ::hadoop::hdfs::CheckpointCommandProto* NamenodeCommandProto::mutable_checkpointcmd() {
13407  set_has_checkpointcmd();
13408  if (checkpointcmd_ == NULL) {
13409  checkpointcmd_ = new ::hadoop::hdfs::CheckpointCommandProto;
13410  }
13411  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamenodeCommandProto.checkpointCmd)
13412  return checkpointcmd_;
13413 }
13414 inline ::hadoop::hdfs::CheckpointCommandProto* NamenodeCommandProto::release_checkpointcmd() {
13415  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamenodeCommandProto.checkpointCmd)
13416  clear_has_checkpointcmd();
13417  ::hadoop::hdfs::CheckpointCommandProto* temp = checkpointcmd_;
13418  checkpointcmd_ = NULL;
13419  return temp;
13420 }
13421 inline void NamenodeCommandProto::set_allocated_checkpointcmd(::hadoop::hdfs::CheckpointCommandProto* checkpointcmd) {
13422  delete checkpointcmd_;
13423  checkpointcmd_ = checkpointcmd;
13424  if (checkpointcmd) {
13425  set_has_checkpointcmd();
13426  } else {
13427  clear_has_checkpointcmd();
13428  }
13429  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamenodeCommandProto.checkpointCmd)
13430 }
13431 
13432 // -------------------------------------------------------------------
13433 
13434 // CheckpointCommandProto
13435 
13436 // required .hadoop.hdfs.CheckpointSignatureProto signature = 1;
13437 inline bool CheckpointCommandProto::has_signature() const {
13438  return (_has_bits_[0] & 0x00000001u) != 0;
13439 }
13440 inline void CheckpointCommandProto::set_has_signature() {
13441  _has_bits_[0] |= 0x00000001u;
13442 }
13443 inline void CheckpointCommandProto::clear_has_signature() {
13444  _has_bits_[0] &= ~0x00000001u;
13445 }
13446 inline void CheckpointCommandProto::clear_signature() {
13447  if (signature_ != NULL) signature_->::hadoop::hdfs::CheckpointSignatureProto::Clear();
13448  clear_has_signature();
13449 }
13450 inline const ::hadoop::hdfs::CheckpointSignatureProto& CheckpointCommandProto::signature() const {
13451  // @@protoc_insertion_point(field_get:hadoop.hdfs.CheckpointCommandProto.signature)
13452  return signature_ != NULL ? *signature_ : *default_instance_->signature_;
13453 }
13454 inline ::hadoop::hdfs::CheckpointSignatureProto* CheckpointCommandProto::mutable_signature() {
13455  set_has_signature();
13456  if (signature_ == NULL) {
13457  signature_ = new ::hadoop::hdfs::CheckpointSignatureProto;
13458  }
13459  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CheckpointCommandProto.signature)
13460  return signature_;
13461 }
13462 inline ::hadoop::hdfs::CheckpointSignatureProto* CheckpointCommandProto::release_signature() {
13463  // @@protoc_insertion_point(field_release:hadoop.hdfs.CheckpointCommandProto.signature)
13464  clear_has_signature();
13465  ::hadoop::hdfs::CheckpointSignatureProto* temp = signature_;
13466  signature_ = NULL;
13467  return temp;
13468 }
13469 inline void CheckpointCommandProto::set_allocated_signature(::hadoop::hdfs::CheckpointSignatureProto* signature) {
13470  delete signature_;
13471  signature_ = signature;
13472  if (signature) {
13473  set_has_signature();
13474  } else {
13475  clear_has_signature();
13476  }
13477  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CheckpointCommandProto.signature)
13478 }
13479 
13480 // required bool needToReturnImage = 2;
13481 inline bool CheckpointCommandProto::has_needtoreturnimage() const {
13482  return (_has_bits_[0] & 0x00000002u) != 0;
13483 }
13484 inline void CheckpointCommandProto::set_has_needtoreturnimage() {
13485  _has_bits_[0] |= 0x00000002u;
13486 }
13487 inline void CheckpointCommandProto::clear_has_needtoreturnimage() {
13488  _has_bits_[0] &= ~0x00000002u;
13489 }
13490 inline void CheckpointCommandProto::clear_needtoreturnimage() {
13491  needtoreturnimage_ = false;
13492  clear_has_needtoreturnimage();
13493 }
13494 inline bool CheckpointCommandProto::needtoreturnimage() const {
13495  // @@protoc_insertion_point(field_get:hadoop.hdfs.CheckpointCommandProto.needToReturnImage)
13496  return needtoreturnimage_;
13497 }
13498 inline void CheckpointCommandProto::set_needtoreturnimage(bool value) {
13499  set_has_needtoreturnimage();
13500  needtoreturnimage_ = value;
13501  // @@protoc_insertion_point(field_set:hadoop.hdfs.CheckpointCommandProto.needToReturnImage)
13502 }
13503 
13504 // -------------------------------------------------------------------
13505 
13506 // BlockProto
13507 
13508 // required uint64 blockId = 1;
13509 inline bool BlockProto::has_blockid() const {
13510  return (_has_bits_[0] & 0x00000001u) != 0;
13511 }
13512 inline void BlockProto::set_has_blockid() {
13513  _has_bits_[0] |= 0x00000001u;
13514 }
13515 inline void BlockProto::clear_has_blockid() {
13516  _has_bits_[0] &= ~0x00000001u;
13517 }
13518 inline void BlockProto::clear_blockid() {
13519  blockid_ = GOOGLE_ULONGLONG(0);
13520  clear_has_blockid();
13521 }
13522 inline ::google::protobuf::uint64 BlockProto::blockid() const {
13523  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockProto.blockId)
13524  return blockid_;
13525 }
13526 inline void BlockProto::set_blockid(::google::protobuf::uint64 value) {
13527  set_has_blockid();
13528  blockid_ = value;
13529  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockProto.blockId)
13530 }
13531 
13532 // required uint64 genStamp = 2;
13533 inline bool BlockProto::has_genstamp() const {
13534  return (_has_bits_[0] & 0x00000002u) != 0;
13535 }
13536 inline void BlockProto::set_has_genstamp() {
13537  _has_bits_[0] |= 0x00000002u;
13538 }
13539 inline void BlockProto::clear_has_genstamp() {
13540  _has_bits_[0] &= ~0x00000002u;
13541 }
13542 inline void BlockProto::clear_genstamp() {
13543  genstamp_ = GOOGLE_ULONGLONG(0);
13544  clear_has_genstamp();
13545 }
13546 inline ::google::protobuf::uint64 BlockProto::genstamp() const {
13547  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockProto.genStamp)
13548  return genstamp_;
13549 }
13550 inline void BlockProto::set_genstamp(::google::protobuf::uint64 value) {
13551  set_has_genstamp();
13552  genstamp_ = value;
13553  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockProto.genStamp)
13554 }
13555 
13556 // optional uint64 numBytes = 3 [default = 0];
13557 inline bool BlockProto::has_numbytes() const {
13558  return (_has_bits_[0] & 0x00000004u) != 0;
13559 }
13560 inline void BlockProto::set_has_numbytes() {
13561  _has_bits_[0] |= 0x00000004u;
13562 }
13563 inline void BlockProto::clear_has_numbytes() {
13564  _has_bits_[0] &= ~0x00000004u;
13565 }
13566 inline void BlockProto::clear_numbytes() {
13567  numbytes_ = GOOGLE_ULONGLONG(0);
13568  clear_has_numbytes();
13569 }
13570 inline ::google::protobuf::uint64 BlockProto::numbytes() const {
13571  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockProto.numBytes)
13572  return numbytes_;
13573 }
13574 inline void BlockProto::set_numbytes(::google::protobuf::uint64 value) {
13575  set_has_numbytes();
13576  numbytes_ = value;
13577  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockProto.numBytes)
13578 }
13579 
13580 // -------------------------------------------------------------------
13581 
13582 // BlockWithLocationsProto
13583 
13584 // required .hadoop.hdfs.BlockProto block = 1;
13585 inline bool BlockWithLocationsProto::has_block() const {
13586  return (_has_bits_[0] & 0x00000001u) != 0;
13587 }
13588 inline void BlockWithLocationsProto::set_has_block() {
13589  _has_bits_[0] |= 0x00000001u;
13590 }
13591 inline void BlockWithLocationsProto::clear_has_block() {
13592  _has_bits_[0] &= ~0x00000001u;
13593 }
13594 inline void BlockWithLocationsProto::clear_block() {
13595  if (block_ != NULL) block_->::hadoop::hdfs::BlockProto::Clear();
13596  clear_has_block();
13597 }
13598 inline const ::hadoop::hdfs::BlockProto& BlockWithLocationsProto::block() const {
13599  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockWithLocationsProto.block)
13600  return block_ != NULL ? *block_ : *default_instance_->block_;
13601 }
13602 inline ::hadoop::hdfs::BlockProto* BlockWithLocationsProto::mutable_block() {
13603  set_has_block();
13604  if (block_ == NULL) {
13605  block_ = new ::hadoop::hdfs::BlockProto;
13606  }
13607  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockWithLocationsProto.block)
13608  return block_;
13609 }
13610 inline ::hadoop::hdfs::BlockProto* BlockWithLocationsProto::release_block() {
13611  // @@protoc_insertion_point(field_release:hadoop.hdfs.BlockWithLocationsProto.block)
13612  clear_has_block();
13613  ::hadoop::hdfs::BlockProto* temp = block_;
13614  block_ = NULL;
13615  return temp;
13616 }
13617 inline void BlockWithLocationsProto::set_allocated_block(::hadoop::hdfs::BlockProto* block) {
13618  delete block_;
13619  block_ = block;
13620  if (block) {
13621  set_has_block();
13622  } else {
13623  clear_has_block();
13624  }
13625  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.BlockWithLocationsProto.block)
13626 }
13627 
13628 // repeated string datanodeUuids = 2;
13629 inline int BlockWithLocationsProto::datanodeuuids_size() const {
13630  return datanodeuuids_.size();
13631 }
13632 inline void BlockWithLocationsProto::clear_datanodeuuids() {
13633  datanodeuuids_.Clear();
13634 }
13635 inline const ::std::string& BlockWithLocationsProto::datanodeuuids(int index) const {
13636  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13637  return datanodeuuids_.Get(index);
13638 }
13639 inline ::std::string* BlockWithLocationsProto::mutable_datanodeuuids(int index) {
13640  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13641  return datanodeuuids_.Mutable(index);
13642 }
13643 inline void BlockWithLocationsProto::set_datanodeuuids(int index, const ::std::string& value) {
13644  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13645  datanodeuuids_.Mutable(index)->assign(value);
13646 }
13647 inline void BlockWithLocationsProto::set_datanodeuuids(int index, const char* value) {
13648  datanodeuuids_.Mutable(index)->assign(value);
13649  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13650 }
13651 inline void BlockWithLocationsProto::set_datanodeuuids(int index, const char* value, size_t size) {
13652  datanodeuuids_.Mutable(index)->assign(
13653  reinterpret_cast<const char*>(value), size);
13654  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13655 }
13656 inline ::std::string* BlockWithLocationsProto::add_datanodeuuids() {
13657  // @@protoc_insertion_point(field_add_mutable:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13658  return datanodeuuids_.Add();
13659 }
13660 inline void BlockWithLocationsProto::add_datanodeuuids(const ::std::string& value) {
13661  datanodeuuids_.Add()->assign(value);
13662  // @@protoc_insertion_point(field_add:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13663 }
13664 inline void BlockWithLocationsProto::add_datanodeuuids(const char* value) {
13665  datanodeuuids_.Add()->assign(value);
13666  // @@protoc_insertion_point(field_add_char:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13667 }
13668 inline void BlockWithLocationsProto::add_datanodeuuids(const char* value, size_t size) {
13669  datanodeuuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
13670  // @@protoc_insertion_point(field_add_pointer:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13671 }
13672 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
13673 BlockWithLocationsProto::datanodeuuids() const {
13674  // @@protoc_insertion_point(field_list:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13675  return datanodeuuids_;
13676 }
13677 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
13678 BlockWithLocationsProto::mutable_datanodeuuids() {
13679  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.BlockWithLocationsProto.datanodeUuids)
13680  return &datanodeuuids_;
13681 }
13682 
13683 // repeated string storageUuids = 3;
13684 inline int BlockWithLocationsProto::storageuuids_size() const {
13685  return storageuuids_.size();
13686 }
13687 inline void BlockWithLocationsProto::clear_storageuuids() {
13688  storageuuids_.Clear();
13689 }
13690 inline const ::std::string& BlockWithLocationsProto::storageuuids(int index) const {
13691  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13692  return storageuuids_.Get(index);
13693 }
13694 inline ::std::string* BlockWithLocationsProto::mutable_storageuuids(int index) {
13695  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13696  return storageuuids_.Mutable(index);
13697 }
13698 inline void BlockWithLocationsProto::set_storageuuids(int index, const ::std::string& value) {
13699  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13700  storageuuids_.Mutable(index)->assign(value);
13701 }
13702 inline void BlockWithLocationsProto::set_storageuuids(int index, const char* value) {
13703  storageuuids_.Mutable(index)->assign(value);
13704  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13705 }
13706 inline void BlockWithLocationsProto::set_storageuuids(int index, const char* value, size_t size) {
13707  storageuuids_.Mutable(index)->assign(
13708  reinterpret_cast<const char*>(value), size);
13709  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13710 }
13711 inline ::std::string* BlockWithLocationsProto::add_storageuuids() {
13712  // @@protoc_insertion_point(field_add_mutable:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13713  return storageuuids_.Add();
13714 }
13715 inline void BlockWithLocationsProto::add_storageuuids(const ::std::string& value) {
13716  storageuuids_.Add()->assign(value);
13717  // @@protoc_insertion_point(field_add:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13718 }
13719 inline void BlockWithLocationsProto::add_storageuuids(const char* value) {
13720  storageuuids_.Add()->assign(value);
13721  // @@protoc_insertion_point(field_add_char:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13722 }
13723 inline void BlockWithLocationsProto::add_storageuuids(const char* value, size_t size) {
13724  storageuuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
13725  // @@protoc_insertion_point(field_add_pointer:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13726 }
13727 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
13728 BlockWithLocationsProto::storageuuids() const {
13729  // @@protoc_insertion_point(field_list:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13730  return storageuuids_;
13731 }
13732 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
13733 BlockWithLocationsProto::mutable_storageuuids() {
13734  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.BlockWithLocationsProto.storageUuids)
13735  return &storageuuids_;
13736 }
13737 
13738 // repeated .hadoop.hdfs.StorageTypeProto storageTypes = 4;
13739 inline int BlockWithLocationsProto::storagetypes_size() const {
13740  return storagetypes_.size();
13741 }
13742 inline void BlockWithLocationsProto::clear_storagetypes() {
13743  storagetypes_.Clear();
13744 }
13745 inline ::hadoop::hdfs::StorageTypeProto BlockWithLocationsProto::storagetypes(int index) const {
13746  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockWithLocationsProto.storageTypes)
13747  return static_cast< ::hadoop::hdfs::StorageTypeProto >(storagetypes_.Get(index));
13748 }
13749 inline void BlockWithLocationsProto::set_storagetypes(int index, ::hadoop::hdfs::StorageTypeProto value) {
13750  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
13751  storagetypes_.Set(index, value);
13752  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockWithLocationsProto.storageTypes)
13753 }
13754 inline void BlockWithLocationsProto::add_storagetypes(::hadoop::hdfs::StorageTypeProto value) {
13755  assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
13756  storagetypes_.Add(value);
13757  // @@protoc_insertion_point(field_add:hadoop.hdfs.BlockWithLocationsProto.storageTypes)
13758 }
13759 inline const ::google::protobuf::RepeatedField<int>&
13760 BlockWithLocationsProto::storagetypes() const {
13761  // @@protoc_insertion_point(field_list:hadoop.hdfs.BlockWithLocationsProto.storageTypes)
13762  return storagetypes_;
13763 }
13764 inline ::google::protobuf::RepeatedField<int>*
13765 BlockWithLocationsProto::mutable_storagetypes() {
13766  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.BlockWithLocationsProto.storageTypes)
13767  return &storagetypes_;
13768 }
13769 
13770 // -------------------------------------------------------------------
13771 
13772 // BlocksWithLocationsProto
13773 
13774 // repeated .hadoop.hdfs.BlockWithLocationsProto blocks = 1;
13775 inline int BlocksWithLocationsProto::blocks_size() const {
13776  return blocks_.size();
13777 }
13778 inline void BlocksWithLocationsProto::clear_blocks() {
13779  blocks_.Clear();
13780 }
13781 inline const ::hadoop::hdfs::BlockWithLocationsProto& BlocksWithLocationsProto::blocks(int index) const {
13782  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlocksWithLocationsProto.blocks)
13783  return blocks_.Get(index);
13784 }
13785 inline ::hadoop::hdfs::BlockWithLocationsProto* BlocksWithLocationsProto::mutable_blocks(int index) {
13786  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlocksWithLocationsProto.blocks)
13787  return blocks_.Mutable(index);
13788 }
13789 inline ::hadoop::hdfs::BlockWithLocationsProto* BlocksWithLocationsProto::add_blocks() {
13790  // @@protoc_insertion_point(field_add:hadoop.hdfs.BlocksWithLocationsProto.blocks)
13791  return blocks_.Add();
13792 }
13793 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >*
13794 BlocksWithLocationsProto::mutable_blocks() {
13795  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.BlocksWithLocationsProto.blocks)
13796  return &blocks_;
13797 }
13798 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >&
13799 BlocksWithLocationsProto::blocks() const {
13800  // @@protoc_insertion_point(field_list:hadoop.hdfs.BlocksWithLocationsProto.blocks)
13801  return blocks_;
13802 }
13803 
13804 // -------------------------------------------------------------------
13805 
13806 // RemoteEditLogProto
13807 
13808 // required uint64 startTxId = 1;
13809 inline bool RemoteEditLogProto::has_starttxid() const {
13810  return (_has_bits_[0] & 0x00000001u) != 0;
13811 }
13812 inline void RemoteEditLogProto::set_has_starttxid() {
13813  _has_bits_[0] |= 0x00000001u;
13814 }
13815 inline void RemoteEditLogProto::clear_has_starttxid() {
13816  _has_bits_[0] &= ~0x00000001u;
13817 }
13818 inline void RemoteEditLogProto::clear_starttxid() {
13819  starttxid_ = GOOGLE_ULONGLONG(0);
13820  clear_has_starttxid();
13821 }
13822 inline ::google::protobuf::uint64 RemoteEditLogProto::starttxid() const {
13823  // @@protoc_insertion_point(field_get:hadoop.hdfs.RemoteEditLogProto.startTxId)
13824  return starttxid_;
13825 }
13826 inline void RemoteEditLogProto::set_starttxid(::google::protobuf::uint64 value) {
13827  set_has_starttxid();
13828  starttxid_ = value;
13829  // @@protoc_insertion_point(field_set:hadoop.hdfs.RemoteEditLogProto.startTxId)
13830 }
13831 
13832 // required uint64 endTxId = 2;
13833 inline bool RemoteEditLogProto::has_endtxid() const {
13834  return (_has_bits_[0] & 0x00000002u) != 0;
13835 }
13836 inline void RemoteEditLogProto::set_has_endtxid() {
13837  _has_bits_[0] |= 0x00000002u;
13838 }
13839 inline void RemoteEditLogProto::clear_has_endtxid() {
13840  _has_bits_[0] &= ~0x00000002u;
13841 }
13842 inline void RemoteEditLogProto::clear_endtxid() {
13843  endtxid_ = GOOGLE_ULONGLONG(0);
13844  clear_has_endtxid();
13845 }
13846 inline ::google::protobuf::uint64 RemoteEditLogProto::endtxid() const {
13847  // @@protoc_insertion_point(field_get:hadoop.hdfs.RemoteEditLogProto.endTxId)
13848  return endtxid_;
13849 }
13850 inline void RemoteEditLogProto::set_endtxid(::google::protobuf::uint64 value) {
13851  set_has_endtxid();
13852  endtxid_ = value;
13853  // @@protoc_insertion_point(field_set:hadoop.hdfs.RemoteEditLogProto.endTxId)
13854 }
13855 
13856 // optional bool isInProgress = 3 [default = false];
13857 inline bool RemoteEditLogProto::has_isinprogress() const {
13858  return (_has_bits_[0] & 0x00000004u) != 0;
13859 }
13860 inline void RemoteEditLogProto::set_has_isinprogress() {
13861  _has_bits_[0] |= 0x00000004u;
13862 }
13863 inline void RemoteEditLogProto::clear_has_isinprogress() {
13864  _has_bits_[0] &= ~0x00000004u;
13865 }
13866 inline void RemoteEditLogProto::clear_isinprogress() {
13867  isinprogress_ = false;
13868  clear_has_isinprogress();
13869 }
13870 inline bool RemoteEditLogProto::isinprogress() const {
13871  // @@protoc_insertion_point(field_get:hadoop.hdfs.RemoteEditLogProto.isInProgress)
13872  return isinprogress_;
13873 }
13874 inline void RemoteEditLogProto::set_isinprogress(bool value) {
13875  set_has_isinprogress();
13876  isinprogress_ = value;
13877  // @@protoc_insertion_point(field_set:hadoop.hdfs.RemoteEditLogProto.isInProgress)
13878 }
13879 
13880 // -------------------------------------------------------------------
13881 
13882 // RemoteEditLogManifestProto
13883 
13884 // repeated .hadoop.hdfs.RemoteEditLogProto logs = 1;
13885 inline int RemoteEditLogManifestProto::logs_size() const {
13886  return logs_.size();
13887 }
13888 inline void RemoteEditLogManifestProto::clear_logs() {
13889  logs_.Clear();
13890 }
13891 inline const ::hadoop::hdfs::RemoteEditLogProto& RemoteEditLogManifestProto::logs(int index) const {
13892  // @@protoc_insertion_point(field_get:hadoop.hdfs.RemoteEditLogManifestProto.logs)
13893  return logs_.Get(index);
13894 }
13895 inline ::hadoop::hdfs::RemoteEditLogProto* RemoteEditLogManifestProto::mutable_logs(int index) {
13896  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.RemoteEditLogManifestProto.logs)
13897  return logs_.Mutable(index);
13898 }
13899 inline ::hadoop::hdfs::RemoteEditLogProto* RemoteEditLogManifestProto::add_logs() {
13900  // @@protoc_insertion_point(field_add:hadoop.hdfs.RemoteEditLogManifestProto.logs)
13901  return logs_.Add();
13902 }
13903 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >*
13904 RemoteEditLogManifestProto::mutable_logs() {
13905  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.RemoteEditLogManifestProto.logs)
13906  return &logs_;
13907 }
13908 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >&
13909 RemoteEditLogManifestProto::logs() const {
13910  // @@protoc_insertion_point(field_list:hadoop.hdfs.RemoteEditLogManifestProto.logs)
13911  return logs_;
13912 }
13913 
13914 // -------------------------------------------------------------------
13915 
13916 // NamespaceInfoProto
13917 
13918 // required string buildVersion = 1;
13919 inline bool NamespaceInfoProto::has_buildversion() const {
13920  return (_has_bits_[0] & 0x00000001u) != 0;
13921 }
13922 inline void NamespaceInfoProto::set_has_buildversion() {
13923  _has_bits_[0] |= 0x00000001u;
13924 }
13925 inline void NamespaceInfoProto::clear_has_buildversion() {
13926  _has_bits_[0] &= ~0x00000001u;
13927 }
13928 inline void NamespaceInfoProto::clear_buildversion() {
13929  buildversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13930  clear_has_buildversion();
13931 }
13932 inline const ::std::string& NamespaceInfoProto::buildversion() const {
13933  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13934  return buildversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13935 }
13936 inline void NamespaceInfoProto::set_buildversion(const ::std::string& value) {
13937  set_has_buildversion();
13938  buildversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13939  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13940 }
13941 inline void NamespaceInfoProto::set_buildversion(const char* value) {
13942  set_has_buildversion();
13943  buildversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
13944  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13945 }
13946 inline void NamespaceInfoProto::set_buildversion(const char* value, size_t size) {
13947  set_has_buildversion();
13948  buildversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
13949  ::std::string(reinterpret_cast<const char*>(value), size));
13950  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13951 }
13952 inline ::std::string* NamespaceInfoProto::mutable_buildversion() {
13953  set_has_buildversion();
13954  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13955  return buildversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13956 }
13957 inline ::std::string* NamespaceInfoProto::release_buildversion() {
13958  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13959  clear_has_buildversion();
13960  return buildversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13961 }
13962 inline void NamespaceInfoProto::set_allocated_buildversion(::std::string* buildversion) {
13963  if (buildversion != NULL) {
13964  set_has_buildversion();
13965  } else {
13966  clear_has_buildversion();
13967  }
13968  buildversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), buildversion);
13969  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamespaceInfoProto.buildVersion)
13970 }
13971 
13972 // required uint32 unused = 2;
13973 inline bool NamespaceInfoProto::has_unused() const {
13974  return (_has_bits_[0] & 0x00000002u) != 0;
13975 }
13976 inline void NamespaceInfoProto::set_has_unused() {
13977  _has_bits_[0] |= 0x00000002u;
13978 }
13979 inline void NamespaceInfoProto::clear_has_unused() {
13980  _has_bits_[0] &= ~0x00000002u;
13981 }
13982 inline void NamespaceInfoProto::clear_unused() {
13983  unused_ = 0u;
13984  clear_has_unused();
13985 }
13986 inline ::google::protobuf::uint32 NamespaceInfoProto::unused() const {
13987  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamespaceInfoProto.unused)
13988  return unused_;
13989 }
13990 inline void NamespaceInfoProto::set_unused(::google::protobuf::uint32 value) {
13991  set_has_unused();
13992  unused_ = value;
13993  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamespaceInfoProto.unused)
13994 }
13995 
13996 // required string blockPoolID = 3;
13997 inline bool NamespaceInfoProto::has_blockpoolid() const {
13998  return (_has_bits_[0] & 0x00000004u) != 0;
13999 }
14000 inline void NamespaceInfoProto::set_has_blockpoolid() {
14001  _has_bits_[0] |= 0x00000004u;
14002 }
14003 inline void NamespaceInfoProto::clear_has_blockpoolid() {
14004  _has_bits_[0] &= ~0x00000004u;
14005 }
14006 inline void NamespaceInfoProto::clear_blockpoolid() {
14007  blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14008  clear_has_blockpoolid();
14009 }
14010 inline const ::std::string& NamespaceInfoProto::blockpoolid() const {
14011  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14012  return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14013 }
14014 inline void NamespaceInfoProto::set_blockpoolid(const ::std::string& value) {
14015  set_has_blockpoolid();
14016  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14017  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14018 }
14019 inline void NamespaceInfoProto::set_blockpoolid(const char* value) {
14020  set_has_blockpoolid();
14021  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14022  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14023 }
14024 inline void NamespaceInfoProto::set_blockpoolid(const char* value, size_t size) {
14025  set_has_blockpoolid();
14026  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14027  ::std::string(reinterpret_cast<const char*>(value), size));
14028  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14029 }
14030 inline ::std::string* NamespaceInfoProto::mutable_blockpoolid() {
14031  set_has_blockpoolid();
14032  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14033  return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14034 }
14035 inline ::std::string* NamespaceInfoProto::release_blockpoolid() {
14036  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14037  clear_has_blockpoolid();
14038  return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14039 }
14040 inline void NamespaceInfoProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
14041  if (blockpoolid != NULL) {
14042  set_has_blockpoolid();
14043  } else {
14044  clear_has_blockpoolid();
14045  }
14046  blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
14047  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamespaceInfoProto.blockPoolID)
14048 }
14049 
14050 // required .hadoop.hdfs.StorageInfoProto storageInfo = 4;
14051 inline bool NamespaceInfoProto::has_storageinfo() const {
14052  return (_has_bits_[0] & 0x00000008u) != 0;
14053 }
14054 inline void NamespaceInfoProto::set_has_storageinfo() {
14055  _has_bits_[0] |= 0x00000008u;
14056 }
14057 inline void NamespaceInfoProto::clear_has_storageinfo() {
14058  _has_bits_[0] &= ~0x00000008u;
14059 }
14060 inline void NamespaceInfoProto::clear_storageinfo() {
14061  if (storageinfo_ != NULL) storageinfo_->::hadoop::hdfs::StorageInfoProto::Clear();
14062  clear_has_storageinfo();
14063 }
14064 inline const ::hadoop::hdfs::StorageInfoProto& NamespaceInfoProto::storageinfo() const {
14065  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamespaceInfoProto.storageInfo)
14066  return storageinfo_ != NULL ? *storageinfo_ : *default_instance_->storageinfo_;
14067 }
14068 inline ::hadoop::hdfs::StorageInfoProto* NamespaceInfoProto::mutable_storageinfo() {
14069  set_has_storageinfo();
14070  if (storageinfo_ == NULL) {
14071  storageinfo_ = new ::hadoop::hdfs::StorageInfoProto;
14072  }
14073  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamespaceInfoProto.storageInfo)
14074  return storageinfo_;
14075 }
14076 inline ::hadoop::hdfs::StorageInfoProto* NamespaceInfoProto::release_storageinfo() {
14077  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamespaceInfoProto.storageInfo)
14078  clear_has_storageinfo();
14079  ::hadoop::hdfs::StorageInfoProto* temp = storageinfo_;
14080  storageinfo_ = NULL;
14081  return temp;
14082 }
14083 inline void NamespaceInfoProto::set_allocated_storageinfo(::hadoop::hdfs::StorageInfoProto* storageinfo) {
14084  delete storageinfo_;
14085  storageinfo_ = storageinfo;
14086  if (storageinfo) {
14087  set_has_storageinfo();
14088  } else {
14089  clear_has_storageinfo();
14090  }
14091  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamespaceInfoProto.storageInfo)
14092 }
14093 
14094 // required string softwareVersion = 5;
14095 inline bool NamespaceInfoProto::has_softwareversion() const {
14096  return (_has_bits_[0] & 0x00000010u) != 0;
14097 }
14098 inline void NamespaceInfoProto::set_has_softwareversion() {
14099  _has_bits_[0] |= 0x00000010u;
14100 }
14101 inline void NamespaceInfoProto::clear_has_softwareversion() {
14102  _has_bits_[0] &= ~0x00000010u;
14103 }
14104 inline void NamespaceInfoProto::clear_softwareversion() {
14105  softwareversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14106  clear_has_softwareversion();
14107 }
14108 inline const ::std::string& NamespaceInfoProto::softwareversion() const {
14109  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14110  return softwareversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14111 }
14112 inline void NamespaceInfoProto::set_softwareversion(const ::std::string& value) {
14113  set_has_softwareversion();
14114  softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14115  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14116 }
14117 inline void NamespaceInfoProto::set_softwareversion(const char* value) {
14118  set_has_softwareversion();
14119  softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14120  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14121 }
14122 inline void NamespaceInfoProto::set_softwareversion(const char* value, size_t size) {
14123  set_has_softwareversion();
14124  softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14125  ::std::string(reinterpret_cast<const char*>(value), size));
14126  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14127 }
14128 inline ::std::string* NamespaceInfoProto::mutable_softwareversion() {
14129  set_has_softwareversion();
14130  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14131  return softwareversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14132 }
14133 inline ::std::string* NamespaceInfoProto::release_softwareversion() {
14134  // @@protoc_insertion_point(field_release:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14135  clear_has_softwareversion();
14136  return softwareversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14137 }
14138 inline void NamespaceInfoProto::set_allocated_softwareversion(::std::string* softwareversion) {
14139  if (softwareversion != NULL) {
14140  set_has_softwareversion();
14141  } else {
14142  clear_has_softwareversion();
14143  }
14144  softwareversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), softwareversion);
14145  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.NamespaceInfoProto.softwareVersion)
14146 }
14147 
14148 // optional uint64 capabilities = 6 [default = 0];
14149 inline bool NamespaceInfoProto::has_capabilities() const {
14150  return (_has_bits_[0] & 0x00000020u) != 0;
14151 }
14152 inline void NamespaceInfoProto::set_has_capabilities() {
14153  _has_bits_[0] |= 0x00000020u;
14154 }
14155 inline void NamespaceInfoProto::clear_has_capabilities() {
14156  _has_bits_[0] &= ~0x00000020u;
14157 }
14158 inline void NamespaceInfoProto::clear_capabilities() {
14159  capabilities_ = GOOGLE_ULONGLONG(0);
14160  clear_has_capabilities();
14161 }
14162 inline ::google::protobuf::uint64 NamespaceInfoProto::capabilities() const {
14163  // @@protoc_insertion_point(field_get:hadoop.hdfs.NamespaceInfoProto.capabilities)
14164  return capabilities_;
14165 }
14166 inline void NamespaceInfoProto::set_capabilities(::google::protobuf::uint64 value) {
14167  set_has_capabilities();
14168  capabilities_ = value;
14169  // @@protoc_insertion_point(field_set:hadoop.hdfs.NamespaceInfoProto.capabilities)
14170 }
14171 
14172 // -------------------------------------------------------------------
14173 
14174 // BlockKeyProto
14175 
14176 // required uint32 keyId = 1;
14177 inline bool BlockKeyProto::has_keyid() const {
14178  return (_has_bits_[0] & 0x00000001u) != 0;
14179 }
14180 inline void BlockKeyProto::set_has_keyid() {
14181  _has_bits_[0] |= 0x00000001u;
14182 }
14183 inline void BlockKeyProto::clear_has_keyid() {
14184  _has_bits_[0] &= ~0x00000001u;
14185 }
14186 inline void BlockKeyProto::clear_keyid() {
14187  keyid_ = 0u;
14188  clear_has_keyid();
14189 }
14190 inline ::google::protobuf::uint32 BlockKeyProto::keyid() const {
14191  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockKeyProto.keyId)
14192  return keyid_;
14193 }
14194 inline void BlockKeyProto::set_keyid(::google::protobuf::uint32 value) {
14195  set_has_keyid();
14196  keyid_ = value;
14197  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockKeyProto.keyId)
14198 }
14199 
14200 // required uint64 expiryDate = 2;
14201 inline bool BlockKeyProto::has_expirydate() const {
14202  return (_has_bits_[0] & 0x00000002u) != 0;
14203 }
14204 inline void BlockKeyProto::set_has_expirydate() {
14205  _has_bits_[0] |= 0x00000002u;
14206 }
14207 inline void BlockKeyProto::clear_has_expirydate() {
14208  _has_bits_[0] &= ~0x00000002u;
14209 }
14210 inline void BlockKeyProto::clear_expirydate() {
14211  expirydate_ = GOOGLE_ULONGLONG(0);
14212  clear_has_expirydate();
14213 }
14214 inline ::google::protobuf::uint64 BlockKeyProto::expirydate() const {
14215  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockKeyProto.expiryDate)
14216  return expirydate_;
14217 }
14218 inline void BlockKeyProto::set_expirydate(::google::protobuf::uint64 value) {
14219  set_has_expirydate();
14220  expirydate_ = value;
14221  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockKeyProto.expiryDate)
14222 }
14223 
14224 // optional bytes keyBytes = 3;
14225 inline bool BlockKeyProto::has_keybytes() const {
14226  return (_has_bits_[0] & 0x00000004u) != 0;
14227 }
14228 inline void BlockKeyProto::set_has_keybytes() {
14229  _has_bits_[0] |= 0x00000004u;
14230 }
14231 inline void BlockKeyProto::clear_has_keybytes() {
14232  _has_bits_[0] &= ~0x00000004u;
14233 }
14234 inline void BlockKeyProto::clear_keybytes() {
14235  keybytes_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14236  clear_has_keybytes();
14237 }
14238 inline const ::std::string& BlockKeyProto::keybytes() const {
14239  // @@protoc_insertion_point(field_get:hadoop.hdfs.BlockKeyProto.keyBytes)
14240  return keybytes_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14241 }
14242 inline void BlockKeyProto::set_keybytes(const ::std::string& value) {
14243  set_has_keybytes();
14244  keybytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14245  // @@protoc_insertion_point(field_set:hadoop.hdfs.BlockKeyProto.keyBytes)
14246 }
14247 inline void BlockKeyProto::set_keybytes(const char* value) {
14248  set_has_keybytes();
14249  keybytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14250  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.BlockKeyProto.keyBytes)
14251 }
14252 inline void BlockKeyProto::set_keybytes(const void* value, size_t size) {
14253  set_has_keybytes();
14254  keybytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14255  ::std::string(reinterpret_cast<const char*>(value), size));
14256  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.BlockKeyProto.keyBytes)
14257 }
14258 inline ::std::string* BlockKeyProto::mutable_keybytes() {
14259  set_has_keybytes();
14260  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.BlockKeyProto.keyBytes)
14261  return keybytes_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14262 }
14263 inline ::std::string* BlockKeyProto::release_keybytes() {
14264  // @@protoc_insertion_point(field_release:hadoop.hdfs.BlockKeyProto.keyBytes)
14265  clear_has_keybytes();
14266  return keybytes_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14267 }
14268 inline void BlockKeyProto::set_allocated_keybytes(::std::string* keybytes) {
14269  if (keybytes != NULL) {
14270  set_has_keybytes();
14271  } else {
14272  clear_has_keybytes();
14273  }
14274  keybytes_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keybytes);
14275  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.BlockKeyProto.keyBytes)
14276 }
14277 
14278 // -------------------------------------------------------------------
14279 
14280 // ExportedBlockKeysProto
14281 
14282 // required bool isBlockTokenEnabled = 1;
14283 inline bool ExportedBlockKeysProto::has_isblocktokenenabled() const {
14284  return (_has_bits_[0] & 0x00000001u) != 0;
14285 }
14286 inline void ExportedBlockKeysProto::set_has_isblocktokenenabled() {
14287  _has_bits_[0] |= 0x00000001u;
14288 }
14289 inline void ExportedBlockKeysProto::clear_has_isblocktokenenabled() {
14290  _has_bits_[0] &= ~0x00000001u;
14291 }
14292 inline void ExportedBlockKeysProto::clear_isblocktokenenabled() {
14293  isblocktokenenabled_ = false;
14294  clear_has_isblocktokenenabled();
14295 }
14296 inline bool ExportedBlockKeysProto::isblocktokenenabled() const {
14297  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExportedBlockKeysProto.isBlockTokenEnabled)
14298  return isblocktokenenabled_;
14299 }
14300 inline void ExportedBlockKeysProto::set_isblocktokenenabled(bool value) {
14301  set_has_isblocktokenenabled();
14302  isblocktokenenabled_ = value;
14303  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExportedBlockKeysProto.isBlockTokenEnabled)
14304 }
14305 
14306 // required uint64 keyUpdateInterval = 2;
14307 inline bool ExportedBlockKeysProto::has_keyupdateinterval() const {
14308  return (_has_bits_[0] & 0x00000002u) != 0;
14309 }
14310 inline void ExportedBlockKeysProto::set_has_keyupdateinterval() {
14311  _has_bits_[0] |= 0x00000002u;
14312 }
14313 inline void ExportedBlockKeysProto::clear_has_keyupdateinterval() {
14314  _has_bits_[0] &= ~0x00000002u;
14315 }
14316 inline void ExportedBlockKeysProto::clear_keyupdateinterval() {
14317  keyupdateinterval_ = GOOGLE_ULONGLONG(0);
14318  clear_has_keyupdateinterval();
14319 }
14320 inline ::google::protobuf::uint64 ExportedBlockKeysProto::keyupdateinterval() const {
14321  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExportedBlockKeysProto.keyUpdateInterval)
14322  return keyupdateinterval_;
14323 }
14324 inline void ExportedBlockKeysProto::set_keyupdateinterval(::google::protobuf::uint64 value) {
14325  set_has_keyupdateinterval();
14326  keyupdateinterval_ = value;
14327  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExportedBlockKeysProto.keyUpdateInterval)
14328 }
14329 
14330 // required uint64 tokenLifeTime = 3;
14331 inline bool ExportedBlockKeysProto::has_tokenlifetime() const {
14332  return (_has_bits_[0] & 0x00000004u) != 0;
14333 }
14334 inline void ExportedBlockKeysProto::set_has_tokenlifetime() {
14335  _has_bits_[0] |= 0x00000004u;
14336 }
14337 inline void ExportedBlockKeysProto::clear_has_tokenlifetime() {
14338  _has_bits_[0] &= ~0x00000004u;
14339 }
14340 inline void ExportedBlockKeysProto::clear_tokenlifetime() {
14341  tokenlifetime_ = GOOGLE_ULONGLONG(0);
14342  clear_has_tokenlifetime();
14343 }
14344 inline ::google::protobuf::uint64 ExportedBlockKeysProto::tokenlifetime() const {
14345  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExportedBlockKeysProto.tokenLifeTime)
14346  return tokenlifetime_;
14347 }
14348 inline void ExportedBlockKeysProto::set_tokenlifetime(::google::protobuf::uint64 value) {
14349  set_has_tokenlifetime();
14350  tokenlifetime_ = value;
14351  // @@protoc_insertion_point(field_set:hadoop.hdfs.ExportedBlockKeysProto.tokenLifeTime)
14352 }
14353 
14354 // required .hadoop.hdfs.BlockKeyProto currentKey = 4;
14355 inline bool ExportedBlockKeysProto::has_currentkey() const {
14356  return (_has_bits_[0] & 0x00000008u) != 0;
14357 }
14358 inline void ExportedBlockKeysProto::set_has_currentkey() {
14359  _has_bits_[0] |= 0x00000008u;
14360 }
14361 inline void ExportedBlockKeysProto::clear_has_currentkey() {
14362  _has_bits_[0] &= ~0x00000008u;
14363 }
14364 inline void ExportedBlockKeysProto::clear_currentkey() {
14365  if (currentkey_ != NULL) currentkey_->::hadoop::hdfs::BlockKeyProto::Clear();
14366  clear_has_currentkey();
14367 }
14368 inline const ::hadoop::hdfs::BlockKeyProto& ExportedBlockKeysProto::currentkey() const {
14369  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExportedBlockKeysProto.currentKey)
14370  return currentkey_ != NULL ? *currentkey_ : *default_instance_->currentkey_;
14371 }
14372 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::mutable_currentkey() {
14373  set_has_currentkey();
14374  if (currentkey_ == NULL) {
14375  currentkey_ = new ::hadoop::hdfs::BlockKeyProto;
14376  }
14377  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ExportedBlockKeysProto.currentKey)
14378  return currentkey_;
14379 }
14380 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::release_currentkey() {
14381  // @@protoc_insertion_point(field_release:hadoop.hdfs.ExportedBlockKeysProto.currentKey)
14382  clear_has_currentkey();
14383  ::hadoop::hdfs::BlockKeyProto* temp = currentkey_;
14384  currentkey_ = NULL;
14385  return temp;
14386 }
14387 inline void ExportedBlockKeysProto::set_allocated_currentkey(::hadoop::hdfs::BlockKeyProto* currentkey) {
14388  delete currentkey_;
14389  currentkey_ = currentkey;
14390  if (currentkey) {
14391  set_has_currentkey();
14392  } else {
14393  clear_has_currentkey();
14394  }
14395  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.ExportedBlockKeysProto.currentKey)
14396 }
14397 
14398 // repeated .hadoop.hdfs.BlockKeyProto allKeys = 5;
14399 inline int ExportedBlockKeysProto::allkeys_size() const {
14400  return allkeys_.size();
14401 }
14402 inline void ExportedBlockKeysProto::clear_allkeys() {
14403  allkeys_.Clear();
14404 }
14405 inline const ::hadoop::hdfs::BlockKeyProto& ExportedBlockKeysProto::allkeys(int index) const {
14406  // @@protoc_insertion_point(field_get:hadoop.hdfs.ExportedBlockKeysProto.allKeys)
14407  return allkeys_.Get(index);
14408 }
14409 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::mutable_allkeys(int index) {
14410  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.ExportedBlockKeysProto.allKeys)
14411  return allkeys_.Mutable(index);
14412 }
14413 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::add_allkeys() {
14414  // @@protoc_insertion_point(field_add:hadoop.hdfs.ExportedBlockKeysProto.allKeys)
14415  return allkeys_.Add();
14416 }
14417 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >*
14418 ExportedBlockKeysProto::mutable_allkeys() {
14419  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.ExportedBlockKeysProto.allKeys)
14420  return &allkeys_;
14421 }
14422 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >&
14423 ExportedBlockKeysProto::allkeys() const {
14424  // @@protoc_insertion_point(field_list:hadoop.hdfs.ExportedBlockKeysProto.allKeys)
14425  return allkeys_;
14426 }
14427 
14428 // -------------------------------------------------------------------
14429 
14430 // RecoveringBlockProto
14431 
14432 // required uint64 newGenStamp = 1;
14433 inline bool RecoveringBlockProto::has_newgenstamp() const {
14434  return (_has_bits_[0] & 0x00000001u) != 0;
14435 }
14436 inline void RecoveringBlockProto::set_has_newgenstamp() {
14437  _has_bits_[0] |= 0x00000001u;
14438 }
14439 inline void RecoveringBlockProto::clear_has_newgenstamp() {
14440  _has_bits_[0] &= ~0x00000001u;
14441 }
14442 inline void RecoveringBlockProto::clear_newgenstamp() {
14443  newgenstamp_ = GOOGLE_ULONGLONG(0);
14444  clear_has_newgenstamp();
14445 }
14446 inline ::google::protobuf::uint64 RecoveringBlockProto::newgenstamp() const {
14447  // @@protoc_insertion_point(field_get:hadoop.hdfs.RecoveringBlockProto.newGenStamp)
14448  return newgenstamp_;
14449 }
14450 inline void RecoveringBlockProto::set_newgenstamp(::google::protobuf::uint64 value) {
14451  set_has_newgenstamp();
14452  newgenstamp_ = value;
14453  // @@protoc_insertion_point(field_set:hadoop.hdfs.RecoveringBlockProto.newGenStamp)
14454 }
14455 
14456 // required .hadoop.hdfs.LocatedBlockProto block = 2;
14457 inline bool RecoveringBlockProto::has_block() const {
14458  return (_has_bits_[0] & 0x00000002u) != 0;
14459 }
14460 inline void RecoveringBlockProto::set_has_block() {
14461  _has_bits_[0] |= 0x00000002u;
14462 }
14463 inline void RecoveringBlockProto::clear_has_block() {
14464  _has_bits_[0] &= ~0x00000002u;
14465 }
14466 inline void RecoveringBlockProto::clear_block() {
14467  if (block_ != NULL) block_->::hadoop::hdfs::LocatedBlockProto::Clear();
14468  clear_has_block();
14469 }
14470 inline const ::hadoop::hdfs::LocatedBlockProto& RecoveringBlockProto::block() const {
14471  // @@protoc_insertion_point(field_get:hadoop.hdfs.RecoveringBlockProto.block)
14472  return block_ != NULL ? *block_ : *default_instance_->block_;
14473 }
14474 inline ::hadoop::hdfs::LocatedBlockProto* RecoveringBlockProto::mutable_block() {
14475  set_has_block();
14476  if (block_ == NULL) {
14477  block_ = new ::hadoop::hdfs::LocatedBlockProto;
14478  }
14479  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.RecoveringBlockProto.block)
14480  return block_;
14481 }
14482 inline ::hadoop::hdfs::LocatedBlockProto* RecoveringBlockProto::release_block() {
14483  // @@protoc_insertion_point(field_release:hadoop.hdfs.RecoveringBlockProto.block)
14484  clear_has_block();
14485  ::hadoop::hdfs::LocatedBlockProto* temp = block_;
14486  block_ = NULL;
14487  return temp;
14488 }
14489 inline void RecoveringBlockProto::set_allocated_block(::hadoop::hdfs::LocatedBlockProto* block) {
14490  delete block_;
14491  block_ = block;
14492  if (block) {
14493  set_has_block();
14494  } else {
14495  clear_has_block();
14496  }
14497  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.RecoveringBlockProto.block)
14498 }
14499 
14500 // optional .hadoop.hdfs.BlockProto truncateBlock = 3;
14501 inline bool RecoveringBlockProto::has_truncateblock() const {
14502  return (_has_bits_[0] & 0x00000004u) != 0;
14503 }
14504 inline void RecoveringBlockProto::set_has_truncateblock() {
14505  _has_bits_[0] |= 0x00000004u;
14506 }
14507 inline void RecoveringBlockProto::clear_has_truncateblock() {
14508  _has_bits_[0] &= ~0x00000004u;
14509 }
14510 inline void RecoveringBlockProto::clear_truncateblock() {
14511  if (truncateblock_ != NULL) truncateblock_->::hadoop::hdfs::BlockProto::Clear();
14512  clear_has_truncateblock();
14513 }
14514 inline const ::hadoop::hdfs::BlockProto& RecoveringBlockProto::truncateblock() const {
14515  // @@protoc_insertion_point(field_get:hadoop.hdfs.RecoveringBlockProto.truncateBlock)
14516  return truncateblock_ != NULL ? *truncateblock_ : *default_instance_->truncateblock_;
14517 }
14518 inline ::hadoop::hdfs::BlockProto* RecoveringBlockProto::mutable_truncateblock() {
14519  set_has_truncateblock();
14520  if (truncateblock_ == NULL) {
14521  truncateblock_ = new ::hadoop::hdfs::BlockProto;
14522  }
14523  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.RecoveringBlockProto.truncateBlock)
14524  return truncateblock_;
14525 }
14526 inline ::hadoop::hdfs::BlockProto* RecoveringBlockProto::release_truncateblock() {
14527  // @@protoc_insertion_point(field_release:hadoop.hdfs.RecoveringBlockProto.truncateBlock)
14528  clear_has_truncateblock();
14529  ::hadoop::hdfs::BlockProto* temp = truncateblock_;
14530  truncateblock_ = NULL;
14531  return temp;
14532 }
14533 inline void RecoveringBlockProto::set_allocated_truncateblock(::hadoop::hdfs::BlockProto* truncateblock) {
14534  delete truncateblock_;
14535  truncateblock_ = truncateblock;
14536  if (truncateblock) {
14537  set_has_truncateblock();
14538  } else {
14539  clear_has_truncateblock();
14540  }
14541  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.RecoveringBlockProto.truncateBlock)
14542 }
14543 
14544 // -------------------------------------------------------------------
14545 
14546 // VersionRequestProto
14547 
14548 // -------------------------------------------------------------------
14549 
14550 // VersionResponseProto
14551 
14552 // required .hadoop.hdfs.NamespaceInfoProto info = 1;
14553 inline bool VersionResponseProto::has_info() const {
14554  return (_has_bits_[0] & 0x00000001u) != 0;
14555 }
14556 inline void VersionResponseProto::set_has_info() {
14557  _has_bits_[0] |= 0x00000001u;
14558 }
14559 inline void VersionResponseProto::clear_has_info() {
14560  _has_bits_[0] &= ~0x00000001u;
14561 }
14562 inline void VersionResponseProto::clear_info() {
14563  if (info_ != NULL) info_->::hadoop::hdfs::NamespaceInfoProto::Clear();
14564  clear_has_info();
14565 }
14566 inline const ::hadoop::hdfs::NamespaceInfoProto& VersionResponseProto::info() const {
14567  // @@protoc_insertion_point(field_get:hadoop.hdfs.VersionResponseProto.info)
14568  return info_ != NULL ? *info_ : *default_instance_->info_;
14569 }
14570 inline ::hadoop::hdfs::NamespaceInfoProto* VersionResponseProto::mutable_info() {
14571  set_has_info();
14572  if (info_ == NULL) {
14573  info_ = new ::hadoop::hdfs::NamespaceInfoProto;
14574  }
14575  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.VersionResponseProto.info)
14576  return info_;
14577 }
14578 inline ::hadoop::hdfs::NamespaceInfoProto* VersionResponseProto::release_info() {
14579  // @@protoc_insertion_point(field_release:hadoop.hdfs.VersionResponseProto.info)
14580  clear_has_info();
14581  ::hadoop::hdfs::NamespaceInfoProto* temp = info_;
14582  info_ = NULL;
14583  return temp;
14584 }
14585 inline void VersionResponseProto::set_allocated_info(::hadoop::hdfs::NamespaceInfoProto* info) {
14586  delete info_;
14587  info_ = info;
14588  if (info) {
14589  set_has_info();
14590  } else {
14591  clear_has_info();
14592  }
14593  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.VersionResponseProto.info)
14594 }
14595 
14596 // -------------------------------------------------------------------
14597 
14598 // SnapshotInfoProto
14599 
14600 // required string snapshotName = 1;
14601 inline bool SnapshotInfoProto::has_snapshotname() const {
14602  return (_has_bits_[0] & 0x00000001u) != 0;
14603 }
14604 inline void SnapshotInfoProto::set_has_snapshotname() {
14605  _has_bits_[0] |= 0x00000001u;
14606 }
14607 inline void SnapshotInfoProto::clear_has_snapshotname() {
14608  _has_bits_[0] &= ~0x00000001u;
14609 }
14610 inline void SnapshotInfoProto::clear_snapshotname() {
14611  snapshotname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14612  clear_has_snapshotname();
14613 }
14614 inline const ::std::string& SnapshotInfoProto::snapshotname() const {
14615  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14616  return snapshotname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14617 }
14618 inline void SnapshotInfoProto::set_snapshotname(const ::std::string& value) {
14619  set_has_snapshotname();
14620  snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14621  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14622 }
14623 inline void SnapshotInfoProto::set_snapshotname(const char* value) {
14624  set_has_snapshotname();
14625  snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14626  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14627 }
14628 inline void SnapshotInfoProto::set_snapshotname(const char* value, size_t size) {
14629  set_has_snapshotname();
14630  snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14631  ::std::string(reinterpret_cast<const char*>(value), size));
14632  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14633 }
14634 inline ::std::string* SnapshotInfoProto::mutable_snapshotname() {
14635  set_has_snapshotname();
14636  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14637  return snapshotname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14638 }
14639 inline ::std::string* SnapshotInfoProto::release_snapshotname() {
14640  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14641  clear_has_snapshotname();
14642  return snapshotname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14643 }
14644 inline void SnapshotInfoProto::set_allocated_snapshotname(::std::string* snapshotname) {
14645  if (snapshotname != NULL) {
14646  set_has_snapshotname();
14647  } else {
14648  clear_has_snapshotname();
14649  }
14650  snapshotname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotname);
14651  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotInfoProto.snapshotName)
14652 }
14653 
14654 // required string snapshotRoot = 2;
14655 inline bool SnapshotInfoProto::has_snapshotroot() const {
14656  return (_has_bits_[0] & 0x00000002u) != 0;
14657 }
14658 inline void SnapshotInfoProto::set_has_snapshotroot() {
14659  _has_bits_[0] |= 0x00000002u;
14660 }
14661 inline void SnapshotInfoProto::clear_has_snapshotroot() {
14662  _has_bits_[0] &= ~0x00000002u;
14663 }
14664 inline void SnapshotInfoProto::clear_snapshotroot() {
14665  snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14666  clear_has_snapshotroot();
14667 }
14668 inline const ::std::string& SnapshotInfoProto::snapshotroot() const {
14669  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14670  return snapshotroot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14671 }
14672 inline void SnapshotInfoProto::set_snapshotroot(const ::std::string& value) {
14673  set_has_snapshotroot();
14674  snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14675  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14676 }
14677 inline void SnapshotInfoProto::set_snapshotroot(const char* value) {
14678  set_has_snapshotroot();
14679  snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14680  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14681 }
14682 inline void SnapshotInfoProto::set_snapshotroot(const char* value, size_t size) {
14683  set_has_snapshotroot();
14684  snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14685  ::std::string(reinterpret_cast<const char*>(value), size));
14686  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14687 }
14688 inline ::std::string* SnapshotInfoProto::mutable_snapshotroot() {
14689  set_has_snapshotroot();
14690  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14691  return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14692 }
14693 inline ::std::string* SnapshotInfoProto::release_snapshotroot() {
14694  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14695  clear_has_snapshotroot();
14696  return snapshotroot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14697 }
14698 inline void SnapshotInfoProto::set_allocated_snapshotroot(::std::string* snapshotroot) {
14699  if (snapshotroot != NULL) {
14700  set_has_snapshotroot();
14701  } else {
14702  clear_has_snapshotroot();
14703  }
14704  snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot);
14705  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotInfoProto.snapshotRoot)
14706 }
14707 
14708 // required .hadoop.hdfs.FsPermissionProto permission = 3;
14709 inline bool SnapshotInfoProto::has_permission() const {
14710  return (_has_bits_[0] & 0x00000004u) != 0;
14711 }
14712 inline void SnapshotInfoProto::set_has_permission() {
14713  _has_bits_[0] |= 0x00000004u;
14714 }
14715 inline void SnapshotInfoProto::clear_has_permission() {
14716  _has_bits_[0] &= ~0x00000004u;
14717 }
14718 inline void SnapshotInfoProto::clear_permission() {
14719  if (permission_ != NULL) permission_->::hadoop::hdfs::FsPermissionProto::Clear();
14720  clear_has_permission();
14721 }
14722 inline const ::hadoop::hdfs::FsPermissionProto& SnapshotInfoProto::permission() const {
14723  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotInfoProto.permission)
14724  return permission_ != NULL ? *permission_ : *default_instance_->permission_;
14725 }
14726 inline ::hadoop::hdfs::FsPermissionProto* SnapshotInfoProto::mutable_permission() {
14727  set_has_permission();
14728  if (permission_ == NULL) {
14729  permission_ = new ::hadoop::hdfs::FsPermissionProto;
14730  }
14731  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotInfoProto.permission)
14732  return permission_;
14733 }
14734 inline ::hadoop::hdfs::FsPermissionProto* SnapshotInfoProto::release_permission() {
14735  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotInfoProto.permission)
14736  clear_has_permission();
14737  ::hadoop::hdfs::FsPermissionProto* temp = permission_;
14738  permission_ = NULL;
14739  return temp;
14740 }
14741 inline void SnapshotInfoProto::set_allocated_permission(::hadoop::hdfs::FsPermissionProto* permission) {
14742  delete permission_;
14743  permission_ = permission;
14744  if (permission) {
14745  set_has_permission();
14746  } else {
14747  clear_has_permission();
14748  }
14749  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotInfoProto.permission)
14750 }
14751 
14752 // required string owner = 4;
14753 inline bool SnapshotInfoProto::has_owner() const {
14754  return (_has_bits_[0] & 0x00000008u) != 0;
14755 }
14756 inline void SnapshotInfoProto::set_has_owner() {
14757  _has_bits_[0] |= 0x00000008u;
14758 }
14759 inline void SnapshotInfoProto::clear_has_owner() {
14760  _has_bits_[0] &= ~0x00000008u;
14761 }
14762 inline void SnapshotInfoProto::clear_owner() {
14763  owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14764  clear_has_owner();
14765 }
14766 inline const ::std::string& SnapshotInfoProto::owner() const {
14767  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotInfoProto.owner)
14768  return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14769 }
14770 inline void SnapshotInfoProto::set_owner(const ::std::string& value) {
14771  set_has_owner();
14772  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14773  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotInfoProto.owner)
14774 }
14775 inline void SnapshotInfoProto::set_owner(const char* value) {
14776  set_has_owner();
14777  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14778  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotInfoProto.owner)
14779 }
14780 inline void SnapshotInfoProto::set_owner(const char* value, size_t size) {
14781  set_has_owner();
14782  owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14783  ::std::string(reinterpret_cast<const char*>(value), size));
14784  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotInfoProto.owner)
14785 }
14786 inline ::std::string* SnapshotInfoProto::mutable_owner() {
14787  set_has_owner();
14788  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotInfoProto.owner)
14789  return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14790 }
14791 inline ::std::string* SnapshotInfoProto::release_owner() {
14792  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotInfoProto.owner)
14793  clear_has_owner();
14794  return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14795 }
14796 inline void SnapshotInfoProto::set_allocated_owner(::std::string* owner) {
14797  if (owner != NULL) {
14798  set_has_owner();
14799  } else {
14800  clear_has_owner();
14801  }
14802  owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
14803  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotInfoProto.owner)
14804 }
14805 
14806 // required string group = 5;
14807 inline bool SnapshotInfoProto::has_group() const {
14808  return (_has_bits_[0] & 0x00000010u) != 0;
14809 }
14810 inline void SnapshotInfoProto::set_has_group() {
14811  _has_bits_[0] |= 0x00000010u;
14812 }
14813 inline void SnapshotInfoProto::clear_has_group() {
14814  _has_bits_[0] &= ~0x00000010u;
14815 }
14816 inline void SnapshotInfoProto::clear_group() {
14817  group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14818  clear_has_group();
14819 }
14820 inline const ::std::string& SnapshotInfoProto::group() const {
14821  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotInfoProto.group)
14822  return group_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14823 }
14824 inline void SnapshotInfoProto::set_group(const ::std::string& value) {
14825  set_has_group();
14826  group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14827  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotInfoProto.group)
14828 }
14829 inline void SnapshotInfoProto::set_group(const char* value) {
14830  set_has_group();
14831  group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14832  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotInfoProto.group)
14833 }
14834 inline void SnapshotInfoProto::set_group(const char* value, size_t size) {
14835  set_has_group();
14836  group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14837  ::std::string(reinterpret_cast<const char*>(value), size));
14838  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotInfoProto.group)
14839 }
14840 inline ::std::string* SnapshotInfoProto::mutable_group() {
14841  set_has_group();
14842  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotInfoProto.group)
14843  return group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14844 }
14845 inline ::std::string* SnapshotInfoProto::release_group() {
14846  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotInfoProto.group)
14847  clear_has_group();
14848  return group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14849 }
14850 inline void SnapshotInfoProto::set_allocated_group(::std::string* group) {
14851  if (group != NULL) {
14852  set_has_group();
14853  } else {
14854  clear_has_group();
14855  }
14856  group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group);
14857  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotInfoProto.group)
14858 }
14859 
14860 // required string createTime = 6;
14861 inline bool SnapshotInfoProto::has_createtime() const {
14862  return (_has_bits_[0] & 0x00000020u) != 0;
14863 }
14864 inline void SnapshotInfoProto::set_has_createtime() {
14865  _has_bits_[0] |= 0x00000020u;
14866 }
14867 inline void SnapshotInfoProto::clear_has_createtime() {
14868  _has_bits_[0] &= ~0x00000020u;
14869 }
14870 inline void SnapshotInfoProto::clear_createtime() {
14871  createtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14872  clear_has_createtime();
14873 }
14874 inline const ::std::string& SnapshotInfoProto::createtime() const {
14875  // @@protoc_insertion_point(field_get:hadoop.hdfs.SnapshotInfoProto.createTime)
14876  return createtime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14877 }
14878 inline void SnapshotInfoProto::set_createtime(const ::std::string& value) {
14879  set_has_createtime();
14880  createtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14881  // @@protoc_insertion_point(field_set:hadoop.hdfs.SnapshotInfoProto.createTime)
14882 }
14883 inline void SnapshotInfoProto::set_createtime(const char* value) {
14884  set_has_createtime();
14885  createtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14886  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SnapshotInfoProto.createTime)
14887 }
14888 inline void SnapshotInfoProto::set_createtime(const char* value, size_t size) {
14889  set_has_createtime();
14890  createtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14891  ::std::string(reinterpret_cast<const char*>(value), size));
14892  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SnapshotInfoProto.createTime)
14893 }
14894 inline ::std::string* SnapshotInfoProto::mutable_createtime() {
14895  set_has_createtime();
14896  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SnapshotInfoProto.createTime)
14897  return createtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14898 }
14899 inline ::std::string* SnapshotInfoProto::release_createtime() {
14900  // @@protoc_insertion_point(field_release:hadoop.hdfs.SnapshotInfoProto.createTime)
14901  clear_has_createtime();
14902  return createtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14903 }
14904 inline void SnapshotInfoProto::set_allocated_createtime(::std::string* createtime) {
14905  if (createtime != NULL) {
14906  set_has_createtime();
14907  } else {
14908  clear_has_createtime();
14909  }
14910  createtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), createtime);
14911  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SnapshotInfoProto.createTime)
14912 }
14913 
14914 // -------------------------------------------------------------------
14915 
14916 // RollingUpgradeStatusProto
14917 
14918 // required string blockPoolId = 1;
14919 inline bool RollingUpgradeStatusProto::has_blockpoolid() const {
14920  return (_has_bits_[0] & 0x00000001u) != 0;
14921 }
14922 inline void RollingUpgradeStatusProto::set_has_blockpoolid() {
14923  _has_bits_[0] |= 0x00000001u;
14924 }
14925 inline void RollingUpgradeStatusProto::clear_has_blockpoolid() {
14926  _has_bits_[0] &= ~0x00000001u;
14927 }
14928 inline void RollingUpgradeStatusProto::clear_blockpoolid() {
14929  blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14930  clear_has_blockpoolid();
14931 }
14932 inline const ::std::string& RollingUpgradeStatusProto::blockpoolid() const {
14933  // @@protoc_insertion_point(field_get:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14934  return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14935 }
14936 inline void RollingUpgradeStatusProto::set_blockpoolid(const ::std::string& value) {
14937  set_has_blockpoolid();
14938  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14939  // @@protoc_insertion_point(field_set:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14940 }
14941 inline void RollingUpgradeStatusProto::set_blockpoolid(const char* value) {
14942  set_has_blockpoolid();
14943  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14944  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14945 }
14946 inline void RollingUpgradeStatusProto::set_blockpoolid(const char* value, size_t size) {
14947  set_has_blockpoolid();
14948  blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14949  ::std::string(reinterpret_cast<const char*>(value), size));
14950  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14951 }
14952 inline ::std::string* RollingUpgradeStatusProto::mutable_blockpoolid() {
14953  set_has_blockpoolid();
14954  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14955  return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14956 }
14957 inline ::std::string* RollingUpgradeStatusProto::release_blockpoolid() {
14958  // @@protoc_insertion_point(field_release:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14959  clear_has_blockpoolid();
14960  return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14961 }
14962 inline void RollingUpgradeStatusProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
14963  if (blockpoolid != NULL) {
14964  set_has_blockpoolid();
14965  } else {
14966  clear_has_blockpoolid();
14967  }
14968  blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
14969  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.RollingUpgradeStatusProto.blockPoolId)
14970 }
14971 
14972 // optional bool finalized = 2 [default = false];
14973 inline bool RollingUpgradeStatusProto::has_finalized() const {
14974  return (_has_bits_[0] & 0x00000002u) != 0;
14975 }
14976 inline void RollingUpgradeStatusProto::set_has_finalized() {
14977  _has_bits_[0] |= 0x00000002u;
14978 }
14979 inline void RollingUpgradeStatusProto::clear_has_finalized() {
14980  _has_bits_[0] &= ~0x00000002u;
14981 }
14982 inline void RollingUpgradeStatusProto::clear_finalized() {
14983  finalized_ = false;
14984  clear_has_finalized();
14985 }
14986 inline bool RollingUpgradeStatusProto::finalized() const {
14987  // @@protoc_insertion_point(field_get:hadoop.hdfs.RollingUpgradeStatusProto.finalized)
14988  return finalized_;
14989 }
14990 inline void RollingUpgradeStatusProto::set_finalized(bool value) {
14991  set_has_finalized();
14992  finalized_ = value;
14993  // @@protoc_insertion_point(field_set:hadoop.hdfs.RollingUpgradeStatusProto.finalized)
14994 }
14995 
14996 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
14997 // -------------------------------------------------------------------
14998 
14999 // -------------------------------------------------------------------
15000 
15001 // -------------------------------------------------------------------
15002 
15003 // -------------------------------------------------------------------
15004 
15005 // -------------------------------------------------------------------
15006 
15007 // -------------------------------------------------------------------
15008 
15009 // -------------------------------------------------------------------
15010 
15011 // -------------------------------------------------------------------
15012 
15013 // -------------------------------------------------------------------
15014 
15015 // -------------------------------------------------------------------
15016 
15017 // -------------------------------------------------------------------
15018 
15019 // -------------------------------------------------------------------
15020 
15021 // -------------------------------------------------------------------
15022 
15023 // -------------------------------------------------------------------
15024 
15025 // -------------------------------------------------------------------
15026 
15027 // -------------------------------------------------------------------
15028 
15029 // -------------------------------------------------------------------
15030 
15031 // -------------------------------------------------------------------
15032 
15033 // -------------------------------------------------------------------
15034 
15035 // -------------------------------------------------------------------
15036 
15037 // -------------------------------------------------------------------
15038 
15039 // -------------------------------------------------------------------
15040 
15041 // -------------------------------------------------------------------
15042 
15043 // -------------------------------------------------------------------
15044 
15045 // -------------------------------------------------------------------
15046 
15047 // -------------------------------------------------------------------
15048 
15049 // -------------------------------------------------------------------
15050 
15051 // -------------------------------------------------------------------
15052 
15053 // -------------------------------------------------------------------
15054 
15055 // -------------------------------------------------------------------
15056 
15057 // -------------------------------------------------------------------
15058 
15059 // -------------------------------------------------------------------
15060 
15061 // -------------------------------------------------------------------
15062 
15063 // -------------------------------------------------------------------
15064 
15065 // -------------------------------------------------------------------
15066 
15067 // -------------------------------------------------------------------
15068 
15069 // -------------------------------------------------------------------
15070 
15071 // -------------------------------------------------------------------
15072 
15073 // -------------------------------------------------------------------
15074 
15075 // -------------------------------------------------------------------
15076 
15077 // -------------------------------------------------------------------
15078 
15079 // -------------------------------------------------------------------
15080 
15081 // -------------------------------------------------------------------
15082 
15083 // -------------------------------------------------------------------
15084 
15085 // -------------------------------------------------------------------
15086 
15087 // -------------------------------------------------------------------
15088 
15089 // -------------------------------------------------------------------
15090 
15091 // -------------------------------------------------------------------
15092 
15093 // -------------------------------------------------------------------
15094 
15095 
15096 // @@protoc_insertion_point(namespace_scope)
15097 
15098 } // namespace hdfs
15099 } // namespace hadoop
15100 
15101 #ifndef SWIG
15102 namespace google {
15103 namespace protobuf {
15104 
15105 template <> struct is_proto_enum< ::hadoop::hdfs::DatanodeInfoProto_AdminState> : ::google::protobuf::internal::true_type {};
15106 template <>
15107 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::DatanodeInfoProto_AdminState>() {
15108  return ::hadoop::hdfs::DatanodeInfoProto_AdminState_descriptor();
15109 }
15110 template <> struct is_proto_enum< ::hadoop::hdfs::DatanodeStorageProto_StorageState> : ::google::protobuf::internal::true_type {};
15111 template <>
15112 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::DatanodeStorageProto_StorageState>() {
15113  return ::hadoop::hdfs::DatanodeStorageProto_StorageState_descriptor();
15114 }
15115 template <> struct is_proto_enum< ::hadoop::hdfs::HdfsFileStatusProto_FileType> : ::google::protobuf::internal::true_type {};
15116 template <>
15117 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::HdfsFileStatusProto_FileType>() {
15118  return ::hadoop::hdfs::HdfsFileStatusProto_FileType_descriptor();
15119 }
15120 template <> struct is_proto_enum< ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto> : ::google::protobuf::internal::true_type {};
15121 template <>
15122 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto>() {
15123  return ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto_descriptor();
15124 }
15125 template <> struct is_proto_enum< ::hadoop::hdfs::NamenodeCommandProto_Type> : ::google::protobuf::internal::true_type {};
15126 template <>
15127 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::NamenodeCommandProto_Type>() {
15128  return ::hadoop::hdfs::NamenodeCommandProto_Type_descriptor();
15129 }
15130 template <> struct is_proto_enum< ::hadoop::hdfs::StorageTypeProto> : ::google::protobuf::internal::true_type {};
15131 template <>
15132 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::StorageTypeProto>() {
15133  return ::hadoop::hdfs::StorageTypeProto_descriptor();
15134 }
15135 template <> struct is_proto_enum< ::hadoop::hdfs::CipherSuiteProto> : ::google::protobuf::internal::true_type {};
15136 template <>
15137 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::CipherSuiteProto>() {
15138  return ::hadoop::hdfs::CipherSuiteProto_descriptor();
15139 }
15140 template <> struct is_proto_enum< ::hadoop::hdfs::CryptoProtocolVersionProto> : ::google::protobuf::internal::true_type {};
15141 template <>
15142 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::CryptoProtocolVersionProto>() {
15143  return ::hadoop::hdfs::CryptoProtocolVersionProto_descriptor();
15144 }
15145 template <> struct is_proto_enum< ::hadoop::hdfs::ErasureCodingPolicyState> : ::google::protobuf::internal::true_type {};
15146 template <>
15147 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::ErasureCodingPolicyState>() {
15148  return ::hadoop::hdfs::ErasureCodingPolicyState_descriptor();
15149 }
15150 template <> struct is_proto_enum< ::hadoop::hdfs::ChecksumTypeProto> : ::google::protobuf::internal::true_type {};
15151 template <>
15152 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::ChecksumTypeProto>() {
15153  return ::hadoop::hdfs::ChecksumTypeProto_descriptor();
15154 }
15155 template <> struct is_proto_enum< ::hadoop::hdfs::ReplicaStateProto> : ::google::protobuf::internal::true_type {};
15156 template <>
15157 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::ReplicaStateProto>() {
15158  return ::hadoop::hdfs::ReplicaStateProto_descriptor();
15159 }
15160 
15161 } // namespace protobuf
15162 } // namespace google
15163 #endif // SWIG
15164 
15165 // @@protoc_insertion_point(global_scope)
15166 
15167 #endif // PROTOBUF_hdfs_2eproto__INCLUDED
Definition: hdfs.pb.h:1689
Definition: hdfs.pb.h:5088
Definition: hdfs.pb.h:5639
Definition: hdfs.pb.h:2733
Definition: hdfs.pb.h:4347
Definition: hdfs.pb.h:445
Definition: hdfs.pb.h:3151
Definition: hdfs.pb.h:3030
Definition: hdfs.pb.h:6628
Definition: hdfs.pb.h:2567
Definition: hdfs.pb.h:2254
Definition: hdfs.pb.h:1380
Definition: hdfs.pb.h:616
Definition: hdfs.pb.h:3859
Definition: hdfs.pb.h:2013
Definition: hdfs.pb.h:3304
Definition: hdfs.pb.h:5387
Definition: hdfs.pb.h:6487
Definition: hdfs.pb.h:4957
Definition: hdfs.pb.h:1805
Definition: hdfs.pb.h:314
Definition: hdfs.pb.h:6203
Definition: hdfs.pb.h:5895
Definition: hdfs.pb.h:7099
Definition: hdfs.pb.h:2354
Definition: hdfs.pb.h:5254
Definition: Security.pb.h:50
Definition: hdfs.pb.h:1920
Definition: hdfs.pb.h:4181
Definition: hdfs.pb.h:1076
Definition: hdfs.pb.h:5755
Definition: hdfs.pb.h:5991
Definition: hdfs.pb.h:2107
Definition: hdfs.pb.h:742
Definition: hdfs.pb.h:4682
Definition: hdfs.pb.h:3585
Definition: hdfs.pb.h:6366
Definition: hdfs.pb.h:3469
Definition: hdfs.pb.h:5531
Definition: hdfs.pb.h:6748
Definition: hdfs.pb.h:3719
Definition: hdfs.pb.h:6831
Definition: hdfs.pb.h:1220
Definition: hdfs.pb.h:4813
Definition: hdfs.pb.h:838
Definition: hdfs.pb.h:6926