4 #ifndef PROTOBUF_hdfs_2eproto__INCLUDED
5 #define PROTOBUF_hdfs_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
31 #include "Security.pb.h"
38 void protobuf_AddDesc_hdfs_2eproto();
39 void protobuf_AssignDesc_hdfs_2eproto();
40 void protobuf_ShutdownFile_hdfs_2eproto();
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;
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;
93 enum DatanodeInfoProto_AdminState {
94 DatanodeInfoProto_AdminState_NORMAL = 0,
95 DatanodeInfoProto_AdminState_DECOMMISSION_INPROGRESS = 1,
96 DatanodeInfoProto_AdminState_DECOMMISSIONED = 2
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;
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);
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);
113 enum DatanodeStorageProto_StorageState {
114 DatanodeStorageProto_StorageState_NORMAL = 0,
115 DatanodeStorageProto_StorageState_READ_ONLY_SHARED = 1
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;
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);
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);
132 enum HdfsFileStatusProto_FileType {
133 HdfsFileStatusProto_FileType_IS_DIR = 1,
134 HdfsFileStatusProto_FileType_IS_FILE = 2,
135 HdfsFileStatusProto_FileType_IS_SYMLINK = 3
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;
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);
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);
152 enum NamenodeRegistrationProto_NamenodeRoleProto {
153 NamenodeRegistrationProto_NamenodeRoleProto_NAMENODE = 1,
154 NamenodeRegistrationProto_NamenodeRoleProto_BACKUP = 2,
155 NamenodeRegistrationProto_NamenodeRoleProto_CHECKPOINT = 3
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;
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);
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);
172 enum NamenodeCommandProto_Type {
173 NamenodeCommandProto_Type_NamenodeCommand = 0,
174 NamenodeCommandProto_Type_CheckPointCommand = 1
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;
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);
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);
191 enum StorageTypeProto {
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;
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);
207 inline bool StorageTypeProto_Parse(
208 const ::std::string& name, StorageTypeProto* value) {
209 return ::google::protobuf::internal::ParseNamedEnum<StorageTypeProto>(
210 StorageTypeProto_descriptor(), name, value);
212 enum CipherSuiteProto {
214 AES_CTR_NOPADDING = 2
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;
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);
226 inline bool CipherSuiteProto_Parse(
227 const ::std::string& name, CipherSuiteProto* value) {
228 return ::google::protobuf::internal::ParseNamedEnum<CipherSuiteProto>(
229 CipherSuiteProto_descriptor(), name, value);
231 enum CryptoProtocolVersionProto {
232 UNKNOWN_PROTOCOL_VERSION = 1,
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;
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);
245 inline bool CryptoProtocolVersionProto_Parse(
246 const ::std::string& name, CryptoProtocolVersionProto* value) {
247 return ::google::protobuf::internal::ParseNamedEnum<CryptoProtocolVersionProto>(
248 CryptoProtocolVersionProto_descriptor(), name, value);
250 enum ErasureCodingPolicyState {
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;
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);
265 inline bool ErasureCodingPolicyState_Parse(
266 const ::std::string& name, ErasureCodingPolicyState* value) {
267 return ::google::protobuf::internal::ParseNamedEnum<ErasureCodingPolicyState>(
268 ErasureCodingPolicyState_descriptor(), name, value);
270 enum ChecksumTypeProto {
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;
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);
285 inline bool ChecksumTypeProto_Parse(
286 const ::std::string& name, ChecksumTypeProto* value) {
287 return ::google::protobuf::internal::ParseNamedEnum<ChecksumTypeProto>(
288 ChecksumTypeProto_descriptor(), name, value);
290 enum ReplicaStateProto {
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;
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);
307 inline bool ReplicaStateProto_Parse(
308 const ::std::string& name, ReplicaStateProto* value) {
309 return ::google::protobuf::internal::ParseNamedEnum<ReplicaStateProto>(
310 ReplicaStateProto_descriptor(), name, value);
326 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
327 return _internal_metadata_.unknown_fields();
330 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
331 return _internal_metadata_.mutable_unknown_fields();
334 static const ::google::protobuf::Descriptor* descriptor();
344 void CopyFrom(const ::google::protobuf::Message& from);
345 void MergeFrom(const ::google::protobuf::Message& from);
349 bool IsInitialized()
const;
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);
361 int GetCachedSize()
const {
return _cached_size_; }
365 void SetCachedSize(
int size)
const;
368 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
369 return _internal_metadata_.arena();
371 inline void* MaybeArenaPtr()
const {
372 return _internal_metadata_.raw_arena_ptr();
376 ::google::protobuf::Metadata GetMetadata()
const;
383 bool has_poolid()
const;
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);
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);
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);
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);
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();
427 int RequiredFieldsByteSizeFallback()
const;
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();
440 void InitAsDefaultInstance();
457 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
458 return _internal_metadata_.unknown_fields();
461 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
462 return _internal_metadata_.mutable_unknown_fields();
465 static const ::google::protobuf::Descriptor* descriptor();
475 void CopyFrom(const ::google::protobuf::Message& from);
476 void MergeFrom(const ::google::protobuf::Message& from);
480 bool IsInitialized()
const;
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);
492 int GetCachedSize()
const {
return _cached_size_; }
496 void SetCachedSize(
int size)
const;
499 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
500 return _internal_metadata_.arena();
502 inline void* MaybeArenaPtr()
const {
503 return _internal_metadata_.raw_arena_ptr();
507 ::google::protobuf::Metadata GetMetadata()
const;
514 bool has_ipaddr()
const;
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);
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);
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);
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);
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);
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);
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);
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();
595 int RequiredFieldsByteSizeFallback()
const;
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();
611 void InitAsDefaultInstance();
628 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
629 return _internal_metadata_.unknown_fields();
632 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
633 return _internal_metadata_.mutable_unknown_fields();
636 static const ::google::protobuf::Descriptor* descriptor();
646 void CopyFrom(const ::google::protobuf::Message& from);
647 void MergeFrom(const ::google::protobuf::Message& from);
651 bool IsInitialized()
const;
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);
663 int GetCachedSize()
const {
return _cached_size_; }
667 void SetCachedSize(
int size)
const;
670 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
671 return _internal_metadata_.arena();
673 inline void* MaybeArenaPtr()
const {
674 return _internal_metadata_.raw_arena_ptr();
678 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
709 bool has_uptime()
const;
711 static const int kUptimeFieldNumber = 3;
712 ::google::protobuf::uint64 uptime()
const;
713 void set_uptime(::google::protobuf::uint64 value);
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();
725 int RequiredFieldsByteSizeFallback()
const;
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();
737 void InitAsDefaultInstance();
754 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
755 return _internal_metadata_.unknown_fields();
758 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
759 return _internal_metadata_.mutable_unknown_fields();
762 static const ::google::protobuf::Descriptor* descriptor();
772 void CopyFrom(const ::google::protobuf::Message& from);
773 void MergeFrom(const ::google::protobuf::Message& from);
777 bool IsInitialized()
const;
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);
789 int GetCachedSize()
const {
return _cached_size_; }
793 void SetCachedSize(
int size)
const;
796 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
797 return _internal_metadata_.arena();
799 inline void* MaybeArenaPtr()
const {
800 return _internal_metadata_.raw_arena_ptr();
804 ::google::protobuf::Metadata GetMetadata()
const;
811 int datanodes_size()
const;
812 void clear_datanodes();
813 static const int kDatanodesFieldNumber = 1;
814 const ::hadoop::hdfs::DatanodeInfoProto& datanodes(
int index)
const;
817 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
819 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
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();
833 void InitAsDefaultInstance();
850 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
851 return _internal_metadata_.unknown_fields();
854 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
855 return _internal_metadata_.mutable_unknown_fields();
858 static const ::google::protobuf::Descriptor* descriptor();
868 void CopyFrom(const ::google::protobuf::Message& from);
869 void MergeFrom(const ::google::protobuf::Message& from);
873 bool IsInitialized()
const;
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);
885 int GetCachedSize()
const {
return _cached_size_; }
889 void SetCachedSize(
int size)
const;
892 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
893 return _internal_metadata_.arena();
895 inline void* MaybeArenaPtr()
const {
896 return _internal_metadata_.raw_arena_ptr();
900 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
924 static inline const ::std::string& AdminState_Name(AdminState value) {
925 return DatanodeInfoProto_AdminState_Name(value);
927 static inline bool AdminState_Parse(const ::std::string& name,
929 return DatanodeInfoProto_AdminState_Parse(name, value);
937 static const int kIdFieldNumber = 1;
938 const ::hadoop::hdfs::DatanodeIDProto& id()
const;
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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);
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();
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_;
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();
1071 void InitAsDefaultInstance();
1088 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1089 return _internal_metadata_.unknown_fields();
1092 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1093 return _internal_metadata_.mutable_unknown_fields();
1096 static const ::google::protobuf::Descriptor* descriptor();
1106 void CopyFrom(const ::google::protobuf::Message& from);
1107 void MergeFrom(const ::google::protobuf::Message& from);
1111 bool IsInitialized()
const;
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);
1123 int GetCachedSize()
const {
return _cached_size_; }
1127 void SetCachedSize(
int size)
const;
1130 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1131 return _internal_metadata_.arena();
1133 inline void* MaybeArenaPtr()
const {
1134 return _internal_metadata_.raw_arena_ptr();
1138 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
1160 static inline const ::std::string& StorageState_Name(StorageState value) {
1161 return DatanodeStorageProto_StorageState_Name(value);
1163 static inline bool StorageState_Parse(const ::std::string& name,
1164 StorageState* value) {
1165 return DatanodeStorageProto_StorageState_Parse(name, value);
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);
1183 bool has_state()
const;
1185 static const int kStateFieldNumber = 2;
1186 ::hadoop::hdfs::DatanodeStorageProto_StorageState state()
const;
1187 void set_state(::hadoop::hdfs::DatanodeStorageProto_StorageState value);
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);
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();
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_;
1211 friend void protobuf_AddDesc_hdfs_2eproto();
1212 friend void protobuf_AssignDesc_hdfs_2eproto();
1213 friend void protobuf_ShutdownFile_hdfs_2eproto();
1215 void InitAsDefaultInstance();
1232 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1233 return _internal_metadata_.unknown_fields();
1236 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1237 return _internal_metadata_.mutable_unknown_fields();
1240 static const ::google::protobuf::Descriptor* descriptor();
1250 void CopyFrom(const ::google::protobuf::Message& from);
1251 void MergeFrom(const ::google::protobuf::Message& from);
1255 bool IsInitialized()
const;
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);
1267 int GetCachedSize()
const {
return _cached_size_; }
1271 void SetCachedSize(
int size)
const;
1274 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1275 return _internal_metadata_.arena();
1277 inline void* MaybeArenaPtr()
const {
1278 return _internal_metadata_.raw_arena_ptr();
1282 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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);
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);
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);
1336 bool has_storage()
const;
1337 void clear_storage();
1338 static const int kStorageFieldNumber = 7;
1339 const ::hadoop::hdfs::DatanodeStorageProto& storage()
const;
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();
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_;
1371 friend void protobuf_AddDesc_hdfs_2eproto();
1372 friend void protobuf_AssignDesc_hdfs_2eproto();
1373 friend void protobuf_ShutdownFile_hdfs_2eproto();
1375 void InitAsDefaultInstance();
1392 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1393 return _internal_metadata_.unknown_fields();
1396 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1397 return _internal_metadata_.mutable_unknown_fields();
1400 static const ::google::protobuf::Descriptor* descriptor();
1410 void CopyFrom(const ::google::protobuf::Message& from);
1411 void MergeFrom(const ::google::protobuf::Message& from);
1415 bool IsInitialized()
const;
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);
1427 int GetCachedSize()
const {
return _cached_size_; }
1431 void SetCachedSize(
int size)
const;
1434 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1435 return _internal_metadata_.arena();
1437 inline void* MaybeArenaPtr()
const {
1438 return _internal_metadata_.raw_arena_ptr();
1442 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
1470 bool has_quota()
const;
1472 static const int kQuotaFieldNumber = 4;
1473 ::google::protobuf::uint64 quota()
const;
1474 void set_quota(::google::protobuf::uint64 value);
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);
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);
1491 bool has_typequotainfos()
const;
1492 void clear_typequotainfos();
1493 static const int kTypeQuotaInfosFieldNumber = 7;
1494 const ::hadoop::hdfs::StorageTypeQuotaInfosProto& typequotainfos()
const;
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);
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);
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);
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);
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);
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();
1567 int RequiredFieldsByteSizeFallback()
const;
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();
1588 void InitAsDefaultInstance();
1605 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1606 return _internal_metadata_.unknown_fields();
1609 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1610 return _internal_metadata_.mutable_unknown_fields();
1613 static const ::google::protobuf::Descriptor* descriptor();
1623 void CopyFrom(const ::google::protobuf::Message& from);
1624 void MergeFrom(const ::google::protobuf::Message& from);
1628 bool IsInitialized()
const;
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);
1640 int GetCachedSize()
const {
return _cached_size_; }
1644 void SetCachedSize(
int size)
const;
1647 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1648 return _internal_metadata_.arena();
1650 inline void* MaybeArenaPtr()
const {
1651 return _internal_metadata_.raw_arena_ptr();
1655 ::google::protobuf::Metadata GetMetadata()
const;
1662 int typequotainfo_size()
const;
1663 void clear_typequotainfo();
1664 static const int kTypeQuotaInfoFieldNumber = 1;
1665 const ::hadoop::hdfs::StorageTypeQuotaInfoProto& typequotainfo(
int index)
const;
1668 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >*
1669 mutable_typequotainfo();
1670 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >&
1671 typequotainfo()
const;
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();
1684 void InitAsDefaultInstance();
1701 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1702 return _internal_metadata_.unknown_fields();
1705 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1706 return _internal_metadata_.mutable_unknown_fields();
1709 static const ::google::protobuf::Descriptor* descriptor();
1719 void CopyFrom(const ::google::protobuf::Message& from);
1720 void MergeFrom(const ::google::protobuf::Message& from);
1724 bool IsInitialized()
const;
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);
1736 int GetCachedSize()
const {
return _cached_size_; }
1740 void SetCachedSize(
int size)
const;
1743 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1744 return _internal_metadata_.arena();
1746 inline void* MaybeArenaPtr()
const {
1747 return _internal_metadata_.raw_arena_ptr();
1751 ::google::protobuf::Metadata GetMetadata()
const;
1758 bool has_type()
const;
1760 static const int kTypeFieldNumber = 1;
1761 ::hadoop::hdfs::StorageTypeProto type()
const;
1762 void set_type(::hadoop::hdfs::StorageTypeProto value);
1765 bool has_quota()
const;
1767 static const int kQuotaFieldNumber = 2;
1768 ::google::protobuf::uint64 quota()
const;
1769 void set_quota(::google::protobuf::uint64 value);
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);
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();
1788 int RequiredFieldsByteSizeFallback()
const;
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_;
1796 friend void protobuf_AddDesc_hdfs_2eproto();
1797 friend void protobuf_AssignDesc_hdfs_2eproto();
1798 friend void protobuf_ShutdownFile_hdfs_2eproto();
1800 void InitAsDefaultInstance();
1817 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1818 return _internal_metadata_.unknown_fields();
1821 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1822 return _internal_metadata_.mutable_unknown_fields();
1825 static const ::google::protobuf::Descriptor* descriptor();
1835 void CopyFrom(const ::google::protobuf::Message& from);
1836 void MergeFrom(const ::google::protobuf::Message& from);
1840 bool IsInitialized()
const;
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);
1852 int GetCachedSize()
const {
return _cached_size_; }
1856 void SetCachedSize(
int size)
const;
1859 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1860 return _internal_metadata_.arena();
1862 inline void* MaybeArenaPtr()
const {
1863 return _internal_metadata_.raw_arena_ptr();
1867 ::google::protobuf::Metadata GetMetadata()
const;
1874 int files_size()
const;
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();
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);
1903 inline void set_has_cookie();
1904 inline void clear_has_cookie();
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();
1915 void InitAsDefaultInstance();
1932 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1933 return _internal_metadata_.unknown_fields();
1936 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1937 return _internal_metadata_.mutable_unknown_fields();
1940 static const ::google::protobuf::Descriptor* descriptor();
1950 void CopyFrom(const ::google::protobuf::Message& from);
1951 void MergeFrom(const ::google::protobuf::Message& from);
1955 bool IsInitialized()
const;
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);
1967 int GetCachedSize()
const {
return _cached_size_; }
1971 void SetCachedSize(
int size)
const;
1974 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1975 return _internal_metadata_.arena();
1977 inline void* MaybeArenaPtr()
const {
1978 return _internal_metadata_.raw_arena_ptr();
1982 ::google::protobuf::Metadata GetMetadata()
const;
1989 bool has_perm()
const;
1991 static const int kPermFieldNumber = 1;
1992 ::google::protobuf::uint32 perm()
const;
1993 void set_perm(::google::protobuf::uint32 value);
1997 inline void set_has_perm();
1998 inline void clear_has_perm();
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();
2008 void InitAsDefaultInstance();
2025 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2026 return _internal_metadata_.unknown_fields();
2029 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2030 return _internal_metadata_.mutable_unknown_fields();
2033 static const ::google::protobuf::Descriptor* descriptor();
2043 void CopyFrom(const ::google::protobuf::Message& from);
2044 void MergeFrom(const ::google::protobuf::Message& from);
2048 bool IsInitialized()
const;
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);
2060 int GetCachedSize()
const {
return _cached_size_; }
2064 void SetCachedSize(
int size)
const;
2067 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2068 return _internal_metadata_.arena();
2070 inline void* MaybeArenaPtr()
const {
2071 return _internal_metadata_.raw_arena_ptr();
2075 ::google::protobuf::Metadata GetMetadata()
const;
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();
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();
2102 void InitAsDefaultInstance();
2119 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2120 return _internal_metadata_.unknown_fields();
2123 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2124 return _internal_metadata_.mutable_unknown_fields();
2127 static const ::google::protobuf::Descriptor* descriptor();
2137 void CopyFrom(const ::google::protobuf::Message& from);
2138 void MergeFrom(const ::google::protobuf::Message& from);
2142 bool IsInitialized()
const;
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);
2154 int GetCachedSize()
const {
return _cached_size_; }
2158 void SetCachedSize(
int size)
const;
2161 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2162 return _internal_metadata_.arena();
2164 inline void* MaybeArenaPtr()
const {
2165 return _internal_metadata_.raw_arena_ptr();
2169 ::google::protobuf::Metadata GetMetadata()
const;
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);
2183 bool has_name()
const;
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);
2195 bool has_creationpolicy()
const;
2196 void clear_creationpolicy();
2197 static const int kCreationPolicyFieldNumber = 3;
2198 const ::hadoop::hdfs::StorageTypesProto& creationpolicy()
const;
2204 bool has_creationfallbackpolicy()
const;
2205 void clear_creationfallbackpolicy();
2206 static const int kCreationFallbackPolicyFieldNumber = 4;
2207 const ::hadoop::hdfs::StorageTypesProto& creationfallbackpolicy()
const;
2213 bool has_replicationfallbackpolicy()
const;
2214 void clear_replicationfallbackpolicy();
2215 static const int kReplicationFallbackPolicyFieldNumber = 5;
2216 const ::hadoop::hdfs::StorageTypesProto& replicationfallbackpolicy()
const;
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();
2235 int RequiredFieldsByteSizeFallback()
const;
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_;
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();
2249 void InitAsDefaultInstance();
2266 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2267 return _internal_metadata_.unknown_fields();
2270 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2271 return _internal_metadata_.mutable_unknown_fields();
2274 static const ::google::protobuf::Descriptor* descriptor();
2284 void CopyFrom(const ::google::protobuf::Message& from);
2285 void MergeFrom(const ::google::protobuf::Message& from);
2289 bool IsInitialized()
const;
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);
2301 int GetCachedSize()
const {
return _cached_size_; }
2305 void SetCachedSize(
int size)
const;
2308 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2309 return _internal_metadata_.arena();
2311 inline void* MaybeArenaPtr()
const {
2312 return _internal_metadata_.raw_arena_ptr();
2316 ::google::protobuf::Metadata GetMetadata()
const;
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();
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();
2349 void InitAsDefaultInstance();
2366 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2367 return _internal_metadata_.unknown_fields();
2370 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2371 return _internal_metadata_.mutable_unknown_fields();
2374 static const ::google::protobuf::Descriptor* descriptor();
2384 void CopyFrom(const ::google::protobuf::Message& from);
2385 void MergeFrom(const ::google::protobuf::Message& from);
2389 bool IsInitialized()
const;
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);
2401 int GetCachedSize()
const {
return _cached_size_; }
2405 void SetCachedSize(
int size)
const;
2408 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2409 return _internal_metadata_.arena();
2411 inline void* MaybeArenaPtr()
const {
2412 return _internal_metadata_.raw_arena_ptr();
2416 ::google::protobuf::Metadata GetMetadata()
const;
2425 static const int kBFieldNumber = 1;
2426 const ::hadoop::hdfs::ExtendedBlockProto& b()
const;
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);
2439 int locs_size()
const;
2441 static const int kLocsFieldNumber = 3;
2442 const ::hadoop::hdfs::DatanodeInfoProto& locs(
int index)
const;
2445 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
2447 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
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);
2458 bool has_blocktoken()
const;
2459 void clear_blocktoken();
2460 static const int kBlockTokenFieldNumber = 5;
2461 const ::hadoop::common::TokenProto& blocktoken()
const;
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 >&
2475 ::google::protobuf::RepeatedField< bool >*
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();
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();
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);
2517 int blocktokens_size()
const;
2518 void clear_blocktokens();
2519 static const int kBlockTokensFieldNumber = 10;
2520 const ::hadoop::common::TokenProto& blocktokens(
int index)
const;
2523 ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >*
2524 mutable_blocktokens();
2525 const ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >&
2526 blocktokens()
const;
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();
2542 int RequiredFieldsByteSizeFallback()
const;
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_;
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_;
2558 friend void protobuf_AddDesc_hdfs_2eproto();
2559 friend void protobuf_AssignDesc_hdfs_2eproto();
2560 friend void protobuf_ShutdownFile_hdfs_2eproto();
2562 void InitAsDefaultInstance();
2579 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2580 return _internal_metadata_.unknown_fields();
2583 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2584 return _internal_metadata_.mutable_unknown_fields();
2587 static const ::google::protobuf::Descriptor* descriptor();
2597 void CopyFrom(const ::google::protobuf::Message& from);
2598 void MergeFrom(const ::google::protobuf::Message& from);
2602 bool IsInitialized()
const;
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);
2614 int GetCachedSize()
const {
return _cached_size_; }
2618 void SetCachedSize(
int size)
const;
2621 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2622 return _internal_metadata_.arena();
2624 inline void* MaybeArenaPtr()
const {
2625 return _internal_metadata_.raw_arena_ptr();
2629 ::google::protobuf::Metadata GetMetadata()
const;
2636 bool has_keyid()
const;
2638 static const int kKeyIdFieldNumber = 1;
2639 ::google::protobuf::uint32 keyid()
const;
2640 void set_keyid(::google::protobuf::uint32 value);
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);
2655 bool has_nonce()
const;
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);
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);
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);
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);
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();
2713 int RequiredFieldsByteSizeFallback()
const;
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();
2728 void InitAsDefaultInstance();
2745 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2746 return _internal_metadata_.unknown_fields();
2749 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2750 return _internal_metadata_.mutable_unknown_fields();
2753 static const ::google::protobuf::Descriptor* descriptor();
2763 void CopyFrom(const ::google::protobuf::Message& from);
2764 void MergeFrom(const ::google::protobuf::Message& from);
2768 bool IsInitialized()
const;
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);
2780 int GetCachedSize()
const {
return _cached_size_; }
2784 void SetCachedSize(
int size)
const;
2787 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2788 return _internal_metadata_.arena();
2790 inline void* MaybeArenaPtr()
const {
2791 return _internal_metadata_.raw_arena_ptr();
2795 ::google::protobuf::Metadata GetMetadata()
const;
2802 bool has_suite()
const;
2804 static const int kSuiteFieldNumber = 1;
2805 ::hadoop::hdfs::CipherSuiteProto suite()
const;
2806 void set_suite(::hadoop::hdfs::CipherSuiteProto value);
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);
2816 bool has_key()
const;
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);
2828 bool has_iv()
const;
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);
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);
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);
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();
2879 int RequiredFieldsByteSizeFallback()
const;
2881 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2882 ::google::protobuf::uint32 _has_bits_[1];
2883 mutable int _cached_size_;
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();
2894 void InitAsDefaultInstance();
2911 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2912 return _internal_metadata_.unknown_fields();
2915 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2916 return _internal_metadata_.mutable_unknown_fields();
2919 static const ::google::protobuf::Descriptor* descriptor();
2929 void CopyFrom(const ::google::protobuf::Message& from);
2930 void MergeFrom(const ::google::protobuf::Message& from);
2934 bool IsInitialized()
const;
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);
2946 int GetCachedSize()
const {
return _cached_size_; }
2950 void SetCachedSize(
int size)
const;
2953 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2954 return _internal_metadata_.arena();
2956 inline void* MaybeArenaPtr()
const {
2957 return _internal_metadata_.raw_arena_ptr();
2961 ::google::protobuf::Metadata GetMetadata()
const;
2968 bool has_key()
const;
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);
2980 bool has_iv()
const;
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);
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);
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();
3013 int RequiredFieldsByteSizeFallback()
const;
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();
3025 void InitAsDefaultInstance();
3042 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3043 return _internal_metadata_.unknown_fields();
3046 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3047 return _internal_metadata_.mutable_unknown_fields();
3050 static const ::google::protobuf::Descriptor* descriptor();
3060 void CopyFrom(const ::google::protobuf::Message& from);
3061 void MergeFrom(const ::google::protobuf::Message& from);
3065 bool IsInitialized()
const;
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);
3077 int GetCachedSize()
const {
return _cached_size_; }
3081 void SetCachedSize(
int size)
const;
3084 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3085 return _internal_metadata_.arena();
3087 inline void* MaybeArenaPtr()
const {
3088 return _internal_metadata_.raw_arena_ptr();
3092 ::google::protobuf::Metadata GetMetadata()
const;
3099 bool has_suite()
const;
3101 static const int kSuiteFieldNumber = 1;
3102 ::hadoop::hdfs::CipherSuiteProto suite()
const;
3103 void set_suite(::hadoop::hdfs::CipherSuiteProto value);
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);
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);
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();
3134 int RequiredFieldsByteSizeFallback()
const;
3136 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3137 ::google::protobuf::uint32 _has_bits_[1];
3138 mutable int _cached_size_;
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();
3146 void InitAsDefaultInstance();
3163 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3164 return _internal_metadata_.unknown_fields();
3167 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3168 return _internal_metadata_.mutable_unknown_fields();
3171 static const ::google::protobuf::Descriptor* descriptor();
3181 void CopyFrom(const ::google::protobuf::Message& from);
3182 void MergeFrom(const ::google::protobuf::Message& from);
3186 bool IsInitialized()
const;
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);
3198 int GetCachedSize()
const {
return _cached_size_; }
3202 void SetCachedSize(
int size)
const;
3205 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3206 return _internal_metadata_.arena();
3208 inline void* MaybeArenaPtr()
const {
3209 return _internal_metadata_.raw_arena_ptr();
3213 ::google::protobuf::Metadata GetMetadata()
const;
3220 bool has_suite()
const;
3222 static const int kSuiteFieldNumber = 1;
3223 ::hadoop::hdfs::CipherSuiteProto suite()
const;
3224 void set_suite(::hadoop::hdfs::CipherSuiteProto value);
3227 bool has_inkey()
const;
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);
3239 bool has_iniv()
const;
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);
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);
3263 bool has_outiv()
const;
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);
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();
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_;
3295 friend void protobuf_AddDesc_hdfs_2eproto();
3296 friend void protobuf_AssignDesc_hdfs_2eproto();
3297 friend void protobuf_ShutdownFile_hdfs_2eproto();
3299 void InitAsDefaultInstance();
3316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3317 return _internal_metadata_.unknown_fields();
3320 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3321 return _internal_metadata_.mutable_unknown_fields();
3324 static const ::google::protobuf::Descriptor* descriptor();
3334 void CopyFrom(const ::google::protobuf::Message& from);
3335 void MergeFrom(const ::google::protobuf::Message& from);
3339 bool IsInitialized()
const;
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);
3351 int GetCachedSize()
const {
return _cached_size_; }
3355 void SetCachedSize(
int size)
const;
3358 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3359 return _internal_metadata_.arena();
3361 inline void* MaybeArenaPtr()
const {
3362 return _internal_metadata_.raw_arena_ptr();
3366 ::google::protobuf::Metadata GetMetadata()
const;
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);
3380 int blocks_size()
const;
3381 void clear_blocks();
3382 static const int kBlocksFieldNumber = 2;
3383 const ::hadoop::hdfs::LocatedBlockProto& blocks(
int index)
const;
3386 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >*
3388 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >&
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);
3399 bool has_lastblock()
const;
3400 void clear_lastblock();
3401 static const int kLastBlockFieldNumber = 4;
3402 const ::hadoop::hdfs::LocatedBlockProto& lastblock()
const;
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);
3415 bool has_fileencryptioninfo()
const;
3416 void clear_fileencryptioninfo();
3417 static const int kFileEncryptionInfoFieldNumber = 6;
3418 const ::hadoop::hdfs::FileEncryptionInfoProto& fileencryptioninfo()
const;
3424 bool has_ecpolicy()
const;
3425 void clear_ecpolicy();
3426 static const int kEcPolicyFieldNumber = 7;
3427 const ::hadoop::hdfs::ErasureCodingPolicyProto& ecpolicy()
const;
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();
3448 int RequiredFieldsByteSizeFallback()
const;
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_;
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();
3464 void InitAsDefaultInstance();
3481 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3482 return _internal_metadata_.unknown_fields();
3485 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3486 return _internal_metadata_.mutable_unknown_fields();
3489 static const ::google::protobuf::Descriptor* descriptor();
3499 void CopyFrom(const ::google::protobuf::Message& from);
3500 void MergeFrom(const ::google::protobuf::Message& from);
3504 bool IsInitialized()
const;
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);
3516 int GetCachedSize()
const {
return _cached_size_; }
3520 void SetCachedSize(
int size)
const;
3523 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3524 return _internal_metadata_.arena();
3526 inline void* MaybeArenaPtr()
const {
3527 return _internal_metadata_.raw_arena_ptr();
3531 ::google::protobuf::Metadata GetMetadata()
const;
3538 bool has_key()
const;
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);
3550 bool has_value()
const;
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);
3563 inline void set_has_key();
3564 inline void clear_has_key();
3565 inline void set_has_value();
3566 inline void clear_has_value();
3569 int RequiredFieldsByteSizeFallback()
const;
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();
3580 void InitAsDefaultInstance();
3597 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3598 return _internal_metadata_.unknown_fields();
3601 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3602 return _internal_metadata_.mutable_unknown_fields();
3605 static const ::google::protobuf::Descriptor* descriptor();
3615 void CopyFrom(const ::google::protobuf::Message& from);
3616 void MergeFrom(const ::google::protobuf::Message& from);
3620 bool IsInitialized()
const;
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);
3632 int GetCachedSize()
const {
return _cached_size_; }
3636 void SetCachedSize(
int size)
const;
3639 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3640 return _internal_metadata_.arena();
3642 inline void* MaybeArenaPtr()
const {
3643 return _internal_metadata_.raw_arena_ptr();
3647 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
3680 int options_size()
const;
3681 void clear_options();
3682 static const int kOptionsFieldNumber = 4;
3683 const ::hadoop::hdfs::ECSchemaOptionEntryProto& options(
int index)
const;
3686 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >*
3688 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >&
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();
3701 int RequiredFieldsByteSizeFallback()
const;
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();
3714 void InitAsDefaultInstance();
3731 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3732 return _internal_metadata_.unknown_fields();
3735 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3736 return _internal_metadata_.mutable_unknown_fields();
3739 static const ::google::protobuf::Descriptor* descriptor();
3749 void CopyFrom(const ::google::protobuf::Message& from);
3750 void MergeFrom(const ::google::protobuf::Message& from);
3754 bool IsInitialized()
const;
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);
3766 int GetCachedSize()
const {
return _cached_size_; }
3770 void SetCachedSize(
int size)
const;
3773 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3774 return _internal_metadata_.arena();
3776 inline void* MaybeArenaPtr()
const {
3777 return _internal_metadata_.raw_arena_ptr();
3781 ::google::protobuf::Metadata GetMetadata()
const;
3788 bool has_name()
const;
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);
3800 bool has_schema()
const;
3801 void clear_schema();
3802 static const int kSchemaFieldNumber = 2;
3803 const ::hadoop::hdfs::ECSchemaProto& schema()
const;
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);
3816 bool has_id()
const;
3818 static const int kIdFieldNumber = 4;
3819 ::google::protobuf::uint32 id()
const;
3820 void set_id(::google::protobuf::uint32 value);
3823 bool has_state()
const;
3825 static const int kStateFieldNumber = 5;
3826 ::hadoop::hdfs::ErasureCodingPolicyState state()
const;
3827 void set_state(::hadoop::hdfs::ErasureCodingPolicyState value);
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();
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_;
3850 friend void protobuf_AddDesc_hdfs_2eproto();
3851 friend void protobuf_AssignDesc_hdfs_2eproto();
3852 friend void protobuf_ShutdownFile_hdfs_2eproto();
3854 void InitAsDefaultInstance();
3871 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
3872 return _internal_metadata_.unknown_fields();
3875 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3876 return _internal_metadata_.mutable_unknown_fields();
3879 static const ::google::protobuf::Descriptor* descriptor();
3889 void CopyFrom(const ::google::protobuf::Message& from);
3890 void MergeFrom(const ::google::protobuf::Message& from);
3894 bool IsInitialized()
const;
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);
3906 int GetCachedSize()
const {
return _cached_size_; }
3910 void SetCachedSize(
int size)
const;
3913 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
3914 return _internal_metadata_.arena();
3916 inline void* MaybeArenaPtr()
const {
3917 return _internal_metadata_.raw_arena_ptr();
3921 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
3945 static inline const ::std::string& FileType_Name(FileType value) {
3946 return HdfsFileStatusProto_FileType_Name(value);
3948 static inline bool FileType_Parse(const ::std::string& name,
3950 return HdfsFileStatusProto_FileType_Parse(name, value);
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);
3963 bool has_path()
const;
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);
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);
3982 bool has_permission()
const;
3983 void clear_permission();
3984 static const int kPermissionFieldNumber = 4;
3985 const ::hadoop::hdfs::FsPermissionProto& permission()
const;
3991 bool has_owner()
const;
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);
4003 bool has_group()
const;
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);
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);
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);
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);
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);
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);
4055 bool has_locations()
const;
4056 void clear_locations();
4057 static const int kLocationsFieldNumber = 12;
4058 const ::hadoop::hdfs::LocatedBlocksProto& locations()
const;
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);
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);
4078 bool has_fileencryptioninfo()
const;
4079 void clear_fileencryptioninfo();
4080 static const int kFileEncryptionInfoFieldNumber = 15;
4081 const ::hadoop::hdfs::FileEncryptionInfoProto& fileencryptioninfo()
const;
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);
4094 bool has_ecpolicy()
const;
4095 void clear_ecpolicy();
4096 static const int kEcPolicyFieldNumber = 17;
4097 const ::hadoop::hdfs::ErasureCodingPolicyProto& ecpolicy()
const;
4103 bool has_flags()
const;
4105 static const int kFlagsFieldNumber = 18;
4106 ::google::protobuf::uint32 flags()
const;
4107 void set_flags(::google::protobuf::uint32 value);
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();
4149 int RequiredFieldsByteSizeFallback()
const;
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_;
4157 ::google::protobuf::internal::ArenaStringPtr owner_;
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_;
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();
4176 void InitAsDefaultInstance();
4193 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4194 return _internal_metadata_.unknown_fields();
4197 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4198 return _internal_metadata_.mutable_unknown_fields();
4201 static const ::google::protobuf::Descriptor* descriptor();
4211 void CopyFrom(const ::google::protobuf::Message& from);
4212 void MergeFrom(const ::google::protobuf::Message& from);
4216 bool IsInitialized()
const;
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);
4228 int GetCachedSize()
const {
return _cached_size_; }
4232 void SetCachedSize(
int size)
const;
4235 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4236 return _internal_metadata_.arena();
4238 inline void* MaybeArenaPtr()
const {
4239 return _internal_metadata_.raw_arena_ptr();
4243 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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);
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);
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);
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);
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);
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();
4325 int RequiredFieldsByteSizeFallback()
const;
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_;
4338 friend void protobuf_AddDesc_hdfs_2eproto();
4339 friend void protobuf_AssignDesc_hdfs_2eproto();
4340 friend void protobuf_ShutdownFile_hdfs_2eproto();
4342 void InitAsDefaultInstance();
4359 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4360 return _internal_metadata_.unknown_fields();
4363 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4364 return _internal_metadata_.mutable_unknown_fields();
4367 static const ::google::protobuf::Descriptor* descriptor();
4377 void CopyFrom(const ::google::protobuf::Message& from);
4378 void MergeFrom(const ::google::protobuf::Message& from);
4382 bool IsInitialized()
const;
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);
4394 int GetCachedSize()
const {
return _cached_size_; }
4398 void SetCachedSize(
int size)
const;
4401 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4402 return _internal_metadata_.arena();
4404 inline void* MaybeArenaPtr()
const {
4405 return _internal_metadata_.raw_arena_ptr();
4409 ::google::protobuf::Metadata GetMetadata()
const;
4416 int partiallisting_size()
const;
4417 void clear_partiallisting();
4418 static const int kPartialListingFieldNumber = 1;
4419 const ::hadoop::hdfs::HdfsFileStatusProto& partiallisting(
int index)
const;
4422 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >*
4423 mutable_partiallisting();
4424 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >&
4425 partiallisting()
const;
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);
4436 inline void set_has_remainingentries();
4437 inline void clear_has_remainingentries();
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();
4448 void InitAsDefaultInstance();
4465 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4466 return _internal_metadata_.unknown_fields();
4469 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4470 return _internal_metadata_.mutable_unknown_fields();
4473 static const ::google::protobuf::Descriptor* descriptor();
4483 void CopyFrom(const ::google::protobuf::Message& from);
4484 void MergeFrom(const ::google::protobuf::Message& from);
4488 bool IsInitialized()
const;
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);
4500 int GetCachedSize()
const {
return _cached_size_; }
4504 void SetCachedSize(
int size)
const;
4507 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4508 return _internal_metadata_.arena();
4510 inline void* MaybeArenaPtr()
const {
4511 return _internal_metadata_.raw_arena_ptr();
4515 ::google::protobuf::Metadata GetMetadata()
const;
4522 bool has_dirstatus()
const;
4523 void clear_dirstatus();
4524 static const int kDirStatusFieldNumber = 1;
4525 const ::hadoop::hdfs::HdfsFileStatusProto& dirstatus()
const;
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);
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);
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);
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();
4568 int RequiredFieldsByteSizeFallback()
const;
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();
4581 void InitAsDefaultInstance();
4598 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4599 return _internal_metadata_.unknown_fields();
4602 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4603 return _internal_metadata_.mutable_unknown_fields();
4606 static const ::google::protobuf::Descriptor* descriptor();
4616 void CopyFrom(const ::google::protobuf::Message& from);
4617 void MergeFrom(const ::google::protobuf::Message& from);
4621 bool IsInitialized()
const;
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);
4633 int GetCachedSize()
const {
return _cached_size_; }
4637 void SetCachedSize(
int size)
const;
4640 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4641 return _internal_metadata_.arena();
4643 inline void* MaybeArenaPtr()
const {
4644 return _internal_metadata_.raw_arena_ptr();
4648 ::google::protobuf::Metadata GetMetadata()
const;
4655 int snapshottabledirlisting_size()
const;
4656 void clear_snapshottabledirlisting();
4657 static const int kSnapshottableDirListingFieldNumber = 1;
4658 const ::hadoop::hdfs::SnapshottableDirectoryStatusProto& snapshottabledirlisting(
int index)
const;
4661 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >*
4662 mutable_snapshottabledirlisting();
4663 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >&
4664 snapshottabledirlisting()
const;
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();
4677 void InitAsDefaultInstance();
4694 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4695 return _internal_metadata_.unknown_fields();
4698 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4699 return _internal_metadata_.mutable_unknown_fields();
4702 static const ::google::protobuf::Descriptor* descriptor();
4712 void CopyFrom(const ::google::protobuf::Message& from);
4713 void MergeFrom(const ::google::protobuf::Message& from);
4717 bool IsInitialized()
const;
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);
4729 int GetCachedSize()
const {
return _cached_size_; }
4733 void SetCachedSize(
int size)
const;
4736 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4737 return _internal_metadata_.arena();
4739 inline void* MaybeArenaPtr()
const {
4740 return _internal_metadata_.raw_arena_ptr();
4744 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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();
4796 int RequiredFieldsByteSizeFallback()
const;
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();
4808 void InitAsDefaultInstance();
4825 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4826 return _internal_metadata_.unknown_fields();
4829 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4830 return _internal_metadata_.mutable_unknown_fields();
4833 static const ::google::protobuf::Descriptor* descriptor();
4843 void CopyFrom(const ::google::protobuf::Message& from);
4844 void MergeFrom(const ::google::protobuf::Message& from);
4848 bool IsInitialized()
const;
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);
4860 int GetCachedSize()
const {
return _cached_size_; }
4864 void SetCachedSize(
int size)
const;
4867 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
4868 return _internal_metadata_.arena();
4870 inline void* MaybeArenaPtr()
const {
4871 return _internal_metadata_.raw_arena_ptr();
4875 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
4918 int diffreportentries_size()
const;
4919 void clear_diffreportentries();
4920 static const int kDiffReportEntriesFieldNumber = 4;
4921 const ::hadoop::hdfs::SnapshotDiffReportEntryProto& diffreportentries(
int index)
const;
4924 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >*
4925 mutable_diffreportentries();
4926 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >&
4927 diffreportentries()
const;
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();
4939 int RequiredFieldsByteSizeFallback()
const;
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();
4952 void InitAsDefaultInstance();
4969 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
4970 return _internal_metadata_.unknown_fields();
4973 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4974 return _internal_metadata_.mutable_unknown_fields();
4977 static const ::google::protobuf::Descriptor* descriptor();
4987 void CopyFrom(const ::google::protobuf::Message& from);
4988 void MergeFrom(const ::google::protobuf::Message& from);
4992 bool IsInitialized()
const;
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);
5004 int GetCachedSize()
const {
return _cached_size_; }
5008 void SetCachedSize(
int size)
const;
5011 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5012 return _internal_metadata_.arena();
5014 inline void* MaybeArenaPtr()
const {
5015 return _internal_metadata_.raw_arena_ptr();
5019 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
5052 bool has_ctime()
const;
5054 static const int kCTimeFieldNumber = 4;
5055 ::google::protobuf::uint64 ctime()
const;
5056 void set_ctime(::google::protobuf::uint64 value);
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();
5070 int RequiredFieldsByteSizeFallback()
const;
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();
5083 void InitAsDefaultInstance();
5100 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5101 return _internal_metadata_.unknown_fields();
5104 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5105 return _internal_metadata_.mutable_unknown_fields();
5108 static const ::google::protobuf::Descriptor* descriptor();
5118 void CopyFrom(const ::google::protobuf::Message& from);
5119 void MergeFrom(const ::google::protobuf::Message& from);
5123 bool IsInitialized()
const;
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);
5135 int GetCachedSize()
const {
return _cached_size_; }
5139 void SetCachedSize(
int size)
const;
5142 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5143 return _internal_metadata_.arena();
5145 inline void* MaybeArenaPtr()
const {
5146 return _internal_metadata_.raw_arena_ptr();
5150 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
5174 static inline const ::std::string& NamenodeRoleProto_Name(NamenodeRoleProto value) {
5175 return NamenodeRegistrationProto_NamenodeRoleProto_Name(value);
5177 static inline bool NamenodeRoleProto_Parse(const ::std::string& name,
5178 NamenodeRoleProto* value) {
5179 return NamenodeRegistrationProto_NamenodeRoleProto_Parse(name, value);
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);
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);
5209 bool has_storageinfo()
const;
5210 void clear_storageinfo();
5211 static const int kStorageInfoFieldNumber = 3;
5212 const ::hadoop::hdfs::StorageInfoProto& storageinfo()
const;
5218 bool has_role()
const;
5220 static const int kRoleFieldNumber = 4;
5221 ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto role()
const;
5222 void set_role(::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto value);
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();
5236 int RequiredFieldsByteSizeFallback()
const;
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_;
5245 friend void protobuf_AddDesc_hdfs_2eproto();
5246 friend void protobuf_AssignDesc_hdfs_2eproto();
5247 friend void protobuf_ShutdownFile_hdfs_2eproto();
5249 void InitAsDefaultInstance();
5266 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5267 return _internal_metadata_.unknown_fields();
5270 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5271 return _internal_metadata_.mutable_unknown_fields();
5274 static const ::google::protobuf::Descriptor* descriptor();
5284 void CopyFrom(const ::google::protobuf::Message& from);
5285 void MergeFrom(const ::google::protobuf::Message& from);
5289 bool IsInitialized()
const;
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);
5301 int GetCachedSize()
const {
return _cached_size_; }
5305 void SetCachedSize(
int size)
const;
5308 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5309 return _internal_metadata_.arena();
5311 inline void* MaybeArenaPtr()
const {
5312 return _internal_metadata_.raw_arena_ptr();
5316 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
5349 bool has_storageinfo()
const;
5350 void clear_storageinfo();
5351 static const int kStorageInfoFieldNumber = 4;
5352 const ::hadoop::hdfs::StorageInfoProto& storageinfo()
const;
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();
5369 int RequiredFieldsByteSizeFallback()
const;
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_;
5378 friend void protobuf_AddDesc_hdfs_2eproto();
5379 friend void protobuf_AssignDesc_hdfs_2eproto();
5380 friend void protobuf_ShutdownFile_hdfs_2eproto();
5382 void InitAsDefaultInstance();
5399 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5400 return _internal_metadata_.unknown_fields();
5403 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5404 return _internal_metadata_.mutable_unknown_fields();
5407 static const ::google::protobuf::Descriptor* descriptor();
5417 void CopyFrom(const ::google::protobuf::Message& from);
5418 void MergeFrom(const ::google::protobuf::Message& from);
5422 bool IsInitialized()
const;
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);
5434 int GetCachedSize()
const {
return _cached_size_; }
5438 void SetCachedSize(
int size)
const;
5441 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5442 return _internal_metadata_.arena();
5444 inline void* MaybeArenaPtr()
const {
5445 return _internal_metadata_.raw_arena_ptr();
5449 ::google::protobuf::Metadata GetMetadata()
const;
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);
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*
5469 return NamenodeCommandProto_Type_descriptor();
5471 static inline const ::std::string& Type_Name(Type value) {
5472 return NamenodeCommandProto_Type_Name(value);
5474 static inline bool Type_Parse(const ::std::string& name,
5476 return NamenodeCommandProto_Type_Parse(name, value);
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);
5489 bool has_type()
const;
5491 static const int kTypeFieldNumber = 2;
5492 ::hadoop::hdfs::NamenodeCommandProto_Type type()
const;
5493 void set_type(::hadoop::hdfs::NamenodeCommandProto_Type value);
5496 bool has_checkpointcmd()
const;
5497 void clear_checkpointcmd();
5498 static const int kCheckpointCmdFieldNumber = 3;
5499 const ::hadoop::hdfs::CheckpointCommandProto& checkpointcmd()
const;
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();
5514 int RequiredFieldsByteSizeFallback()
const;
5516 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5517 ::google::protobuf::uint32 _has_bits_[1];
5518 mutable int _cached_size_;
5519 ::google::protobuf::uint32 action_;
5522 friend void protobuf_AddDesc_hdfs_2eproto();
5523 friend void protobuf_AssignDesc_hdfs_2eproto();
5524 friend void protobuf_ShutdownFile_hdfs_2eproto();
5526 void InitAsDefaultInstance();
5543 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5544 return _internal_metadata_.unknown_fields();
5547 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5548 return _internal_metadata_.mutable_unknown_fields();
5551 static const ::google::protobuf::Descriptor* descriptor();
5561 void CopyFrom(const ::google::protobuf::Message& from);
5562 void MergeFrom(const ::google::protobuf::Message& from);
5566 bool IsInitialized()
const;
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);
5578 int GetCachedSize()
const {
return _cached_size_; }
5582 void SetCachedSize(
int size)
const;
5585 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5586 return _internal_metadata_.arena();
5588 inline void* MaybeArenaPtr()
const {
5589 return _internal_metadata_.raw_arena_ptr();
5593 ::google::protobuf::Metadata GetMetadata()
const;
5600 bool has_signature()
const;
5601 void clear_signature();
5602 static const int kSignatureFieldNumber = 1;
5603 const ::hadoop::hdfs::CheckpointSignatureProto& signature()
const;
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);
5617 inline void set_has_signature();
5618 inline void clear_has_signature();
5619 inline void set_has_needtoreturnimage();
5620 inline void clear_has_needtoreturnimage();
5623 int RequiredFieldsByteSizeFallback()
const;
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();
5634 void InitAsDefaultInstance();
5651 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5652 return _internal_metadata_.unknown_fields();
5655 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5656 return _internal_metadata_.mutable_unknown_fields();
5659 static const ::google::protobuf::Descriptor* descriptor();
5666 inline BlockProto* New()
const {
return New(NULL); }
5668 BlockProto* New(::google::protobuf::Arena* arena)
const;
5669 void CopyFrom(const ::google::protobuf::Message& from);
5670 void MergeFrom(const ::google::protobuf::Message& from);
5674 bool IsInitialized()
const;
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);
5686 int GetCachedSize()
const {
return _cached_size_; }
5690 void SetCachedSize(
int size)
const;
5693 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5694 return _internal_metadata_.arena();
5696 inline void* MaybeArenaPtr()
const {
5697 return _internal_metadata_.raw_arena_ptr();
5701 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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();
5738 int RequiredFieldsByteSizeFallback()
const;
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();
5750 void InitAsDefaultInstance();
5767 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5768 return _internal_metadata_.unknown_fields();
5771 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5772 return _internal_metadata_.mutable_unknown_fields();
5775 static const ::google::protobuf::Descriptor* descriptor();
5785 void CopyFrom(const ::google::protobuf::Message& from);
5786 void MergeFrom(const ::google::protobuf::Message& from);
5790 bool IsInitialized()
const;
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);
5802 int GetCachedSize()
const {
return _cached_size_; }
5806 void SetCachedSize(
int size)
const;
5809 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5810 return _internal_metadata_.arena();
5812 inline void* MaybeArenaPtr()
const {
5813 return _internal_metadata_.raw_arena_ptr();
5817 ::google::protobuf::Metadata GetMetadata()
const;
5824 bool has_block()
const;
5826 static const int kBlockFieldNumber = 1;
5827 const ::hadoop::hdfs::BlockProto& block()
const;
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();
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();
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();
5876 inline void set_has_block();
5877 inline void clear_has_block();
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();
5890 void InitAsDefaultInstance();
5907 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
5908 return _internal_metadata_.unknown_fields();
5911 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5912 return _internal_metadata_.mutable_unknown_fields();
5915 static const ::google::protobuf::Descriptor* descriptor();
5925 void CopyFrom(const ::google::protobuf::Message& from);
5926 void MergeFrom(const ::google::protobuf::Message& from);
5930 bool IsInitialized()
const;
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);
5942 int GetCachedSize()
const {
return _cached_size_; }
5946 void SetCachedSize(
int size)
const;
5949 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
5950 return _internal_metadata_.arena();
5952 inline void* MaybeArenaPtr()
const {
5953 return _internal_metadata_.raw_arena_ptr();
5957 ::google::protobuf::Metadata GetMetadata()
const;
5964 int blocks_size()
const;
5965 void clear_blocks();
5966 static const int kBlocksFieldNumber = 1;
5967 const ::hadoop::hdfs::BlockWithLocationsProto& blocks(
int index)
const;
5970 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >*
5972 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >&
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();
5986 void InitAsDefaultInstance();
6003 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6004 return _internal_metadata_.unknown_fields();
6007 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6008 return _internal_metadata_.mutable_unknown_fields();
6011 static const ::google::protobuf::Descriptor* descriptor();
6021 void CopyFrom(const ::google::protobuf::Message& from);
6022 void MergeFrom(const ::google::protobuf::Message& from);
6026 bool IsInitialized()
const;
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);
6038 int GetCachedSize()
const {
return _cached_size_; }
6042 void SetCachedSize(
int size)
const;
6045 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6046 return _internal_metadata_.arena();
6048 inline void* MaybeArenaPtr()
const {
6049 return _internal_metadata_.raw_arena_ptr();
6053 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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();
6090 int RequiredFieldsByteSizeFallback()
const;
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_;
6098 friend void protobuf_AddDesc_hdfs_2eproto();
6099 friend void protobuf_AssignDesc_hdfs_2eproto();
6100 friend void protobuf_ShutdownFile_hdfs_2eproto();
6102 void InitAsDefaultInstance();
6119 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6120 return _internal_metadata_.unknown_fields();
6123 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6124 return _internal_metadata_.mutable_unknown_fields();
6127 static const ::google::protobuf::Descriptor* descriptor();
6137 void CopyFrom(const ::google::protobuf::Message& from);
6138 void MergeFrom(const ::google::protobuf::Message& from);
6142 bool IsInitialized()
const;
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);
6154 int GetCachedSize()
const {
return _cached_size_; }
6158 void SetCachedSize(
int size)
const;
6161 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6162 return _internal_metadata_.arena();
6164 inline void* MaybeArenaPtr()
const {
6165 return _internal_metadata_.raw_arena_ptr();
6169 ::google::protobuf::Metadata GetMetadata()
const;
6176 int logs_size()
const;
6178 static const int kLogsFieldNumber = 1;
6179 const ::hadoop::hdfs::RemoteEditLogProto& logs(
int index)
const;
6182 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >*
6184 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >&
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();
6198 void InitAsDefaultInstance();
6215 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6216 return _internal_metadata_.unknown_fields();
6219 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6220 return _internal_metadata_.mutable_unknown_fields();
6223 static const ::google::protobuf::Descriptor* descriptor();
6233 void CopyFrom(const ::google::protobuf::Message& from);
6234 void MergeFrom(const ::google::protobuf::Message& from);
6238 bool IsInitialized()
const;
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);
6250 int GetCachedSize()
const {
return _cached_size_; }
6254 void SetCachedSize(
int size)
const;
6257 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6258 return _internal_metadata_.arena();
6260 inline void* MaybeArenaPtr()
const {
6261 return _internal_metadata_.raw_arena_ptr();
6265 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
6303 bool has_storageinfo()
const;
6304 void clear_storageinfo();
6305 static const int kStorageInfoFieldNumber = 4;
6306 const ::hadoop::hdfs::StorageInfoProto& storageinfo()
const;
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);
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);
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();
6346 int RequiredFieldsByteSizeFallback()
const;
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_;
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();
6361 void InitAsDefaultInstance();
6378 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6379 return _internal_metadata_.unknown_fields();
6382 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6383 return _internal_metadata_.mutable_unknown_fields();
6386 static const ::google::protobuf::Descriptor* descriptor();
6396 void CopyFrom(const ::google::protobuf::Message& from);
6397 void MergeFrom(const ::google::protobuf::Message& from);
6401 bool IsInitialized()
const;
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);
6413 int GetCachedSize()
const {
return _cached_size_; }
6417 void SetCachedSize(
int size)
const;
6420 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6421 return _internal_metadata_.arena();
6423 inline void* MaybeArenaPtr()
const {
6424 return _internal_metadata_.raw_arena_ptr();
6428 ::google::protobuf::Metadata GetMetadata()
const;
6435 bool has_keyid()
const;
6437 static const int kKeyIdFieldNumber = 1;
6438 ::google::protobuf::uint32 keyid()
const;
6439 void set_keyid(::google::protobuf::uint32 value);
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);
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);
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();
6470 int RequiredFieldsByteSizeFallback()
const;
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();
6482 void InitAsDefaultInstance();
6499 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6500 return _internal_metadata_.unknown_fields();
6503 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6504 return _internal_metadata_.mutable_unknown_fields();
6507 static const ::google::protobuf::Descriptor* descriptor();
6517 void CopyFrom(const ::google::protobuf::Message& from);
6518 void MergeFrom(const ::google::protobuf::Message& from);
6522 bool IsInitialized()
const;
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);
6534 int GetCachedSize()
const {
return _cached_size_; }
6538 void SetCachedSize(
int size)
const;
6541 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6542 return _internal_metadata_.arena();
6544 inline void* MaybeArenaPtr()
const {
6545 return _internal_metadata_.raw_arena_ptr();
6549 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
6577 bool has_currentkey()
const;
6578 void clear_currentkey();
6579 static const int kCurrentKeyFieldNumber = 4;
6580 const ::hadoop::hdfs::BlockKeyProto& currentkey()
const;
6586 int allkeys_size()
const;
6587 void clear_allkeys();
6588 static const int kAllKeysFieldNumber = 5;
6589 const ::hadoop::hdfs::BlockKeyProto& allkeys(
int index)
const;
6592 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >*
6594 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >&
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();
6609 int RequiredFieldsByteSizeFallback()
const;
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_;
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();
6623 void InitAsDefaultInstance();
6640 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6641 return _internal_metadata_.unknown_fields();
6644 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6645 return _internal_metadata_.mutable_unknown_fields();
6648 static const ::google::protobuf::Descriptor* descriptor();
6658 void CopyFrom(const ::google::protobuf::Message& from);
6659 void MergeFrom(const ::google::protobuf::Message& from);
6663 bool IsInitialized()
const;
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);
6675 int GetCachedSize()
const {
return _cached_size_; }
6679 void SetCachedSize(
int size)
const;
6682 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6683 return _internal_metadata_.arena();
6685 inline void* MaybeArenaPtr()
const {
6686 return _internal_metadata_.raw_arena_ptr();
6690 ::google::protobuf::Metadata GetMetadata()
const;
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);
6704 bool has_block()
const;
6706 static const int kBlockFieldNumber = 2;
6707 const ::hadoop::hdfs::LocatedBlockProto& block()
const;
6713 bool has_truncateblock()
const;
6714 void clear_truncateblock();
6715 static const int kTruncateBlockFieldNumber = 3;
6716 const ::hadoop::hdfs::BlockProto& truncateblock()
const;
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();
6731 int RequiredFieldsByteSizeFallback()
const;
6733 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6734 ::google::protobuf::uint32 _has_bits_[1];
6735 mutable int _cached_size_;
6736 ::google::protobuf::uint64 newgenstamp_;
6739 friend void protobuf_AddDesc_hdfs_2eproto();
6740 friend void protobuf_AssignDesc_hdfs_2eproto();
6741 friend void protobuf_ShutdownFile_hdfs_2eproto();
6743 void InitAsDefaultInstance();
6760 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6761 return _internal_metadata_.unknown_fields();
6764 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6765 return _internal_metadata_.mutable_unknown_fields();
6768 static const ::google::protobuf::Descriptor* descriptor();
6778 void CopyFrom(const ::google::protobuf::Message& from);
6779 void MergeFrom(const ::google::protobuf::Message& from);
6783 bool IsInitialized()
const;
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);
6795 int GetCachedSize()
const {
return _cached_size_; }
6799 void SetCachedSize(
int size)
const;
6802 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6803 return _internal_metadata_.arena();
6805 inline void* MaybeArenaPtr()
const {
6806 return _internal_metadata_.raw_arena_ptr();
6810 ::google::protobuf::Metadata GetMetadata()
const;
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();
6826 void InitAsDefaultInstance();
6843 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6844 return _internal_metadata_.unknown_fields();
6847 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6848 return _internal_metadata_.mutable_unknown_fields();
6851 static const ::google::protobuf::Descriptor* descriptor();
6861 void CopyFrom(const ::google::protobuf::Message& from);
6862 void MergeFrom(const ::google::protobuf::Message& from);
6866 bool IsInitialized()
const;
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);
6878 int GetCachedSize()
const {
return _cached_size_; }
6882 void SetCachedSize(
int size)
const;
6885 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6886 return _internal_metadata_.arena();
6888 inline void* MaybeArenaPtr()
const {
6889 return _internal_metadata_.raw_arena_ptr();
6893 ::google::protobuf::Metadata GetMetadata()
const;
6900 bool has_info()
const;
6902 static const int kInfoFieldNumber = 1;
6903 const ::hadoop::hdfs::NamespaceInfoProto& info()
const;
6910 inline void set_has_info();
6911 inline void clear_has_info();
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();
6921 void InitAsDefaultInstance();
6938 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
6939 return _internal_metadata_.unknown_fields();
6942 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6943 return _internal_metadata_.mutable_unknown_fields();
6946 static const ::google::protobuf::Descriptor* descriptor();
6956 void CopyFrom(const ::google::protobuf::Message& from);
6957 void MergeFrom(const ::google::protobuf::Message& from);
6961 bool IsInitialized()
const;
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);
6973 int GetCachedSize()
const {
return _cached_size_; }
6977 void SetCachedSize(
int size)
const;
6980 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
6981 return _internal_metadata_.arena();
6983 inline void* MaybeArenaPtr()
const {
6984 return _internal_metadata_.raw_arena_ptr();
6988 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
7019 bool has_permission()
const;
7020 void clear_permission();
7021 static const int kPermissionFieldNumber = 3;
7022 const ::hadoop::hdfs::FsPermissionProto& permission()
const;
7028 bool has_owner()
const;
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);
7040 bool has_group()
const;
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);
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);
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();
7079 int RequiredFieldsByteSizeFallback()
const;
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_;
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();
7094 void InitAsDefaultInstance();
7111 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
7112 return _internal_metadata_.unknown_fields();
7115 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7116 return _internal_metadata_.mutable_unknown_fields();
7119 static const ::google::protobuf::Descriptor* descriptor();
7129 void CopyFrom(const ::google::protobuf::Message& from);
7130 void MergeFrom(const ::google::protobuf::Message& from);
7134 bool IsInitialized()
const;
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);
7146 int GetCachedSize()
const {
return _cached_size_; }
7150 void SetCachedSize(
int size)
const;
7153 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
7154 return _internal_metadata_.arena();
7156 inline void* MaybeArenaPtr()
const {
7157 return _internal_metadata_.raw_arena_ptr();
7161 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
7188 inline void set_has_blockpoolid();
7189 inline void clear_has_blockpoolid();
7190 inline void set_has_finalized();
7191 inline void clear_has_finalized();
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_;
7198 friend void protobuf_AddDesc_hdfs_2eproto();
7199 friend void protobuf_AssignDesc_hdfs_2eproto();
7200 friend void protobuf_ShutdownFile_hdfs_2eproto();
7202 void InitAsDefaultInstance();
7210 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
7214 inline bool ExtendedBlockProto::has_poolid()
const {
7215 return (_has_bits_[0] & 0x00000001u) != 0;
7217 inline void ExtendedBlockProto::set_has_poolid() {
7218 _has_bits_[0] |= 0x00000001u;
7220 inline void ExtendedBlockProto::clear_has_poolid() {
7221 _has_bits_[0] &= ~0x00000001u;
7223 inline void ExtendedBlockProto::clear_poolid() {
7224 poolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7227 inline const ::std::string& ExtendedBlockProto::poolid()
const {
7229 return poolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7231 inline void ExtendedBlockProto::set_poolid(const ::std::string& value) {
7233 poolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7236 inline void ExtendedBlockProto::set_poolid(
const char* value) {
7238 poolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7241 inline void ExtendedBlockProto::set_poolid(
const char* value,
size_t size) {
7243 poolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7244 ::std::string(reinterpret_cast<const char*>(value), size));
7247 inline ::std::string* ExtendedBlockProto::mutable_poolid() {
7250 return poolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7252 inline ::std::string* ExtendedBlockProto::release_poolid() {
7255 return poolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7257 inline void ExtendedBlockProto::set_allocated_poolid(::std::string* poolid) {
7258 if (poolid != NULL) {
7263 poolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), poolid);
7268 inline bool ExtendedBlockProto::has_blockid()
const {
7269 return (_has_bits_[0] & 0x00000002u) != 0;
7271 inline void ExtendedBlockProto::set_has_blockid() {
7272 _has_bits_[0] |= 0x00000002u;
7274 inline void ExtendedBlockProto::clear_has_blockid() {
7275 _has_bits_[0] &= ~0x00000002u;
7277 inline void ExtendedBlockProto::clear_blockid() {
7278 blockid_ = GOOGLE_ULONGLONG(0);
7279 clear_has_blockid();
7281 inline ::google::protobuf::uint64 ExtendedBlockProto::blockid()
const {
7285 inline void ExtendedBlockProto::set_blockid(::google::protobuf::uint64 value) {
7292 inline bool ExtendedBlockProto::has_generationstamp()
const {
7293 return (_has_bits_[0] & 0x00000004u) != 0;
7295 inline void ExtendedBlockProto::set_has_generationstamp() {
7296 _has_bits_[0] |= 0x00000004u;
7298 inline void ExtendedBlockProto::clear_has_generationstamp() {
7299 _has_bits_[0] &= ~0x00000004u;
7301 inline void ExtendedBlockProto::clear_generationstamp() {
7302 generationstamp_ = GOOGLE_ULONGLONG(0);
7303 clear_has_generationstamp();
7305 inline ::google::protobuf::uint64 ExtendedBlockProto::generationstamp()
const {
7307 return generationstamp_;
7309 inline void ExtendedBlockProto::set_generationstamp(::google::protobuf::uint64 value) {
7310 set_has_generationstamp();
7311 generationstamp_ = value;
7316 inline bool ExtendedBlockProto::has_numbytes()
const {
7317 return (_has_bits_[0] & 0x00000008u) != 0;
7319 inline void ExtendedBlockProto::set_has_numbytes() {
7320 _has_bits_[0] |= 0x00000008u;
7322 inline void ExtendedBlockProto::clear_has_numbytes() {
7323 _has_bits_[0] &= ~0x00000008u;
7325 inline void ExtendedBlockProto::clear_numbytes() {
7326 numbytes_ = GOOGLE_ULONGLONG(0);
7327 clear_has_numbytes();
7329 inline ::google::protobuf::uint64 ExtendedBlockProto::numbytes()
const {
7333 inline void ExtendedBlockProto::set_numbytes(::google::protobuf::uint64 value) {
7344 inline bool DatanodeIDProto::has_ipaddr()
const {
7345 return (_has_bits_[0] & 0x00000001u) != 0;
7347 inline void DatanodeIDProto::set_has_ipaddr() {
7348 _has_bits_[0] |= 0x00000001u;
7350 inline void DatanodeIDProto::clear_has_ipaddr() {
7351 _has_bits_[0] &= ~0x00000001u;
7353 inline void DatanodeIDProto::clear_ipaddr() {
7354 ipaddr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7357 inline const ::std::string& DatanodeIDProto::ipaddr()
const {
7359 return ipaddr_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7361 inline void DatanodeIDProto::set_ipaddr(const ::std::string& value) {
7363 ipaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7366 inline void DatanodeIDProto::set_ipaddr(
const char* value) {
7368 ipaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7371 inline void DatanodeIDProto::set_ipaddr(
const char* value,
size_t size) {
7373 ipaddr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7374 ::std::string(reinterpret_cast<const char*>(value), size));
7377 inline ::std::string* DatanodeIDProto::mutable_ipaddr() {
7380 return ipaddr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7382 inline ::std::string* DatanodeIDProto::release_ipaddr() {
7385 return ipaddr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7387 inline void DatanodeIDProto::set_allocated_ipaddr(::std::string* ipaddr) {
7388 if (ipaddr != NULL) {
7393 ipaddr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ipaddr);
7398 inline bool DatanodeIDProto::has_hostname()
const {
7399 return (_has_bits_[0] & 0x00000002u) != 0;
7401 inline void DatanodeIDProto::set_has_hostname() {
7402 _has_bits_[0] |= 0x00000002u;
7404 inline void DatanodeIDProto::clear_has_hostname() {
7405 _has_bits_[0] &= ~0x00000002u;
7407 inline void DatanodeIDProto::clear_hostname() {
7408 hostname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7409 clear_has_hostname();
7411 inline const ::std::string& DatanodeIDProto::hostname()
const {
7413 return hostname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7415 inline void DatanodeIDProto::set_hostname(const ::std::string& value) {
7417 hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7420 inline void DatanodeIDProto::set_hostname(
const char* value) {
7422 hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7425 inline void DatanodeIDProto::set_hostname(
const char* value,
size_t size) {
7427 hostname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7428 ::std::string(reinterpret_cast<const char*>(value), size));
7431 inline ::std::string* DatanodeIDProto::mutable_hostname() {
7434 return hostname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7436 inline ::std::string* DatanodeIDProto::release_hostname() {
7438 clear_has_hostname();
7439 return hostname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7441 inline void DatanodeIDProto::set_allocated_hostname(::std::string* hostname) {
7442 if (hostname != NULL) {
7445 clear_has_hostname();
7447 hostname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hostname);
7452 inline bool DatanodeIDProto::has_datanodeuuid()
const {
7453 return (_has_bits_[0] & 0x00000004u) != 0;
7455 inline void DatanodeIDProto::set_has_datanodeuuid() {
7456 _has_bits_[0] |= 0x00000004u;
7458 inline void DatanodeIDProto::clear_has_datanodeuuid() {
7459 _has_bits_[0] &= ~0x00000004u;
7461 inline void DatanodeIDProto::clear_datanodeuuid() {
7462 datanodeuuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7463 clear_has_datanodeuuid();
7465 inline const ::std::string& DatanodeIDProto::datanodeuuid()
const {
7467 return datanodeuuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7469 inline void DatanodeIDProto::set_datanodeuuid(const ::std::string& value) {
7470 set_has_datanodeuuid();
7471 datanodeuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7474 inline void DatanodeIDProto::set_datanodeuuid(
const char* value) {
7475 set_has_datanodeuuid();
7476 datanodeuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
7485 inline ::std::string* DatanodeIDProto::mutable_datanodeuuid() {
7486 set_has_datanodeuuid();
7488 return datanodeuuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7490 inline ::std::string* DatanodeIDProto::release_datanodeuuid() {
7492 clear_has_datanodeuuid();
7493 return datanodeuuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7495 inline void DatanodeIDProto::set_allocated_datanodeuuid(::std::string* datanodeuuid) {
7496 if (datanodeuuid != NULL) {
7497 set_has_datanodeuuid();
7499 clear_has_datanodeuuid();
7501 datanodeuuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), datanodeuuid);
7506 inline bool DatanodeIDProto::has_xferport()
const {
7507 return (_has_bits_[0] & 0x00000008u) != 0;
7509 inline void DatanodeIDProto::set_has_xferport() {
7510 _has_bits_[0] |= 0x00000008u;
7512 inline void DatanodeIDProto::clear_has_xferport() {
7513 _has_bits_[0] &= ~0x00000008u;
7515 inline void DatanodeIDProto::clear_xferport() {
7517 clear_has_xferport();
7519 inline ::google::protobuf::uint32 DatanodeIDProto::xferport()
const {
7523 inline void DatanodeIDProto::set_xferport(::google::protobuf::uint32 value) {
7530 inline bool DatanodeIDProto::has_infoport()
const {
7531 return (_has_bits_[0] & 0x00000010u) != 0;
7533 inline void DatanodeIDProto::set_has_infoport() {
7534 _has_bits_[0] |= 0x00000010u;
7536 inline void DatanodeIDProto::clear_has_infoport() {
7537 _has_bits_[0] &= ~0x00000010u;
7539 inline void DatanodeIDProto::clear_infoport() {
7541 clear_has_infoport();
7543 inline ::google::protobuf::uint32 DatanodeIDProto::infoport()
const {
7547 inline void DatanodeIDProto::set_infoport(::google::protobuf::uint32 value) {
7554 inline bool DatanodeIDProto::has_ipcport()
const {
7555 return (_has_bits_[0] & 0x00000020u) != 0;
7557 inline void DatanodeIDProto::set_has_ipcport() {
7558 _has_bits_[0] |= 0x00000020u;
7560 inline void DatanodeIDProto::clear_has_ipcport() {
7561 _has_bits_[0] &= ~0x00000020u;
7563 inline void DatanodeIDProto::clear_ipcport() {
7565 clear_has_ipcport();
7567 inline ::google::protobuf::uint32 DatanodeIDProto::ipcport()
const {
7571 inline void DatanodeIDProto::set_ipcport(::google::protobuf::uint32 value) {
7578 inline bool DatanodeIDProto::has_infosecureport()
const {
7579 return (_has_bits_[0] & 0x00000040u) != 0;
7581 inline void DatanodeIDProto::set_has_infosecureport() {
7582 _has_bits_[0] |= 0x00000040u;
7584 inline void DatanodeIDProto::clear_has_infosecureport() {
7585 _has_bits_[0] &= ~0x00000040u;
7587 inline void DatanodeIDProto::clear_infosecureport() {
7588 infosecureport_ = 0u;
7589 clear_has_infosecureport();
7591 inline ::google::protobuf::uint32 DatanodeIDProto::infosecureport()
const {
7593 return infosecureport_;
7595 inline void DatanodeIDProto::set_infosecureport(::google::protobuf::uint32 value) {
7596 set_has_infosecureport();
7597 infosecureport_ = value;
7606 inline bool DatanodeLocalInfoProto::has_softwareversion()
const {
7607 return (_has_bits_[0] & 0x00000001u) != 0;
7609 inline void DatanodeLocalInfoProto::set_has_softwareversion() {
7610 _has_bits_[0] |= 0x00000001u;
7612 inline void DatanodeLocalInfoProto::clear_has_softwareversion() {
7613 _has_bits_[0] &= ~0x00000001u;
7615 inline void DatanodeLocalInfoProto::clear_softwareversion() {
7616 softwareversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7617 clear_has_softwareversion();
7619 inline const ::std::string& DatanodeLocalInfoProto::softwareversion()
const {
7621 return softwareversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7623 inline void DatanodeLocalInfoProto::set_softwareversion(const ::std::string& value) {
7624 set_has_softwareversion();
7625 softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7628 inline void DatanodeLocalInfoProto::set_softwareversion(
const char* value) {
7629 set_has_softwareversion();
7630 softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
7639 inline ::std::string* DatanodeLocalInfoProto::mutable_softwareversion() {
7640 set_has_softwareversion();
7642 return softwareversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7644 inline ::std::string* DatanodeLocalInfoProto::release_softwareversion() {
7646 clear_has_softwareversion();
7647 return softwareversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7649 inline void DatanodeLocalInfoProto::set_allocated_softwareversion(::std::string* softwareversion) {
7650 if (softwareversion != NULL) {
7651 set_has_softwareversion();
7653 clear_has_softwareversion();
7655 softwareversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), softwareversion);
7660 inline bool DatanodeLocalInfoProto::has_configversion()
const {
7661 return (_has_bits_[0] & 0x00000002u) != 0;
7663 inline void DatanodeLocalInfoProto::set_has_configversion() {
7664 _has_bits_[0] |= 0x00000002u;
7666 inline void DatanodeLocalInfoProto::clear_has_configversion() {
7667 _has_bits_[0] &= ~0x00000002u;
7669 inline void DatanodeLocalInfoProto::clear_configversion() {
7670 configversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7671 clear_has_configversion();
7673 inline const ::std::string& DatanodeLocalInfoProto::configversion()
const {
7675 return configversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7677 inline void DatanodeLocalInfoProto::set_configversion(const ::std::string& value) {
7678 set_has_configversion();
7679 configversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7682 inline void DatanodeLocalInfoProto::set_configversion(
const char* value) {
7683 set_has_configversion();
7684 configversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
7693 inline ::std::string* DatanodeLocalInfoProto::mutable_configversion() {
7694 set_has_configversion();
7696 return configversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7698 inline ::std::string* DatanodeLocalInfoProto::release_configversion() {
7700 clear_has_configversion();
7701 return configversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7703 inline void DatanodeLocalInfoProto::set_allocated_configversion(::std::string* configversion) {
7704 if (configversion != NULL) {
7705 set_has_configversion();
7707 clear_has_configversion();
7709 configversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), configversion);
7714 inline bool DatanodeLocalInfoProto::has_uptime()
const {
7715 return (_has_bits_[0] & 0x00000004u) != 0;
7717 inline void DatanodeLocalInfoProto::set_has_uptime() {
7718 _has_bits_[0] |= 0x00000004u;
7720 inline void DatanodeLocalInfoProto::clear_has_uptime() {
7721 _has_bits_[0] &= ~0x00000004u;
7723 inline void DatanodeLocalInfoProto::clear_uptime() {
7724 uptime_ = GOOGLE_ULONGLONG(0);
7727 inline ::google::protobuf::uint64 DatanodeLocalInfoProto::uptime()
const {
7731 inline void DatanodeLocalInfoProto::set_uptime(::google::protobuf::uint64 value) {
7742 inline int DatanodeInfosProto::datanodes_size()
const {
7743 return datanodes_.size();
7745 inline void DatanodeInfosProto::clear_datanodes() {
7748 inline const ::hadoop::hdfs::DatanodeInfoProto& DatanodeInfosProto::datanodes(
int index)
const {
7750 return datanodes_.Get(index);
7752 inline ::hadoop::hdfs::DatanodeInfoProto* DatanodeInfosProto::mutable_datanodes(
int index) {
7754 return datanodes_.Mutable(index);
7756 inline ::hadoop::hdfs::DatanodeInfoProto* DatanodeInfosProto::add_datanodes() {
7758 return datanodes_.Add();
7760 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
7761 DatanodeInfosProto::mutable_datanodes() {
7765 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
7766 DatanodeInfosProto::datanodes()
const {
7776 inline bool DatanodeInfoProto::has_id()
const {
7777 return (_has_bits_[0] & 0x00000001u) != 0;
7779 inline void DatanodeInfoProto::set_has_id() {
7780 _has_bits_[0] |= 0x00000001u;
7782 inline void DatanodeInfoProto::clear_has_id() {
7783 _has_bits_[0] &= ~0x00000001u;
7785 inline void DatanodeInfoProto::clear_id() {
7786 if (id_ != NULL) id_->::hadoop::hdfs::DatanodeIDProto::Clear();
7789 inline const ::hadoop::hdfs::DatanodeIDProto& DatanodeInfoProto::id()
const {
7791 return id_ != NULL ? *id_ : *default_instance_->id_;
7793 inline ::hadoop::hdfs::DatanodeIDProto* DatanodeInfoProto::mutable_id() {
7796 id_ = new ::hadoop::hdfs::DatanodeIDProto;
7801 inline ::hadoop::hdfs::DatanodeIDProto* DatanodeInfoProto::release_id() {
7820 inline bool DatanodeInfoProto::has_capacity()
const {
7821 return (_has_bits_[0] & 0x00000002u) != 0;
7823 inline void DatanodeInfoProto::set_has_capacity() {
7824 _has_bits_[0] |= 0x00000002u;
7826 inline void DatanodeInfoProto::clear_has_capacity() {
7827 _has_bits_[0] &= ~0x00000002u;
7829 inline void DatanodeInfoProto::clear_capacity() {
7830 capacity_ = GOOGLE_ULONGLONG(0);
7831 clear_has_capacity();
7833 inline ::google::protobuf::uint64 DatanodeInfoProto::capacity()
const {
7837 inline void DatanodeInfoProto::set_capacity(::google::protobuf::uint64 value) {
7844 inline bool DatanodeInfoProto::has_dfsused()
const {
7845 return (_has_bits_[0] & 0x00000004u) != 0;
7847 inline void DatanodeInfoProto::set_has_dfsused() {
7848 _has_bits_[0] |= 0x00000004u;
7850 inline void DatanodeInfoProto::clear_has_dfsused() {
7851 _has_bits_[0] &= ~0x00000004u;
7853 inline void DatanodeInfoProto::clear_dfsused() {
7854 dfsused_ = GOOGLE_ULONGLONG(0);
7855 clear_has_dfsused();
7857 inline ::google::protobuf::uint64 DatanodeInfoProto::dfsused()
const {
7861 inline void DatanodeInfoProto::set_dfsused(::google::protobuf::uint64 value) {
7868 inline bool DatanodeInfoProto::has_remaining()
const {
7869 return (_has_bits_[0] & 0x00000008u) != 0;
7871 inline void DatanodeInfoProto::set_has_remaining() {
7872 _has_bits_[0] |= 0x00000008u;
7874 inline void DatanodeInfoProto::clear_has_remaining() {
7875 _has_bits_[0] &= ~0x00000008u;
7877 inline void DatanodeInfoProto::clear_remaining() {
7878 remaining_ = GOOGLE_ULONGLONG(0);
7879 clear_has_remaining();
7881 inline ::google::protobuf::uint64 DatanodeInfoProto::remaining()
const {
7885 inline void DatanodeInfoProto::set_remaining(::google::protobuf::uint64 value) {
7886 set_has_remaining();
7892 inline bool DatanodeInfoProto::has_blockpoolused()
const {
7893 return (_has_bits_[0] & 0x00000010u) != 0;
7895 inline void DatanodeInfoProto::set_has_blockpoolused() {
7896 _has_bits_[0] |= 0x00000010u;
7898 inline void DatanodeInfoProto::clear_has_blockpoolused() {
7899 _has_bits_[0] &= ~0x00000010u;
7901 inline void DatanodeInfoProto::clear_blockpoolused() {
7902 blockpoolused_ = GOOGLE_ULONGLONG(0);
7903 clear_has_blockpoolused();
7905 inline ::google::protobuf::uint64 DatanodeInfoProto::blockpoolused()
const {
7907 return blockpoolused_;
7909 inline void DatanodeInfoProto::set_blockpoolused(::google::protobuf::uint64 value) {
7910 set_has_blockpoolused();
7911 blockpoolused_ = value;
7916 inline bool DatanodeInfoProto::has_lastupdate()
const {
7917 return (_has_bits_[0] & 0x00000020u) != 0;
7919 inline void DatanodeInfoProto::set_has_lastupdate() {
7920 _has_bits_[0] |= 0x00000020u;
7922 inline void DatanodeInfoProto::clear_has_lastupdate() {
7923 _has_bits_[0] &= ~0x00000020u;
7925 inline void DatanodeInfoProto::clear_lastupdate() {
7926 lastupdate_ = GOOGLE_ULONGLONG(0);
7927 clear_has_lastupdate();
7929 inline ::google::protobuf::uint64 DatanodeInfoProto::lastupdate()
const {
7933 inline void DatanodeInfoProto::set_lastupdate(::google::protobuf::uint64 value) {
7934 set_has_lastupdate();
7935 lastupdate_ = value;
7940 inline bool DatanodeInfoProto::has_xceivercount()
const {
7941 return (_has_bits_[0] & 0x00000040u) != 0;
7943 inline void DatanodeInfoProto::set_has_xceivercount() {
7944 _has_bits_[0] |= 0x00000040u;
7946 inline void DatanodeInfoProto::clear_has_xceivercount() {
7947 _has_bits_[0] &= ~0x00000040u;
7949 inline void DatanodeInfoProto::clear_xceivercount() {
7951 clear_has_xceivercount();
7953 inline ::google::protobuf::uint32 DatanodeInfoProto::xceivercount()
const {
7955 return xceivercount_;
7957 inline void DatanodeInfoProto::set_xceivercount(::google::protobuf::uint32 value) {
7958 set_has_xceivercount();
7959 xceivercount_ = value;
7964 inline bool DatanodeInfoProto::has_location()
const {
7965 return (_has_bits_[0] & 0x00000080u) != 0;
7967 inline void DatanodeInfoProto::set_has_location() {
7968 _has_bits_[0] |= 0x00000080u;
7970 inline void DatanodeInfoProto::clear_has_location() {
7971 _has_bits_[0] &= ~0x00000080u;
7973 inline void DatanodeInfoProto::clear_location() {
7974 location_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7975 clear_has_location();
7977 inline const ::std::string& DatanodeInfoProto::location()
const {
7979 return location_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7981 inline void DatanodeInfoProto::set_location(const ::std::string& value) {
7983 location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7986 inline void DatanodeInfoProto::set_location(
const char* value) {
7988 location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7991 inline void DatanodeInfoProto::set_location(
const char* value,
size_t size) {
7993 location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7994 ::std::string(reinterpret_cast<const char*>(value), size));
7997 inline ::std::string* DatanodeInfoProto::mutable_location() {
8000 return location_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8002 inline ::std::string* DatanodeInfoProto::release_location() {
8004 clear_has_location();
8005 return location_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8007 inline void DatanodeInfoProto::set_allocated_location(::std::string* location) {
8008 if (location != NULL) {
8011 clear_has_location();
8013 location_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), location);
8018 inline bool DatanodeInfoProto::has_adminstate()
const {
8019 return (_has_bits_[0] & 0x00000100u) != 0;
8021 inline void DatanodeInfoProto::set_has_adminstate() {
8022 _has_bits_[0] |= 0x00000100u;
8024 inline void DatanodeInfoProto::clear_has_adminstate() {
8025 _has_bits_[0] &= ~0x00000100u;
8027 inline void DatanodeInfoProto::clear_adminstate() {
8029 clear_has_adminstate();
8031 inline ::hadoop::hdfs::DatanodeInfoProto_AdminState DatanodeInfoProto::adminstate()
const {
8033 return static_cast< ::hadoop::hdfs::DatanodeInfoProto_AdminState
>(adminstate_);
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;
8043 inline bool DatanodeInfoProto::has_cachecapacity()
const {
8044 return (_has_bits_[0] & 0x00000200u) != 0;
8046 inline void DatanodeInfoProto::set_has_cachecapacity() {
8047 _has_bits_[0] |= 0x00000200u;
8049 inline void DatanodeInfoProto::clear_has_cachecapacity() {
8050 _has_bits_[0] &= ~0x00000200u;
8052 inline void DatanodeInfoProto::clear_cachecapacity() {
8053 cachecapacity_ = GOOGLE_ULONGLONG(0);
8054 clear_has_cachecapacity();
8056 inline ::google::protobuf::uint64 DatanodeInfoProto::cachecapacity()
const {
8058 return cachecapacity_;
8060 inline void DatanodeInfoProto::set_cachecapacity(::google::protobuf::uint64 value) {
8061 set_has_cachecapacity();
8062 cachecapacity_ = value;
8067 inline bool DatanodeInfoProto::has_cacheused()
const {
8068 return (_has_bits_[0] & 0x00000400u) != 0;
8070 inline void DatanodeInfoProto::set_has_cacheused() {
8071 _has_bits_[0] |= 0x00000400u;
8073 inline void DatanodeInfoProto::clear_has_cacheused() {
8074 _has_bits_[0] &= ~0x00000400u;
8076 inline void DatanodeInfoProto::clear_cacheused() {
8077 cacheused_ = GOOGLE_ULONGLONG(0);
8078 clear_has_cacheused();
8080 inline ::google::protobuf::uint64 DatanodeInfoProto::cacheused()
const {
8084 inline void DatanodeInfoProto::set_cacheused(::google::protobuf::uint64 value) {
8085 set_has_cacheused();
8091 inline bool DatanodeInfoProto::has_lastupdatemonotonic()
const {
8092 return (_has_bits_[0] & 0x00000800u) != 0;
8094 inline void DatanodeInfoProto::set_has_lastupdatemonotonic() {
8095 _has_bits_[0] |= 0x00000800u;
8097 inline void DatanodeInfoProto::clear_has_lastupdatemonotonic() {
8098 _has_bits_[0] &= ~0x00000800u;
8100 inline void DatanodeInfoProto::clear_lastupdatemonotonic() {
8101 lastupdatemonotonic_ = GOOGLE_ULONGLONG(0);
8102 clear_has_lastupdatemonotonic();
8104 inline ::google::protobuf::uint64 DatanodeInfoProto::lastupdatemonotonic()
const {
8106 return lastupdatemonotonic_;
8108 inline void DatanodeInfoProto::set_lastupdatemonotonic(::google::protobuf::uint64 value) {
8109 set_has_lastupdatemonotonic();
8110 lastupdatemonotonic_ = value;
8119 inline bool DatanodeStorageProto::has_storageuuid()
const {
8120 return (_has_bits_[0] & 0x00000001u) != 0;
8122 inline void DatanodeStorageProto::set_has_storageuuid() {
8123 _has_bits_[0] |= 0x00000001u;
8125 inline void DatanodeStorageProto::clear_has_storageuuid() {
8126 _has_bits_[0] &= ~0x00000001u;
8128 inline void DatanodeStorageProto::clear_storageuuid() {
8129 storageuuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8130 clear_has_storageuuid();
8132 inline const ::std::string& DatanodeStorageProto::storageuuid()
const {
8134 return storageuuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8136 inline void DatanodeStorageProto::set_storageuuid(const ::std::string& value) {
8137 set_has_storageuuid();
8138 storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8141 inline void DatanodeStorageProto::set_storageuuid(
const char* value) {
8142 set_has_storageuuid();
8143 storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
8152 inline ::std::string* DatanodeStorageProto::mutable_storageuuid() {
8153 set_has_storageuuid();
8155 return storageuuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8157 inline ::std::string* DatanodeStorageProto::release_storageuuid() {
8159 clear_has_storageuuid();
8160 return storageuuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8162 inline void DatanodeStorageProto::set_allocated_storageuuid(::std::string* storageuuid) {
8163 if (storageuuid != NULL) {
8164 set_has_storageuuid();
8166 clear_has_storageuuid();
8168 storageuuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), storageuuid);
8173 inline bool DatanodeStorageProto::has_state()
const {
8174 return (_has_bits_[0] & 0x00000002u) != 0;
8176 inline void DatanodeStorageProto::set_has_state() {
8177 _has_bits_[0] |= 0x00000002u;
8179 inline void DatanodeStorageProto::clear_has_state() {
8180 _has_bits_[0] &= ~0x00000002u;
8182 inline void DatanodeStorageProto::clear_state() {
8186 inline ::hadoop::hdfs::DatanodeStorageProto_StorageState DatanodeStorageProto::state()
const {
8188 return static_cast< ::hadoop::hdfs::DatanodeStorageProto_StorageState
>(state_);
8190 inline void DatanodeStorageProto::set_state(::hadoop::hdfs::DatanodeStorageProto_StorageState value) {
8191 assert(::hadoop::hdfs::DatanodeStorageProto_StorageState_IsValid(value));
8198 inline bool DatanodeStorageProto::has_storagetype()
const {
8199 return (_has_bits_[0] & 0x00000004u) != 0;
8201 inline void DatanodeStorageProto::set_has_storagetype() {
8202 _has_bits_[0] |= 0x00000004u;
8204 inline void DatanodeStorageProto::clear_has_storagetype() {
8205 _has_bits_[0] &= ~0x00000004u;
8207 inline void DatanodeStorageProto::clear_storagetype() {
8209 clear_has_storagetype();
8211 inline ::hadoop::hdfs::StorageTypeProto DatanodeStorageProto::storagetype()
const {
8213 return static_cast< ::hadoop::hdfs::StorageTypeProto
>(storagetype_);
8215 inline void DatanodeStorageProto::set_storagetype(::hadoop::hdfs::StorageTypeProto value) {
8216 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
8217 set_has_storagetype();
8218 storagetype_ = value;
8227 inline bool StorageReportProto::has_storageuuid()
const {
8228 return (_has_bits_[0] & 0x00000001u) != 0;
8230 inline void StorageReportProto::set_has_storageuuid() {
8231 _has_bits_[0] |= 0x00000001u;
8233 inline void StorageReportProto::clear_has_storageuuid() {
8234 _has_bits_[0] &= ~0x00000001u;
8236 inline void StorageReportProto::clear_storageuuid() {
8237 storageuuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8238 clear_has_storageuuid();
8240 inline const ::std::string& StorageReportProto::storageuuid()
const {
8242 return storageuuid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8244 inline void StorageReportProto::set_storageuuid(const ::std::string& value) {
8245 set_has_storageuuid();
8246 storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8249 inline void StorageReportProto::set_storageuuid(
const char* value) {
8250 set_has_storageuuid();
8251 storageuuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
8260 inline ::std::string* StorageReportProto::mutable_storageuuid() {
8261 set_has_storageuuid();
8263 return storageuuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8265 inline ::std::string* StorageReportProto::release_storageuuid() {
8267 clear_has_storageuuid();
8268 return storageuuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8270 inline void StorageReportProto::set_allocated_storageuuid(::std::string* storageuuid) {
8271 if (storageuuid != NULL) {
8272 set_has_storageuuid();
8274 clear_has_storageuuid();
8276 storageuuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), storageuuid);
8281 inline bool StorageReportProto::has_failed()
const {
8282 return (_has_bits_[0] & 0x00000002u) != 0;
8284 inline void StorageReportProto::set_has_failed() {
8285 _has_bits_[0] |= 0x00000002u;
8287 inline void StorageReportProto::clear_has_failed() {
8288 _has_bits_[0] &= ~0x00000002u;
8290 inline void StorageReportProto::clear_failed() {
8294 inline bool StorageReportProto::failed()
const {
8298 inline void StorageReportProto::set_failed(
bool value) {
8305 inline bool StorageReportProto::has_capacity()
const {
8306 return (_has_bits_[0] & 0x00000004u) != 0;
8308 inline void StorageReportProto::set_has_capacity() {
8309 _has_bits_[0] |= 0x00000004u;
8311 inline void StorageReportProto::clear_has_capacity() {
8312 _has_bits_[0] &= ~0x00000004u;
8314 inline void StorageReportProto::clear_capacity() {
8315 capacity_ = GOOGLE_ULONGLONG(0);
8316 clear_has_capacity();
8318 inline ::google::protobuf::uint64 StorageReportProto::capacity()
const {
8322 inline void StorageReportProto::set_capacity(::google::protobuf::uint64 value) {
8329 inline bool StorageReportProto::has_dfsused()
const {
8330 return (_has_bits_[0] & 0x00000008u) != 0;
8332 inline void StorageReportProto::set_has_dfsused() {
8333 _has_bits_[0] |= 0x00000008u;
8335 inline void StorageReportProto::clear_has_dfsused() {
8336 _has_bits_[0] &= ~0x00000008u;
8338 inline void StorageReportProto::clear_dfsused() {
8339 dfsused_ = GOOGLE_ULONGLONG(0);
8340 clear_has_dfsused();
8342 inline ::google::protobuf::uint64 StorageReportProto::dfsused()
const {
8346 inline void StorageReportProto::set_dfsused(::google::protobuf::uint64 value) {
8353 inline bool StorageReportProto::has_remaining()
const {
8354 return (_has_bits_[0] & 0x00000010u) != 0;
8356 inline void StorageReportProto::set_has_remaining() {
8357 _has_bits_[0] |= 0x00000010u;
8359 inline void StorageReportProto::clear_has_remaining() {
8360 _has_bits_[0] &= ~0x00000010u;
8362 inline void StorageReportProto::clear_remaining() {
8363 remaining_ = GOOGLE_ULONGLONG(0);
8364 clear_has_remaining();
8366 inline ::google::protobuf::uint64 StorageReportProto::remaining()
const {
8370 inline void StorageReportProto::set_remaining(::google::protobuf::uint64 value) {
8371 set_has_remaining();
8377 inline bool StorageReportProto::has_blockpoolused()
const {
8378 return (_has_bits_[0] & 0x00000020u) != 0;
8380 inline void StorageReportProto::set_has_blockpoolused() {
8381 _has_bits_[0] |= 0x00000020u;
8383 inline void StorageReportProto::clear_has_blockpoolused() {
8384 _has_bits_[0] &= ~0x00000020u;
8386 inline void StorageReportProto::clear_blockpoolused() {
8387 blockpoolused_ = GOOGLE_ULONGLONG(0);
8388 clear_has_blockpoolused();
8390 inline ::google::protobuf::uint64 StorageReportProto::blockpoolused()
const {
8392 return blockpoolused_;
8394 inline void StorageReportProto::set_blockpoolused(::google::protobuf::uint64 value) {
8395 set_has_blockpoolused();
8396 blockpoolused_ = value;
8401 inline bool StorageReportProto::has_storage()
const {
8402 return (_has_bits_[0] & 0x00000040u) != 0;
8404 inline void StorageReportProto::set_has_storage() {
8405 _has_bits_[0] |= 0x00000040u;
8407 inline void StorageReportProto::clear_has_storage() {
8408 _has_bits_[0] &= ~0x00000040u;
8410 inline void StorageReportProto::clear_storage() {
8411 if (storage_ != NULL) storage_->::hadoop::hdfs::DatanodeStorageProto::Clear();
8412 clear_has_storage();
8414 inline const ::hadoop::hdfs::DatanodeStorageProto& StorageReportProto::storage()
const {
8416 return storage_ != NULL ? *storage_ : *default_instance_->storage_;
8418 inline ::hadoop::hdfs::DatanodeStorageProto* StorageReportProto::mutable_storage() {
8420 if (storage_ == NULL) {
8421 storage_ = new ::hadoop::hdfs::DatanodeStorageProto;
8426 inline ::hadoop::hdfs::DatanodeStorageProto* StorageReportProto::release_storage() {
8428 clear_has_storage();
8439 clear_has_storage();
8449 inline bool ContentSummaryProto::has_length()
const {
8450 return (_has_bits_[0] & 0x00000001u) != 0;
8452 inline void ContentSummaryProto::set_has_length() {
8453 _has_bits_[0] |= 0x00000001u;
8455 inline void ContentSummaryProto::clear_has_length() {
8456 _has_bits_[0] &= ~0x00000001u;
8458 inline void ContentSummaryProto::clear_length() {
8459 length_ = GOOGLE_ULONGLONG(0);
8462 inline ::google::protobuf::uint64 ContentSummaryProto::length()
const {
8466 inline void ContentSummaryProto::set_length(::google::protobuf::uint64 value) {
8473 inline bool ContentSummaryProto::has_filecount()
const {
8474 return (_has_bits_[0] & 0x00000002u) != 0;
8476 inline void ContentSummaryProto::set_has_filecount() {
8477 _has_bits_[0] |= 0x00000002u;
8479 inline void ContentSummaryProto::clear_has_filecount() {
8480 _has_bits_[0] &= ~0x00000002u;
8482 inline void ContentSummaryProto::clear_filecount() {
8483 filecount_ = GOOGLE_ULONGLONG(0);
8484 clear_has_filecount();
8486 inline ::google::protobuf::uint64 ContentSummaryProto::filecount()
const {
8490 inline void ContentSummaryProto::set_filecount(::google::protobuf::uint64 value) {
8491 set_has_filecount();
8497 inline bool ContentSummaryProto::has_directorycount()
const {
8498 return (_has_bits_[0] & 0x00000004u) != 0;
8500 inline void ContentSummaryProto::set_has_directorycount() {
8501 _has_bits_[0] |= 0x00000004u;
8503 inline void ContentSummaryProto::clear_has_directorycount() {
8504 _has_bits_[0] &= ~0x00000004u;
8506 inline void ContentSummaryProto::clear_directorycount() {
8507 directorycount_ = GOOGLE_ULONGLONG(0);
8508 clear_has_directorycount();
8510 inline ::google::protobuf::uint64 ContentSummaryProto::directorycount()
const {
8512 return directorycount_;
8514 inline void ContentSummaryProto::set_directorycount(::google::protobuf::uint64 value) {
8515 set_has_directorycount();
8516 directorycount_ = value;
8521 inline bool ContentSummaryProto::has_quota()
const {
8522 return (_has_bits_[0] & 0x00000008u) != 0;
8524 inline void ContentSummaryProto::set_has_quota() {
8525 _has_bits_[0] |= 0x00000008u;
8527 inline void ContentSummaryProto::clear_has_quota() {
8528 _has_bits_[0] &= ~0x00000008u;
8530 inline void ContentSummaryProto::clear_quota() {
8531 quota_ = GOOGLE_ULONGLONG(0);
8534 inline ::google::protobuf::uint64 ContentSummaryProto::quota()
const {
8538 inline void ContentSummaryProto::set_quota(::google::protobuf::uint64 value) {
8545 inline bool ContentSummaryProto::has_spaceconsumed()
const {
8546 return (_has_bits_[0] & 0x00000010u) != 0;
8548 inline void ContentSummaryProto::set_has_spaceconsumed() {
8549 _has_bits_[0] |= 0x00000010u;
8551 inline void ContentSummaryProto::clear_has_spaceconsumed() {
8552 _has_bits_[0] &= ~0x00000010u;
8554 inline void ContentSummaryProto::clear_spaceconsumed() {
8555 spaceconsumed_ = GOOGLE_ULONGLONG(0);
8556 clear_has_spaceconsumed();
8558 inline ::google::protobuf::uint64 ContentSummaryProto::spaceconsumed()
const {
8560 return spaceconsumed_;
8562 inline void ContentSummaryProto::set_spaceconsumed(::google::protobuf::uint64 value) {
8563 set_has_spaceconsumed();
8564 spaceconsumed_ = value;
8569 inline bool ContentSummaryProto::has_spacequota()
const {
8570 return (_has_bits_[0] & 0x00000020u) != 0;
8572 inline void ContentSummaryProto::set_has_spacequota() {
8573 _has_bits_[0] |= 0x00000020u;
8575 inline void ContentSummaryProto::clear_has_spacequota() {
8576 _has_bits_[0] &= ~0x00000020u;
8578 inline void ContentSummaryProto::clear_spacequota() {
8579 spacequota_ = GOOGLE_ULONGLONG(0);
8580 clear_has_spacequota();
8582 inline ::google::protobuf::uint64 ContentSummaryProto::spacequota()
const {
8586 inline void ContentSummaryProto::set_spacequota(::google::protobuf::uint64 value) {
8587 set_has_spacequota();
8588 spacequota_ = value;
8593 inline bool ContentSummaryProto::has_typequotainfos()
const {
8594 return (_has_bits_[0] & 0x00000040u) != 0;
8596 inline void ContentSummaryProto::set_has_typequotainfos() {
8597 _has_bits_[0] |= 0x00000040u;
8599 inline void ContentSummaryProto::clear_has_typequotainfos() {
8600 _has_bits_[0] &= ~0x00000040u;
8602 inline void ContentSummaryProto::clear_typequotainfos() {
8603 if (typequotainfos_ != NULL) typequotainfos_->::hadoop::hdfs::StorageTypeQuotaInfosProto::Clear();
8604 clear_has_typequotainfos();
8606 inline const ::hadoop::hdfs::StorageTypeQuotaInfosProto& ContentSummaryProto::typequotainfos()
const {
8608 return typequotainfos_ != NULL ? *typequotainfos_ : *default_instance_->typequotainfos_;
8610 inline ::hadoop::hdfs::StorageTypeQuotaInfosProto* ContentSummaryProto::mutable_typequotainfos() {
8611 set_has_typequotainfos();
8612 if (typequotainfos_ == NULL) {
8613 typequotainfos_ = new ::hadoop::hdfs::StorageTypeQuotaInfosProto;
8616 return typequotainfos_;
8618 inline ::hadoop::hdfs::StorageTypeQuotaInfosProto* ContentSummaryProto::release_typequotainfos() {
8620 clear_has_typequotainfos();
8622 typequotainfos_ = NULL;
8626 delete typequotainfos_;
8627 typequotainfos_ = typequotainfos;
8628 if (typequotainfos) {
8629 set_has_typequotainfos();
8631 clear_has_typequotainfos();
8637 inline bool ContentSummaryProto::has_snapshotlength()
const {
8638 return (_has_bits_[0] & 0x00000080u) != 0;
8640 inline void ContentSummaryProto::set_has_snapshotlength() {
8641 _has_bits_[0] |= 0x00000080u;
8643 inline void ContentSummaryProto::clear_has_snapshotlength() {
8644 _has_bits_[0] &= ~0x00000080u;
8646 inline void ContentSummaryProto::clear_snapshotlength() {
8647 snapshotlength_ = GOOGLE_ULONGLONG(0);
8648 clear_has_snapshotlength();
8650 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotlength()
const {
8652 return snapshotlength_;
8654 inline void ContentSummaryProto::set_snapshotlength(::google::protobuf::uint64 value) {
8655 set_has_snapshotlength();
8656 snapshotlength_ = value;
8661 inline bool ContentSummaryProto::has_snapshotfilecount()
const {
8662 return (_has_bits_[0] & 0x00000100u) != 0;
8664 inline void ContentSummaryProto::set_has_snapshotfilecount() {
8665 _has_bits_[0] |= 0x00000100u;
8667 inline void ContentSummaryProto::clear_has_snapshotfilecount() {
8668 _has_bits_[0] &= ~0x00000100u;
8670 inline void ContentSummaryProto::clear_snapshotfilecount() {
8671 snapshotfilecount_ = GOOGLE_ULONGLONG(0);
8672 clear_has_snapshotfilecount();
8674 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotfilecount()
const {
8676 return snapshotfilecount_;
8678 inline void ContentSummaryProto::set_snapshotfilecount(::google::protobuf::uint64 value) {
8679 set_has_snapshotfilecount();
8680 snapshotfilecount_ = value;
8685 inline bool ContentSummaryProto::has_snapshotdirectorycount()
const {
8686 return (_has_bits_[0] & 0x00000200u) != 0;
8688 inline void ContentSummaryProto::set_has_snapshotdirectorycount() {
8689 _has_bits_[0] |= 0x00000200u;
8691 inline void ContentSummaryProto::clear_has_snapshotdirectorycount() {
8692 _has_bits_[0] &= ~0x00000200u;
8694 inline void ContentSummaryProto::clear_snapshotdirectorycount() {
8695 snapshotdirectorycount_ = GOOGLE_ULONGLONG(0);
8696 clear_has_snapshotdirectorycount();
8698 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotdirectorycount()
const {
8700 return snapshotdirectorycount_;
8702 inline void ContentSummaryProto::set_snapshotdirectorycount(::google::protobuf::uint64 value) {
8703 set_has_snapshotdirectorycount();
8704 snapshotdirectorycount_ = value;
8709 inline bool ContentSummaryProto::has_snapshotspaceconsumed()
const {
8710 return (_has_bits_[0] & 0x00000400u) != 0;
8712 inline void ContentSummaryProto::set_has_snapshotspaceconsumed() {
8713 _has_bits_[0] |= 0x00000400u;
8715 inline void ContentSummaryProto::clear_has_snapshotspaceconsumed() {
8716 _has_bits_[0] &= ~0x00000400u;
8718 inline void ContentSummaryProto::clear_snapshotspaceconsumed() {
8719 snapshotspaceconsumed_ = GOOGLE_ULONGLONG(0);
8720 clear_has_snapshotspaceconsumed();
8722 inline ::google::protobuf::uint64 ContentSummaryProto::snapshotspaceconsumed()
const {
8724 return snapshotspaceconsumed_;
8726 inline void ContentSummaryProto::set_snapshotspaceconsumed(::google::protobuf::uint64 value) {
8727 set_has_snapshotspaceconsumed();
8728 snapshotspaceconsumed_ = value;
8733 inline bool ContentSummaryProto::has_erasurecodingpolicy()
const {
8734 return (_has_bits_[0] & 0x00000800u) != 0;
8736 inline void ContentSummaryProto::set_has_erasurecodingpolicy() {
8737 _has_bits_[0] |= 0x00000800u;
8739 inline void ContentSummaryProto::clear_has_erasurecodingpolicy() {
8740 _has_bits_[0] &= ~0x00000800u;
8742 inline void ContentSummaryProto::clear_erasurecodingpolicy() {
8743 erasurecodingpolicy_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8744 clear_has_erasurecodingpolicy();
8746 inline const ::std::string& ContentSummaryProto::erasurecodingpolicy()
const {
8748 return erasurecodingpolicy_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8750 inline void ContentSummaryProto::set_erasurecodingpolicy(const ::std::string& value) {
8751 set_has_erasurecodingpolicy();
8752 erasurecodingpolicy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8755 inline void ContentSummaryProto::set_erasurecodingpolicy(
const char* value) {
8756 set_has_erasurecodingpolicy();
8757 erasurecodingpolicy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
8766 inline ::std::string* ContentSummaryProto::mutable_erasurecodingpolicy() {
8767 set_has_erasurecodingpolicy();
8769 return erasurecodingpolicy_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8771 inline ::std::string* ContentSummaryProto::release_erasurecodingpolicy() {
8773 clear_has_erasurecodingpolicy();
8774 return erasurecodingpolicy_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8776 inline void ContentSummaryProto::set_allocated_erasurecodingpolicy(::std::string* erasurecodingpolicy) {
8777 if (erasurecodingpolicy != NULL) {
8778 set_has_erasurecodingpolicy();
8780 clear_has_erasurecodingpolicy();
8782 erasurecodingpolicy_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), erasurecodingpolicy);
8791 inline int StorageTypeQuotaInfosProto::typequotainfo_size()
const {
8792 return typequotainfo_.size();
8794 inline void StorageTypeQuotaInfosProto::clear_typequotainfo() {
8795 typequotainfo_.Clear();
8797 inline const ::hadoop::hdfs::StorageTypeQuotaInfoProto& StorageTypeQuotaInfosProto::typequotainfo(
int index)
const {
8799 return typequotainfo_.Get(index);
8801 inline ::hadoop::hdfs::StorageTypeQuotaInfoProto* StorageTypeQuotaInfosProto::mutable_typequotainfo(
int index) {
8803 return typequotainfo_.Mutable(index);
8805 inline ::hadoop::hdfs::StorageTypeQuotaInfoProto* StorageTypeQuotaInfosProto::add_typequotainfo() {
8807 return typequotainfo_.Add();
8809 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >*
8810 StorageTypeQuotaInfosProto::mutable_typequotainfo() {
8812 return &typequotainfo_;
8814 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::StorageTypeQuotaInfoProto >&
8815 StorageTypeQuotaInfosProto::typequotainfo()
const {
8817 return typequotainfo_;
8825 inline bool StorageTypeQuotaInfoProto::has_type()
const {
8826 return (_has_bits_[0] & 0x00000001u) != 0;
8828 inline void StorageTypeQuotaInfoProto::set_has_type() {
8829 _has_bits_[0] |= 0x00000001u;
8831 inline void StorageTypeQuotaInfoProto::clear_has_type() {
8832 _has_bits_[0] &= ~0x00000001u;
8834 inline void StorageTypeQuotaInfoProto::clear_type() {
8838 inline ::hadoop::hdfs::StorageTypeProto StorageTypeQuotaInfoProto::type()
const {
8840 return static_cast< ::hadoop::hdfs::StorageTypeProto
>(type_);
8842 inline void StorageTypeQuotaInfoProto::set_type(::hadoop::hdfs::StorageTypeProto value) {
8843 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
8850 inline bool StorageTypeQuotaInfoProto::has_quota()
const {
8851 return (_has_bits_[0] & 0x00000002u) != 0;
8853 inline void StorageTypeQuotaInfoProto::set_has_quota() {
8854 _has_bits_[0] |= 0x00000002u;
8856 inline void StorageTypeQuotaInfoProto::clear_has_quota() {
8857 _has_bits_[0] &= ~0x00000002u;
8859 inline void StorageTypeQuotaInfoProto::clear_quota() {
8860 quota_ = GOOGLE_ULONGLONG(0);
8863 inline ::google::protobuf::uint64 StorageTypeQuotaInfoProto::quota()
const {
8867 inline void StorageTypeQuotaInfoProto::set_quota(::google::protobuf::uint64 value) {
8874 inline bool StorageTypeQuotaInfoProto::has_consumed()
const {
8875 return (_has_bits_[0] & 0x00000004u) != 0;
8877 inline void StorageTypeQuotaInfoProto::set_has_consumed() {
8878 _has_bits_[0] |= 0x00000004u;
8880 inline void StorageTypeQuotaInfoProto::clear_has_consumed() {
8881 _has_bits_[0] &= ~0x00000004u;
8883 inline void StorageTypeQuotaInfoProto::clear_consumed() {
8884 consumed_ = GOOGLE_ULONGLONG(0);
8885 clear_has_consumed();
8887 inline ::google::protobuf::uint64 StorageTypeQuotaInfoProto::consumed()
const {
8891 inline void StorageTypeQuotaInfoProto::set_consumed(::google::protobuf::uint64 value) {
8902 inline int CorruptFileBlocksProto::files_size()
const {
8903 return files_.size();
8905 inline void CorruptFileBlocksProto::clear_files() {
8908 inline const ::std::string& CorruptFileBlocksProto::files(
int index)
const {
8910 return files_.Get(index);
8912 inline ::std::string* CorruptFileBlocksProto::mutable_files(
int index) {
8914 return files_.Mutable(index);
8916 inline void CorruptFileBlocksProto::set_files(
int index, const ::std::string& value) {
8918 files_.Mutable(index)->assign(value);
8920 inline void CorruptFileBlocksProto::set_files(
int index,
const char* value) {
8921 files_.Mutable(index)->assign(value);
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);
8929 inline ::std::string* CorruptFileBlocksProto::add_files() {
8931 return files_.Add();
8933 inline void CorruptFileBlocksProto::add_files(const ::std::string& value) {
8934 files_.Add()->assign(value);
8937 inline void CorruptFileBlocksProto::add_files(
const char* value) {
8938 files_.Add()->assign(value);
8941 inline void CorruptFileBlocksProto::add_files(
const char* value,
size_t size) {
8942 files_.Add()->assign(reinterpret_cast<const char*>(value), size);
8945 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
8946 CorruptFileBlocksProto::files()
const {
8950 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
8951 CorruptFileBlocksProto::mutable_files() {
8957 inline bool CorruptFileBlocksProto::has_cookie()
const {
8958 return (_has_bits_[0] & 0x00000002u) != 0;
8960 inline void CorruptFileBlocksProto::set_has_cookie() {
8961 _has_bits_[0] |= 0x00000002u;
8963 inline void CorruptFileBlocksProto::clear_has_cookie() {
8964 _has_bits_[0] &= ~0x00000002u;
8966 inline void CorruptFileBlocksProto::clear_cookie() {
8967 cookie_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8970 inline const ::std::string& CorruptFileBlocksProto::cookie()
const {
8972 return cookie_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8974 inline void CorruptFileBlocksProto::set_cookie(const ::std::string& value) {
8976 cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8979 inline void CorruptFileBlocksProto::set_cookie(
const char* value) {
8981 cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8984 inline void CorruptFileBlocksProto::set_cookie(
const char* value,
size_t size) {
8986 cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8987 ::std::string(reinterpret_cast<const char*>(value), size));
8990 inline ::std::string* CorruptFileBlocksProto::mutable_cookie() {
8993 return cookie_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8995 inline ::std::string* CorruptFileBlocksProto::release_cookie() {
8998 return cookie_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9000 inline void CorruptFileBlocksProto::set_allocated_cookie(::std::string* cookie) {
9001 if (cookie != NULL) {
9006 cookie_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cookie);
9015 inline bool FsPermissionProto::has_perm()
const {
9016 return (_has_bits_[0] & 0x00000001u) != 0;
9018 inline void FsPermissionProto::set_has_perm() {
9019 _has_bits_[0] |= 0x00000001u;
9021 inline void FsPermissionProto::clear_has_perm() {
9022 _has_bits_[0] &= ~0x00000001u;
9024 inline void FsPermissionProto::clear_perm() {
9028 inline ::google::protobuf::uint32 FsPermissionProto::perm()
const {
9032 inline void FsPermissionProto::set_perm(::google::protobuf::uint32 value) {
9043 inline int StorageTypesProto::storagetypes_size()
const {
9044 return storagetypes_.size();
9046 inline void StorageTypesProto::clear_storagetypes() {
9047 storagetypes_.Clear();
9049 inline ::hadoop::hdfs::StorageTypeProto StorageTypesProto::storagetypes(
int index)
const {
9051 return static_cast< ::hadoop::hdfs::StorageTypeProto
>(storagetypes_.Get(index));
9053 inline void StorageTypesProto::set_storagetypes(
int index, ::hadoop::hdfs::StorageTypeProto value) {
9054 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9055 storagetypes_.Set(index, value);
9058 inline void StorageTypesProto::add_storagetypes(::hadoop::hdfs::StorageTypeProto value) {
9059 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9060 storagetypes_.Add(value);
9063 inline const ::google::protobuf::RepeatedField<int>&
9064 StorageTypesProto::storagetypes()
const {
9066 return storagetypes_;
9068 inline ::google::protobuf::RepeatedField<int>*
9069 StorageTypesProto::mutable_storagetypes() {
9071 return &storagetypes_;
9079 inline bool BlockStoragePolicyProto::has_policyid()
const {
9080 return (_has_bits_[0] & 0x00000001u) != 0;
9082 inline void BlockStoragePolicyProto::set_has_policyid() {
9083 _has_bits_[0] |= 0x00000001u;
9085 inline void BlockStoragePolicyProto::clear_has_policyid() {
9086 _has_bits_[0] &= ~0x00000001u;
9088 inline void BlockStoragePolicyProto::clear_policyid() {
9090 clear_has_policyid();
9092 inline ::google::protobuf::uint32 BlockStoragePolicyProto::policyid()
const {
9096 inline void BlockStoragePolicyProto::set_policyid(::google::protobuf::uint32 value) {
9103 inline bool BlockStoragePolicyProto::has_name()
const {
9104 return (_has_bits_[0] & 0x00000002u) != 0;
9106 inline void BlockStoragePolicyProto::set_has_name() {
9107 _has_bits_[0] |= 0x00000002u;
9109 inline void BlockStoragePolicyProto::clear_has_name() {
9110 _has_bits_[0] &= ~0x00000002u;
9112 inline void BlockStoragePolicyProto::clear_name() {
9113 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9116 inline const ::std::string& BlockStoragePolicyProto::name()
const {
9118 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9120 inline void BlockStoragePolicyProto::set_name(const ::std::string& value) {
9122 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9125 inline void BlockStoragePolicyProto::set_name(
const char* value) {
9127 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9130 inline void BlockStoragePolicyProto::set_name(
const char* value,
size_t size) {
9132 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9133 ::std::string(reinterpret_cast<const char*>(value), size));
9136 inline ::std::string* BlockStoragePolicyProto::mutable_name() {
9139 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9141 inline ::std::string* BlockStoragePolicyProto::release_name() {
9144 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9146 inline void BlockStoragePolicyProto::set_allocated_name(::std::string* name) {
9152 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
9157 inline bool BlockStoragePolicyProto::has_creationpolicy()
const {
9158 return (_has_bits_[0] & 0x00000004u) != 0;
9160 inline void BlockStoragePolicyProto::set_has_creationpolicy() {
9161 _has_bits_[0] |= 0x00000004u;
9163 inline void BlockStoragePolicyProto::clear_has_creationpolicy() {
9164 _has_bits_[0] &= ~0x00000004u;
9166 inline void BlockStoragePolicyProto::clear_creationpolicy() {
9167 if (creationpolicy_ != NULL) creationpolicy_->::hadoop::hdfs::StorageTypesProto::Clear();
9168 clear_has_creationpolicy();
9170 inline const ::hadoop::hdfs::StorageTypesProto& BlockStoragePolicyProto::creationpolicy()
const {
9172 return creationpolicy_ != NULL ? *creationpolicy_ : *default_instance_->creationpolicy_;
9174 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::mutable_creationpolicy() {
9175 set_has_creationpolicy();
9176 if (creationpolicy_ == NULL) {
9177 creationpolicy_ = new ::hadoop::hdfs::StorageTypesProto;
9180 return creationpolicy_;
9182 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::release_creationpolicy() {
9184 clear_has_creationpolicy();
9186 creationpolicy_ = NULL;
9190 delete creationpolicy_;
9191 creationpolicy_ = creationpolicy;
9192 if (creationpolicy) {
9193 set_has_creationpolicy();
9195 clear_has_creationpolicy();
9201 inline bool BlockStoragePolicyProto::has_creationfallbackpolicy()
const {
9202 return (_has_bits_[0] & 0x00000008u) != 0;
9204 inline void BlockStoragePolicyProto::set_has_creationfallbackpolicy() {
9205 _has_bits_[0] |= 0x00000008u;
9207 inline void BlockStoragePolicyProto::clear_has_creationfallbackpolicy() {
9208 _has_bits_[0] &= ~0x00000008u;
9210 inline void BlockStoragePolicyProto::clear_creationfallbackpolicy() {
9211 if (creationfallbackpolicy_ != NULL) creationfallbackpolicy_->::hadoop::hdfs::StorageTypesProto::Clear();
9212 clear_has_creationfallbackpolicy();
9214 inline const ::hadoop::hdfs::StorageTypesProto& BlockStoragePolicyProto::creationfallbackpolicy()
const {
9216 return creationfallbackpolicy_ != NULL ? *creationfallbackpolicy_ : *default_instance_->creationfallbackpolicy_;
9218 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::mutable_creationfallbackpolicy() {
9219 set_has_creationfallbackpolicy();
9220 if (creationfallbackpolicy_ == NULL) {
9221 creationfallbackpolicy_ = new ::hadoop::hdfs::StorageTypesProto;
9224 return creationfallbackpolicy_;
9226 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::release_creationfallbackpolicy() {
9228 clear_has_creationfallbackpolicy();
9230 creationfallbackpolicy_ = NULL;
9234 delete creationfallbackpolicy_;
9235 creationfallbackpolicy_ = creationfallbackpolicy;
9236 if (creationfallbackpolicy) {
9237 set_has_creationfallbackpolicy();
9239 clear_has_creationfallbackpolicy();
9245 inline bool BlockStoragePolicyProto::has_replicationfallbackpolicy()
const {
9246 return (_has_bits_[0] & 0x00000010u) != 0;
9248 inline void BlockStoragePolicyProto::set_has_replicationfallbackpolicy() {
9249 _has_bits_[0] |= 0x00000010u;
9251 inline void BlockStoragePolicyProto::clear_has_replicationfallbackpolicy() {
9252 _has_bits_[0] &= ~0x00000010u;
9254 inline void BlockStoragePolicyProto::clear_replicationfallbackpolicy() {
9255 if (replicationfallbackpolicy_ != NULL) replicationfallbackpolicy_->::hadoop::hdfs::StorageTypesProto::Clear();
9256 clear_has_replicationfallbackpolicy();
9258 inline const ::hadoop::hdfs::StorageTypesProto& BlockStoragePolicyProto::replicationfallbackpolicy()
const {
9260 return replicationfallbackpolicy_ != NULL ? *replicationfallbackpolicy_ : *default_instance_->replicationfallbackpolicy_;
9262 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::mutable_replicationfallbackpolicy() {
9263 set_has_replicationfallbackpolicy();
9264 if (replicationfallbackpolicy_ == NULL) {
9265 replicationfallbackpolicy_ = new ::hadoop::hdfs::StorageTypesProto;
9268 return replicationfallbackpolicy_;
9270 inline ::hadoop::hdfs::StorageTypesProto* BlockStoragePolicyProto::release_replicationfallbackpolicy() {
9272 clear_has_replicationfallbackpolicy();
9274 replicationfallbackpolicy_ = NULL;
9278 delete replicationfallbackpolicy_;
9279 replicationfallbackpolicy_ = replicationfallbackpolicy;
9280 if (replicationfallbackpolicy) {
9281 set_has_replicationfallbackpolicy();
9283 clear_has_replicationfallbackpolicy();
9293 inline int StorageUuidsProto::storageuuids_size()
const {
9294 return storageuuids_.size();
9296 inline void StorageUuidsProto::clear_storageuuids() {
9297 storageuuids_.Clear();
9299 inline const ::std::string& StorageUuidsProto::storageuuids(
int index)
const {
9301 return storageuuids_.Get(index);
9303 inline ::std::string* StorageUuidsProto::mutable_storageuuids(
int index) {
9305 return storageuuids_.Mutable(index);
9307 inline void StorageUuidsProto::set_storageuuids(
int index, const ::std::string& value) {
9309 storageuuids_.Mutable(index)->assign(value);
9311 inline void StorageUuidsProto::set_storageuuids(
int index,
const char* value) {
9312 storageuuids_.Mutable(index)->assign(value);
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);
9320 inline ::std::string* StorageUuidsProto::add_storageuuids() {
9322 return storageuuids_.Add();
9324 inline void StorageUuidsProto::add_storageuuids(const ::std::string& value) {
9325 storageuuids_.Add()->assign(value);
9328 inline void StorageUuidsProto::add_storageuuids(
const char* value) {
9329 storageuuids_.Add()->assign(value);
9332 inline void StorageUuidsProto::add_storageuuids(
const char* value,
size_t size) {
9333 storageuuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
9336 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9337 StorageUuidsProto::storageuuids()
const {
9339 return storageuuids_;
9341 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9342 StorageUuidsProto::mutable_storageuuids() {
9344 return &storageuuids_;
9352 inline bool LocatedBlockProto::has_b()
const {
9353 return (_has_bits_[0] & 0x00000001u) != 0;
9355 inline void LocatedBlockProto::set_has_b() {
9356 _has_bits_[0] |= 0x00000001u;
9358 inline void LocatedBlockProto::clear_has_b() {
9359 _has_bits_[0] &= ~0x00000001u;
9361 inline void LocatedBlockProto::clear_b() {
9362 if (b_ != NULL) b_->::hadoop::hdfs::ExtendedBlockProto::Clear();
9365 inline const ::hadoop::hdfs::ExtendedBlockProto& LocatedBlockProto::b()
const {
9367 return b_ != NULL ? *b_ : *default_instance_->b_;
9369 inline ::hadoop::hdfs::ExtendedBlockProto* LocatedBlockProto::mutable_b() {
9372 b_ = new ::hadoop::hdfs::ExtendedBlockProto;
9377 inline ::hadoop::hdfs::ExtendedBlockProto* LocatedBlockProto::release_b() {
9396 inline bool LocatedBlockProto::has_offset()
const {
9397 return (_has_bits_[0] & 0x00000002u) != 0;
9399 inline void LocatedBlockProto::set_has_offset() {
9400 _has_bits_[0] |= 0x00000002u;
9402 inline void LocatedBlockProto::clear_has_offset() {
9403 _has_bits_[0] &= ~0x00000002u;
9405 inline void LocatedBlockProto::clear_offset() {
9406 offset_ = GOOGLE_ULONGLONG(0);
9409 inline ::google::protobuf::uint64 LocatedBlockProto::offset()
const {
9413 inline void LocatedBlockProto::set_offset(::google::protobuf::uint64 value) {
9420 inline int LocatedBlockProto::locs_size()
const {
9421 return locs_.size();
9423 inline void LocatedBlockProto::clear_locs() {
9426 inline const ::hadoop::hdfs::DatanodeInfoProto& LocatedBlockProto::locs(
int index)
const {
9428 return locs_.Get(index);
9430 inline ::hadoop::hdfs::DatanodeInfoProto* LocatedBlockProto::mutable_locs(
int index) {
9432 return locs_.Mutable(index);
9434 inline ::hadoop::hdfs::DatanodeInfoProto* LocatedBlockProto::add_locs() {
9438 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >*
9439 LocatedBlockProto::mutable_locs() {
9443 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::DatanodeInfoProto >&
9444 LocatedBlockProto::locs()
const {
9450 inline bool LocatedBlockProto::has_corrupt()
const {
9451 return (_has_bits_[0] & 0x00000008u) != 0;
9453 inline void LocatedBlockProto::set_has_corrupt() {
9454 _has_bits_[0] |= 0x00000008u;
9456 inline void LocatedBlockProto::clear_has_corrupt() {
9457 _has_bits_[0] &= ~0x00000008u;
9459 inline void LocatedBlockProto::clear_corrupt() {
9461 clear_has_corrupt();
9463 inline bool LocatedBlockProto::corrupt()
const {
9467 inline void LocatedBlockProto::set_corrupt(
bool value) {
9474 inline bool LocatedBlockProto::has_blocktoken()
const {
9475 return (_has_bits_[0] & 0x00000010u) != 0;
9477 inline void LocatedBlockProto::set_has_blocktoken() {
9478 _has_bits_[0] |= 0x00000010u;
9480 inline void LocatedBlockProto::clear_has_blocktoken() {
9481 _has_bits_[0] &= ~0x00000010u;
9483 inline void LocatedBlockProto::clear_blocktoken() {
9484 if (blocktoken_ != NULL) blocktoken_->::hadoop::common::TokenProto::Clear();
9485 clear_has_blocktoken();
9487 inline const ::hadoop::common::TokenProto& LocatedBlockProto::blocktoken()
const {
9489 return blocktoken_ != NULL ? *blocktoken_ : *default_instance_->blocktoken_;
9491 inline ::hadoop::common::TokenProto* LocatedBlockProto::mutable_blocktoken() {
9492 set_has_blocktoken();
9493 if (blocktoken_ == NULL) {
9494 blocktoken_ = new ::hadoop::common::TokenProto;
9499 inline ::hadoop::common::TokenProto* LocatedBlockProto::release_blocktoken() {
9501 clear_has_blocktoken();
9508 blocktoken_ = blocktoken;
9510 set_has_blocktoken();
9512 clear_has_blocktoken();
9518 inline int LocatedBlockProto::iscached_size()
const {
9519 return iscached_.size();
9521 inline void LocatedBlockProto::clear_iscached() {
9524 inline bool LocatedBlockProto::iscached(
int index)
const {
9526 return iscached_.Get(index);
9528 inline void LocatedBlockProto::set_iscached(
int index,
bool value) {
9529 iscached_.Set(index, value);
9532 inline void LocatedBlockProto::add_iscached(
bool value) {
9533 iscached_.Add(value);
9536 inline const ::google::protobuf::RepeatedField< bool >&
9537 LocatedBlockProto::iscached()
const {
9541 inline ::google::protobuf::RepeatedField< bool >*
9542 LocatedBlockProto::mutable_iscached() {
9548 inline int LocatedBlockProto::storagetypes_size()
const {
9549 return storagetypes_.size();
9551 inline void LocatedBlockProto::clear_storagetypes() {
9552 storagetypes_.Clear();
9554 inline ::hadoop::hdfs::StorageTypeProto LocatedBlockProto::storagetypes(
int index)
const {
9556 return static_cast< ::hadoop::hdfs::StorageTypeProto
>(storagetypes_.Get(index));
9558 inline void LocatedBlockProto::set_storagetypes(
int index, ::hadoop::hdfs::StorageTypeProto value) {
9559 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9560 storagetypes_.Set(index, value);
9563 inline void LocatedBlockProto::add_storagetypes(::hadoop::hdfs::StorageTypeProto value) {
9564 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
9565 storagetypes_.Add(value);
9568 inline const ::google::protobuf::RepeatedField<int>&
9569 LocatedBlockProto::storagetypes()
const {
9571 return storagetypes_;
9573 inline ::google::protobuf::RepeatedField<int>*
9574 LocatedBlockProto::mutable_storagetypes() {
9576 return &storagetypes_;
9580 inline int LocatedBlockProto::storageids_size()
const {
9581 return storageids_.size();
9583 inline void LocatedBlockProto::clear_storageids() {
9584 storageids_.Clear();
9586 inline const ::std::string& LocatedBlockProto::storageids(
int index)
const {
9588 return storageids_.Get(index);
9590 inline ::std::string* LocatedBlockProto::mutable_storageids(
int index) {
9592 return storageids_.Mutable(index);
9594 inline void LocatedBlockProto::set_storageids(
int index, const ::std::string& value) {
9596 storageids_.Mutable(index)->assign(value);
9598 inline void LocatedBlockProto::set_storageids(
int index,
const char* value) {
9599 storageids_.Mutable(index)->assign(value);
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);
9607 inline ::std::string* LocatedBlockProto::add_storageids() {
9609 return storageids_.Add();
9611 inline void LocatedBlockProto::add_storageids(const ::std::string& value) {
9612 storageids_.Add()->assign(value);
9615 inline void LocatedBlockProto::add_storageids(
const char* value) {
9616 storageids_.Add()->assign(value);
9619 inline void LocatedBlockProto::add_storageids(
const char* value,
size_t size) {
9620 storageids_.Add()->assign(reinterpret_cast<const char*>(value), size);
9623 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9624 LocatedBlockProto::storageids()
const {
9628 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9629 LocatedBlockProto::mutable_storageids() {
9631 return &storageids_;
9635 inline bool LocatedBlockProto::has_blockindices()
const {
9636 return (_has_bits_[0] & 0x00000100u) != 0;
9638 inline void LocatedBlockProto::set_has_blockindices() {
9639 _has_bits_[0] |= 0x00000100u;
9641 inline void LocatedBlockProto::clear_has_blockindices() {
9642 _has_bits_[0] &= ~0x00000100u;
9644 inline void LocatedBlockProto::clear_blockindices() {
9645 blockindices_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9646 clear_has_blockindices();
9648 inline const ::std::string& LocatedBlockProto::blockindices()
const {
9650 return blockindices_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9652 inline void LocatedBlockProto::set_blockindices(const ::std::string& value) {
9653 set_has_blockindices();
9654 blockindices_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9657 inline void LocatedBlockProto::set_blockindices(
const char* value) {
9658 set_has_blockindices();
9659 blockindices_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
9668 inline ::std::string* LocatedBlockProto::mutable_blockindices() {
9669 set_has_blockindices();
9671 return blockindices_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9673 inline ::std::string* LocatedBlockProto::release_blockindices() {
9675 clear_has_blockindices();
9676 return blockindices_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9678 inline void LocatedBlockProto::set_allocated_blockindices(::std::string* blockindices) {
9679 if (blockindices != NULL) {
9680 set_has_blockindices();
9682 clear_has_blockindices();
9684 blockindices_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockindices);
9689 inline int LocatedBlockProto::blocktokens_size()
const {
9690 return blocktokens_.size();
9692 inline void LocatedBlockProto::clear_blocktokens() {
9693 blocktokens_.Clear();
9695 inline const ::hadoop::common::TokenProto& LocatedBlockProto::blocktokens(
int index)
const {
9697 return blocktokens_.Get(index);
9699 inline ::hadoop::common::TokenProto* LocatedBlockProto::mutable_blocktokens(
int index) {
9701 return blocktokens_.Mutable(index);
9703 inline ::hadoop::common::TokenProto* LocatedBlockProto::add_blocktokens() {
9705 return blocktokens_.Add();
9707 inline ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >*
9708 LocatedBlockProto::mutable_blocktokens() {
9710 return &blocktokens_;
9712 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::common::TokenProto >&
9713 LocatedBlockProto::blocktokens()
const {
9715 return blocktokens_;
9723 inline bool DataEncryptionKeyProto::has_keyid()
const {
9724 return (_has_bits_[0] & 0x00000001u) != 0;
9726 inline void DataEncryptionKeyProto::set_has_keyid() {
9727 _has_bits_[0] |= 0x00000001u;
9729 inline void DataEncryptionKeyProto::clear_has_keyid() {
9730 _has_bits_[0] &= ~0x00000001u;
9732 inline void DataEncryptionKeyProto::clear_keyid() {
9736 inline ::google::protobuf::uint32 DataEncryptionKeyProto::keyid()
const {
9740 inline void DataEncryptionKeyProto::set_keyid(::google::protobuf::uint32 value) {
9747 inline bool DataEncryptionKeyProto::has_blockpoolid()
const {
9748 return (_has_bits_[0] & 0x00000002u) != 0;
9750 inline void DataEncryptionKeyProto::set_has_blockpoolid() {
9751 _has_bits_[0] |= 0x00000002u;
9753 inline void DataEncryptionKeyProto::clear_has_blockpoolid() {
9754 _has_bits_[0] &= ~0x00000002u;
9756 inline void DataEncryptionKeyProto::clear_blockpoolid() {
9757 blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9758 clear_has_blockpoolid();
9760 inline const ::std::string& DataEncryptionKeyProto::blockpoolid()
const {
9762 return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9764 inline void DataEncryptionKeyProto::set_blockpoolid(const ::std::string& value) {
9765 set_has_blockpoolid();
9766 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9769 inline void DataEncryptionKeyProto::set_blockpoolid(
const char* value) {
9770 set_has_blockpoolid();
9771 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
9780 inline ::std::string* DataEncryptionKeyProto::mutable_blockpoolid() {
9781 set_has_blockpoolid();
9783 return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9785 inline ::std::string* DataEncryptionKeyProto::release_blockpoolid() {
9787 clear_has_blockpoolid();
9788 return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9790 inline void DataEncryptionKeyProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
9791 if (blockpoolid != NULL) {
9792 set_has_blockpoolid();
9794 clear_has_blockpoolid();
9796 blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
9801 inline bool DataEncryptionKeyProto::has_nonce()
const {
9802 return (_has_bits_[0] & 0x00000004u) != 0;
9804 inline void DataEncryptionKeyProto::set_has_nonce() {
9805 _has_bits_[0] |= 0x00000004u;
9807 inline void DataEncryptionKeyProto::clear_has_nonce() {
9808 _has_bits_[0] &= ~0x00000004u;
9810 inline void DataEncryptionKeyProto::clear_nonce() {
9811 nonce_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9814 inline const ::std::string& DataEncryptionKeyProto::nonce()
const {
9816 return nonce_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9818 inline void DataEncryptionKeyProto::set_nonce(const ::std::string& value) {
9820 nonce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9823 inline void DataEncryptionKeyProto::set_nonce(
const char* value) {
9825 nonce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9828 inline void DataEncryptionKeyProto::set_nonce(
const void* value,
size_t size) {
9830 nonce_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9831 ::std::string(reinterpret_cast<const char*>(value), size));
9834 inline ::std::string* DataEncryptionKeyProto::mutable_nonce() {
9837 return nonce_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9839 inline ::std::string* DataEncryptionKeyProto::release_nonce() {
9842 return nonce_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9844 inline void DataEncryptionKeyProto::set_allocated_nonce(::std::string* nonce) {
9845 if (nonce != NULL) {
9850 nonce_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), nonce);
9855 inline bool DataEncryptionKeyProto::has_encryptionkey()
const {
9856 return (_has_bits_[0] & 0x00000008u) != 0;
9858 inline void DataEncryptionKeyProto::set_has_encryptionkey() {
9859 _has_bits_[0] |= 0x00000008u;
9861 inline void DataEncryptionKeyProto::clear_has_encryptionkey() {
9862 _has_bits_[0] &= ~0x00000008u;
9864 inline void DataEncryptionKeyProto::clear_encryptionkey() {
9865 encryptionkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9866 clear_has_encryptionkey();
9868 inline const ::std::string& DataEncryptionKeyProto::encryptionkey()
const {
9870 return encryptionkey_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9872 inline void DataEncryptionKeyProto::set_encryptionkey(const ::std::string& value) {
9873 set_has_encryptionkey();
9874 encryptionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9877 inline void DataEncryptionKeyProto::set_encryptionkey(
const char* value) {
9878 set_has_encryptionkey();
9879 encryptionkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
9888 inline ::std::string* DataEncryptionKeyProto::mutable_encryptionkey() {
9889 set_has_encryptionkey();
9891 return encryptionkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9893 inline ::std::string* DataEncryptionKeyProto::release_encryptionkey() {
9895 clear_has_encryptionkey();
9896 return encryptionkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9898 inline void DataEncryptionKeyProto::set_allocated_encryptionkey(::std::string* encryptionkey) {
9899 if (encryptionkey != NULL) {
9900 set_has_encryptionkey();
9902 clear_has_encryptionkey();
9904 encryptionkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), encryptionkey);
9909 inline bool DataEncryptionKeyProto::has_expirydate()
const {
9910 return (_has_bits_[0] & 0x00000010u) != 0;
9912 inline void DataEncryptionKeyProto::set_has_expirydate() {
9913 _has_bits_[0] |= 0x00000010u;
9915 inline void DataEncryptionKeyProto::clear_has_expirydate() {
9916 _has_bits_[0] &= ~0x00000010u;
9918 inline void DataEncryptionKeyProto::clear_expirydate() {
9919 expirydate_ = GOOGLE_ULONGLONG(0);
9920 clear_has_expirydate();
9922 inline ::google::protobuf::uint64 DataEncryptionKeyProto::expirydate()
const {
9926 inline void DataEncryptionKeyProto::set_expirydate(::google::protobuf::uint64 value) {
9927 set_has_expirydate();
9928 expirydate_ = value;
9933 inline bool DataEncryptionKeyProto::has_encryptionalgorithm()
const {
9934 return (_has_bits_[0] & 0x00000020u) != 0;
9936 inline void DataEncryptionKeyProto::set_has_encryptionalgorithm() {
9937 _has_bits_[0] |= 0x00000020u;
9939 inline void DataEncryptionKeyProto::clear_has_encryptionalgorithm() {
9940 _has_bits_[0] &= ~0x00000020u;
9942 inline void DataEncryptionKeyProto::clear_encryptionalgorithm() {
9943 encryptionalgorithm_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9944 clear_has_encryptionalgorithm();
9946 inline const ::std::string& DataEncryptionKeyProto::encryptionalgorithm()
const {
9948 return encryptionalgorithm_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9950 inline void DataEncryptionKeyProto::set_encryptionalgorithm(const ::std::string& value) {
9951 set_has_encryptionalgorithm();
9952 encryptionalgorithm_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9955 inline void DataEncryptionKeyProto::set_encryptionalgorithm(
const char* value) {
9956 set_has_encryptionalgorithm();
9957 encryptionalgorithm_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
9966 inline ::std::string* DataEncryptionKeyProto::mutable_encryptionalgorithm() {
9967 set_has_encryptionalgorithm();
9969 return encryptionalgorithm_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9971 inline ::std::string* DataEncryptionKeyProto::release_encryptionalgorithm() {
9973 clear_has_encryptionalgorithm();
9974 return encryptionalgorithm_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9976 inline void DataEncryptionKeyProto::set_allocated_encryptionalgorithm(::std::string* encryptionalgorithm) {
9977 if (encryptionalgorithm != NULL) {
9978 set_has_encryptionalgorithm();
9980 clear_has_encryptionalgorithm();
9982 encryptionalgorithm_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), encryptionalgorithm);
9991 inline bool FileEncryptionInfoProto::has_suite()
const {
9992 return (_has_bits_[0] & 0x00000001u) != 0;
9994 inline void FileEncryptionInfoProto::set_has_suite() {
9995 _has_bits_[0] |= 0x00000001u;
9997 inline void FileEncryptionInfoProto::clear_has_suite() {
9998 _has_bits_[0] &= ~0x00000001u;
10000 inline void FileEncryptionInfoProto::clear_suite() {
10004 inline ::hadoop::hdfs::CipherSuiteProto FileEncryptionInfoProto::suite()
const {
10006 return static_cast< ::hadoop::hdfs::CipherSuiteProto
>(suite_);
10008 inline void FileEncryptionInfoProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
10009 assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
10016 inline bool FileEncryptionInfoProto::has_cryptoprotocolversion()
const {
10017 return (_has_bits_[0] & 0x00000002u) != 0;
10019 inline void FileEncryptionInfoProto::set_has_cryptoprotocolversion() {
10020 _has_bits_[0] |= 0x00000002u;
10022 inline void FileEncryptionInfoProto::clear_has_cryptoprotocolversion() {
10023 _has_bits_[0] &= ~0x00000002u;
10025 inline void FileEncryptionInfoProto::clear_cryptoprotocolversion() {
10026 cryptoprotocolversion_ = 1;
10027 clear_has_cryptoprotocolversion();
10029 inline ::hadoop::hdfs::CryptoProtocolVersionProto FileEncryptionInfoProto::cryptoprotocolversion()
const {
10031 return static_cast< ::hadoop::hdfs::CryptoProtocolVersionProto
>(cryptoprotocolversion_);
10033 inline void FileEncryptionInfoProto::set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value) {
10034 assert(::hadoop::hdfs::CryptoProtocolVersionProto_IsValid(value));
10035 set_has_cryptoprotocolversion();
10036 cryptoprotocolversion_ = value;
10041 inline bool FileEncryptionInfoProto::has_key()
const {
10042 return (_has_bits_[0] & 0x00000004u) != 0;
10044 inline void FileEncryptionInfoProto::set_has_key() {
10045 _has_bits_[0] |= 0x00000004u;
10047 inline void FileEncryptionInfoProto::clear_has_key() {
10048 _has_bits_[0] &= ~0x00000004u;
10050 inline void FileEncryptionInfoProto::clear_key() {
10051 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10054 inline const ::std::string& FileEncryptionInfoProto::key()
const {
10056 return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10058 inline void FileEncryptionInfoProto::set_key(const ::std::string& value) {
10060 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10063 inline void FileEncryptionInfoProto::set_key(
const char* value) {
10065 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10068 inline void FileEncryptionInfoProto::set_key(
const void* value,
size_t size) {
10070 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10071 ::std::string(reinterpret_cast<const char*>(value), size));
10074 inline ::std::string* FileEncryptionInfoProto::mutable_key() {
10077 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10079 inline ::std::string* FileEncryptionInfoProto::release_key() {
10082 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10084 inline void FileEncryptionInfoProto::set_allocated_key(::std::string* key) {
10090 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
10095 inline bool FileEncryptionInfoProto::has_iv()
const {
10096 return (_has_bits_[0] & 0x00000008u) != 0;
10098 inline void FileEncryptionInfoProto::set_has_iv() {
10099 _has_bits_[0] |= 0x00000008u;
10101 inline void FileEncryptionInfoProto::clear_has_iv() {
10102 _has_bits_[0] &= ~0x00000008u;
10104 inline void FileEncryptionInfoProto::clear_iv() {
10105 iv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10108 inline const ::std::string& FileEncryptionInfoProto::iv()
const {
10110 return iv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10112 inline void FileEncryptionInfoProto::set_iv(const ::std::string& value) {
10114 iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10117 inline void FileEncryptionInfoProto::set_iv(
const char* value) {
10119 iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10122 inline void FileEncryptionInfoProto::set_iv(
const void* value,
size_t size) {
10124 iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10125 ::std::string(reinterpret_cast<const char*>(value), size));
10128 inline ::std::string* FileEncryptionInfoProto::mutable_iv() {
10131 return iv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10133 inline ::std::string* FileEncryptionInfoProto::release_iv() {
10136 return iv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10138 inline void FileEncryptionInfoProto::set_allocated_iv(::std::string* iv) {
10144 iv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iv);
10149 inline bool FileEncryptionInfoProto::has_keyname()
const {
10150 return (_has_bits_[0] & 0x00000010u) != 0;
10152 inline void FileEncryptionInfoProto::set_has_keyname() {
10153 _has_bits_[0] |= 0x00000010u;
10155 inline void FileEncryptionInfoProto::clear_has_keyname() {
10156 _has_bits_[0] &= ~0x00000010u;
10158 inline void FileEncryptionInfoProto::clear_keyname() {
10159 keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10160 clear_has_keyname();
10162 inline const ::std::string& FileEncryptionInfoProto::keyname()
const {
10164 return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10166 inline void FileEncryptionInfoProto::set_keyname(const ::std::string& value) {
10168 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10171 inline void FileEncryptionInfoProto::set_keyname(
const char* value) {
10173 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10176 inline void FileEncryptionInfoProto::set_keyname(
const char* value,
size_t size) {
10178 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10179 ::std::string(reinterpret_cast<const char*>(value), size));
10182 inline ::std::string* FileEncryptionInfoProto::mutable_keyname() {
10185 return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10187 inline ::std::string* FileEncryptionInfoProto::release_keyname() {
10189 clear_has_keyname();
10190 return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10192 inline void FileEncryptionInfoProto::set_allocated_keyname(::std::string* keyname) {
10193 if (keyname != NULL) {
10196 clear_has_keyname();
10198 keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
10203 inline bool FileEncryptionInfoProto::has_ezkeyversionname()
const {
10204 return (_has_bits_[0] & 0x00000020u) != 0;
10206 inline void FileEncryptionInfoProto::set_has_ezkeyversionname() {
10207 _has_bits_[0] |= 0x00000020u;
10209 inline void FileEncryptionInfoProto::clear_has_ezkeyversionname() {
10210 _has_bits_[0] &= ~0x00000020u;
10212 inline void FileEncryptionInfoProto::clear_ezkeyversionname() {
10213 ezkeyversionname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10214 clear_has_ezkeyversionname();
10216 inline const ::std::string& FileEncryptionInfoProto::ezkeyversionname()
const {
10218 return ezkeyversionname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10220 inline void FileEncryptionInfoProto::set_ezkeyversionname(const ::std::string& value) {
10221 set_has_ezkeyversionname();
10222 ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10225 inline void FileEncryptionInfoProto::set_ezkeyversionname(
const char* value) {
10226 set_has_ezkeyversionname();
10227 ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
10236 inline ::std::string* FileEncryptionInfoProto::mutable_ezkeyversionname() {
10237 set_has_ezkeyversionname();
10239 return ezkeyversionname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10241 inline ::std::string* FileEncryptionInfoProto::release_ezkeyversionname() {
10243 clear_has_ezkeyversionname();
10244 return ezkeyversionname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10246 inline void FileEncryptionInfoProto::set_allocated_ezkeyversionname(::std::string* ezkeyversionname) {
10247 if (ezkeyversionname != NULL) {
10248 set_has_ezkeyversionname();
10250 clear_has_ezkeyversionname();
10252 ezkeyversionname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ezkeyversionname);
10261 inline bool PerFileEncryptionInfoProto::has_key()
const {
10262 return (_has_bits_[0] & 0x00000001u) != 0;
10264 inline void PerFileEncryptionInfoProto::set_has_key() {
10265 _has_bits_[0] |= 0x00000001u;
10267 inline void PerFileEncryptionInfoProto::clear_has_key() {
10268 _has_bits_[0] &= ~0x00000001u;
10270 inline void PerFileEncryptionInfoProto::clear_key() {
10271 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10274 inline const ::std::string& PerFileEncryptionInfoProto::key()
const {
10276 return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10278 inline void PerFileEncryptionInfoProto::set_key(const ::std::string& value) {
10280 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10283 inline void PerFileEncryptionInfoProto::set_key(
const char* value) {
10285 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10288 inline void PerFileEncryptionInfoProto::set_key(
const void* value,
size_t size) {
10290 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10291 ::std::string(reinterpret_cast<const char*>(value), size));
10294 inline ::std::string* PerFileEncryptionInfoProto::mutable_key() {
10297 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10299 inline ::std::string* PerFileEncryptionInfoProto::release_key() {
10302 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10304 inline void PerFileEncryptionInfoProto::set_allocated_key(::std::string* key) {
10310 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
10315 inline bool PerFileEncryptionInfoProto::has_iv()
const {
10316 return (_has_bits_[0] & 0x00000002u) != 0;
10318 inline void PerFileEncryptionInfoProto::set_has_iv() {
10319 _has_bits_[0] |= 0x00000002u;
10321 inline void PerFileEncryptionInfoProto::clear_has_iv() {
10322 _has_bits_[0] &= ~0x00000002u;
10324 inline void PerFileEncryptionInfoProto::clear_iv() {
10325 iv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10328 inline const ::std::string& PerFileEncryptionInfoProto::iv()
const {
10330 return iv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10332 inline void PerFileEncryptionInfoProto::set_iv(const ::std::string& value) {
10334 iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10337 inline void PerFileEncryptionInfoProto::set_iv(
const char* value) {
10339 iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10342 inline void PerFileEncryptionInfoProto::set_iv(
const void* value,
size_t size) {
10344 iv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10345 ::std::string(reinterpret_cast<const char*>(value), size));
10348 inline ::std::string* PerFileEncryptionInfoProto::mutable_iv() {
10351 return iv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10353 inline ::std::string* PerFileEncryptionInfoProto::release_iv() {
10356 return iv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10358 inline void PerFileEncryptionInfoProto::set_allocated_iv(::std::string* iv) {
10364 iv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iv);
10369 inline bool PerFileEncryptionInfoProto::has_ezkeyversionname()
const {
10370 return (_has_bits_[0] & 0x00000004u) != 0;
10372 inline void PerFileEncryptionInfoProto::set_has_ezkeyversionname() {
10373 _has_bits_[0] |= 0x00000004u;
10375 inline void PerFileEncryptionInfoProto::clear_has_ezkeyversionname() {
10376 _has_bits_[0] &= ~0x00000004u;
10378 inline void PerFileEncryptionInfoProto::clear_ezkeyversionname() {
10379 ezkeyversionname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10380 clear_has_ezkeyversionname();
10382 inline const ::std::string& PerFileEncryptionInfoProto::ezkeyversionname()
const {
10384 return ezkeyversionname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10386 inline void PerFileEncryptionInfoProto::set_ezkeyversionname(const ::std::string& value) {
10387 set_has_ezkeyversionname();
10388 ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10391 inline void PerFileEncryptionInfoProto::set_ezkeyversionname(
const char* value) {
10392 set_has_ezkeyversionname();
10393 ezkeyversionname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
10402 inline ::std::string* PerFileEncryptionInfoProto::mutable_ezkeyversionname() {
10403 set_has_ezkeyversionname();
10405 return ezkeyversionname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10407 inline ::std::string* PerFileEncryptionInfoProto::release_ezkeyversionname() {
10409 clear_has_ezkeyversionname();
10410 return ezkeyversionname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10412 inline void PerFileEncryptionInfoProto::set_allocated_ezkeyversionname(::std::string* ezkeyversionname) {
10413 if (ezkeyversionname != NULL) {
10414 set_has_ezkeyversionname();
10416 clear_has_ezkeyversionname();
10418 ezkeyversionname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ezkeyversionname);
10427 inline bool ZoneEncryptionInfoProto::has_suite()
const {
10428 return (_has_bits_[0] & 0x00000001u) != 0;
10430 inline void ZoneEncryptionInfoProto::set_has_suite() {
10431 _has_bits_[0] |= 0x00000001u;
10433 inline void ZoneEncryptionInfoProto::clear_has_suite() {
10434 _has_bits_[0] &= ~0x00000001u;
10436 inline void ZoneEncryptionInfoProto::clear_suite() {
10440 inline ::hadoop::hdfs::CipherSuiteProto ZoneEncryptionInfoProto::suite()
const {
10442 return static_cast< ::hadoop::hdfs::CipherSuiteProto
>(suite_);
10444 inline void ZoneEncryptionInfoProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
10445 assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
10452 inline bool ZoneEncryptionInfoProto::has_cryptoprotocolversion()
const {
10453 return (_has_bits_[0] & 0x00000002u) != 0;
10455 inline void ZoneEncryptionInfoProto::set_has_cryptoprotocolversion() {
10456 _has_bits_[0] |= 0x00000002u;
10458 inline void ZoneEncryptionInfoProto::clear_has_cryptoprotocolversion() {
10459 _has_bits_[0] &= ~0x00000002u;
10461 inline void ZoneEncryptionInfoProto::clear_cryptoprotocolversion() {
10462 cryptoprotocolversion_ = 1;
10463 clear_has_cryptoprotocolversion();
10465 inline ::hadoop::hdfs::CryptoProtocolVersionProto ZoneEncryptionInfoProto::cryptoprotocolversion()
const {
10467 return static_cast< ::hadoop::hdfs::CryptoProtocolVersionProto
>(cryptoprotocolversion_);
10469 inline void ZoneEncryptionInfoProto::set_cryptoprotocolversion(::hadoop::hdfs::CryptoProtocolVersionProto value) {
10470 assert(::hadoop::hdfs::CryptoProtocolVersionProto_IsValid(value));
10471 set_has_cryptoprotocolversion();
10472 cryptoprotocolversion_ = value;
10477 inline bool ZoneEncryptionInfoProto::has_keyname()
const {
10478 return (_has_bits_[0] & 0x00000004u) != 0;
10480 inline void ZoneEncryptionInfoProto::set_has_keyname() {
10481 _has_bits_[0] |= 0x00000004u;
10483 inline void ZoneEncryptionInfoProto::clear_has_keyname() {
10484 _has_bits_[0] &= ~0x00000004u;
10486 inline void ZoneEncryptionInfoProto::clear_keyname() {
10487 keyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10488 clear_has_keyname();
10490 inline const ::std::string& ZoneEncryptionInfoProto::keyname()
const {
10492 return keyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10494 inline void ZoneEncryptionInfoProto::set_keyname(const ::std::string& value) {
10496 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10499 inline void ZoneEncryptionInfoProto::set_keyname(
const char* value) {
10501 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10504 inline void ZoneEncryptionInfoProto::set_keyname(
const char* value,
size_t size) {
10506 keyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10507 ::std::string(reinterpret_cast<const char*>(value), size));
10510 inline ::std::string* ZoneEncryptionInfoProto::mutable_keyname() {
10513 return keyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10515 inline ::std::string* ZoneEncryptionInfoProto::release_keyname() {
10517 clear_has_keyname();
10518 return keyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10520 inline void ZoneEncryptionInfoProto::set_allocated_keyname(::std::string* keyname) {
10521 if (keyname != NULL) {
10524 clear_has_keyname();
10526 keyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyname);
10535 inline bool CipherOptionProto::has_suite()
const {
10536 return (_has_bits_[0] & 0x00000001u) != 0;
10538 inline void CipherOptionProto::set_has_suite() {
10539 _has_bits_[0] |= 0x00000001u;
10541 inline void CipherOptionProto::clear_has_suite() {
10542 _has_bits_[0] &= ~0x00000001u;
10544 inline void CipherOptionProto::clear_suite() {
10548 inline ::hadoop::hdfs::CipherSuiteProto CipherOptionProto::suite()
const {
10550 return static_cast< ::hadoop::hdfs::CipherSuiteProto
>(suite_);
10552 inline void CipherOptionProto::set_suite(::hadoop::hdfs::CipherSuiteProto value) {
10553 assert(::hadoop::hdfs::CipherSuiteProto_IsValid(value));
10560 inline bool CipherOptionProto::has_inkey()
const {
10561 return (_has_bits_[0] & 0x00000002u) != 0;
10563 inline void CipherOptionProto::set_has_inkey() {
10564 _has_bits_[0] |= 0x00000002u;
10566 inline void CipherOptionProto::clear_has_inkey() {
10567 _has_bits_[0] &= ~0x00000002u;
10569 inline void CipherOptionProto::clear_inkey() {
10570 inkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10573 inline const ::std::string& CipherOptionProto::inkey()
const {
10575 return inkey_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10577 inline void CipherOptionProto::set_inkey(const ::std::string& value) {
10579 inkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10582 inline void CipherOptionProto::set_inkey(
const char* value) {
10584 inkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10587 inline void CipherOptionProto::set_inkey(
const void* value,
size_t size) {
10589 inkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10590 ::std::string(reinterpret_cast<const char*>(value), size));
10593 inline ::std::string* CipherOptionProto::mutable_inkey() {
10596 return inkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10598 inline ::std::string* CipherOptionProto::release_inkey() {
10601 return inkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10603 inline void CipherOptionProto::set_allocated_inkey(::std::string* inkey) {
10604 if (inkey != NULL) {
10609 inkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), inkey);
10614 inline bool CipherOptionProto::has_iniv()
const {
10615 return (_has_bits_[0] & 0x00000004u) != 0;
10617 inline void CipherOptionProto::set_has_iniv() {
10618 _has_bits_[0] |= 0x00000004u;
10620 inline void CipherOptionProto::clear_has_iniv() {
10621 _has_bits_[0] &= ~0x00000004u;
10623 inline void CipherOptionProto::clear_iniv() {
10624 iniv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10627 inline const ::std::string& CipherOptionProto::iniv()
const {
10629 return iniv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10631 inline void CipherOptionProto::set_iniv(const ::std::string& value) {
10633 iniv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10636 inline void CipherOptionProto::set_iniv(
const char* value) {
10638 iniv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10641 inline void CipherOptionProto::set_iniv(
const void* value,
size_t size) {
10643 iniv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10644 ::std::string(reinterpret_cast<const char*>(value), size));
10647 inline ::std::string* CipherOptionProto::mutable_iniv() {
10650 return iniv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10652 inline ::std::string* CipherOptionProto::release_iniv() {
10655 return iniv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10657 inline void CipherOptionProto::set_allocated_iniv(::std::string* iniv) {
10658 if (iniv != NULL) {
10663 iniv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), iniv);
10668 inline bool CipherOptionProto::has_outkey()
const {
10669 return (_has_bits_[0] & 0x00000008u) != 0;
10671 inline void CipherOptionProto::set_has_outkey() {
10672 _has_bits_[0] |= 0x00000008u;
10674 inline void CipherOptionProto::clear_has_outkey() {
10675 _has_bits_[0] &= ~0x00000008u;
10677 inline void CipherOptionProto::clear_outkey() {
10678 outkey_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10679 clear_has_outkey();
10681 inline const ::std::string& CipherOptionProto::outkey()
const {
10683 return outkey_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10685 inline void CipherOptionProto::set_outkey(const ::std::string& value) {
10687 outkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10690 inline void CipherOptionProto::set_outkey(
const char* value) {
10692 outkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10695 inline void CipherOptionProto::set_outkey(
const void* value,
size_t size) {
10697 outkey_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10698 ::std::string(reinterpret_cast<const char*>(value), size));
10701 inline ::std::string* CipherOptionProto::mutable_outkey() {
10704 return outkey_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10706 inline ::std::string* CipherOptionProto::release_outkey() {
10708 clear_has_outkey();
10709 return outkey_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10711 inline void CipherOptionProto::set_allocated_outkey(::std::string* outkey) {
10712 if (outkey != NULL) {
10715 clear_has_outkey();
10717 outkey_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), outkey);
10722 inline bool CipherOptionProto::has_outiv()
const {
10723 return (_has_bits_[0] & 0x00000010u) != 0;
10725 inline void CipherOptionProto::set_has_outiv() {
10726 _has_bits_[0] |= 0x00000010u;
10728 inline void CipherOptionProto::clear_has_outiv() {
10729 _has_bits_[0] &= ~0x00000010u;
10731 inline void CipherOptionProto::clear_outiv() {
10732 outiv_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10735 inline const ::std::string& CipherOptionProto::outiv()
const {
10737 return outiv_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10739 inline void CipherOptionProto::set_outiv(const ::std::string& value) {
10741 outiv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10744 inline void CipherOptionProto::set_outiv(
const char* value) {
10746 outiv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10749 inline void CipherOptionProto::set_outiv(
const void* value,
size_t size) {
10751 outiv_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10752 ::std::string(reinterpret_cast<const char*>(value), size));
10755 inline ::std::string* CipherOptionProto::mutable_outiv() {
10758 return outiv_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10760 inline ::std::string* CipherOptionProto::release_outiv() {
10763 return outiv_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10765 inline void CipherOptionProto::set_allocated_outiv(::std::string* outiv) {
10766 if (outiv != NULL) {
10771 outiv_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), outiv);
10780 inline bool LocatedBlocksProto::has_filelength()
const {
10781 return (_has_bits_[0] & 0x00000001u) != 0;
10783 inline void LocatedBlocksProto::set_has_filelength() {
10784 _has_bits_[0] |= 0x00000001u;
10786 inline void LocatedBlocksProto::clear_has_filelength() {
10787 _has_bits_[0] &= ~0x00000001u;
10789 inline void LocatedBlocksProto::clear_filelength() {
10790 filelength_ = GOOGLE_ULONGLONG(0);
10791 clear_has_filelength();
10793 inline ::google::protobuf::uint64 LocatedBlocksProto::filelength()
const {
10795 return filelength_;
10797 inline void LocatedBlocksProto::set_filelength(::google::protobuf::uint64 value) {
10798 set_has_filelength();
10799 filelength_ = value;
10804 inline int LocatedBlocksProto::blocks_size()
const {
10805 return blocks_.size();
10807 inline void LocatedBlocksProto::clear_blocks() {
10810 inline const ::hadoop::hdfs::LocatedBlockProto& LocatedBlocksProto::blocks(
int index)
const {
10812 return blocks_.Get(index);
10814 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::mutable_blocks(
int index) {
10816 return blocks_.Mutable(index);
10818 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::add_blocks() {
10820 return blocks_.Add();
10822 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >*
10823 LocatedBlocksProto::mutable_blocks() {
10827 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::LocatedBlockProto >&
10828 LocatedBlocksProto::blocks()
const {
10834 inline bool LocatedBlocksProto::has_underconstruction()
const {
10835 return (_has_bits_[0] & 0x00000004u) != 0;
10837 inline void LocatedBlocksProto::set_has_underconstruction() {
10838 _has_bits_[0] |= 0x00000004u;
10840 inline void LocatedBlocksProto::clear_has_underconstruction() {
10841 _has_bits_[0] &= ~0x00000004u;
10843 inline void LocatedBlocksProto::clear_underconstruction() {
10844 underconstruction_ =
false;
10845 clear_has_underconstruction();
10847 inline bool LocatedBlocksProto::underconstruction()
const {
10849 return underconstruction_;
10851 inline void LocatedBlocksProto::set_underconstruction(
bool value) {
10852 set_has_underconstruction();
10853 underconstruction_ = value;
10858 inline bool LocatedBlocksProto::has_lastblock()
const {
10859 return (_has_bits_[0] & 0x00000008u) != 0;
10861 inline void LocatedBlocksProto::set_has_lastblock() {
10862 _has_bits_[0] |= 0x00000008u;
10864 inline void LocatedBlocksProto::clear_has_lastblock() {
10865 _has_bits_[0] &= ~0x00000008u;
10867 inline void LocatedBlocksProto::clear_lastblock() {
10868 if (lastblock_ != NULL) lastblock_->::hadoop::hdfs::LocatedBlockProto::Clear();
10869 clear_has_lastblock();
10871 inline const ::hadoop::hdfs::LocatedBlockProto& LocatedBlocksProto::lastblock()
const {
10873 return lastblock_ != NULL ? *lastblock_ : *default_instance_->lastblock_;
10875 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::mutable_lastblock() {
10876 set_has_lastblock();
10877 if (lastblock_ == NULL) {
10878 lastblock_ = new ::hadoop::hdfs::LocatedBlockProto;
10883 inline ::hadoop::hdfs::LocatedBlockProto* LocatedBlocksProto::release_lastblock() {
10885 clear_has_lastblock();
10892 lastblock_ = lastblock;
10894 set_has_lastblock();
10896 clear_has_lastblock();
10902 inline bool LocatedBlocksProto::has_islastblockcomplete()
const {
10903 return (_has_bits_[0] & 0x00000010u) != 0;
10905 inline void LocatedBlocksProto::set_has_islastblockcomplete() {
10906 _has_bits_[0] |= 0x00000010u;
10908 inline void LocatedBlocksProto::clear_has_islastblockcomplete() {
10909 _has_bits_[0] &= ~0x00000010u;
10911 inline void LocatedBlocksProto::clear_islastblockcomplete() {
10912 islastblockcomplete_ =
false;
10913 clear_has_islastblockcomplete();
10915 inline bool LocatedBlocksProto::islastblockcomplete()
const {
10917 return islastblockcomplete_;
10919 inline void LocatedBlocksProto::set_islastblockcomplete(
bool value) {
10920 set_has_islastblockcomplete();
10921 islastblockcomplete_ = value;
10926 inline bool LocatedBlocksProto::has_fileencryptioninfo()
const {
10927 return (_has_bits_[0] & 0x00000020u) != 0;
10929 inline void LocatedBlocksProto::set_has_fileencryptioninfo() {
10930 _has_bits_[0] |= 0x00000020u;
10932 inline void LocatedBlocksProto::clear_has_fileencryptioninfo() {
10933 _has_bits_[0] &= ~0x00000020u;
10935 inline void LocatedBlocksProto::clear_fileencryptioninfo() {
10936 if (fileencryptioninfo_ != NULL) fileencryptioninfo_->::hadoop::hdfs::FileEncryptionInfoProto::Clear();
10937 clear_has_fileencryptioninfo();
10939 inline const ::hadoop::hdfs::FileEncryptionInfoProto& LocatedBlocksProto::fileencryptioninfo()
const {
10941 return fileencryptioninfo_ != NULL ? *fileencryptioninfo_ : *default_instance_->fileencryptioninfo_;
10943 inline ::hadoop::hdfs::FileEncryptionInfoProto* LocatedBlocksProto::mutable_fileencryptioninfo() {
10944 set_has_fileencryptioninfo();
10945 if (fileencryptioninfo_ == NULL) {
10946 fileencryptioninfo_ = new ::hadoop::hdfs::FileEncryptionInfoProto;
10949 return fileencryptioninfo_;
10951 inline ::hadoop::hdfs::FileEncryptionInfoProto* LocatedBlocksProto::release_fileencryptioninfo() {
10953 clear_has_fileencryptioninfo();
10955 fileencryptioninfo_ = NULL;
10959 delete fileencryptioninfo_;
10960 fileencryptioninfo_ = fileencryptioninfo;
10961 if (fileencryptioninfo) {
10962 set_has_fileencryptioninfo();
10964 clear_has_fileencryptioninfo();
10970 inline bool LocatedBlocksProto::has_ecpolicy()
const {
10971 return (_has_bits_[0] & 0x00000040u) != 0;
10973 inline void LocatedBlocksProto::set_has_ecpolicy() {
10974 _has_bits_[0] |= 0x00000040u;
10976 inline void LocatedBlocksProto::clear_has_ecpolicy() {
10977 _has_bits_[0] &= ~0x00000040u;
10979 inline void LocatedBlocksProto::clear_ecpolicy() {
10980 if (ecpolicy_ != NULL) ecpolicy_->::hadoop::hdfs::ErasureCodingPolicyProto::Clear();
10981 clear_has_ecpolicy();
10983 inline const ::hadoop::hdfs::ErasureCodingPolicyProto& LocatedBlocksProto::ecpolicy()
const {
10985 return ecpolicy_ != NULL ? *ecpolicy_ : *default_instance_->ecpolicy_;
10987 inline ::hadoop::hdfs::ErasureCodingPolicyProto* LocatedBlocksProto::mutable_ecpolicy() {
10988 set_has_ecpolicy();
10989 if (ecpolicy_ == NULL) {
10990 ecpolicy_ = new ::hadoop::hdfs::ErasureCodingPolicyProto;
10995 inline ::hadoop::hdfs::ErasureCodingPolicyProto* LocatedBlocksProto::release_ecpolicy() {
10997 clear_has_ecpolicy();
11004 ecpolicy_ = ecpolicy;
11006 set_has_ecpolicy();
11008 clear_has_ecpolicy();
11018 inline bool ECSchemaOptionEntryProto::has_key()
const {
11019 return (_has_bits_[0] & 0x00000001u) != 0;
11021 inline void ECSchemaOptionEntryProto::set_has_key() {
11022 _has_bits_[0] |= 0x00000001u;
11024 inline void ECSchemaOptionEntryProto::clear_has_key() {
11025 _has_bits_[0] &= ~0x00000001u;
11027 inline void ECSchemaOptionEntryProto::clear_key() {
11028 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11031 inline const ::std::string& ECSchemaOptionEntryProto::key()
const {
11033 return key_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11035 inline void ECSchemaOptionEntryProto::set_key(const ::std::string& value) {
11037 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11040 inline void ECSchemaOptionEntryProto::set_key(
const char* value) {
11042 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11045 inline void ECSchemaOptionEntryProto::set_key(
const char* value,
size_t size) {
11047 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11048 ::std::string(reinterpret_cast<const char*>(value), size));
11051 inline ::std::string* ECSchemaOptionEntryProto::mutable_key() {
11054 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11056 inline ::std::string* ECSchemaOptionEntryProto::release_key() {
11059 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11061 inline void ECSchemaOptionEntryProto::set_allocated_key(::std::string* key) {
11067 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
11072 inline bool ECSchemaOptionEntryProto::has_value()
const {
11073 return (_has_bits_[0] & 0x00000002u) != 0;
11075 inline void ECSchemaOptionEntryProto::set_has_value() {
11076 _has_bits_[0] |= 0x00000002u;
11078 inline void ECSchemaOptionEntryProto::clear_has_value() {
11079 _has_bits_[0] &= ~0x00000002u;
11081 inline void ECSchemaOptionEntryProto::clear_value() {
11082 value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11085 inline const ::std::string& ECSchemaOptionEntryProto::value()
const {
11087 return value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11089 inline void ECSchemaOptionEntryProto::set_value(const ::std::string& value) {
11091 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11094 inline void ECSchemaOptionEntryProto::set_value(
const char* value) {
11096 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11099 inline void ECSchemaOptionEntryProto::set_value(
const char* value,
size_t size) {
11101 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11102 ::std::string(reinterpret_cast<const char*>(value), size));
11105 inline ::std::string* ECSchemaOptionEntryProto::mutable_value() {
11108 return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11110 inline ::std::string* ECSchemaOptionEntryProto::release_value() {
11113 return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11115 inline void ECSchemaOptionEntryProto::set_allocated_value(::std::string* value) {
11116 if (value != NULL) {
11121 value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11130 inline bool ECSchemaProto::has_codecname()
const {
11131 return (_has_bits_[0] & 0x00000001u) != 0;
11133 inline void ECSchemaProto::set_has_codecname() {
11134 _has_bits_[0] |= 0x00000001u;
11136 inline void ECSchemaProto::clear_has_codecname() {
11137 _has_bits_[0] &= ~0x00000001u;
11139 inline void ECSchemaProto::clear_codecname() {
11140 codecname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11141 clear_has_codecname();
11143 inline const ::std::string& ECSchemaProto::codecname()
const {
11145 return codecname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11147 inline void ECSchemaProto::set_codecname(const ::std::string& value) {
11148 set_has_codecname();
11149 codecname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11152 inline void ECSchemaProto::set_codecname(
const char* value) {
11153 set_has_codecname();
11154 codecname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
11163 inline ::std::string* ECSchemaProto::mutable_codecname() {
11164 set_has_codecname();
11166 return codecname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11168 inline ::std::string* ECSchemaProto::release_codecname() {
11170 clear_has_codecname();
11171 return codecname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11173 inline void ECSchemaProto::set_allocated_codecname(::std::string* codecname) {
11174 if (codecname != NULL) {
11175 set_has_codecname();
11177 clear_has_codecname();
11179 codecname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codecname);
11184 inline bool ECSchemaProto::has_dataunits()
const {
11185 return (_has_bits_[0] & 0x00000002u) != 0;
11187 inline void ECSchemaProto::set_has_dataunits() {
11188 _has_bits_[0] |= 0x00000002u;
11190 inline void ECSchemaProto::clear_has_dataunits() {
11191 _has_bits_[0] &= ~0x00000002u;
11193 inline void ECSchemaProto::clear_dataunits() {
11195 clear_has_dataunits();
11197 inline ::google::protobuf::uint32 ECSchemaProto::dataunits()
const {
11201 inline void ECSchemaProto::set_dataunits(::google::protobuf::uint32 value) {
11202 set_has_dataunits();
11203 dataunits_ = value;
11208 inline bool ECSchemaProto::has_parityunits()
const {
11209 return (_has_bits_[0] & 0x00000004u) != 0;
11211 inline void ECSchemaProto::set_has_parityunits() {
11212 _has_bits_[0] |= 0x00000004u;
11214 inline void ECSchemaProto::clear_has_parityunits() {
11215 _has_bits_[0] &= ~0x00000004u;
11217 inline void ECSchemaProto::clear_parityunits() {
11219 clear_has_parityunits();
11221 inline ::google::protobuf::uint32 ECSchemaProto::parityunits()
const {
11223 return parityunits_;
11225 inline void ECSchemaProto::set_parityunits(::google::protobuf::uint32 value) {
11226 set_has_parityunits();
11227 parityunits_ = value;
11232 inline int ECSchemaProto::options_size()
const {
11233 return options_.size();
11235 inline void ECSchemaProto::clear_options() {
11238 inline const ::hadoop::hdfs::ECSchemaOptionEntryProto& ECSchemaProto::options(
int index)
const {
11240 return options_.Get(index);
11242 inline ::hadoop::hdfs::ECSchemaOptionEntryProto* ECSchemaProto::mutable_options(
int index) {
11244 return options_.Mutable(index);
11246 inline ::hadoop::hdfs::ECSchemaOptionEntryProto* ECSchemaProto::add_options() {
11248 return options_.Add();
11250 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >*
11251 ECSchemaProto::mutable_options() {
11255 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ECSchemaOptionEntryProto >&
11256 ECSchemaProto::options()
const {
11266 inline bool ErasureCodingPolicyProto::has_name()
const {
11267 return (_has_bits_[0] & 0x00000001u) != 0;
11269 inline void ErasureCodingPolicyProto::set_has_name() {
11270 _has_bits_[0] |= 0x00000001u;
11272 inline void ErasureCodingPolicyProto::clear_has_name() {
11273 _has_bits_[0] &= ~0x00000001u;
11275 inline void ErasureCodingPolicyProto::clear_name() {
11276 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11279 inline const ::std::string& ErasureCodingPolicyProto::name()
const {
11281 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11283 inline void ErasureCodingPolicyProto::set_name(const ::std::string& value) {
11285 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11288 inline void ErasureCodingPolicyProto::set_name(
const char* value) {
11290 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11293 inline void ErasureCodingPolicyProto::set_name(
const char* value,
size_t size) {
11295 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11296 ::std::string(reinterpret_cast<const char*>(value), size));
11299 inline ::std::string* ErasureCodingPolicyProto::mutable_name() {
11302 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11304 inline ::std::string* ErasureCodingPolicyProto::release_name() {
11307 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11309 inline void ErasureCodingPolicyProto::set_allocated_name(::std::string* name) {
11310 if (name != NULL) {
11315 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
11320 inline bool ErasureCodingPolicyProto::has_schema()
const {
11321 return (_has_bits_[0] & 0x00000002u) != 0;
11323 inline void ErasureCodingPolicyProto::set_has_schema() {
11324 _has_bits_[0] |= 0x00000002u;
11326 inline void ErasureCodingPolicyProto::clear_has_schema() {
11327 _has_bits_[0] &= ~0x00000002u;
11329 inline void ErasureCodingPolicyProto::clear_schema() {
11330 if (schema_ != NULL) schema_->::hadoop::hdfs::ECSchemaProto::Clear();
11331 clear_has_schema();
11333 inline const ::hadoop::hdfs::ECSchemaProto& ErasureCodingPolicyProto::schema()
const {
11335 return schema_ != NULL ? *schema_ : *default_instance_->schema_;
11337 inline ::hadoop::hdfs::ECSchemaProto* ErasureCodingPolicyProto::mutable_schema() {
11339 if (schema_ == NULL) {
11340 schema_ = new ::hadoop::hdfs::ECSchemaProto;
11345 inline ::hadoop::hdfs::ECSchemaProto* ErasureCodingPolicyProto::release_schema() {
11347 clear_has_schema();
11358 clear_has_schema();
11364 inline bool ErasureCodingPolicyProto::has_cellsize()
const {
11365 return (_has_bits_[0] & 0x00000004u) != 0;
11367 inline void ErasureCodingPolicyProto::set_has_cellsize() {
11368 _has_bits_[0] |= 0x00000004u;
11370 inline void ErasureCodingPolicyProto::clear_has_cellsize() {
11371 _has_bits_[0] &= ~0x00000004u;
11373 inline void ErasureCodingPolicyProto::clear_cellsize() {
11375 clear_has_cellsize();
11377 inline ::google::protobuf::uint32 ErasureCodingPolicyProto::cellsize()
const {
11381 inline void ErasureCodingPolicyProto::set_cellsize(::google::protobuf::uint32 value) {
11382 set_has_cellsize();
11388 inline bool ErasureCodingPolicyProto::has_id()
const {
11389 return (_has_bits_[0] & 0x00000008u) != 0;
11391 inline void ErasureCodingPolicyProto::set_has_id() {
11392 _has_bits_[0] |= 0x00000008u;
11394 inline void ErasureCodingPolicyProto::clear_has_id() {
11395 _has_bits_[0] &= ~0x00000008u;
11397 inline void ErasureCodingPolicyProto::clear_id() {
11401 inline ::google::protobuf::uint32 ErasureCodingPolicyProto::id()
const {
11405 inline void ErasureCodingPolicyProto::set_id(::google::protobuf::uint32 value) {
11412 inline bool ErasureCodingPolicyProto::has_state()
const {
11413 return (_has_bits_[0] & 0x00000010u) != 0;
11415 inline void ErasureCodingPolicyProto::set_has_state() {
11416 _has_bits_[0] |= 0x00000010u;
11418 inline void ErasureCodingPolicyProto::clear_has_state() {
11419 _has_bits_[0] &= ~0x00000010u;
11421 inline void ErasureCodingPolicyProto::clear_state() {
11425 inline ::hadoop::hdfs::ErasureCodingPolicyState ErasureCodingPolicyProto::state()
const {
11427 return static_cast< ::hadoop::hdfs::ErasureCodingPolicyState
>(state_);
11429 inline void ErasureCodingPolicyProto::set_state(::hadoop::hdfs::ErasureCodingPolicyState value) {
11430 assert(::hadoop::hdfs::ErasureCodingPolicyState_IsValid(value));
11441 inline bool HdfsFileStatusProto::has_filetype()
const {
11442 return (_has_bits_[0] & 0x00000001u) != 0;
11444 inline void HdfsFileStatusProto::set_has_filetype() {
11445 _has_bits_[0] |= 0x00000001u;
11447 inline void HdfsFileStatusProto::clear_has_filetype() {
11448 _has_bits_[0] &= ~0x00000001u;
11450 inline void HdfsFileStatusProto::clear_filetype() {
11452 clear_has_filetype();
11454 inline ::hadoop::hdfs::HdfsFileStatusProto_FileType HdfsFileStatusProto::filetype()
const {
11456 return static_cast< ::hadoop::hdfs::HdfsFileStatusProto_FileType
>(filetype_);
11458 inline void HdfsFileStatusProto::set_filetype(::hadoop::hdfs::HdfsFileStatusProto_FileType value) {
11459 assert(::hadoop::hdfs::HdfsFileStatusProto_FileType_IsValid(value));
11460 set_has_filetype();
11466 inline bool HdfsFileStatusProto::has_path()
const {
11467 return (_has_bits_[0] & 0x00000002u) != 0;
11469 inline void HdfsFileStatusProto::set_has_path() {
11470 _has_bits_[0] |= 0x00000002u;
11472 inline void HdfsFileStatusProto::clear_has_path() {
11473 _has_bits_[0] &= ~0x00000002u;
11475 inline void HdfsFileStatusProto::clear_path() {
11476 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11479 inline const ::std::string& HdfsFileStatusProto::path()
const {
11481 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11483 inline void HdfsFileStatusProto::set_path(const ::std::string& value) {
11485 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11488 inline void HdfsFileStatusProto::set_path(
const char* value) {
11490 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11493 inline void HdfsFileStatusProto::set_path(
const void* value,
size_t size) {
11495 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11496 ::std::string(reinterpret_cast<const char*>(value), size));
11499 inline ::std::string* HdfsFileStatusProto::mutable_path() {
11502 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11504 inline ::std::string* HdfsFileStatusProto::release_path() {
11507 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11509 inline void HdfsFileStatusProto::set_allocated_path(::std::string* path) {
11510 if (path != NULL) {
11515 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
11520 inline bool HdfsFileStatusProto::has_length()
const {
11521 return (_has_bits_[0] & 0x00000004u) != 0;
11523 inline void HdfsFileStatusProto::set_has_length() {
11524 _has_bits_[0] |= 0x00000004u;
11526 inline void HdfsFileStatusProto::clear_has_length() {
11527 _has_bits_[0] &= ~0x00000004u;
11529 inline void HdfsFileStatusProto::clear_length() {
11530 length_ = GOOGLE_ULONGLONG(0);
11531 clear_has_length();
11533 inline ::google::protobuf::uint64 HdfsFileStatusProto::length()
const {
11537 inline void HdfsFileStatusProto::set_length(::google::protobuf::uint64 value) {
11544 inline bool HdfsFileStatusProto::has_permission()
const {
11545 return (_has_bits_[0] & 0x00000008u) != 0;
11547 inline void HdfsFileStatusProto::set_has_permission() {
11548 _has_bits_[0] |= 0x00000008u;
11550 inline void HdfsFileStatusProto::clear_has_permission() {
11551 _has_bits_[0] &= ~0x00000008u;
11553 inline void HdfsFileStatusProto::clear_permission() {
11554 if (permission_ != NULL) permission_->::hadoop::hdfs::FsPermissionProto::Clear();
11555 clear_has_permission();
11557 inline const ::hadoop::hdfs::FsPermissionProto& HdfsFileStatusProto::permission()
const {
11559 return permission_ != NULL ? *permission_ : *default_instance_->permission_;
11561 inline ::hadoop::hdfs::FsPermissionProto* HdfsFileStatusProto::mutable_permission() {
11562 set_has_permission();
11563 if (permission_ == NULL) {
11564 permission_ = new ::hadoop::hdfs::FsPermissionProto;
11567 return permission_;
11569 inline ::hadoop::hdfs::FsPermissionProto* HdfsFileStatusProto::release_permission() {
11571 clear_has_permission();
11573 permission_ = NULL;
11577 delete permission_;
11578 permission_ = permission;
11580 set_has_permission();
11582 clear_has_permission();
11588 inline bool HdfsFileStatusProto::has_owner()
const {
11589 return (_has_bits_[0] & 0x00000010u) != 0;
11591 inline void HdfsFileStatusProto::set_has_owner() {
11592 _has_bits_[0] |= 0x00000010u;
11594 inline void HdfsFileStatusProto::clear_has_owner() {
11595 _has_bits_[0] &= ~0x00000010u;
11597 inline void HdfsFileStatusProto::clear_owner() {
11598 owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11601 inline const ::std::string& HdfsFileStatusProto::owner()
const {
11603 return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11605 inline void HdfsFileStatusProto::set_owner(const ::std::string& value) {
11607 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11610 inline void HdfsFileStatusProto::set_owner(
const char* value) {
11612 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11615 inline void HdfsFileStatusProto::set_owner(
const char* value,
size_t size) {
11617 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11618 ::std::string(reinterpret_cast<const char*>(value), size));
11621 inline ::std::string* HdfsFileStatusProto::mutable_owner() {
11624 return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11626 inline ::std::string* HdfsFileStatusProto::release_owner() {
11629 return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11631 inline void HdfsFileStatusProto::set_allocated_owner(::std::string* owner) {
11632 if (owner != NULL) {
11637 owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
11642 inline bool HdfsFileStatusProto::has_group()
const {
11643 return (_has_bits_[0] & 0x00000020u) != 0;
11645 inline void HdfsFileStatusProto::set_has_group() {
11646 _has_bits_[0] |= 0x00000020u;
11648 inline void HdfsFileStatusProto::clear_has_group() {
11649 _has_bits_[0] &= ~0x00000020u;
11651 inline void HdfsFileStatusProto::clear_group() {
11652 group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11655 inline const ::std::string& HdfsFileStatusProto::group()
const {
11657 return group_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11659 inline void HdfsFileStatusProto::set_group(const ::std::string& value) {
11661 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11664 inline void HdfsFileStatusProto::set_group(
const char* value) {
11666 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11669 inline void HdfsFileStatusProto::set_group(
const char* value,
size_t size) {
11671 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11672 ::std::string(reinterpret_cast<const char*>(value), size));
11675 inline ::std::string* HdfsFileStatusProto::mutable_group() {
11678 return group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11680 inline ::std::string* HdfsFileStatusProto::release_group() {
11683 return group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11685 inline void HdfsFileStatusProto::set_allocated_group(::std::string* group) {
11686 if (group != NULL) {
11691 group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group);
11696 inline bool HdfsFileStatusProto::has_modification_time()
const {
11697 return (_has_bits_[0] & 0x00000040u) != 0;
11699 inline void HdfsFileStatusProto::set_has_modification_time() {
11700 _has_bits_[0] |= 0x00000040u;
11702 inline void HdfsFileStatusProto::clear_has_modification_time() {
11703 _has_bits_[0] &= ~0x00000040u;
11705 inline void HdfsFileStatusProto::clear_modification_time() {
11706 modification_time_ = GOOGLE_ULONGLONG(0);
11707 clear_has_modification_time();
11709 inline ::google::protobuf::uint64 HdfsFileStatusProto::modification_time()
const {
11711 return modification_time_;
11713 inline void HdfsFileStatusProto::set_modification_time(::google::protobuf::uint64 value) {
11714 set_has_modification_time();
11715 modification_time_ = value;
11720 inline bool HdfsFileStatusProto::has_access_time()
const {
11721 return (_has_bits_[0] & 0x00000080u) != 0;
11723 inline void HdfsFileStatusProto::set_has_access_time() {
11724 _has_bits_[0] |= 0x00000080u;
11726 inline void HdfsFileStatusProto::clear_has_access_time() {
11727 _has_bits_[0] &= ~0x00000080u;
11729 inline void HdfsFileStatusProto::clear_access_time() {
11730 access_time_ = GOOGLE_ULONGLONG(0);
11731 clear_has_access_time();
11733 inline ::google::protobuf::uint64 HdfsFileStatusProto::access_time()
const {
11735 return access_time_;
11737 inline void HdfsFileStatusProto::set_access_time(::google::protobuf::uint64 value) {
11738 set_has_access_time();
11739 access_time_ = value;
11744 inline bool HdfsFileStatusProto::has_symlink()
const {
11745 return (_has_bits_[0] & 0x00000100u) != 0;
11747 inline void HdfsFileStatusProto::set_has_symlink() {
11748 _has_bits_[0] |= 0x00000100u;
11750 inline void HdfsFileStatusProto::clear_has_symlink() {
11751 _has_bits_[0] &= ~0x00000100u;
11753 inline void HdfsFileStatusProto::clear_symlink() {
11754 symlink_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11755 clear_has_symlink();
11757 inline const ::std::string& HdfsFileStatusProto::symlink()
const {
11759 return symlink_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11761 inline void HdfsFileStatusProto::set_symlink(const ::std::string& value) {
11763 symlink_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
11766 inline void HdfsFileStatusProto::set_symlink(
const char* value) {
11768 symlink_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
11771 inline void HdfsFileStatusProto::set_symlink(
const void* value,
size_t size) {
11773 symlink_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
11774 ::std::string(reinterpret_cast<const char*>(value), size));
11777 inline ::std::string* HdfsFileStatusProto::mutable_symlink() {
11780 return symlink_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11782 inline ::std::string* HdfsFileStatusProto::release_symlink() {
11784 clear_has_symlink();
11785 return symlink_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
11787 inline void HdfsFileStatusProto::set_allocated_symlink(::std::string* symlink) {
11788 if (symlink != NULL) {
11791 clear_has_symlink();
11793 symlink_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), symlink);
11798 inline bool HdfsFileStatusProto::has_block_replication()
const {
11799 return (_has_bits_[0] & 0x00000200u) != 0;
11801 inline void HdfsFileStatusProto::set_has_block_replication() {
11802 _has_bits_[0] |= 0x00000200u;
11804 inline void HdfsFileStatusProto::clear_has_block_replication() {
11805 _has_bits_[0] &= ~0x00000200u;
11807 inline void HdfsFileStatusProto::clear_block_replication() {
11808 block_replication_ = 0u;
11809 clear_has_block_replication();
11811 inline ::google::protobuf::uint32 HdfsFileStatusProto::block_replication()
const {
11813 return block_replication_;
11815 inline void HdfsFileStatusProto::set_block_replication(::google::protobuf::uint32 value) {
11816 set_has_block_replication();
11817 block_replication_ = value;
11822 inline bool HdfsFileStatusProto::has_blocksize()
const {
11823 return (_has_bits_[0] & 0x00000400u) != 0;
11825 inline void HdfsFileStatusProto::set_has_blocksize() {
11826 _has_bits_[0] |= 0x00000400u;
11828 inline void HdfsFileStatusProto::clear_has_blocksize() {
11829 _has_bits_[0] &= ~0x00000400u;
11831 inline void HdfsFileStatusProto::clear_blocksize() {
11832 blocksize_ = GOOGLE_ULONGLONG(0);
11833 clear_has_blocksize();
11835 inline ::google::protobuf::uint64 HdfsFileStatusProto::blocksize()
const {
11839 inline void HdfsFileStatusProto::set_blocksize(::google::protobuf::uint64 value) {
11840 set_has_blocksize();
11841 blocksize_ = value;
11846 inline bool HdfsFileStatusProto::has_locations()
const {
11847 return (_has_bits_[0] & 0x00000800u) != 0;
11849 inline void HdfsFileStatusProto::set_has_locations() {
11850 _has_bits_[0] |= 0x00000800u;
11852 inline void HdfsFileStatusProto::clear_has_locations() {
11853 _has_bits_[0] &= ~0x00000800u;
11855 inline void HdfsFileStatusProto::clear_locations() {
11856 if (locations_ != NULL) locations_->::hadoop::hdfs::LocatedBlocksProto::Clear();
11857 clear_has_locations();
11859 inline const ::hadoop::hdfs::LocatedBlocksProto& HdfsFileStatusProto::locations()
const {
11861 return locations_ != NULL ? *locations_ : *default_instance_->locations_;
11863 inline ::hadoop::hdfs::LocatedBlocksProto* HdfsFileStatusProto::mutable_locations() {
11864 set_has_locations();
11865 if (locations_ == NULL) {
11866 locations_ = new ::hadoop::hdfs::LocatedBlocksProto;
11871 inline ::hadoop::hdfs::LocatedBlocksProto* HdfsFileStatusProto::release_locations() {
11873 clear_has_locations();
11880 locations_ = locations;
11882 set_has_locations();
11884 clear_has_locations();
11890 inline bool HdfsFileStatusProto::has_fileid()
const {
11891 return (_has_bits_[0] & 0x00001000u) != 0;
11893 inline void HdfsFileStatusProto::set_has_fileid() {
11894 _has_bits_[0] |= 0x00001000u;
11896 inline void HdfsFileStatusProto::clear_has_fileid() {
11897 _has_bits_[0] &= ~0x00001000u;
11899 inline void HdfsFileStatusProto::clear_fileid() {
11900 fileid_ = GOOGLE_ULONGLONG(0);
11901 clear_has_fileid();
11903 inline ::google::protobuf::uint64 HdfsFileStatusProto::fileid()
const {
11907 inline void HdfsFileStatusProto::set_fileid(::google::protobuf::uint64 value) {
11914 inline bool HdfsFileStatusProto::has_childrennum()
const {
11915 return (_has_bits_[0] & 0x00002000u) != 0;
11917 inline void HdfsFileStatusProto::set_has_childrennum() {
11918 _has_bits_[0] |= 0x00002000u;
11920 inline void HdfsFileStatusProto::clear_has_childrennum() {
11921 _has_bits_[0] &= ~0x00002000u;
11923 inline void HdfsFileStatusProto::clear_childrennum() {
11925 clear_has_childrennum();
11927 inline ::google::protobuf::int32 HdfsFileStatusProto::childrennum()
const {
11929 return childrennum_;
11931 inline void HdfsFileStatusProto::set_childrennum(::google::protobuf::int32 value) {
11932 set_has_childrennum();
11933 childrennum_ = value;
11938 inline bool HdfsFileStatusProto::has_fileencryptioninfo()
const {
11939 return (_has_bits_[0] & 0x00004000u) != 0;
11941 inline void HdfsFileStatusProto::set_has_fileencryptioninfo() {
11942 _has_bits_[0] |= 0x00004000u;
11944 inline void HdfsFileStatusProto::clear_has_fileencryptioninfo() {
11945 _has_bits_[0] &= ~0x00004000u;
11947 inline void HdfsFileStatusProto::clear_fileencryptioninfo() {
11948 if (fileencryptioninfo_ != NULL) fileencryptioninfo_->::hadoop::hdfs::FileEncryptionInfoProto::Clear();
11949 clear_has_fileencryptioninfo();
11951 inline const ::hadoop::hdfs::FileEncryptionInfoProto& HdfsFileStatusProto::fileencryptioninfo()
const {
11953 return fileencryptioninfo_ != NULL ? *fileencryptioninfo_ : *default_instance_->fileencryptioninfo_;
11955 inline ::hadoop::hdfs::FileEncryptionInfoProto* HdfsFileStatusProto::mutable_fileencryptioninfo() {
11956 set_has_fileencryptioninfo();
11957 if (fileencryptioninfo_ == NULL) {
11958 fileencryptioninfo_ = new ::hadoop::hdfs::FileEncryptionInfoProto;
11961 return fileencryptioninfo_;
11963 inline ::hadoop::hdfs::FileEncryptionInfoProto* HdfsFileStatusProto::release_fileencryptioninfo() {
11965 clear_has_fileencryptioninfo();
11967 fileencryptioninfo_ = NULL;
11971 delete fileencryptioninfo_;
11972 fileencryptioninfo_ = fileencryptioninfo;
11973 if (fileencryptioninfo) {
11974 set_has_fileencryptioninfo();
11976 clear_has_fileencryptioninfo();
11982 inline bool HdfsFileStatusProto::has_storagepolicy()
const {
11983 return (_has_bits_[0] & 0x00008000u) != 0;
11985 inline void HdfsFileStatusProto::set_has_storagepolicy() {
11986 _has_bits_[0] |= 0x00008000u;
11988 inline void HdfsFileStatusProto::clear_has_storagepolicy() {
11989 _has_bits_[0] &= ~0x00008000u;
11991 inline void HdfsFileStatusProto::clear_storagepolicy() {
11992 storagepolicy_ = 0u;
11993 clear_has_storagepolicy();
11995 inline ::google::protobuf::uint32 HdfsFileStatusProto::storagepolicy()
const {
11997 return storagepolicy_;
11999 inline void HdfsFileStatusProto::set_storagepolicy(::google::protobuf::uint32 value) {
12000 set_has_storagepolicy();
12001 storagepolicy_ = value;
12006 inline bool HdfsFileStatusProto::has_ecpolicy()
const {
12007 return (_has_bits_[0] & 0x00010000u) != 0;
12009 inline void HdfsFileStatusProto::set_has_ecpolicy() {
12010 _has_bits_[0] |= 0x00010000u;
12012 inline void HdfsFileStatusProto::clear_has_ecpolicy() {
12013 _has_bits_[0] &= ~0x00010000u;
12015 inline void HdfsFileStatusProto::clear_ecpolicy() {
12016 if (ecpolicy_ != NULL) ecpolicy_->::hadoop::hdfs::ErasureCodingPolicyProto::Clear();
12017 clear_has_ecpolicy();
12019 inline const ::hadoop::hdfs::ErasureCodingPolicyProto& HdfsFileStatusProto::ecpolicy()
const {
12021 return ecpolicy_ != NULL ? *ecpolicy_ : *default_instance_->ecpolicy_;
12023 inline ::hadoop::hdfs::ErasureCodingPolicyProto* HdfsFileStatusProto::mutable_ecpolicy() {
12024 set_has_ecpolicy();
12025 if (ecpolicy_ == NULL) {
12026 ecpolicy_ = new ::hadoop::hdfs::ErasureCodingPolicyProto;
12031 inline ::hadoop::hdfs::ErasureCodingPolicyProto* HdfsFileStatusProto::release_ecpolicy() {
12033 clear_has_ecpolicy();
12040 ecpolicy_ = ecpolicy;
12042 set_has_ecpolicy();
12044 clear_has_ecpolicy();
12050 inline bool HdfsFileStatusProto::has_flags()
const {
12051 return (_has_bits_[0] & 0x00020000u) != 0;
12053 inline void HdfsFileStatusProto::set_has_flags() {
12054 _has_bits_[0] |= 0x00020000u;
12056 inline void HdfsFileStatusProto::clear_has_flags() {
12057 _has_bits_[0] &= ~0x00020000u;
12059 inline void HdfsFileStatusProto::clear_flags() {
12063 inline ::google::protobuf::uint32 HdfsFileStatusProto::flags()
const {
12067 inline void HdfsFileStatusProto::set_flags(::google::protobuf::uint32 value) {
12078 inline bool FsServerDefaultsProto::has_blocksize()
const {
12079 return (_has_bits_[0] & 0x00000001u) != 0;
12081 inline void FsServerDefaultsProto::set_has_blocksize() {
12082 _has_bits_[0] |= 0x00000001u;
12084 inline void FsServerDefaultsProto::clear_has_blocksize() {
12085 _has_bits_[0] &= ~0x00000001u;
12087 inline void FsServerDefaultsProto::clear_blocksize() {
12088 blocksize_ = GOOGLE_ULONGLONG(0);
12089 clear_has_blocksize();
12091 inline ::google::protobuf::uint64 FsServerDefaultsProto::blocksize()
const {
12095 inline void FsServerDefaultsProto::set_blocksize(::google::protobuf::uint64 value) {
12096 set_has_blocksize();
12097 blocksize_ = value;
12102 inline bool FsServerDefaultsProto::has_bytesperchecksum()
const {
12103 return (_has_bits_[0] & 0x00000002u) != 0;
12105 inline void FsServerDefaultsProto::set_has_bytesperchecksum() {
12106 _has_bits_[0] |= 0x00000002u;
12108 inline void FsServerDefaultsProto::clear_has_bytesperchecksum() {
12109 _has_bits_[0] &= ~0x00000002u;
12111 inline void FsServerDefaultsProto::clear_bytesperchecksum() {
12112 bytesperchecksum_ = 0u;
12113 clear_has_bytesperchecksum();
12115 inline ::google::protobuf::uint32 FsServerDefaultsProto::bytesperchecksum()
const {
12117 return bytesperchecksum_;
12119 inline void FsServerDefaultsProto::set_bytesperchecksum(::google::protobuf::uint32 value) {
12120 set_has_bytesperchecksum();
12121 bytesperchecksum_ = value;
12126 inline bool FsServerDefaultsProto::has_writepacketsize()
const {
12127 return (_has_bits_[0] & 0x00000004u) != 0;
12129 inline void FsServerDefaultsProto::set_has_writepacketsize() {
12130 _has_bits_[0] |= 0x00000004u;
12132 inline void FsServerDefaultsProto::clear_has_writepacketsize() {
12133 _has_bits_[0] &= ~0x00000004u;
12135 inline void FsServerDefaultsProto::clear_writepacketsize() {
12136 writepacketsize_ = 0u;
12137 clear_has_writepacketsize();
12139 inline ::google::protobuf::uint32 FsServerDefaultsProto::writepacketsize()
const {
12141 return writepacketsize_;
12143 inline void FsServerDefaultsProto::set_writepacketsize(::google::protobuf::uint32 value) {
12144 set_has_writepacketsize();
12145 writepacketsize_ = value;
12150 inline bool FsServerDefaultsProto::has_replication()
const {
12151 return (_has_bits_[0] & 0x00000008u) != 0;
12153 inline void FsServerDefaultsProto::set_has_replication() {
12154 _has_bits_[0] |= 0x00000008u;
12156 inline void FsServerDefaultsProto::clear_has_replication() {
12157 _has_bits_[0] &= ~0x00000008u;
12159 inline void FsServerDefaultsProto::clear_replication() {
12161 clear_has_replication();
12163 inline ::google::protobuf::uint32 FsServerDefaultsProto::replication()
const {
12165 return replication_;
12167 inline void FsServerDefaultsProto::set_replication(::google::protobuf::uint32 value) {
12168 set_has_replication();
12169 replication_ = value;
12174 inline bool FsServerDefaultsProto::has_filebuffersize()
const {
12175 return (_has_bits_[0] & 0x00000010u) != 0;
12177 inline void FsServerDefaultsProto::set_has_filebuffersize() {
12178 _has_bits_[0] |= 0x00000010u;
12180 inline void FsServerDefaultsProto::clear_has_filebuffersize() {
12181 _has_bits_[0] &= ~0x00000010u;
12183 inline void FsServerDefaultsProto::clear_filebuffersize() {
12184 filebuffersize_ = 0u;
12185 clear_has_filebuffersize();
12187 inline ::google::protobuf::uint32 FsServerDefaultsProto::filebuffersize()
const {
12189 return filebuffersize_;
12191 inline void FsServerDefaultsProto::set_filebuffersize(::google::protobuf::uint32 value) {
12192 set_has_filebuffersize();
12193 filebuffersize_ = value;
12198 inline bool FsServerDefaultsProto::has_encryptdatatransfer()
const {
12199 return (_has_bits_[0] & 0x00000020u) != 0;
12201 inline void FsServerDefaultsProto::set_has_encryptdatatransfer() {
12202 _has_bits_[0] |= 0x00000020u;
12204 inline void FsServerDefaultsProto::clear_has_encryptdatatransfer() {
12205 _has_bits_[0] &= ~0x00000020u;
12207 inline void FsServerDefaultsProto::clear_encryptdatatransfer() {
12208 encryptdatatransfer_ =
false;
12209 clear_has_encryptdatatransfer();
12211 inline bool FsServerDefaultsProto::encryptdatatransfer()
const {
12213 return encryptdatatransfer_;
12215 inline void FsServerDefaultsProto::set_encryptdatatransfer(
bool value) {
12216 set_has_encryptdatatransfer();
12217 encryptdatatransfer_ = value;
12222 inline bool FsServerDefaultsProto::has_trashinterval()
const {
12223 return (_has_bits_[0] & 0x00000040u) != 0;
12225 inline void FsServerDefaultsProto::set_has_trashinterval() {
12226 _has_bits_[0] |= 0x00000040u;
12228 inline void FsServerDefaultsProto::clear_has_trashinterval() {
12229 _has_bits_[0] &= ~0x00000040u;
12231 inline void FsServerDefaultsProto::clear_trashinterval() {
12232 trashinterval_ = GOOGLE_ULONGLONG(0);
12233 clear_has_trashinterval();
12235 inline ::google::protobuf::uint64 FsServerDefaultsProto::trashinterval()
const {
12237 return trashinterval_;
12239 inline void FsServerDefaultsProto::set_trashinterval(::google::protobuf::uint64 value) {
12240 set_has_trashinterval();
12241 trashinterval_ = value;
12246 inline bool FsServerDefaultsProto::has_checksumtype()
const {
12247 return (_has_bits_[0] & 0x00000080u) != 0;
12249 inline void FsServerDefaultsProto::set_has_checksumtype() {
12250 _has_bits_[0] |= 0x00000080u;
12252 inline void FsServerDefaultsProto::clear_has_checksumtype() {
12253 _has_bits_[0] &= ~0x00000080u;
12255 inline void FsServerDefaultsProto::clear_checksumtype() {
12257 clear_has_checksumtype();
12259 inline ::hadoop::hdfs::ChecksumTypeProto FsServerDefaultsProto::checksumtype()
const {
12261 return static_cast< ::hadoop::hdfs::ChecksumTypeProto
>(checksumtype_);
12263 inline void FsServerDefaultsProto::set_checksumtype(::hadoop::hdfs::ChecksumTypeProto value) {
12264 assert(::hadoop::hdfs::ChecksumTypeProto_IsValid(value));
12265 set_has_checksumtype();
12266 checksumtype_ = value;
12275 inline int DirectoryListingProto::partiallisting_size()
const {
12276 return partiallisting_.size();
12278 inline void DirectoryListingProto::clear_partiallisting() {
12279 partiallisting_.Clear();
12281 inline const ::hadoop::hdfs::HdfsFileStatusProto& DirectoryListingProto::partiallisting(
int index)
const {
12283 return partiallisting_.Get(index);
12285 inline ::hadoop::hdfs::HdfsFileStatusProto* DirectoryListingProto::mutable_partiallisting(
int index) {
12287 return partiallisting_.Mutable(index);
12289 inline ::hadoop::hdfs::HdfsFileStatusProto* DirectoryListingProto::add_partiallisting() {
12291 return partiallisting_.Add();
12293 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >*
12294 DirectoryListingProto::mutable_partiallisting() {
12296 return &partiallisting_;
12298 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::HdfsFileStatusProto >&
12299 DirectoryListingProto::partiallisting()
const {
12301 return partiallisting_;
12305 inline bool DirectoryListingProto::has_remainingentries()
const {
12306 return (_has_bits_[0] & 0x00000002u) != 0;
12308 inline void DirectoryListingProto::set_has_remainingentries() {
12309 _has_bits_[0] |= 0x00000002u;
12311 inline void DirectoryListingProto::clear_has_remainingentries() {
12312 _has_bits_[0] &= ~0x00000002u;
12314 inline void DirectoryListingProto::clear_remainingentries() {
12315 remainingentries_ = 0u;
12316 clear_has_remainingentries();
12318 inline ::google::protobuf::uint32 DirectoryListingProto::remainingentries()
const {
12320 return remainingentries_;
12322 inline void DirectoryListingProto::set_remainingentries(::google::protobuf::uint32 value) {
12323 set_has_remainingentries();
12324 remainingentries_ = value;
12333 inline bool SnapshottableDirectoryStatusProto::has_dirstatus()
const {
12334 return (_has_bits_[0] & 0x00000001u) != 0;
12336 inline void SnapshottableDirectoryStatusProto::set_has_dirstatus() {
12337 _has_bits_[0] |= 0x00000001u;
12339 inline void SnapshottableDirectoryStatusProto::clear_has_dirstatus() {
12340 _has_bits_[0] &= ~0x00000001u;
12342 inline void SnapshottableDirectoryStatusProto::clear_dirstatus() {
12343 if (dirstatus_ != NULL) dirstatus_->::hadoop::hdfs::HdfsFileStatusProto::Clear();
12344 clear_has_dirstatus();
12346 inline const ::hadoop::hdfs::HdfsFileStatusProto& SnapshottableDirectoryStatusProto::dirstatus()
const {
12348 return dirstatus_ != NULL ? *dirstatus_ : *default_instance_->dirstatus_;
12350 inline ::hadoop::hdfs::HdfsFileStatusProto* SnapshottableDirectoryStatusProto::mutable_dirstatus() {
12351 set_has_dirstatus();
12352 if (dirstatus_ == NULL) {
12353 dirstatus_ = new ::hadoop::hdfs::HdfsFileStatusProto;
12358 inline ::hadoop::hdfs::HdfsFileStatusProto* SnapshottableDirectoryStatusProto::release_dirstatus() {
12360 clear_has_dirstatus();
12367 dirstatus_ = dirstatus;
12369 set_has_dirstatus();
12371 clear_has_dirstatus();
12377 inline bool SnapshottableDirectoryStatusProto::has_snapshot_quota()
const {
12378 return (_has_bits_[0] & 0x00000002u) != 0;
12380 inline void SnapshottableDirectoryStatusProto::set_has_snapshot_quota() {
12381 _has_bits_[0] |= 0x00000002u;
12383 inline void SnapshottableDirectoryStatusProto::clear_has_snapshot_quota() {
12384 _has_bits_[0] &= ~0x00000002u;
12386 inline void SnapshottableDirectoryStatusProto::clear_snapshot_quota() {
12387 snapshot_quota_ = 0u;
12388 clear_has_snapshot_quota();
12390 inline ::google::protobuf::uint32 SnapshottableDirectoryStatusProto::snapshot_quota()
const {
12392 return snapshot_quota_;
12394 inline void SnapshottableDirectoryStatusProto::set_snapshot_quota(::google::protobuf::uint32 value) {
12395 set_has_snapshot_quota();
12396 snapshot_quota_ = value;
12401 inline bool SnapshottableDirectoryStatusProto::has_snapshot_number()
const {
12402 return (_has_bits_[0] & 0x00000004u) != 0;
12404 inline void SnapshottableDirectoryStatusProto::set_has_snapshot_number() {
12405 _has_bits_[0] |= 0x00000004u;
12407 inline void SnapshottableDirectoryStatusProto::clear_has_snapshot_number() {
12408 _has_bits_[0] &= ~0x00000004u;
12410 inline void SnapshottableDirectoryStatusProto::clear_snapshot_number() {
12411 snapshot_number_ = 0u;
12412 clear_has_snapshot_number();
12414 inline ::google::protobuf::uint32 SnapshottableDirectoryStatusProto::snapshot_number()
const {
12416 return snapshot_number_;
12418 inline void SnapshottableDirectoryStatusProto::set_snapshot_number(::google::protobuf::uint32 value) {
12419 set_has_snapshot_number();
12420 snapshot_number_ = value;
12425 inline bool SnapshottableDirectoryStatusProto::has_parent_fullpath()
const {
12426 return (_has_bits_[0] & 0x00000008u) != 0;
12428 inline void SnapshottableDirectoryStatusProto::set_has_parent_fullpath() {
12429 _has_bits_[0] |= 0x00000008u;
12431 inline void SnapshottableDirectoryStatusProto::clear_has_parent_fullpath() {
12432 _has_bits_[0] &= ~0x00000008u;
12434 inline void SnapshottableDirectoryStatusProto::clear_parent_fullpath() {
12435 parent_fullpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12436 clear_has_parent_fullpath();
12438 inline const ::std::string& SnapshottableDirectoryStatusProto::parent_fullpath()
const {
12440 return parent_fullpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
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);
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));
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));
12458 inline ::std::string* SnapshottableDirectoryStatusProto::mutable_parent_fullpath() {
12459 set_has_parent_fullpath();
12461 return parent_fullpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12463 inline ::std::string* SnapshottableDirectoryStatusProto::release_parent_fullpath() {
12465 clear_has_parent_fullpath();
12466 return parent_fullpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12468 inline void SnapshottableDirectoryStatusProto::set_allocated_parent_fullpath(::std::string* parent_fullpath) {
12469 if (parent_fullpath != NULL) {
12470 set_has_parent_fullpath();
12472 clear_has_parent_fullpath();
12474 parent_fullpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), parent_fullpath);
12483 inline int SnapshottableDirectoryListingProto::snapshottabledirlisting_size()
const {
12484 return snapshottabledirlisting_.size();
12486 inline void SnapshottableDirectoryListingProto::clear_snapshottabledirlisting() {
12487 snapshottabledirlisting_.Clear();
12489 inline const ::hadoop::hdfs::SnapshottableDirectoryStatusProto& SnapshottableDirectoryListingProto::snapshottabledirlisting(
int index)
const {
12491 return snapshottabledirlisting_.Get(index);
12493 inline ::hadoop::hdfs::SnapshottableDirectoryStatusProto* SnapshottableDirectoryListingProto::mutable_snapshottabledirlisting(
int index) {
12495 return snapshottabledirlisting_.Mutable(index);
12497 inline ::hadoop::hdfs::SnapshottableDirectoryStatusProto* SnapshottableDirectoryListingProto::add_snapshottabledirlisting() {
12499 return snapshottabledirlisting_.Add();
12501 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >*
12502 SnapshottableDirectoryListingProto::mutable_snapshottabledirlisting() {
12504 return &snapshottabledirlisting_;
12506 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshottableDirectoryStatusProto >&
12507 SnapshottableDirectoryListingProto::snapshottabledirlisting()
const {
12509 return snapshottabledirlisting_;
12517 inline bool SnapshotDiffReportEntryProto::has_fullpath()
const {
12518 return (_has_bits_[0] & 0x00000001u) != 0;
12520 inline void SnapshotDiffReportEntryProto::set_has_fullpath() {
12521 _has_bits_[0] |= 0x00000001u;
12523 inline void SnapshotDiffReportEntryProto::clear_has_fullpath() {
12524 _has_bits_[0] &= ~0x00000001u;
12526 inline void SnapshotDiffReportEntryProto::clear_fullpath() {
12527 fullpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12528 clear_has_fullpath();
12530 inline const ::std::string& SnapshotDiffReportEntryProto::fullpath()
const {
12532 return fullpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12534 inline void SnapshotDiffReportEntryProto::set_fullpath(const ::std::string& value) {
12535 set_has_fullpath();
12536 fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12539 inline void SnapshotDiffReportEntryProto::set_fullpath(
const char* value) {
12540 set_has_fullpath();
12541 fullpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12550 inline ::std::string* SnapshotDiffReportEntryProto::mutable_fullpath() {
12551 set_has_fullpath();
12553 return fullpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12555 inline ::std::string* SnapshotDiffReportEntryProto::release_fullpath() {
12557 clear_has_fullpath();
12558 return fullpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12560 inline void SnapshotDiffReportEntryProto::set_allocated_fullpath(::std::string* fullpath) {
12561 if (fullpath != NULL) {
12562 set_has_fullpath();
12564 clear_has_fullpath();
12566 fullpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fullpath);
12571 inline bool SnapshotDiffReportEntryProto::has_modificationlabel()
const {
12572 return (_has_bits_[0] & 0x00000002u) != 0;
12574 inline void SnapshotDiffReportEntryProto::set_has_modificationlabel() {
12575 _has_bits_[0] |= 0x00000002u;
12577 inline void SnapshotDiffReportEntryProto::clear_has_modificationlabel() {
12578 _has_bits_[0] &= ~0x00000002u;
12580 inline void SnapshotDiffReportEntryProto::clear_modificationlabel() {
12581 modificationlabel_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12582 clear_has_modificationlabel();
12584 inline const ::std::string& SnapshotDiffReportEntryProto::modificationlabel()
const {
12586 return modificationlabel_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12588 inline void SnapshotDiffReportEntryProto::set_modificationlabel(const ::std::string& value) {
12589 set_has_modificationlabel();
12590 modificationlabel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12593 inline void SnapshotDiffReportEntryProto::set_modificationlabel(
const char* value) {
12594 set_has_modificationlabel();
12595 modificationlabel_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12604 inline ::std::string* SnapshotDiffReportEntryProto::mutable_modificationlabel() {
12605 set_has_modificationlabel();
12607 return modificationlabel_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12609 inline ::std::string* SnapshotDiffReportEntryProto::release_modificationlabel() {
12611 clear_has_modificationlabel();
12612 return modificationlabel_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12614 inline void SnapshotDiffReportEntryProto::set_allocated_modificationlabel(::std::string* modificationlabel) {
12615 if (modificationlabel != NULL) {
12616 set_has_modificationlabel();
12618 clear_has_modificationlabel();
12620 modificationlabel_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), modificationlabel);
12625 inline bool SnapshotDiffReportEntryProto::has_targetpath()
const {
12626 return (_has_bits_[0] & 0x00000004u) != 0;
12628 inline void SnapshotDiffReportEntryProto::set_has_targetpath() {
12629 _has_bits_[0] |= 0x00000004u;
12631 inline void SnapshotDiffReportEntryProto::clear_has_targetpath() {
12632 _has_bits_[0] &= ~0x00000004u;
12634 inline void SnapshotDiffReportEntryProto::clear_targetpath() {
12635 targetpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12636 clear_has_targetpath();
12638 inline const ::std::string& SnapshotDiffReportEntryProto::targetpath()
const {
12640 return targetpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12642 inline void SnapshotDiffReportEntryProto::set_targetpath(const ::std::string& value) {
12643 set_has_targetpath();
12644 targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12647 inline void SnapshotDiffReportEntryProto::set_targetpath(
const char* value) {
12648 set_has_targetpath();
12649 targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12658 inline ::std::string* SnapshotDiffReportEntryProto::mutable_targetpath() {
12659 set_has_targetpath();
12661 return targetpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12663 inline ::std::string* SnapshotDiffReportEntryProto::release_targetpath() {
12665 clear_has_targetpath();
12666 return targetpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12668 inline void SnapshotDiffReportEntryProto::set_allocated_targetpath(::std::string* targetpath) {
12669 if (targetpath != NULL) {
12670 set_has_targetpath();
12672 clear_has_targetpath();
12674 targetpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), targetpath);
12683 inline bool SnapshotDiffReportProto::has_snapshotroot()
const {
12684 return (_has_bits_[0] & 0x00000001u) != 0;
12686 inline void SnapshotDiffReportProto::set_has_snapshotroot() {
12687 _has_bits_[0] |= 0x00000001u;
12689 inline void SnapshotDiffReportProto::clear_has_snapshotroot() {
12690 _has_bits_[0] &= ~0x00000001u;
12692 inline void SnapshotDiffReportProto::clear_snapshotroot() {
12693 snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12694 clear_has_snapshotroot();
12696 inline const ::std::string& SnapshotDiffReportProto::snapshotroot()
const {
12698 return snapshotroot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12700 inline void SnapshotDiffReportProto::set_snapshotroot(const ::std::string& value) {
12701 set_has_snapshotroot();
12702 snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12705 inline void SnapshotDiffReportProto::set_snapshotroot(
const char* value) {
12706 set_has_snapshotroot();
12707 snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12716 inline ::std::string* SnapshotDiffReportProto::mutable_snapshotroot() {
12717 set_has_snapshotroot();
12719 return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12721 inline ::std::string* SnapshotDiffReportProto::release_snapshotroot() {
12723 clear_has_snapshotroot();
12724 return snapshotroot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12726 inline void SnapshotDiffReportProto::set_allocated_snapshotroot(::std::string* snapshotroot) {
12727 if (snapshotroot != NULL) {
12728 set_has_snapshotroot();
12730 clear_has_snapshotroot();
12732 snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot);
12737 inline bool SnapshotDiffReportProto::has_fromsnapshot()
const {
12738 return (_has_bits_[0] & 0x00000002u) != 0;
12740 inline void SnapshotDiffReportProto::set_has_fromsnapshot() {
12741 _has_bits_[0] |= 0x00000002u;
12743 inline void SnapshotDiffReportProto::clear_has_fromsnapshot() {
12744 _has_bits_[0] &= ~0x00000002u;
12746 inline void SnapshotDiffReportProto::clear_fromsnapshot() {
12747 fromsnapshot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12748 clear_has_fromsnapshot();
12750 inline const ::std::string& SnapshotDiffReportProto::fromsnapshot()
const {
12752 return fromsnapshot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12754 inline void SnapshotDiffReportProto::set_fromsnapshot(const ::std::string& value) {
12755 set_has_fromsnapshot();
12756 fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12759 inline void SnapshotDiffReportProto::set_fromsnapshot(
const char* value) {
12760 set_has_fromsnapshot();
12761 fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12770 inline ::std::string* SnapshotDiffReportProto::mutable_fromsnapshot() {
12771 set_has_fromsnapshot();
12773 return fromsnapshot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12775 inline ::std::string* SnapshotDiffReportProto::release_fromsnapshot() {
12777 clear_has_fromsnapshot();
12778 return fromsnapshot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12780 inline void SnapshotDiffReportProto::set_allocated_fromsnapshot(::std::string* fromsnapshot) {
12781 if (fromsnapshot != NULL) {
12782 set_has_fromsnapshot();
12784 clear_has_fromsnapshot();
12786 fromsnapshot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fromsnapshot);
12791 inline bool SnapshotDiffReportProto::has_tosnapshot()
const {
12792 return (_has_bits_[0] & 0x00000004u) != 0;
12794 inline void SnapshotDiffReportProto::set_has_tosnapshot() {
12795 _has_bits_[0] |= 0x00000004u;
12797 inline void SnapshotDiffReportProto::clear_has_tosnapshot() {
12798 _has_bits_[0] &= ~0x00000004u;
12800 inline void SnapshotDiffReportProto::clear_tosnapshot() {
12801 tosnapshot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12802 clear_has_tosnapshot();
12804 inline const ::std::string& SnapshotDiffReportProto::tosnapshot()
const {
12806 return tosnapshot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12808 inline void SnapshotDiffReportProto::set_tosnapshot(const ::std::string& value) {
12809 set_has_tosnapshot();
12810 tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12813 inline void SnapshotDiffReportProto::set_tosnapshot(
const char* value) {
12814 set_has_tosnapshot();
12815 tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12824 inline ::std::string* SnapshotDiffReportProto::mutable_tosnapshot() {
12825 set_has_tosnapshot();
12827 return tosnapshot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12829 inline ::std::string* SnapshotDiffReportProto::release_tosnapshot() {
12831 clear_has_tosnapshot();
12832 return tosnapshot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12834 inline void SnapshotDiffReportProto::set_allocated_tosnapshot(::std::string* tosnapshot) {
12835 if (tosnapshot != NULL) {
12836 set_has_tosnapshot();
12838 clear_has_tosnapshot();
12840 tosnapshot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tosnapshot);
12845 inline int SnapshotDiffReportProto::diffreportentries_size()
const {
12846 return diffreportentries_.size();
12848 inline void SnapshotDiffReportProto::clear_diffreportentries() {
12849 diffreportentries_.Clear();
12851 inline const ::hadoop::hdfs::SnapshotDiffReportEntryProto& SnapshotDiffReportProto::diffreportentries(
int index)
const {
12853 return diffreportentries_.Get(index);
12855 inline ::hadoop::hdfs::SnapshotDiffReportEntryProto* SnapshotDiffReportProto::mutable_diffreportentries(
int index) {
12857 return diffreportentries_.Mutable(index);
12859 inline ::hadoop::hdfs::SnapshotDiffReportEntryProto* SnapshotDiffReportProto::add_diffreportentries() {
12861 return diffreportentries_.Add();
12863 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >*
12864 SnapshotDiffReportProto::mutable_diffreportentries() {
12866 return &diffreportentries_;
12868 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::SnapshotDiffReportEntryProto >&
12869 SnapshotDiffReportProto::diffreportentries()
const {
12871 return diffreportentries_;
12879 inline bool StorageInfoProto::has_layoutversion()
const {
12880 return (_has_bits_[0] & 0x00000001u) != 0;
12882 inline void StorageInfoProto::set_has_layoutversion() {
12883 _has_bits_[0] |= 0x00000001u;
12885 inline void StorageInfoProto::clear_has_layoutversion() {
12886 _has_bits_[0] &= ~0x00000001u;
12888 inline void StorageInfoProto::clear_layoutversion() {
12889 layoutversion_ = 0u;
12890 clear_has_layoutversion();
12892 inline ::google::protobuf::uint32 StorageInfoProto::layoutversion()
const {
12894 return layoutversion_;
12896 inline void StorageInfoProto::set_layoutversion(::google::protobuf::uint32 value) {
12897 set_has_layoutversion();
12898 layoutversion_ = value;
12903 inline bool StorageInfoProto::has_namespceid()
const {
12904 return (_has_bits_[0] & 0x00000002u) != 0;
12906 inline void StorageInfoProto::set_has_namespceid() {
12907 _has_bits_[0] |= 0x00000002u;
12909 inline void StorageInfoProto::clear_has_namespceid() {
12910 _has_bits_[0] &= ~0x00000002u;
12912 inline void StorageInfoProto::clear_namespceid() {
12914 clear_has_namespceid();
12916 inline ::google::protobuf::uint32 StorageInfoProto::namespceid()
const {
12918 return namespceid_;
12920 inline void StorageInfoProto::set_namespceid(::google::protobuf::uint32 value) {
12921 set_has_namespceid();
12922 namespceid_ = value;
12927 inline bool StorageInfoProto::has_clusterid()
const {
12928 return (_has_bits_[0] & 0x00000004u) != 0;
12930 inline void StorageInfoProto::set_has_clusterid() {
12931 _has_bits_[0] |= 0x00000004u;
12933 inline void StorageInfoProto::clear_has_clusterid() {
12934 _has_bits_[0] &= ~0x00000004u;
12936 inline void StorageInfoProto::clear_clusterid() {
12937 clusterid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12938 clear_has_clusterid();
12940 inline const ::std::string& StorageInfoProto::clusterid()
const {
12942 return clusterid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12944 inline void StorageInfoProto::set_clusterid(const ::std::string& value) {
12945 set_has_clusterid();
12946 clusterid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
12949 inline void StorageInfoProto::set_clusterid(
const char* value) {
12950 set_has_clusterid();
12951 clusterid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
12960 inline ::std::string* StorageInfoProto::mutable_clusterid() {
12961 set_has_clusterid();
12963 return clusterid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12965 inline ::std::string* StorageInfoProto::release_clusterid() {
12967 clear_has_clusterid();
12968 return clusterid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
12970 inline void StorageInfoProto::set_allocated_clusterid(::std::string* clusterid) {
12971 if (clusterid != NULL) {
12972 set_has_clusterid();
12974 clear_has_clusterid();
12976 clusterid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clusterid);
12981 inline bool StorageInfoProto::has_ctime()
const {
12982 return (_has_bits_[0] & 0x00000008u) != 0;
12984 inline void StorageInfoProto::set_has_ctime() {
12985 _has_bits_[0] |= 0x00000008u;
12987 inline void StorageInfoProto::clear_has_ctime() {
12988 _has_bits_[0] &= ~0x00000008u;
12990 inline void StorageInfoProto::clear_ctime() {
12991 ctime_ = GOOGLE_ULONGLONG(0);
12994 inline ::google::protobuf::uint64 StorageInfoProto::ctime()
const {
12998 inline void StorageInfoProto::set_ctime(::google::protobuf::uint64 value) {
13009 inline bool NamenodeRegistrationProto::has_rpcaddress()
const {
13010 return (_has_bits_[0] & 0x00000001u) != 0;
13012 inline void NamenodeRegistrationProto::set_has_rpcaddress() {
13013 _has_bits_[0] |= 0x00000001u;
13015 inline void NamenodeRegistrationProto::clear_has_rpcaddress() {
13016 _has_bits_[0] &= ~0x00000001u;
13018 inline void NamenodeRegistrationProto::clear_rpcaddress() {
13019 rpcaddress_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13020 clear_has_rpcaddress();
13022 inline const ::std::string& NamenodeRegistrationProto::rpcaddress()
const {
13024 return rpcaddress_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13026 inline void NamenodeRegistrationProto::set_rpcaddress(const ::std::string& value) {
13027 set_has_rpcaddress();
13028 rpcaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13031 inline void NamenodeRegistrationProto::set_rpcaddress(
const char* value) {
13032 set_has_rpcaddress();
13033 rpcaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
13042 inline ::std::string* NamenodeRegistrationProto::mutable_rpcaddress() {
13043 set_has_rpcaddress();
13045 return rpcaddress_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13047 inline ::std::string* NamenodeRegistrationProto::release_rpcaddress() {
13049 clear_has_rpcaddress();
13050 return rpcaddress_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13052 inline void NamenodeRegistrationProto::set_allocated_rpcaddress(::std::string* rpcaddress) {
13053 if (rpcaddress != NULL) {
13054 set_has_rpcaddress();
13056 clear_has_rpcaddress();
13058 rpcaddress_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), rpcaddress);
13063 inline bool NamenodeRegistrationProto::has_httpaddress()
const {
13064 return (_has_bits_[0] & 0x00000002u) != 0;
13066 inline void NamenodeRegistrationProto::set_has_httpaddress() {
13067 _has_bits_[0] |= 0x00000002u;
13069 inline void NamenodeRegistrationProto::clear_has_httpaddress() {
13070 _has_bits_[0] &= ~0x00000002u;
13072 inline void NamenodeRegistrationProto::clear_httpaddress() {
13073 httpaddress_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13074 clear_has_httpaddress();
13076 inline const ::std::string& NamenodeRegistrationProto::httpaddress()
const {
13078 return httpaddress_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13080 inline void NamenodeRegistrationProto::set_httpaddress(const ::std::string& value) {
13081 set_has_httpaddress();
13082 httpaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13085 inline void NamenodeRegistrationProto::set_httpaddress(
const char* value) {
13086 set_has_httpaddress();
13087 httpaddress_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
13096 inline ::std::string* NamenodeRegistrationProto::mutable_httpaddress() {
13097 set_has_httpaddress();
13099 return httpaddress_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13101 inline ::std::string* NamenodeRegistrationProto::release_httpaddress() {
13103 clear_has_httpaddress();
13104 return httpaddress_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13106 inline void NamenodeRegistrationProto::set_allocated_httpaddress(::std::string* httpaddress) {
13107 if (httpaddress != NULL) {
13108 set_has_httpaddress();
13110 clear_has_httpaddress();
13112 httpaddress_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), httpaddress);
13117 inline bool NamenodeRegistrationProto::has_storageinfo()
const {
13118 return (_has_bits_[0] & 0x00000004u) != 0;
13120 inline void NamenodeRegistrationProto::set_has_storageinfo() {
13121 _has_bits_[0] |= 0x00000004u;
13123 inline void NamenodeRegistrationProto::clear_has_storageinfo() {
13124 _has_bits_[0] &= ~0x00000004u;
13126 inline void NamenodeRegistrationProto::clear_storageinfo() {
13127 if (storageinfo_ != NULL) storageinfo_->::hadoop::hdfs::StorageInfoProto::Clear();
13128 clear_has_storageinfo();
13130 inline const ::hadoop::hdfs::StorageInfoProto& NamenodeRegistrationProto::storageinfo()
const {
13132 return storageinfo_ != NULL ? *storageinfo_ : *default_instance_->storageinfo_;
13134 inline ::hadoop::hdfs::StorageInfoProto* NamenodeRegistrationProto::mutable_storageinfo() {
13135 set_has_storageinfo();
13136 if (storageinfo_ == NULL) {
13137 storageinfo_ = new ::hadoop::hdfs::StorageInfoProto;
13140 return storageinfo_;
13142 inline ::hadoop::hdfs::StorageInfoProto* NamenodeRegistrationProto::release_storageinfo() {
13144 clear_has_storageinfo();
13146 storageinfo_ = NULL;
13150 delete storageinfo_;
13151 storageinfo_ = storageinfo;
13153 set_has_storageinfo();
13155 clear_has_storageinfo();
13161 inline bool NamenodeRegistrationProto::has_role()
const {
13162 return (_has_bits_[0] & 0x00000008u) != 0;
13164 inline void NamenodeRegistrationProto::set_has_role() {
13165 _has_bits_[0] |= 0x00000008u;
13167 inline void NamenodeRegistrationProto::clear_has_role() {
13168 _has_bits_[0] &= ~0x00000008u;
13170 inline void NamenodeRegistrationProto::clear_role() {
13174 inline ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto NamenodeRegistrationProto::role()
const {
13176 return static_cast< ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto
>(role_);
13178 inline void NamenodeRegistrationProto::set_role(::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto value) {
13179 assert(::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto_IsValid(value));
13190 inline bool CheckpointSignatureProto::has_blockpoolid()
const {
13191 return (_has_bits_[0] & 0x00000001u) != 0;
13193 inline void CheckpointSignatureProto::set_has_blockpoolid() {
13194 _has_bits_[0] |= 0x00000001u;
13196 inline void CheckpointSignatureProto::clear_has_blockpoolid() {
13197 _has_bits_[0] &= ~0x00000001u;
13199 inline void CheckpointSignatureProto::clear_blockpoolid() {
13200 blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13201 clear_has_blockpoolid();
13203 inline const ::std::string& CheckpointSignatureProto::blockpoolid()
const {
13205 return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13207 inline void CheckpointSignatureProto::set_blockpoolid(const ::std::string& value) {
13208 set_has_blockpoolid();
13209 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13212 inline void CheckpointSignatureProto::set_blockpoolid(
const char* value) {
13213 set_has_blockpoolid();
13214 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
13223 inline ::std::string* CheckpointSignatureProto::mutable_blockpoolid() {
13224 set_has_blockpoolid();
13226 return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13228 inline ::std::string* CheckpointSignatureProto::release_blockpoolid() {
13230 clear_has_blockpoolid();
13231 return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13233 inline void CheckpointSignatureProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
13234 if (blockpoolid != NULL) {
13235 set_has_blockpoolid();
13237 clear_has_blockpoolid();
13239 blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
13244 inline bool CheckpointSignatureProto::has_mostrecentcheckpointtxid()
const {
13245 return (_has_bits_[0] & 0x00000002u) != 0;
13247 inline void CheckpointSignatureProto::set_has_mostrecentcheckpointtxid() {
13248 _has_bits_[0] |= 0x00000002u;
13250 inline void CheckpointSignatureProto::clear_has_mostrecentcheckpointtxid() {
13251 _has_bits_[0] &= ~0x00000002u;
13253 inline void CheckpointSignatureProto::clear_mostrecentcheckpointtxid() {
13254 mostrecentcheckpointtxid_ = GOOGLE_ULONGLONG(0);
13255 clear_has_mostrecentcheckpointtxid();
13257 inline ::google::protobuf::uint64 CheckpointSignatureProto::mostrecentcheckpointtxid()
const {
13259 return mostrecentcheckpointtxid_;
13261 inline void CheckpointSignatureProto::set_mostrecentcheckpointtxid(::google::protobuf::uint64 value) {
13262 set_has_mostrecentcheckpointtxid();
13263 mostrecentcheckpointtxid_ = value;
13268 inline bool CheckpointSignatureProto::has_cursegmenttxid()
const {
13269 return (_has_bits_[0] & 0x00000004u) != 0;
13271 inline void CheckpointSignatureProto::set_has_cursegmenttxid() {
13272 _has_bits_[0] |= 0x00000004u;
13274 inline void CheckpointSignatureProto::clear_has_cursegmenttxid() {
13275 _has_bits_[0] &= ~0x00000004u;
13277 inline void CheckpointSignatureProto::clear_cursegmenttxid() {
13278 cursegmenttxid_ = GOOGLE_ULONGLONG(0);
13279 clear_has_cursegmenttxid();
13281 inline ::google::protobuf::uint64 CheckpointSignatureProto::cursegmenttxid()
const {
13283 return cursegmenttxid_;
13285 inline void CheckpointSignatureProto::set_cursegmenttxid(::google::protobuf::uint64 value) {
13286 set_has_cursegmenttxid();
13287 cursegmenttxid_ = value;
13292 inline bool CheckpointSignatureProto::has_storageinfo()
const {
13293 return (_has_bits_[0] & 0x00000008u) != 0;
13295 inline void CheckpointSignatureProto::set_has_storageinfo() {
13296 _has_bits_[0] |= 0x00000008u;
13298 inline void CheckpointSignatureProto::clear_has_storageinfo() {
13299 _has_bits_[0] &= ~0x00000008u;
13301 inline void CheckpointSignatureProto::clear_storageinfo() {
13302 if (storageinfo_ != NULL) storageinfo_->::hadoop::hdfs::StorageInfoProto::Clear();
13303 clear_has_storageinfo();
13305 inline const ::hadoop::hdfs::StorageInfoProto& CheckpointSignatureProto::storageinfo()
const {
13307 return storageinfo_ != NULL ? *storageinfo_ : *default_instance_->storageinfo_;
13309 inline ::hadoop::hdfs::StorageInfoProto* CheckpointSignatureProto::mutable_storageinfo() {
13310 set_has_storageinfo();
13311 if (storageinfo_ == NULL) {
13312 storageinfo_ = new ::hadoop::hdfs::StorageInfoProto;
13315 return storageinfo_;
13317 inline ::hadoop::hdfs::StorageInfoProto* CheckpointSignatureProto::release_storageinfo() {
13319 clear_has_storageinfo();
13321 storageinfo_ = NULL;
13325 delete storageinfo_;
13326 storageinfo_ = storageinfo;
13328 set_has_storageinfo();
13330 clear_has_storageinfo();
13340 inline bool NamenodeCommandProto::has_action()
const {
13341 return (_has_bits_[0] & 0x00000001u) != 0;
13343 inline void NamenodeCommandProto::set_has_action() {
13344 _has_bits_[0] |= 0x00000001u;
13346 inline void NamenodeCommandProto::clear_has_action() {
13347 _has_bits_[0] &= ~0x00000001u;
13349 inline void NamenodeCommandProto::clear_action() {
13351 clear_has_action();
13353 inline ::google::protobuf::uint32 NamenodeCommandProto::action()
const {
13357 inline void NamenodeCommandProto::set_action(::google::protobuf::uint32 value) {
13364 inline bool NamenodeCommandProto::has_type()
const {
13365 return (_has_bits_[0] & 0x00000002u) != 0;
13367 inline void NamenodeCommandProto::set_has_type() {
13368 _has_bits_[0] |= 0x00000002u;
13370 inline void NamenodeCommandProto::clear_has_type() {
13371 _has_bits_[0] &= ~0x00000002u;
13373 inline void NamenodeCommandProto::clear_type() {
13377 inline ::hadoop::hdfs::NamenodeCommandProto_Type NamenodeCommandProto::type()
const {
13379 return static_cast< ::hadoop::hdfs::NamenodeCommandProto_Type
>(type_);
13381 inline void NamenodeCommandProto::set_type(::hadoop::hdfs::NamenodeCommandProto_Type value) {
13382 assert(::hadoop::hdfs::NamenodeCommandProto_Type_IsValid(value));
13389 inline bool NamenodeCommandProto::has_checkpointcmd()
const {
13390 return (_has_bits_[0] & 0x00000004u) != 0;
13392 inline void NamenodeCommandProto::set_has_checkpointcmd() {
13393 _has_bits_[0] |= 0x00000004u;
13395 inline void NamenodeCommandProto::clear_has_checkpointcmd() {
13396 _has_bits_[0] &= ~0x00000004u;
13398 inline void NamenodeCommandProto::clear_checkpointcmd() {
13399 if (checkpointcmd_ != NULL) checkpointcmd_->::hadoop::hdfs::CheckpointCommandProto::Clear();
13400 clear_has_checkpointcmd();
13402 inline const ::hadoop::hdfs::CheckpointCommandProto& NamenodeCommandProto::checkpointcmd()
const {
13404 return checkpointcmd_ != NULL ? *checkpointcmd_ : *default_instance_->checkpointcmd_;
13406 inline ::hadoop::hdfs::CheckpointCommandProto* NamenodeCommandProto::mutable_checkpointcmd() {
13407 set_has_checkpointcmd();
13408 if (checkpointcmd_ == NULL) {
13409 checkpointcmd_ = new ::hadoop::hdfs::CheckpointCommandProto;
13412 return checkpointcmd_;
13414 inline ::hadoop::hdfs::CheckpointCommandProto* NamenodeCommandProto::release_checkpointcmd() {
13416 clear_has_checkpointcmd();
13418 checkpointcmd_ = NULL;
13422 delete checkpointcmd_;
13423 checkpointcmd_ = checkpointcmd;
13424 if (checkpointcmd) {
13425 set_has_checkpointcmd();
13427 clear_has_checkpointcmd();
13437 inline bool CheckpointCommandProto::has_signature()
const {
13438 return (_has_bits_[0] & 0x00000001u) != 0;
13440 inline void CheckpointCommandProto::set_has_signature() {
13441 _has_bits_[0] |= 0x00000001u;
13443 inline void CheckpointCommandProto::clear_has_signature() {
13444 _has_bits_[0] &= ~0x00000001u;
13446 inline void CheckpointCommandProto::clear_signature() {
13447 if (signature_ != NULL) signature_->::hadoop::hdfs::CheckpointSignatureProto::Clear();
13448 clear_has_signature();
13450 inline const ::hadoop::hdfs::CheckpointSignatureProto& CheckpointCommandProto::signature()
const {
13452 return signature_ != NULL ? *signature_ : *default_instance_->signature_;
13454 inline ::hadoop::hdfs::CheckpointSignatureProto* CheckpointCommandProto::mutable_signature() {
13455 set_has_signature();
13456 if (signature_ == NULL) {
13457 signature_ = new ::hadoop::hdfs::CheckpointSignatureProto;
13462 inline ::hadoop::hdfs::CheckpointSignatureProto* CheckpointCommandProto::release_signature() {
13464 clear_has_signature();
13471 signature_ = signature;
13473 set_has_signature();
13475 clear_has_signature();
13481 inline bool CheckpointCommandProto::has_needtoreturnimage()
const {
13482 return (_has_bits_[0] & 0x00000002u) != 0;
13484 inline void CheckpointCommandProto::set_has_needtoreturnimage() {
13485 _has_bits_[0] |= 0x00000002u;
13487 inline void CheckpointCommandProto::clear_has_needtoreturnimage() {
13488 _has_bits_[0] &= ~0x00000002u;
13490 inline void CheckpointCommandProto::clear_needtoreturnimage() {
13491 needtoreturnimage_ =
false;
13492 clear_has_needtoreturnimage();
13494 inline bool CheckpointCommandProto::needtoreturnimage()
const {
13496 return needtoreturnimage_;
13498 inline void CheckpointCommandProto::set_needtoreturnimage(
bool value) {
13499 set_has_needtoreturnimage();
13500 needtoreturnimage_ = value;
13509 inline bool BlockProto::has_blockid()
const {
13510 return (_has_bits_[0] & 0x00000001u) != 0;
13512 inline void BlockProto::set_has_blockid() {
13513 _has_bits_[0] |= 0x00000001u;
13515 inline void BlockProto::clear_has_blockid() {
13516 _has_bits_[0] &= ~0x00000001u;
13518 inline void BlockProto::clear_blockid() {
13519 blockid_ = GOOGLE_ULONGLONG(0);
13520 clear_has_blockid();
13522 inline ::google::protobuf::uint64 BlockProto::blockid()
const {
13526 inline void BlockProto::set_blockid(::google::protobuf::uint64 value) {
13533 inline bool BlockProto::has_genstamp()
const {
13534 return (_has_bits_[0] & 0x00000002u) != 0;
13536 inline void BlockProto::set_has_genstamp() {
13537 _has_bits_[0] |= 0x00000002u;
13539 inline void BlockProto::clear_has_genstamp() {
13540 _has_bits_[0] &= ~0x00000002u;
13542 inline void BlockProto::clear_genstamp() {
13543 genstamp_ = GOOGLE_ULONGLONG(0);
13544 clear_has_genstamp();
13546 inline ::google::protobuf::uint64 BlockProto::genstamp()
const {
13550 inline void BlockProto::set_genstamp(::google::protobuf::uint64 value) {
13551 set_has_genstamp();
13557 inline bool BlockProto::has_numbytes()
const {
13558 return (_has_bits_[0] & 0x00000004u) != 0;
13560 inline void BlockProto::set_has_numbytes() {
13561 _has_bits_[0] |= 0x00000004u;
13563 inline void BlockProto::clear_has_numbytes() {
13564 _has_bits_[0] &= ~0x00000004u;
13566 inline void BlockProto::clear_numbytes() {
13567 numbytes_ = GOOGLE_ULONGLONG(0);
13568 clear_has_numbytes();
13570 inline ::google::protobuf::uint64 BlockProto::numbytes()
const {
13574 inline void BlockProto::set_numbytes(::google::protobuf::uint64 value) {
13575 set_has_numbytes();
13585 inline bool BlockWithLocationsProto::has_block()
const {
13586 return (_has_bits_[0] & 0x00000001u) != 0;
13588 inline void BlockWithLocationsProto::set_has_block() {
13589 _has_bits_[0] |= 0x00000001u;
13591 inline void BlockWithLocationsProto::clear_has_block() {
13592 _has_bits_[0] &= ~0x00000001u;
13594 inline void BlockWithLocationsProto::clear_block() {
13595 if (block_ != NULL) block_->::hadoop::hdfs::BlockProto::Clear();
13598 inline const ::hadoop::hdfs::BlockProto& BlockWithLocationsProto::block()
const {
13600 return block_ != NULL ? *block_ : *default_instance_->block_;
13602 inline ::hadoop::hdfs::BlockProto* BlockWithLocationsProto::mutable_block() {
13604 if (block_ == NULL) {
13605 block_ = new ::hadoop::hdfs::BlockProto;
13610 inline ::hadoop::hdfs::BlockProto* BlockWithLocationsProto::release_block() {
13629 inline int BlockWithLocationsProto::datanodeuuids_size()
const {
13630 return datanodeuuids_.size();
13632 inline void BlockWithLocationsProto::clear_datanodeuuids() {
13633 datanodeuuids_.Clear();
13635 inline const ::std::string& BlockWithLocationsProto::datanodeuuids(
int index)
const {
13637 return datanodeuuids_.Get(index);
13639 inline ::std::string* BlockWithLocationsProto::mutable_datanodeuuids(
int index) {
13641 return datanodeuuids_.Mutable(index);
13643 inline void BlockWithLocationsProto::set_datanodeuuids(
int index, const ::std::string& value) {
13645 datanodeuuids_.Mutable(index)->assign(value);
13647 inline void BlockWithLocationsProto::set_datanodeuuids(
int index,
const char* value) {
13648 datanodeuuids_.Mutable(index)->assign(value);
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);
13656 inline ::std::string* BlockWithLocationsProto::add_datanodeuuids() {
13658 return datanodeuuids_.Add();
13660 inline void BlockWithLocationsProto::add_datanodeuuids(const ::std::string& value) {
13661 datanodeuuids_.Add()->assign(value);
13664 inline void BlockWithLocationsProto::add_datanodeuuids(
const char* value) {
13665 datanodeuuids_.Add()->assign(value);
13668 inline void BlockWithLocationsProto::add_datanodeuuids(
const char* value,
size_t size) {
13669 datanodeuuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
13672 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
13673 BlockWithLocationsProto::datanodeuuids()
const {
13675 return datanodeuuids_;
13677 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
13678 BlockWithLocationsProto::mutable_datanodeuuids() {
13680 return &datanodeuuids_;
13684 inline int BlockWithLocationsProto::storageuuids_size()
const {
13685 return storageuuids_.size();
13687 inline void BlockWithLocationsProto::clear_storageuuids() {
13688 storageuuids_.Clear();
13690 inline const ::std::string& BlockWithLocationsProto::storageuuids(
int index)
const {
13692 return storageuuids_.Get(index);
13694 inline ::std::string* BlockWithLocationsProto::mutable_storageuuids(
int index) {
13696 return storageuuids_.Mutable(index);
13698 inline void BlockWithLocationsProto::set_storageuuids(
int index, const ::std::string& value) {
13700 storageuuids_.Mutable(index)->assign(value);
13702 inline void BlockWithLocationsProto::set_storageuuids(
int index,
const char* value) {
13703 storageuuids_.Mutable(index)->assign(value);
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);
13711 inline ::std::string* BlockWithLocationsProto::add_storageuuids() {
13713 return storageuuids_.Add();
13715 inline void BlockWithLocationsProto::add_storageuuids(const ::std::string& value) {
13716 storageuuids_.Add()->assign(value);
13719 inline void BlockWithLocationsProto::add_storageuuids(
const char* value) {
13720 storageuuids_.Add()->assign(value);
13723 inline void BlockWithLocationsProto::add_storageuuids(
const char* value,
size_t size) {
13724 storageuuids_.Add()->assign(reinterpret_cast<const char*>(value), size);
13727 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
13728 BlockWithLocationsProto::storageuuids()
const {
13730 return storageuuids_;
13732 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
13733 BlockWithLocationsProto::mutable_storageuuids() {
13735 return &storageuuids_;
13739 inline int BlockWithLocationsProto::storagetypes_size()
const {
13740 return storagetypes_.size();
13742 inline void BlockWithLocationsProto::clear_storagetypes() {
13743 storagetypes_.Clear();
13745 inline ::hadoop::hdfs::StorageTypeProto BlockWithLocationsProto::storagetypes(
int index)
const {
13747 return static_cast< ::hadoop::hdfs::StorageTypeProto
>(storagetypes_.Get(index));
13749 inline void BlockWithLocationsProto::set_storagetypes(
int index, ::hadoop::hdfs::StorageTypeProto value) {
13750 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
13751 storagetypes_.Set(index, value);
13754 inline void BlockWithLocationsProto::add_storagetypes(::hadoop::hdfs::StorageTypeProto value) {
13755 assert(::hadoop::hdfs::StorageTypeProto_IsValid(value));
13756 storagetypes_.Add(value);
13759 inline const ::google::protobuf::RepeatedField<int>&
13760 BlockWithLocationsProto::storagetypes()
const {
13762 return storagetypes_;
13764 inline ::google::protobuf::RepeatedField<int>*
13765 BlockWithLocationsProto::mutable_storagetypes() {
13767 return &storagetypes_;
13775 inline int BlocksWithLocationsProto::blocks_size()
const {
13776 return blocks_.size();
13778 inline void BlocksWithLocationsProto::clear_blocks() {
13781 inline const ::hadoop::hdfs::BlockWithLocationsProto& BlocksWithLocationsProto::blocks(
int index)
const {
13783 return blocks_.Get(index);
13785 inline ::hadoop::hdfs::BlockWithLocationsProto* BlocksWithLocationsProto::mutable_blocks(
int index) {
13787 return blocks_.Mutable(index);
13789 inline ::hadoop::hdfs::BlockWithLocationsProto* BlocksWithLocationsProto::add_blocks() {
13791 return blocks_.Add();
13793 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >*
13794 BlocksWithLocationsProto::mutable_blocks() {
13798 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockWithLocationsProto >&
13799 BlocksWithLocationsProto::blocks()
const {
13809 inline bool RemoteEditLogProto::has_starttxid()
const {
13810 return (_has_bits_[0] & 0x00000001u) != 0;
13812 inline void RemoteEditLogProto::set_has_starttxid() {
13813 _has_bits_[0] |= 0x00000001u;
13815 inline void RemoteEditLogProto::clear_has_starttxid() {
13816 _has_bits_[0] &= ~0x00000001u;
13818 inline void RemoteEditLogProto::clear_starttxid() {
13819 starttxid_ = GOOGLE_ULONGLONG(0);
13820 clear_has_starttxid();
13822 inline ::google::protobuf::uint64 RemoteEditLogProto::starttxid()
const {
13826 inline void RemoteEditLogProto::set_starttxid(::google::protobuf::uint64 value) {
13827 set_has_starttxid();
13828 starttxid_ = value;
13833 inline bool RemoteEditLogProto::has_endtxid()
const {
13834 return (_has_bits_[0] & 0x00000002u) != 0;
13836 inline void RemoteEditLogProto::set_has_endtxid() {
13837 _has_bits_[0] |= 0x00000002u;
13839 inline void RemoteEditLogProto::clear_has_endtxid() {
13840 _has_bits_[0] &= ~0x00000002u;
13842 inline void RemoteEditLogProto::clear_endtxid() {
13843 endtxid_ = GOOGLE_ULONGLONG(0);
13844 clear_has_endtxid();
13846 inline ::google::protobuf::uint64 RemoteEditLogProto::endtxid()
const {
13850 inline void RemoteEditLogProto::set_endtxid(::google::protobuf::uint64 value) {
13857 inline bool RemoteEditLogProto::has_isinprogress()
const {
13858 return (_has_bits_[0] & 0x00000004u) != 0;
13860 inline void RemoteEditLogProto::set_has_isinprogress() {
13861 _has_bits_[0] |= 0x00000004u;
13863 inline void RemoteEditLogProto::clear_has_isinprogress() {
13864 _has_bits_[0] &= ~0x00000004u;
13866 inline void RemoteEditLogProto::clear_isinprogress() {
13867 isinprogress_ =
false;
13868 clear_has_isinprogress();
13870 inline bool RemoteEditLogProto::isinprogress()
const {
13872 return isinprogress_;
13874 inline void RemoteEditLogProto::set_isinprogress(
bool value) {
13875 set_has_isinprogress();
13876 isinprogress_ = value;
13885 inline int RemoteEditLogManifestProto::logs_size()
const {
13886 return logs_.size();
13888 inline void RemoteEditLogManifestProto::clear_logs() {
13891 inline const ::hadoop::hdfs::RemoteEditLogProto& RemoteEditLogManifestProto::logs(
int index)
const {
13893 return logs_.Get(index);
13895 inline ::hadoop::hdfs::RemoteEditLogProto* RemoteEditLogManifestProto::mutable_logs(
int index) {
13897 return logs_.Mutable(index);
13899 inline ::hadoop::hdfs::RemoteEditLogProto* RemoteEditLogManifestProto::add_logs() {
13901 return logs_.Add();
13903 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >*
13904 RemoteEditLogManifestProto::mutable_logs() {
13908 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::RemoteEditLogProto >&
13909 RemoteEditLogManifestProto::logs()
const {
13919 inline bool NamespaceInfoProto::has_buildversion()
const {
13920 return (_has_bits_[0] & 0x00000001u) != 0;
13922 inline void NamespaceInfoProto::set_has_buildversion() {
13923 _has_bits_[0] |= 0x00000001u;
13925 inline void NamespaceInfoProto::clear_has_buildversion() {
13926 _has_bits_[0] &= ~0x00000001u;
13928 inline void NamespaceInfoProto::clear_buildversion() {
13929 buildversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13930 clear_has_buildversion();
13932 inline const ::std::string& NamespaceInfoProto::buildversion()
const {
13934 return buildversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13936 inline void NamespaceInfoProto::set_buildversion(const ::std::string& value) {
13937 set_has_buildversion();
13938 buildversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
13941 inline void NamespaceInfoProto::set_buildversion(
const char* value) {
13942 set_has_buildversion();
13943 buildversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
13952 inline ::std::string* NamespaceInfoProto::mutable_buildversion() {
13953 set_has_buildversion();
13955 return buildversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13957 inline ::std::string* NamespaceInfoProto::release_buildversion() {
13959 clear_has_buildversion();
13960 return buildversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
13962 inline void NamespaceInfoProto::set_allocated_buildversion(::std::string* buildversion) {
13963 if (buildversion != NULL) {
13964 set_has_buildversion();
13966 clear_has_buildversion();
13968 buildversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), buildversion);
13973 inline bool NamespaceInfoProto::has_unused()
const {
13974 return (_has_bits_[0] & 0x00000002u) != 0;
13976 inline void NamespaceInfoProto::set_has_unused() {
13977 _has_bits_[0] |= 0x00000002u;
13979 inline void NamespaceInfoProto::clear_has_unused() {
13980 _has_bits_[0] &= ~0x00000002u;
13982 inline void NamespaceInfoProto::clear_unused() {
13984 clear_has_unused();
13986 inline ::google::protobuf::uint32 NamespaceInfoProto::unused()
const {
13990 inline void NamespaceInfoProto::set_unused(::google::protobuf::uint32 value) {
13997 inline bool NamespaceInfoProto::has_blockpoolid()
const {
13998 return (_has_bits_[0] & 0x00000004u) != 0;
14000 inline void NamespaceInfoProto::set_has_blockpoolid() {
14001 _has_bits_[0] |= 0x00000004u;
14003 inline void NamespaceInfoProto::clear_has_blockpoolid() {
14004 _has_bits_[0] &= ~0x00000004u;
14006 inline void NamespaceInfoProto::clear_blockpoolid() {
14007 blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14008 clear_has_blockpoolid();
14010 inline const ::std::string& NamespaceInfoProto::blockpoolid()
const {
14012 return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14014 inline void NamespaceInfoProto::set_blockpoolid(const ::std::string& value) {
14015 set_has_blockpoolid();
14016 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14019 inline void NamespaceInfoProto::set_blockpoolid(
const char* value) {
14020 set_has_blockpoolid();
14021 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14030 inline ::std::string* NamespaceInfoProto::mutable_blockpoolid() {
14031 set_has_blockpoolid();
14033 return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14035 inline ::std::string* NamespaceInfoProto::release_blockpoolid() {
14037 clear_has_blockpoolid();
14038 return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14040 inline void NamespaceInfoProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
14041 if (blockpoolid != NULL) {
14042 set_has_blockpoolid();
14044 clear_has_blockpoolid();
14046 blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
14051 inline bool NamespaceInfoProto::has_storageinfo()
const {
14052 return (_has_bits_[0] & 0x00000008u) != 0;
14054 inline void NamespaceInfoProto::set_has_storageinfo() {
14055 _has_bits_[0] |= 0x00000008u;
14057 inline void NamespaceInfoProto::clear_has_storageinfo() {
14058 _has_bits_[0] &= ~0x00000008u;
14060 inline void NamespaceInfoProto::clear_storageinfo() {
14061 if (storageinfo_ != NULL) storageinfo_->::hadoop::hdfs::StorageInfoProto::Clear();
14062 clear_has_storageinfo();
14064 inline const ::hadoop::hdfs::StorageInfoProto& NamespaceInfoProto::storageinfo()
const {
14066 return storageinfo_ != NULL ? *storageinfo_ : *default_instance_->storageinfo_;
14068 inline ::hadoop::hdfs::StorageInfoProto* NamespaceInfoProto::mutable_storageinfo() {
14069 set_has_storageinfo();
14070 if (storageinfo_ == NULL) {
14071 storageinfo_ = new ::hadoop::hdfs::StorageInfoProto;
14074 return storageinfo_;
14076 inline ::hadoop::hdfs::StorageInfoProto* NamespaceInfoProto::release_storageinfo() {
14078 clear_has_storageinfo();
14080 storageinfo_ = NULL;
14084 delete storageinfo_;
14085 storageinfo_ = storageinfo;
14087 set_has_storageinfo();
14089 clear_has_storageinfo();
14095 inline bool NamespaceInfoProto::has_softwareversion()
const {
14096 return (_has_bits_[0] & 0x00000010u) != 0;
14098 inline void NamespaceInfoProto::set_has_softwareversion() {
14099 _has_bits_[0] |= 0x00000010u;
14101 inline void NamespaceInfoProto::clear_has_softwareversion() {
14102 _has_bits_[0] &= ~0x00000010u;
14104 inline void NamespaceInfoProto::clear_softwareversion() {
14105 softwareversion_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14106 clear_has_softwareversion();
14108 inline const ::std::string& NamespaceInfoProto::softwareversion()
const {
14110 return softwareversion_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14112 inline void NamespaceInfoProto::set_softwareversion(const ::std::string& value) {
14113 set_has_softwareversion();
14114 softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14117 inline void NamespaceInfoProto::set_softwareversion(
const char* value) {
14118 set_has_softwareversion();
14119 softwareversion_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14128 inline ::std::string* NamespaceInfoProto::mutable_softwareversion() {
14129 set_has_softwareversion();
14131 return softwareversion_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14133 inline ::std::string* NamespaceInfoProto::release_softwareversion() {
14135 clear_has_softwareversion();
14136 return softwareversion_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14138 inline void NamespaceInfoProto::set_allocated_softwareversion(::std::string* softwareversion) {
14139 if (softwareversion != NULL) {
14140 set_has_softwareversion();
14142 clear_has_softwareversion();
14144 softwareversion_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), softwareversion);
14149 inline bool NamespaceInfoProto::has_capabilities()
const {
14150 return (_has_bits_[0] & 0x00000020u) != 0;
14152 inline void NamespaceInfoProto::set_has_capabilities() {
14153 _has_bits_[0] |= 0x00000020u;
14155 inline void NamespaceInfoProto::clear_has_capabilities() {
14156 _has_bits_[0] &= ~0x00000020u;
14158 inline void NamespaceInfoProto::clear_capabilities() {
14159 capabilities_ = GOOGLE_ULONGLONG(0);
14160 clear_has_capabilities();
14162 inline ::google::protobuf::uint64 NamespaceInfoProto::capabilities()
const {
14164 return capabilities_;
14166 inline void NamespaceInfoProto::set_capabilities(::google::protobuf::uint64 value) {
14167 set_has_capabilities();
14168 capabilities_ = value;
14177 inline bool BlockKeyProto::has_keyid()
const {
14178 return (_has_bits_[0] & 0x00000001u) != 0;
14180 inline void BlockKeyProto::set_has_keyid() {
14181 _has_bits_[0] |= 0x00000001u;
14183 inline void BlockKeyProto::clear_has_keyid() {
14184 _has_bits_[0] &= ~0x00000001u;
14186 inline void BlockKeyProto::clear_keyid() {
14190 inline ::google::protobuf::uint32 BlockKeyProto::keyid()
const {
14194 inline void BlockKeyProto::set_keyid(::google::protobuf::uint32 value) {
14201 inline bool BlockKeyProto::has_expirydate()
const {
14202 return (_has_bits_[0] & 0x00000002u) != 0;
14204 inline void BlockKeyProto::set_has_expirydate() {
14205 _has_bits_[0] |= 0x00000002u;
14207 inline void BlockKeyProto::clear_has_expirydate() {
14208 _has_bits_[0] &= ~0x00000002u;
14210 inline void BlockKeyProto::clear_expirydate() {
14211 expirydate_ = GOOGLE_ULONGLONG(0);
14212 clear_has_expirydate();
14214 inline ::google::protobuf::uint64 BlockKeyProto::expirydate()
const {
14216 return expirydate_;
14218 inline void BlockKeyProto::set_expirydate(::google::protobuf::uint64 value) {
14219 set_has_expirydate();
14220 expirydate_ = value;
14225 inline bool BlockKeyProto::has_keybytes()
const {
14226 return (_has_bits_[0] & 0x00000004u) != 0;
14228 inline void BlockKeyProto::set_has_keybytes() {
14229 _has_bits_[0] |= 0x00000004u;
14231 inline void BlockKeyProto::clear_has_keybytes() {
14232 _has_bits_[0] &= ~0x00000004u;
14234 inline void BlockKeyProto::clear_keybytes() {
14235 keybytes_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14236 clear_has_keybytes();
14238 inline const ::std::string& BlockKeyProto::keybytes()
const {
14240 return keybytes_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14242 inline void BlockKeyProto::set_keybytes(const ::std::string& value) {
14243 set_has_keybytes();
14244 keybytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14247 inline void BlockKeyProto::set_keybytes(
const char* value) {
14248 set_has_keybytes();
14249 keybytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14258 inline ::std::string* BlockKeyProto::mutable_keybytes() {
14259 set_has_keybytes();
14261 return keybytes_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14263 inline ::std::string* BlockKeyProto::release_keybytes() {
14265 clear_has_keybytes();
14266 return keybytes_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14268 inline void BlockKeyProto::set_allocated_keybytes(::std::string* keybytes) {
14269 if (keybytes != NULL) {
14270 set_has_keybytes();
14272 clear_has_keybytes();
14274 keybytes_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keybytes);
14283 inline bool ExportedBlockKeysProto::has_isblocktokenenabled()
const {
14284 return (_has_bits_[0] & 0x00000001u) != 0;
14286 inline void ExportedBlockKeysProto::set_has_isblocktokenenabled() {
14287 _has_bits_[0] |= 0x00000001u;
14289 inline void ExportedBlockKeysProto::clear_has_isblocktokenenabled() {
14290 _has_bits_[0] &= ~0x00000001u;
14292 inline void ExportedBlockKeysProto::clear_isblocktokenenabled() {
14293 isblocktokenenabled_ =
false;
14294 clear_has_isblocktokenenabled();
14296 inline bool ExportedBlockKeysProto::isblocktokenenabled()
const {
14298 return isblocktokenenabled_;
14300 inline void ExportedBlockKeysProto::set_isblocktokenenabled(
bool value) {
14301 set_has_isblocktokenenabled();
14302 isblocktokenenabled_ = value;
14307 inline bool ExportedBlockKeysProto::has_keyupdateinterval()
const {
14308 return (_has_bits_[0] & 0x00000002u) != 0;
14310 inline void ExportedBlockKeysProto::set_has_keyupdateinterval() {
14311 _has_bits_[0] |= 0x00000002u;
14313 inline void ExportedBlockKeysProto::clear_has_keyupdateinterval() {
14314 _has_bits_[0] &= ~0x00000002u;
14316 inline void ExportedBlockKeysProto::clear_keyupdateinterval() {
14317 keyupdateinterval_ = GOOGLE_ULONGLONG(0);
14318 clear_has_keyupdateinterval();
14320 inline ::google::protobuf::uint64 ExportedBlockKeysProto::keyupdateinterval()
const {
14322 return keyupdateinterval_;
14324 inline void ExportedBlockKeysProto::set_keyupdateinterval(::google::protobuf::uint64 value) {
14325 set_has_keyupdateinterval();
14326 keyupdateinterval_ = value;
14331 inline bool ExportedBlockKeysProto::has_tokenlifetime()
const {
14332 return (_has_bits_[0] & 0x00000004u) != 0;
14334 inline void ExportedBlockKeysProto::set_has_tokenlifetime() {
14335 _has_bits_[0] |= 0x00000004u;
14337 inline void ExportedBlockKeysProto::clear_has_tokenlifetime() {
14338 _has_bits_[0] &= ~0x00000004u;
14340 inline void ExportedBlockKeysProto::clear_tokenlifetime() {
14341 tokenlifetime_ = GOOGLE_ULONGLONG(0);
14342 clear_has_tokenlifetime();
14344 inline ::google::protobuf::uint64 ExportedBlockKeysProto::tokenlifetime()
const {
14346 return tokenlifetime_;
14348 inline void ExportedBlockKeysProto::set_tokenlifetime(::google::protobuf::uint64 value) {
14349 set_has_tokenlifetime();
14350 tokenlifetime_ = value;
14355 inline bool ExportedBlockKeysProto::has_currentkey()
const {
14356 return (_has_bits_[0] & 0x00000008u) != 0;
14358 inline void ExportedBlockKeysProto::set_has_currentkey() {
14359 _has_bits_[0] |= 0x00000008u;
14361 inline void ExportedBlockKeysProto::clear_has_currentkey() {
14362 _has_bits_[0] &= ~0x00000008u;
14364 inline void ExportedBlockKeysProto::clear_currentkey() {
14365 if (currentkey_ != NULL) currentkey_->::hadoop::hdfs::BlockKeyProto::Clear();
14366 clear_has_currentkey();
14368 inline const ::hadoop::hdfs::BlockKeyProto& ExportedBlockKeysProto::currentkey()
const {
14370 return currentkey_ != NULL ? *currentkey_ : *default_instance_->currentkey_;
14372 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::mutable_currentkey() {
14373 set_has_currentkey();
14374 if (currentkey_ == NULL) {
14375 currentkey_ = new ::hadoop::hdfs::BlockKeyProto;
14378 return currentkey_;
14380 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::release_currentkey() {
14382 clear_has_currentkey();
14384 currentkey_ = NULL;
14388 delete currentkey_;
14389 currentkey_ = currentkey;
14391 set_has_currentkey();
14393 clear_has_currentkey();
14399 inline int ExportedBlockKeysProto::allkeys_size()
const {
14400 return allkeys_.size();
14402 inline void ExportedBlockKeysProto::clear_allkeys() {
14405 inline const ::hadoop::hdfs::BlockKeyProto& ExportedBlockKeysProto::allkeys(
int index)
const {
14407 return allkeys_.Get(index);
14409 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::mutable_allkeys(
int index) {
14411 return allkeys_.Mutable(index);
14413 inline ::hadoop::hdfs::BlockKeyProto* ExportedBlockKeysProto::add_allkeys() {
14415 return allkeys_.Add();
14417 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >*
14418 ExportedBlockKeysProto::mutable_allkeys() {
14422 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::BlockKeyProto >&
14423 ExportedBlockKeysProto::allkeys()
const {
14433 inline bool RecoveringBlockProto::has_newgenstamp()
const {
14434 return (_has_bits_[0] & 0x00000001u) != 0;
14436 inline void RecoveringBlockProto::set_has_newgenstamp() {
14437 _has_bits_[0] |= 0x00000001u;
14439 inline void RecoveringBlockProto::clear_has_newgenstamp() {
14440 _has_bits_[0] &= ~0x00000001u;
14442 inline void RecoveringBlockProto::clear_newgenstamp() {
14443 newgenstamp_ = GOOGLE_ULONGLONG(0);
14444 clear_has_newgenstamp();
14446 inline ::google::protobuf::uint64 RecoveringBlockProto::newgenstamp()
const {
14448 return newgenstamp_;
14450 inline void RecoveringBlockProto::set_newgenstamp(::google::protobuf::uint64 value) {
14451 set_has_newgenstamp();
14452 newgenstamp_ = value;
14457 inline bool RecoveringBlockProto::has_block()
const {
14458 return (_has_bits_[0] & 0x00000002u) != 0;
14460 inline void RecoveringBlockProto::set_has_block() {
14461 _has_bits_[0] |= 0x00000002u;
14463 inline void RecoveringBlockProto::clear_has_block() {
14464 _has_bits_[0] &= ~0x00000002u;
14466 inline void RecoveringBlockProto::clear_block() {
14467 if (block_ != NULL) block_->::hadoop::hdfs::LocatedBlockProto::Clear();
14470 inline const ::hadoop::hdfs::LocatedBlockProto& RecoveringBlockProto::block()
const {
14472 return block_ != NULL ? *block_ : *default_instance_->block_;
14474 inline ::hadoop::hdfs::LocatedBlockProto* RecoveringBlockProto::mutable_block() {
14476 if (block_ == NULL) {
14477 block_ = new ::hadoop::hdfs::LocatedBlockProto;
14482 inline ::hadoop::hdfs::LocatedBlockProto* RecoveringBlockProto::release_block() {
14501 inline bool RecoveringBlockProto::has_truncateblock()
const {
14502 return (_has_bits_[0] & 0x00000004u) != 0;
14504 inline void RecoveringBlockProto::set_has_truncateblock() {
14505 _has_bits_[0] |= 0x00000004u;
14507 inline void RecoveringBlockProto::clear_has_truncateblock() {
14508 _has_bits_[0] &= ~0x00000004u;
14510 inline void RecoveringBlockProto::clear_truncateblock() {
14511 if (truncateblock_ != NULL) truncateblock_->::hadoop::hdfs::BlockProto::Clear();
14512 clear_has_truncateblock();
14514 inline const ::hadoop::hdfs::BlockProto& RecoveringBlockProto::truncateblock()
const {
14516 return truncateblock_ != NULL ? *truncateblock_ : *default_instance_->truncateblock_;
14518 inline ::hadoop::hdfs::BlockProto* RecoveringBlockProto::mutable_truncateblock() {
14519 set_has_truncateblock();
14520 if (truncateblock_ == NULL) {
14521 truncateblock_ = new ::hadoop::hdfs::BlockProto;
14524 return truncateblock_;
14526 inline ::hadoop::hdfs::BlockProto* RecoveringBlockProto::release_truncateblock() {
14528 clear_has_truncateblock();
14530 truncateblock_ = NULL;
14534 delete truncateblock_;
14535 truncateblock_ = truncateblock;
14536 if (truncateblock) {
14537 set_has_truncateblock();
14539 clear_has_truncateblock();
14553 inline bool VersionResponseProto::has_info()
const {
14554 return (_has_bits_[0] & 0x00000001u) != 0;
14556 inline void VersionResponseProto::set_has_info() {
14557 _has_bits_[0] |= 0x00000001u;
14559 inline void VersionResponseProto::clear_has_info() {
14560 _has_bits_[0] &= ~0x00000001u;
14562 inline void VersionResponseProto::clear_info() {
14563 if (info_ != NULL) info_->::hadoop::hdfs::NamespaceInfoProto::Clear();
14566 inline const ::hadoop::hdfs::NamespaceInfoProto& VersionResponseProto::info()
const {
14568 return info_ != NULL ? *info_ : *default_instance_->info_;
14570 inline ::hadoop::hdfs::NamespaceInfoProto* VersionResponseProto::mutable_info() {
14572 if (info_ == NULL) {
14573 info_ = new ::hadoop::hdfs::NamespaceInfoProto;
14578 inline ::hadoop::hdfs::NamespaceInfoProto* VersionResponseProto::release_info() {
14601 inline bool SnapshotInfoProto::has_snapshotname()
const {
14602 return (_has_bits_[0] & 0x00000001u) != 0;
14604 inline void SnapshotInfoProto::set_has_snapshotname() {
14605 _has_bits_[0] |= 0x00000001u;
14607 inline void SnapshotInfoProto::clear_has_snapshotname() {
14608 _has_bits_[0] &= ~0x00000001u;
14610 inline void SnapshotInfoProto::clear_snapshotname() {
14611 snapshotname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14612 clear_has_snapshotname();
14614 inline const ::std::string& SnapshotInfoProto::snapshotname()
const {
14616 return snapshotname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14618 inline void SnapshotInfoProto::set_snapshotname(const ::std::string& value) {
14619 set_has_snapshotname();
14620 snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14623 inline void SnapshotInfoProto::set_snapshotname(
const char* value) {
14624 set_has_snapshotname();
14625 snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14634 inline ::std::string* SnapshotInfoProto::mutable_snapshotname() {
14635 set_has_snapshotname();
14637 return snapshotname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14639 inline ::std::string* SnapshotInfoProto::release_snapshotname() {
14641 clear_has_snapshotname();
14642 return snapshotname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14644 inline void SnapshotInfoProto::set_allocated_snapshotname(::std::string* snapshotname) {
14645 if (snapshotname != NULL) {
14646 set_has_snapshotname();
14648 clear_has_snapshotname();
14650 snapshotname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotname);
14655 inline bool SnapshotInfoProto::has_snapshotroot()
const {
14656 return (_has_bits_[0] & 0x00000002u) != 0;
14658 inline void SnapshotInfoProto::set_has_snapshotroot() {
14659 _has_bits_[0] |= 0x00000002u;
14661 inline void SnapshotInfoProto::clear_has_snapshotroot() {
14662 _has_bits_[0] &= ~0x00000002u;
14664 inline void SnapshotInfoProto::clear_snapshotroot() {
14665 snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14666 clear_has_snapshotroot();
14668 inline const ::std::string& SnapshotInfoProto::snapshotroot()
const {
14670 return snapshotroot_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14672 inline void SnapshotInfoProto::set_snapshotroot(const ::std::string& value) {
14673 set_has_snapshotroot();
14674 snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14677 inline void SnapshotInfoProto::set_snapshotroot(
const char* value) {
14678 set_has_snapshotroot();
14679 snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14688 inline ::std::string* SnapshotInfoProto::mutable_snapshotroot() {
14689 set_has_snapshotroot();
14691 return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14693 inline ::std::string* SnapshotInfoProto::release_snapshotroot() {
14695 clear_has_snapshotroot();
14696 return snapshotroot_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14698 inline void SnapshotInfoProto::set_allocated_snapshotroot(::std::string* snapshotroot) {
14699 if (snapshotroot != NULL) {
14700 set_has_snapshotroot();
14702 clear_has_snapshotroot();
14704 snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot);
14709 inline bool SnapshotInfoProto::has_permission()
const {
14710 return (_has_bits_[0] & 0x00000004u) != 0;
14712 inline void SnapshotInfoProto::set_has_permission() {
14713 _has_bits_[0] |= 0x00000004u;
14715 inline void SnapshotInfoProto::clear_has_permission() {
14716 _has_bits_[0] &= ~0x00000004u;
14718 inline void SnapshotInfoProto::clear_permission() {
14719 if (permission_ != NULL) permission_->::hadoop::hdfs::FsPermissionProto::Clear();
14720 clear_has_permission();
14722 inline const ::hadoop::hdfs::FsPermissionProto& SnapshotInfoProto::permission()
const {
14724 return permission_ != NULL ? *permission_ : *default_instance_->permission_;
14726 inline ::hadoop::hdfs::FsPermissionProto* SnapshotInfoProto::mutable_permission() {
14727 set_has_permission();
14728 if (permission_ == NULL) {
14729 permission_ = new ::hadoop::hdfs::FsPermissionProto;
14732 return permission_;
14734 inline ::hadoop::hdfs::FsPermissionProto* SnapshotInfoProto::release_permission() {
14736 clear_has_permission();
14738 permission_ = NULL;
14742 delete permission_;
14743 permission_ = permission;
14745 set_has_permission();
14747 clear_has_permission();
14753 inline bool SnapshotInfoProto::has_owner()
const {
14754 return (_has_bits_[0] & 0x00000008u) != 0;
14756 inline void SnapshotInfoProto::set_has_owner() {
14757 _has_bits_[0] |= 0x00000008u;
14759 inline void SnapshotInfoProto::clear_has_owner() {
14760 _has_bits_[0] &= ~0x00000008u;
14762 inline void SnapshotInfoProto::clear_owner() {
14763 owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14766 inline const ::std::string& SnapshotInfoProto::owner()
const {
14768 return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14770 inline void SnapshotInfoProto::set_owner(const ::std::string& value) {
14772 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14775 inline void SnapshotInfoProto::set_owner(
const char* value) {
14777 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14780 inline void SnapshotInfoProto::set_owner(
const char* value,
size_t size) {
14782 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14783 ::std::string(reinterpret_cast<const char*>(value), size));
14786 inline ::std::string* SnapshotInfoProto::mutable_owner() {
14789 return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14791 inline ::std::string* SnapshotInfoProto::release_owner() {
14794 return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14796 inline void SnapshotInfoProto::set_allocated_owner(::std::string* owner) {
14797 if (owner != NULL) {
14802 owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
14807 inline bool SnapshotInfoProto::has_group()
const {
14808 return (_has_bits_[0] & 0x00000010u) != 0;
14810 inline void SnapshotInfoProto::set_has_group() {
14811 _has_bits_[0] |= 0x00000010u;
14813 inline void SnapshotInfoProto::clear_has_group() {
14814 _has_bits_[0] &= ~0x00000010u;
14816 inline void SnapshotInfoProto::clear_group() {
14817 group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14820 inline const ::std::string& SnapshotInfoProto::group()
const {
14822 return group_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14824 inline void SnapshotInfoProto::set_group(const ::std::string& value) {
14826 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14829 inline void SnapshotInfoProto::set_group(
const char* value) {
14831 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14834 inline void SnapshotInfoProto::set_group(
const char* value,
size_t size) {
14836 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14837 ::std::string(reinterpret_cast<const char*>(value), size));
14840 inline ::std::string* SnapshotInfoProto::mutable_group() {
14843 return group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14845 inline ::std::string* SnapshotInfoProto::release_group() {
14848 return group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14850 inline void SnapshotInfoProto::set_allocated_group(::std::string* group) {
14851 if (group != NULL) {
14856 group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group);
14861 inline bool SnapshotInfoProto::has_createtime()
const {
14862 return (_has_bits_[0] & 0x00000020u) != 0;
14864 inline void SnapshotInfoProto::set_has_createtime() {
14865 _has_bits_[0] |= 0x00000020u;
14867 inline void SnapshotInfoProto::clear_has_createtime() {
14868 _has_bits_[0] &= ~0x00000020u;
14870 inline void SnapshotInfoProto::clear_createtime() {
14871 createtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14872 clear_has_createtime();
14874 inline const ::std::string& SnapshotInfoProto::createtime()
const {
14876 return createtime_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14878 inline void SnapshotInfoProto::set_createtime(const ::std::string& value) {
14879 set_has_createtime();
14880 createtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14883 inline void SnapshotInfoProto::set_createtime(
const char* value) {
14884 set_has_createtime();
14885 createtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14894 inline ::std::string* SnapshotInfoProto::mutable_createtime() {
14895 set_has_createtime();
14897 return createtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14899 inline ::std::string* SnapshotInfoProto::release_createtime() {
14901 clear_has_createtime();
14902 return createtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14904 inline void SnapshotInfoProto::set_allocated_createtime(::std::string* createtime) {
14905 if (createtime != NULL) {
14906 set_has_createtime();
14908 clear_has_createtime();
14910 createtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), createtime);
14919 inline bool RollingUpgradeStatusProto::has_blockpoolid()
const {
14920 return (_has_bits_[0] & 0x00000001u) != 0;
14922 inline void RollingUpgradeStatusProto::set_has_blockpoolid() {
14923 _has_bits_[0] |= 0x00000001u;
14925 inline void RollingUpgradeStatusProto::clear_has_blockpoolid() {
14926 _has_bits_[0] &= ~0x00000001u;
14928 inline void RollingUpgradeStatusProto::clear_blockpoolid() {
14929 blockpoolid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14930 clear_has_blockpoolid();
14932 inline const ::std::string& RollingUpgradeStatusProto::blockpoolid()
const {
14934 return blockpoolid_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14936 inline void RollingUpgradeStatusProto::set_blockpoolid(const ::std::string& value) {
14937 set_has_blockpoolid();
14938 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14941 inline void RollingUpgradeStatusProto::set_blockpoolid(
const char* value) {
14942 set_has_blockpoolid();
14943 blockpoolid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
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));
14952 inline ::std::string* RollingUpgradeStatusProto::mutable_blockpoolid() {
14953 set_has_blockpoolid();
14955 return blockpoolid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14957 inline ::std::string* RollingUpgradeStatusProto::release_blockpoolid() {
14959 clear_has_blockpoolid();
14960 return blockpoolid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14962 inline void RollingUpgradeStatusProto::set_allocated_blockpoolid(::std::string* blockpoolid) {
14963 if (blockpoolid != NULL) {
14964 set_has_blockpoolid();
14966 clear_has_blockpoolid();
14968 blockpoolid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), blockpoolid);
14973 inline bool RollingUpgradeStatusProto::has_finalized()
const {
14974 return (_has_bits_[0] & 0x00000002u) != 0;
14976 inline void RollingUpgradeStatusProto::set_has_finalized() {
14977 _has_bits_[0] |= 0x00000002u;
14979 inline void RollingUpgradeStatusProto::clear_has_finalized() {
14980 _has_bits_[0] &= ~0x00000002u;
14982 inline void RollingUpgradeStatusProto::clear_finalized() {
14983 finalized_ =
false;
14984 clear_has_finalized();
14986 inline bool RollingUpgradeStatusProto::finalized()
const {
14990 inline void RollingUpgradeStatusProto::set_finalized(
bool value) {
14991 set_has_finalized();
14992 finalized_ = value;
14996 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
15103 namespace protobuf {
15105 template <>
struct is_proto_enum< ::hadoop::hdfs::DatanodeInfoProto_AdminState> : ::google::protobuf::internal::true_type {};
15107 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::DatanodeInfoProto_AdminState>() {
15108 return ::hadoop::hdfs::DatanodeInfoProto_AdminState_descriptor();
15110 template <>
struct is_proto_enum< ::hadoop::hdfs::DatanodeStorageProto_StorageState> : ::google::protobuf::internal::true_type {};
15112 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::DatanodeStorageProto_StorageState>() {
15113 return ::hadoop::hdfs::DatanodeStorageProto_StorageState_descriptor();
15115 template <>
struct is_proto_enum< ::hadoop::hdfs::HdfsFileStatusProto_FileType> : ::google::protobuf::internal::true_type {};
15117 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::HdfsFileStatusProto_FileType>() {
15118 return ::hadoop::hdfs::HdfsFileStatusProto_FileType_descriptor();
15120 template <>
struct is_proto_enum< ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto> : ::google::protobuf::internal::true_type {};
15122 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto>() {
15123 return ::hadoop::hdfs::NamenodeRegistrationProto_NamenodeRoleProto_descriptor();
15125 template <>
struct is_proto_enum< ::hadoop::hdfs::NamenodeCommandProto_Type> : ::google::protobuf::internal::true_type {};
15127 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::NamenodeCommandProto_Type>() {
15128 return ::hadoop::hdfs::NamenodeCommandProto_Type_descriptor();
15130 template <>
struct is_proto_enum< ::hadoop::hdfs::StorageTypeProto> : ::google::protobuf::internal::true_type {};
15132 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::StorageTypeProto>() {
15133 return ::hadoop::hdfs::StorageTypeProto_descriptor();
15135 template <>
struct is_proto_enum< ::hadoop::hdfs::CipherSuiteProto> : ::google::protobuf::internal::true_type {};
15137 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::CipherSuiteProto>() {
15138 return ::hadoop::hdfs::CipherSuiteProto_descriptor();
15140 template <>
struct is_proto_enum< ::hadoop::hdfs::CryptoProtocolVersionProto> : ::google::protobuf::internal::true_type {};
15142 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::CryptoProtocolVersionProto>() {
15143 return ::hadoop::hdfs::CryptoProtocolVersionProto_descriptor();
15145 template <>
struct is_proto_enum< ::hadoop::hdfs::ErasureCodingPolicyState> : ::google::protobuf::internal::true_type {};
15147 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::ErasureCodingPolicyState>() {
15148 return ::hadoop::hdfs::ErasureCodingPolicyState_descriptor();
15150 template <>
struct is_proto_enum< ::hadoop::hdfs::ChecksumTypeProto> : ::google::protobuf::internal::true_type {};
15152 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::ChecksumTypeProto>() {
15153 return ::hadoop::hdfs::ChecksumTypeProto_descriptor();
15155 template <>
struct is_proto_enum< ::hadoop::hdfs::ReplicaStateProto> : ::google::protobuf::internal::true_type {};
15157 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::ReplicaStateProto>() {
15158 return ::hadoop::hdfs::ReplicaStateProto_descriptor();
15167 #endif // PROTOBUF_hdfs_2eproto__INCLUDED
Definition: hdfs.pb.h:2899
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:4586
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:6107
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:1593
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:4453
Definition: hdfs.pb.h:1220
Definition: hdfs.pb.h:4813
Definition: hdfs.pb.h:838
Definition: hdfs.pb.h:6926