4 #ifndef PROTOBUF_xattr_2eproto__INCLUDED
5 #define PROTOBUF_xattr_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>
37 void protobuf_AddDesc_xattr_2eproto();
38 void protobuf_AssignDesc_xattr_2eproto();
39 void protobuf_ShutdownFile_xattr_2eproto();
41 class GetXAttrsRequestProto;
42 class GetXAttrsResponseProto;
43 class ListXAttrsRequestProto;
44 class ListXAttrsResponseProto;
45 class RemoveXAttrRequestProto;
46 class RemoveXAttrResponseProto;
47 class SetXAttrRequestProto;
48 class SetXAttrResponseProto;
49 class XAttrEditLogProto;
52 enum XAttrProto_XAttrNamespaceProto {
53 XAttrProto_XAttrNamespaceProto_USER = 0,
54 XAttrProto_XAttrNamespaceProto_TRUSTED = 1,
55 XAttrProto_XAttrNamespaceProto_SECURITY = 2,
56 XAttrProto_XAttrNamespaceProto_SYSTEM = 3,
57 XAttrProto_XAttrNamespaceProto_RAW = 4
59 bool XAttrProto_XAttrNamespaceProto_IsValid(
int value);
60 const XAttrProto_XAttrNamespaceProto XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_MIN = XAttrProto_XAttrNamespaceProto_USER;
61 const XAttrProto_XAttrNamespaceProto XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_MAX = XAttrProto_XAttrNamespaceProto_RAW;
62 const int XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_ARRAYSIZE = XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_MAX + 1;
64 const ::google::protobuf::EnumDescriptor* XAttrProto_XAttrNamespaceProto_descriptor();
65 inline const ::std::string& XAttrProto_XAttrNamespaceProto_Name(XAttrProto_XAttrNamespaceProto value) {
66 return ::google::protobuf::internal::NameOfEnum(
67 XAttrProto_XAttrNamespaceProto_descriptor(), value);
69 inline bool XAttrProto_XAttrNamespaceProto_Parse(
70 const ::std::string& name, XAttrProto_XAttrNamespaceProto* value) {
71 return ::google::protobuf::internal::ParseNamedEnum<XAttrProto_XAttrNamespaceProto>(
72 XAttrProto_XAttrNamespaceProto_descriptor(), name, value);
74 enum XAttrSetFlagProto {
78 bool XAttrSetFlagProto_IsValid(
int value);
79 const XAttrSetFlagProto XAttrSetFlagProto_MIN = XATTR_CREATE;
80 const XAttrSetFlagProto XAttrSetFlagProto_MAX = XATTR_REPLACE;
81 const int XAttrSetFlagProto_ARRAYSIZE = XAttrSetFlagProto_MAX + 1;
83 const ::google::protobuf::EnumDescriptor* XAttrSetFlagProto_descriptor();
84 inline const ::std::string& XAttrSetFlagProto_Name(XAttrSetFlagProto value) {
85 return ::google::protobuf::internal::NameOfEnum(
86 XAttrSetFlagProto_descriptor(), value);
88 inline bool XAttrSetFlagProto_Parse(
89 const ::std::string& name, XAttrSetFlagProto* value) {
90 return ::google::protobuf::internal::ParseNamedEnum<XAttrSetFlagProto>(
91 XAttrSetFlagProto_descriptor(), name, value);
107 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
108 return _internal_metadata_.unknown_fields();
111 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
112 return _internal_metadata_.mutable_unknown_fields();
115 static const ::google::protobuf::Descriptor* descriptor();
122 inline XAttrProto* New()
const {
return New(NULL); }
124 XAttrProto* New(::google::protobuf::Arena* arena)
const;
125 void CopyFrom(const ::google::protobuf::Message& from);
126 void MergeFrom(const ::google::protobuf::Message& from);
130 bool IsInitialized()
const;
132 int ByteSize()
const;
133 bool MergePartialFromCodedStream(
134 ::google::protobuf::io::CodedInputStream* input);
135 void SerializeWithCachedSizes(
136 ::google::protobuf::io::CodedOutputStream* output)
const;
137 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
138 bool deterministic, ::google::protobuf::uint8* output)
const;
139 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
140 return InternalSerializeWithCachedSizesToArray(
false, output);
142 int GetCachedSize()
const {
return _cached_size_; }
146 void SetCachedSize(
int size)
const;
149 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
150 return _internal_metadata_.arena();
152 inline void* MaybeArenaPtr()
const {
153 return _internal_metadata_.raw_arena_ptr();
157 ::google::protobuf::Metadata GetMetadata()
const;
161 typedef XAttrProto_XAttrNamespaceProto XAttrNamespaceProto;
162 static const XAttrNamespaceProto USER =
163 XAttrProto_XAttrNamespaceProto_USER;
164 static const XAttrNamespaceProto TRUSTED =
165 XAttrProto_XAttrNamespaceProto_TRUSTED;
166 static const XAttrNamespaceProto SECURITY =
167 XAttrProto_XAttrNamespaceProto_SECURITY;
168 static const XAttrNamespaceProto SYSTEM =
169 XAttrProto_XAttrNamespaceProto_SYSTEM;
170 static const XAttrNamespaceProto RAW =
171 XAttrProto_XAttrNamespaceProto_RAW;
172 static inline bool XAttrNamespaceProto_IsValid(
int value) {
173 return XAttrProto_XAttrNamespaceProto_IsValid(value);
175 static const XAttrNamespaceProto XAttrNamespaceProto_MIN =
176 XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_MIN;
177 static const XAttrNamespaceProto XAttrNamespaceProto_MAX =
178 XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_MAX;
179 static const int XAttrNamespaceProto_ARRAYSIZE =
180 XAttrProto_XAttrNamespaceProto_XAttrNamespaceProto_ARRAYSIZE;
181 static inline const ::google::protobuf::EnumDescriptor*
182 XAttrNamespaceProto_descriptor() {
183 return XAttrProto_XAttrNamespaceProto_descriptor();
185 static inline const ::std::string& XAttrNamespaceProto_Name(XAttrNamespaceProto value) {
186 return XAttrProto_XAttrNamespaceProto_Name(value);
188 static inline bool XAttrNamespaceProto_Parse(const ::std::string& name,
189 XAttrNamespaceProto* value) {
190 return XAttrProto_XAttrNamespaceProto_Parse(name, value);
196 bool has_namespace_()
const;
197 void clear_namespace_();
198 static const int kNamespaceFieldNumber = 1;
199 ::hadoop::hdfs::XAttrProto_XAttrNamespaceProto namespace_()
const;
200 void set_namespace_(::hadoop::hdfs::XAttrProto_XAttrNamespaceProto value);
203 bool has_name()
const;
205 static const int kNameFieldNumber = 2;
206 const ::std::string& name()
const;
207 void set_name(const ::std::string& value);
208 void set_name(
const char* value);
209 void set_name(
const char* value,
size_t size);
210 ::std::string* mutable_name();
211 ::std::string* release_name();
212 void set_allocated_name(::std::string* name);
215 bool has_value()
const;
217 static const int kValueFieldNumber = 3;
218 const ::std::string& value()
const;
219 void set_value(const ::std::string& value);
220 void set_value(
const char* value);
221 void set_value(
const void* value,
size_t size);
222 ::std::string* mutable_value();
223 ::std::string* release_value();
224 void set_allocated_value(::std::string* value);
228 inline void set_has_namespace_();
229 inline void clear_has_namespace_();
230 inline void set_has_name();
231 inline void clear_has_name();
232 inline void set_has_value();
233 inline void clear_has_value();
236 int RequiredFieldsByteSizeFallback()
const;
238 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
239 ::google::protobuf::uint32 _has_bits_[1];
240 mutable int _cached_size_;
241 ::google::protobuf::internal::ArenaStringPtr name_;
242 ::google::protobuf::internal::ArenaStringPtr value_;
244 friend void protobuf_AddDesc_xattr_2eproto();
245 friend void protobuf_AssignDesc_xattr_2eproto();
246 friend void protobuf_ShutdownFile_xattr_2eproto();
248 void InitAsDefaultInstance();
265 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
266 return _internal_metadata_.unknown_fields();
269 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
270 return _internal_metadata_.mutable_unknown_fields();
273 static const ::google::protobuf::Descriptor* descriptor();
283 void CopyFrom(const ::google::protobuf::Message& from);
284 void MergeFrom(const ::google::protobuf::Message& from);
288 bool IsInitialized()
const;
290 int ByteSize()
const;
291 bool MergePartialFromCodedStream(
292 ::google::protobuf::io::CodedInputStream* input);
293 void SerializeWithCachedSizes(
294 ::google::protobuf::io::CodedOutputStream* output)
const;
295 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
296 bool deterministic, ::google::protobuf::uint8* output)
const;
297 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
298 return InternalSerializeWithCachedSizesToArray(
false, output);
300 int GetCachedSize()
const {
return _cached_size_; }
304 void SetCachedSize(
int size)
const;
307 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
308 return _internal_metadata_.arena();
310 inline void* MaybeArenaPtr()
const {
311 return _internal_metadata_.raw_arena_ptr();
315 ::google::protobuf::Metadata GetMetadata()
const;
322 bool has_src()
const;
324 static const int kSrcFieldNumber = 1;
325 const ::std::string& src()
const;
326 void set_src(const ::std::string& value);
327 void set_src(
const char* value);
328 void set_src(
const char* value,
size_t size);
329 ::std::string* mutable_src();
330 ::std::string* release_src();
331 void set_allocated_src(::std::string* src);
334 int xattrs_size()
const;
336 static const int kXAttrsFieldNumber = 2;
337 const ::hadoop::hdfs::XAttrProto& xattrs(
int index)
const;
340 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
342 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
347 inline void set_has_src();
348 inline void clear_has_src();
350 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
351 ::google::protobuf::uint32 _has_bits_[1];
352 mutable int _cached_size_;
353 ::google::protobuf::internal::ArenaStringPtr src_;
354 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto > xattrs_;
355 friend void protobuf_AddDesc_xattr_2eproto();
356 friend void protobuf_AssignDesc_xattr_2eproto();
357 friend void protobuf_ShutdownFile_xattr_2eproto();
359 void InitAsDefaultInstance();
376 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
377 return _internal_metadata_.unknown_fields();
380 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
381 return _internal_metadata_.mutable_unknown_fields();
384 static const ::google::protobuf::Descriptor* descriptor();
394 void CopyFrom(const ::google::protobuf::Message& from);
395 void MergeFrom(const ::google::protobuf::Message& from);
399 bool IsInitialized()
const;
401 int ByteSize()
const;
402 bool MergePartialFromCodedStream(
403 ::google::protobuf::io::CodedInputStream* input);
404 void SerializeWithCachedSizes(
405 ::google::protobuf::io::CodedOutputStream* output)
const;
406 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
407 bool deterministic, ::google::protobuf::uint8* output)
const;
408 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
409 return InternalSerializeWithCachedSizesToArray(
false, output);
411 int GetCachedSize()
const {
return _cached_size_; }
415 void SetCachedSize(
int size)
const;
418 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
419 return _internal_metadata_.arena();
421 inline void* MaybeArenaPtr()
const {
422 return _internal_metadata_.raw_arena_ptr();
426 ::google::protobuf::Metadata GetMetadata()
const;
433 bool has_src()
const;
435 static const int kSrcFieldNumber = 1;
436 const ::std::string& src()
const;
437 void set_src(const ::std::string& value);
438 void set_src(
const char* value);
439 void set_src(
const char* value,
size_t size);
440 ::std::string* mutable_src();
441 ::std::string* release_src();
442 void set_allocated_src(::std::string* src);
445 bool has_xattr()
const;
447 static const int kXAttrFieldNumber = 2;
448 const ::hadoop::hdfs::XAttrProto& xattr()
const;
454 bool has_flag()
const;
456 static const int kFlagFieldNumber = 3;
457 ::google::protobuf::uint32 flag()
const;
458 void set_flag(::google::protobuf::uint32 value);
462 inline void set_has_src();
463 inline void clear_has_src();
464 inline void set_has_xattr();
465 inline void clear_has_xattr();
466 inline void set_has_flag();
467 inline void clear_has_flag();
469 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
470 ::google::protobuf::uint32 _has_bits_[1];
471 mutable int _cached_size_;
472 ::google::protobuf::internal::ArenaStringPtr src_;
474 ::google::protobuf::uint32 flag_;
475 friend void protobuf_AddDesc_xattr_2eproto();
476 friend void protobuf_AssignDesc_xattr_2eproto();
477 friend void protobuf_ShutdownFile_xattr_2eproto();
479 void InitAsDefaultInstance();
496 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
497 return _internal_metadata_.unknown_fields();
500 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
501 return _internal_metadata_.mutable_unknown_fields();
504 static const ::google::protobuf::Descriptor* descriptor();
514 void CopyFrom(const ::google::protobuf::Message& from);
515 void MergeFrom(const ::google::protobuf::Message& from);
519 bool IsInitialized()
const;
521 int ByteSize()
const;
522 bool MergePartialFromCodedStream(
523 ::google::protobuf::io::CodedInputStream* input);
524 void SerializeWithCachedSizes(
525 ::google::protobuf::io::CodedOutputStream* output)
const;
526 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
527 bool deterministic, ::google::protobuf::uint8* output)
const;
528 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
529 return InternalSerializeWithCachedSizesToArray(
false, output);
531 int GetCachedSize()
const {
return _cached_size_; }
535 void SetCachedSize(
int size)
const;
538 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
539 return _internal_metadata_.arena();
541 inline void* MaybeArenaPtr()
const {
542 return _internal_metadata_.raw_arena_ptr();
546 ::google::protobuf::Metadata GetMetadata()
const;
555 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
556 ::google::protobuf::uint32 _has_bits_[1];
557 mutable int _cached_size_;
558 friend void protobuf_AddDesc_xattr_2eproto();
559 friend void protobuf_AssignDesc_xattr_2eproto();
560 friend void protobuf_ShutdownFile_xattr_2eproto();
562 void InitAsDefaultInstance();
579 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
580 return _internal_metadata_.unknown_fields();
583 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
584 return _internal_metadata_.mutable_unknown_fields();
587 static const ::google::protobuf::Descriptor* descriptor();
597 void CopyFrom(const ::google::protobuf::Message& from);
598 void MergeFrom(const ::google::protobuf::Message& from);
602 bool IsInitialized()
const;
604 int ByteSize()
const;
605 bool MergePartialFromCodedStream(
606 ::google::protobuf::io::CodedInputStream* input);
607 void SerializeWithCachedSizes(
608 ::google::protobuf::io::CodedOutputStream* output)
const;
609 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
610 bool deterministic, ::google::protobuf::uint8* output)
const;
611 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
612 return InternalSerializeWithCachedSizesToArray(
false, output);
614 int GetCachedSize()
const {
return _cached_size_; }
618 void SetCachedSize(
int size)
const;
621 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
622 return _internal_metadata_.arena();
624 inline void* MaybeArenaPtr()
const {
625 return _internal_metadata_.raw_arena_ptr();
629 ::google::protobuf::Metadata GetMetadata()
const;
636 bool has_src()
const;
638 static const int kSrcFieldNumber = 1;
639 const ::std::string& src()
const;
640 void set_src(const ::std::string& value);
641 void set_src(
const char* value);
642 void set_src(
const char* value,
size_t size);
643 ::std::string* mutable_src();
644 ::std::string* release_src();
645 void set_allocated_src(::std::string* src);
648 int xattrs_size()
const;
650 static const int kXAttrsFieldNumber = 2;
651 const ::hadoop::hdfs::XAttrProto& xattrs(
int index)
const;
654 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
656 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
661 inline void set_has_src();
662 inline void clear_has_src();
664 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
665 ::google::protobuf::uint32 _has_bits_[1];
666 mutable int _cached_size_;
667 ::google::protobuf::internal::ArenaStringPtr src_;
668 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto > xattrs_;
669 friend void protobuf_AddDesc_xattr_2eproto();
670 friend void protobuf_AssignDesc_xattr_2eproto();
671 friend void protobuf_ShutdownFile_xattr_2eproto();
673 void InitAsDefaultInstance();
690 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
691 return _internal_metadata_.unknown_fields();
694 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
695 return _internal_metadata_.mutable_unknown_fields();
698 static const ::google::protobuf::Descriptor* descriptor();
708 void CopyFrom(const ::google::protobuf::Message& from);
709 void MergeFrom(const ::google::protobuf::Message& from);
713 bool IsInitialized()
const;
715 int ByteSize()
const;
716 bool MergePartialFromCodedStream(
717 ::google::protobuf::io::CodedInputStream* input);
718 void SerializeWithCachedSizes(
719 ::google::protobuf::io::CodedOutputStream* output)
const;
720 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
721 bool deterministic, ::google::protobuf::uint8* output)
const;
722 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
723 return InternalSerializeWithCachedSizesToArray(
false, output);
725 int GetCachedSize()
const {
return _cached_size_; }
729 void SetCachedSize(
int size)
const;
732 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
733 return _internal_metadata_.arena();
735 inline void* MaybeArenaPtr()
const {
736 return _internal_metadata_.raw_arena_ptr();
740 ::google::protobuf::Metadata GetMetadata()
const;
747 int xattrs_size()
const;
749 static const int kXAttrsFieldNumber = 1;
750 const ::hadoop::hdfs::XAttrProto& xattrs(
int index)
const;
753 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
755 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
761 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
762 ::google::protobuf::uint32 _has_bits_[1];
763 mutable int _cached_size_;
764 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto > xattrs_;
765 friend void protobuf_AddDesc_xattr_2eproto();
766 friend void protobuf_AssignDesc_xattr_2eproto();
767 friend void protobuf_ShutdownFile_xattr_2eproto();
769 void InitAsDefaultInstance();
786 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
787 return _internal_metadata_.unknown_fields();
790 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
791 return _internal_metadata_.mutable_unknown_fields();
794 static const ::google::protobuf::Descriptor* descriptor();
804 void CopyFrom(const ::google::protobuf::Message& from);
805 void MergeFrom(const ::google::protobuf::Message& from);
809 bool IsInitialized()
const;
811 int ByteSize()
const;
812 bool MergePartialFromCodedStream(
813 ::google::protobuf::io::CodedInputStream* input);
814 void SerializeWithCachedSizes(
815 ::google::protobuf::io::CodedOutputStream* output)
const;
816 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
817 bool deterministic, ::google::protobuf::uint8* output)
const;
818 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
819 return InternalSerializeWithCachedSizesToArray(
false, output);
821 int GetCachedSize()
const {
return _cached_size_; }
825 void SetCachedSize(
int size)
const;
828 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
829 return _internal_metadata_.arena();
831 inline void* MaybeArenaPtr()
const {
832 return _internal_metadata_.raw_arena_ptr();
836 ::google::protobuf::Metadata GetMetadata()
const;
843 bool has_src()
const;
845 static const int kSrcFieldNumber = 1;
846 const ::std::string& src()
const;
847 void set_src(const ::std::string& value);
848 void set_src(
const char* value);
849 void set_src(
const char* value,
size_t size);
850 ::std::string* mutable_src();
851 ::std::string* release_src();
852 void set_allocated_src(::std::string* src);
856 inline void set_has_src();
857 inline void clear_has_src();
859 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
860 ::google::protobuf::uint32 _has_bits_[1];
861 mutable int _cached_size_;
862 ::google::protobuf::internal::ArenaStringPtr src_;
863 friend void protobuf_AddDesc_xattr_2eproto();
864 friend void protobuf_AssignDesc_xattr_2eproto();
865 friend void protobuf_ShutdownFile_xattr_2eproto();
867 void InitAsDefaultInstance();
884 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
885 return _internal_metadata_.unknown_fields();
888 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
889 return _internal_metadata_.mutable_unknown_fields();
892 static const ::google::protobuf::Descriptor* descriptor();
902 void CopyFrom(const ::google::protobuf::Message& from);
903 void MergeFrom(const ::google::protobuf::Message& from);
907 bool IsInitialized()
const;
909 int ByteSize()
const;
910 bool MergePartialFromCodedStream(
911 ::google::protobuf::io::CodedInputStream* input);
912 void SerializeWithCachedSizes(
913 ::google::protobuf::io::CodedOutputStream* output)
const;
914 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
915 bool deterministic, ::google::protobuf::uint8* output)
const;
916 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
917 return InternalSerializeWithCachedSizesToArray(
false, output);
919 int GetCachedSize()
const {
return _cached_size_; }
923 void SetCachedSize(
int size)
const;
926 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
927 return _internal_metadata_.arena();
929 inline void* MaybeArenaPtr()
const {
930 return _internal_metadata_.raw_arena_ptr();
934 ::google::protobuf::Metadata GetMetadata()
const;
941 int xattrs_size()
const;
943 static const int kXAttrsFieldNumber = 1;
944 const ::hadoop::hdfs::XAttrProto& xattrs(
int index)
const;
947 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
949 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
955 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
956 ::google::protobuf::uint32 _has_bits_[1];
957 mutable int _cached_size_;
958 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto > xattrs_;
959 friend void protobuf_AddDesc_xattr_2eproto();
960 friend void protobuf_AssignDesc_xattr_2eproto();
961 friend void protobuf_ShutdownFile_xattr_2eproto();
963 void InitAsDefaultInstance();
980 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
981 return _internal_metadata_.unknown_fields();
984 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
985 return _internal_metadata_.mutable_unknown_fields();
988 static const ::google::protobuf::Descriptor* descriptor();
998 void CopyFrom(const ::google::protobuf::Message& from);
999 void MergeFrom(const ::google::protobuf::Message& from);
1003 bool IsInitialized()
const;
1005 int ByteSize()
const;
1006 bool MergePartialFromCodedStream(
1007 ::google::protobuf::io::CodedInputStream* input);
1008 void SerializeWithCachedSizes(
1009 ::google::protobuf::io::CodedOutputStream* output)
const;
1010 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1011 bool deterministic, ::google::protobuf::uint8* output)
const;
1012 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1013 return InternalSerializeWithCachedSizesToArray(
false, output);
1015 int GetCachedSize()
const {
return _cached_size_; }
1019 void SetCachedSize(
int size)
const;
1022 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1023 return _internal_metadata_.arena();
1025 inline void* MaybeArenaPtr()
const {
1026 return _internal_metadata_.raw_arena_ptr();
1030 ::google::protobuf::Metadata GetMetadata()
const;
1037 bool has_src()
const;
1039 static const int kSrcFieldNumber = 1;
1040 const ::std::string& src()
const;
1041 void set_src(const ::std::string& value);
1042 void set_src(
const char* value);
1043 void set_src(
const char* value,
size_t size);
1044 ::std::string* mutable_src();
1045 ::std::string* release_src();
1046 void set_allocated_src(::std::string* src);
1049 bool has_xattr()
const;
1051 static const int kXAttrFieldNumber = 2;
1052 const ::hadoop::hdfs::XAttrProto& xattr()
const;
1059 inline void set_has_src();
1060 inline void clear_has_src();
1061 inline void set_has_xattr();
1062 inline void clear_has_xattr();
1064 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1065 ::google::protobuf::uint32 _has_bits_[1];
1066 mutable int _cached_size_;
1067 ::google::protobuf::internal::ArenaStringPtr src_;
1069 friend void protobuf_AddDesc_xattr_2eproto();
1070 friend void protobuf_AssignDesc_xattr_2eproto();
1071 friend void protobuf_ShutdownFile_xattr_2eproto();
1073 void InitAsDefaultInstance();
1090 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1091 return _internal_metadata_.unknown_fields();
1094 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1095 return _internal_metadata_.mutable_unknown_fields();
1098 static const ::google::protobuf::Descriptor* descriptor();
1108 void CopyFrom(const ::google::protobuf::Message& from);
1109 void MergeFrom(const ::google::protobuf::Message& from);
1113 bool IsInitialized()
const;
1115 int ByteSize()
const;
1116 bool MergePartialFromCodedStream(
1117 ::google::protobuf::io::CodedInputStream* input);
1118 void SerializeWithCachedSizes(
1119 ::google::protobuf::io::CodedOutputStream* output)
const;
1120 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1121 bool deterministic, ::google::protobuf::uint8* output)
const;
1122 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1123 return InternalSerializeWithCachedSizesToArray(
false, output);
1125 int GetCachedSize()
const {
return _cached_size_; }
1129 void SetCachedSize(
int size)
const;
1132 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1133 return _internal_metadata_.arena();
1135 inline void* MaybeArenaPtr()
const {
1136 return _internal_metadata_.raw_arena_ptr();
1140 ::google::protobuf::Metadata GetMetadata()
const;
1149 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1150 ::google::protobuf::uint32 _has_bits_[1];
1151 mutable int _cached_size_;
1152 friend void protobuf_AddDesc_xattr_2eproto();
1153 friend void protobuf_AssignDesc_xattr_2eproto();
1154 friend void protobuf_ShutdownFile_xattr_2eproto();
1156 void InitAsDefaultInstance();
1164 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
1168 inline bool XAttrProto::has_namespace_()
const {
1169 return (_has_bits_[0] & 0x00000001u) != 0;
1171 inline void XAttrProto::set_has_namespace_() {
1172 _has_bits_[0] |= 0x00000001u;
1174 inline void XAttrProto::clear_has_namespace_() {
1175 _has_bits_[0] &= ~0x00000001u;
1177 inline void XAttrProto::clear_namespace_() {
1179 clear_has_namespace_();
1181 inline ::hadoop::hdfs::XAttrProto_XAttrNamespaceProto XAttrProto::namespace_()
const {
1183 return static_cast< ::hadoop::hdfs::XAttrProto_XAttrNamespaceProto
>(namespace__);
1185 inline void XAttrProto::set_namespace_(::hadoop::hdfs::XAttrProto_XAttrNamespaceProto value) {
1186 assert(::hadoop::hdfs::XAttrProto_XAttrNamespaceProto_IsValid(value));
1187 set_has_namespace_();
1188 namespace__ = value;
1193 inline bool XAttrProto::has_name()
const {
1194 return (_has_bits_[0] & 0x00000002u) != 0;
1196 inline void XAttrProto::set_has_name() {
1197 _has_bits_[0] |= 0x00000002u;
1199 inline void XAttrProto::clear_has_name() {
1200 _has_bits_[0] &= ~0x00000002u;
1202 inline void XAttrProto::clear_name() {
1203 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1206 inline const ::std::string& XAttrProto::name()
const {
1208 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1210 inline void XAttrProto::set_name(const ::std::string& value) {
1212 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1215 inline void XAttrProto::set_name(
const char* value) {
1217 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1220 inline void XAttrProto::set_name(
const char* value,
size_t size) {
1222 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1223 ::std::string(reinterpret_cast<const char*>(value), size));
1226 inline ::std::string* XAttrProto::mutable_name() {
1229 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1231 inline ::std::string* XAttrProto::release_name() {
1234 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1236 inline void XAttrProto::set_allocated_name(::std::string* name) {
1242 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1247 inline bool XAttrProto::has_value()
const {
1248 return (_has_bits_[0] & 0x00000004u) != 0;
1250 inline void XAttrProto::set_has_value() {
1251 _has_bits_[0] |= 0x00000004u;
1253 inline void XAttrProto::clear_has_value() {
1254 _has_bits_[0] &= ~0x00000004u;
1256 inline void XAttrProto::clear_value() {
1257 value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1260 inline const ::std::string& XAttrProto::value()
const {
1262 return value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1264 inline void XAttrProto::set_value(const ::std::string& value) {
1266 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1269 inline void XAttrProto::set_value(
const char* value) {
1271 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1274 inline void XAttrProto::set_value(
const void* value,
size_t size) {
1276 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1277 ::std::string(reinterpret_cast<const char*>(value), size));
1280 inline ::std::string* XAttrProto::mutable_value() {
1283 return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1285 inline ::std::string* XAttrProto::release_value() {
1288 return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1290 inline void XAttrProto::set_allocated_value(::std::string* value) {
1291 if (value != NULL) {
1296 value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1305 inline bool XAttrEditLogProto::has_src()
const {
1306 return (_has_bits_[0] & 0x00000001u) != 0;
1308 inline void XAttrEditLogProto::set_has_src() {
1309 _has_bits_[0] |= 0x00000001u;
1311 inline void XAttrEditLogProto::clear_has_src() {
1312 _has_bits_[0] &= ~0x00000001u;
1314 inline void XAttrEditLogProto::clear_src() {
1315 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1318 inline const ::std::string& XAttrEditLogProto::src()
const {
1320 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1322 inline void XAttrEditLogProto::set_src(const ::std::string& value) {
1324 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1327 inline void XAttrEditLogProto::set_src(
const char* value) {
1329 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1332 inline void XAttrEditLogProto::set_src(
const char* value,
size_t size) {
1334 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1335 ::std::string(reinterpret_cast<const char*>(value), size));
1338 inline ::std::string* XAttrEditLogProto::mutable_src() {
1341 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1343 inline ::std::string* XAttrEditLogProto::release_src() {
1346 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1348 inline void XAttrEditLogProto::set_allocated_src(::std::string* src) {
1354 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1359 inline int XAttrEditLogProto::xattrs_size()
const {
1360 return xattrs_.size();
1362 inline void XAttrEditLogProto::clear_xattrs() {
1365 inline const ::hadoop::hdfs::XAttrProto& XAttrEditLogProto::xattrs(
int index)
const {
1367 return xattrs_.Get(index);
1369 inline ::hadoop::hdfs::XAttrProto* XAttrEditLogProto::mutable_xattrs(
int index) {
1371 return xattrs_.Mutable(index);
1373 inline ::hadoop::hdfs::XAttrProto* XAttrEditLogProto::add_xattrs() {
1375 return xattrs_.Add();
1377 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
1378 XAttrEditLogProto::mutable_xattrs() {
1382 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
1383 XAttrEditLogProto::xattrs()
const {
1393 inline bool SetXAttrRequestProto::has_src()
const {
1394 return (_has_bits_[0] & 0x00000001u) != 0;
1396 inline void SetXAttrRequestProto::set_has_src() {
1397 _has_bits_[0] |= 0x00000001u;
1399 inline void SetXAttrRequestProto::clear_has_src() {
1400 _has_bits_[0] &= ~0x00000001u;
1402 inline void SetXAttrRequestProto::clear_src() {
1403 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1406 inline const ::std::string& SetXAttrRequestProto::src()
const {
1408 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1410 inline void SetXAttrRequestProto::set_src(const ::std::string& value) {
1412 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1415 inline void SetXAttrRequestProto::set_src(
const char* value) {
1417 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1420 inline void SetXAttrRequestProto::set_src(
const char* value,
size_t size) {
1422 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1423 ::std::string(reinterpret_cast<const char*>(value), size));
1426 inline ::std::string* SetXAttrRequestProto::mutable_src() {
1429 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1431 inline ::std::string* SetXAttrRequestProto::release_src() {
1434 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1436 inline void SetXAttrRequestProto::set_allocated_src(::std::string* src) {
1442 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1447 inline bool SetXAttrRequestProto::has_xattr()
const {
1448 return (_has_bits_[0] & 0x00000002u) != 0;
1450 inline void SetXAttrRequestProto::set_has_xattr() {
1451 _has_bits_[0] |= 0x00000002u;
1453 inline void SetXAttrRequestProto::clear_has_xattr() {
1454 _has_bits_[0] &= ~0x00000002u;
1456 inline void SetXAttrRequestProto::clear_xattr() {
1457 if (xattr_ != NULL) xattr_->::hadoop::hdfs::XAttrProto::Clear();
1460 inline const ::hadoop::hdfs::XAttrProto& SetXAttrRequestProto::xattr()
const {
1462 return xattr_ != NULL ? *xattr_ : *default_instance_->xattr_;
1464 inline ::hadoop::hdfs::XAttrProto* SetXAttrRequestProto::mutable_xattr() {
1466 if (xattr_ == NULL) {
1467 xattr_ = new ::hadoop::hdfs::XAttrProto;
1472 inline ::hadoop::hdfs::XAttrProto* SetXAttrRequestProto::release_xattr() {
1491 inline bool SetXAttrRequestProto::has_flag()
const {
1492 return (_has_bits_[0] & 0x00000004u) != 0;
1494 inline void SetXAttrRequestProto::set_has_flag() {
1495 _has_bits_[0] |= 0x00000004u;
1497 inline void SetXAttrRequestProto::clear_has_flag() {
1498 _has_bits_[0] &= ~0x00000004u;
1500 inline void SetXAttrRequestProto::clear_flag() {
1504 inline ::google::protobuf::uint32 SetXAttrRequestProto::flag()
const {
1508 inline void SetXAttrRequestProto::set_flag(::google::protobuf::uint32 value) {
1523 inline bool GetXAttrsRequestProto::has_src()
const {
1524 return (_has_bits_[0] & 0x00000001u) != 0;
1526 inline void GetXAttrsRequestProto::set_has_src() {
1527 _has_bits_[0] |= 0x00000001u;
1529 inline void GetXAttrsRequestProto::clear_has_src() {
1530 _has_bits_[0] &= ~0x00000001u;
1532 inline void GetXAttrsRequestProto::clear_src() {
1533 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1536 inline const ::std::string& GetXAttrsRequestProto::src()
const {
1538 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1540 inline void GetXAttrsRequestProto::set_src(const ::std::string& value) {
1542 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1545 inline void GetXAttrsRequestProto::set_src(
const char* value) {
1547 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1550 inline void GetXAttrsRequestProto::set_src(
const char* value,
size_t size) {
1552 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1553 ::std::string(reinterpret_cast<const char*>(value), size));
1556 inline ::std::string* GetXAttrsRequestProto::mutable_src() {
1559 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1561 inline ::std::string* GetXAttrsRequestProto::release_src() {
1564 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1566 inline void GetXAttrsRequestProto::set_allocated_src(::std::string* src) {
1572 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1577 inline int GetXAttrsRequestProto::xattrs_size()
const {
1578 return xattrs_.size();
1580 inline void GetXAttrsRequestProto::clear_xattrs() {
1583 inline const ::hadoop::hdfs::XAttrProto& GetXAttrsRequestProto::xattrs(
int index)
const {
1585 return xattrs_.Get(index);
1587 inline ::hadoop::hdfs::XAttrProto* GetXAttrsRequestProto::mutable_xattrs(
int index) {
1589 return xattrs_.Mutable(index);
1591 inline ::hadoop::hdfs::XAttrProto* GetXAttrsRequestProto::add_xattrs() {
1593 return xattrs_.Add();
1595 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
1596 GetXAttrsRequestProto::mutable_xattrs() {
1600 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
1601 GetXAttrsRequestProto::xattrs()
const {
1611 inline int GetXAttrsResponseProto::xattrs_size()
const {
1612 return xattrs_.size();
1614 inline void GetXAttrsResponseProto::clear_xattrs() {
1617 inline const ::hadoop::hdfs::XAttrProto& GetXAttrsResponseProto::xattrs(
int index)
const {
1619 return xattrs_.Get(index);
1621 inline ::hadoop::hdfs::XAttrProto* GetXAttrsResponseProto::mutable_xattrs(
int index) {
1623 return xattrs_.Mutable(index);
1625 inline ::hadoop::hdfs::XAttrProto* GetXAttrsResponseProto::add_xattrs() {
1627 return xattrs_.Add();
1629 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
1630 GetXAttrsResponseProto::mutable_xattrs() {
1634 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
1635 GetXAttrsResponseProto::xattrs()
const {
1645 inline bool ListXAttrsRequestProto::has_src()
const {
1646 return (_has_bits_[0] & 0x00000001u) != 0;
1648 inline void ListXAttrsRequestProto::set_has_src() {
1649 _has_bits_[0] |= 0x00000001u;
1651 inline void ListXAttrsRequestProto::clear_has_src() {
1652 _has_bits_[0] &= ~0x00000001u;
1654 inline void ListXAttrsRequestProto::clear_src() {
1655 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1658 inline const ::std::string& ListXAttrsRequestProto::src()
const {
1660 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1662 inline void ListXAttrsRequestProto::set_src(const ::std::string& value) {
1664 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1667 inline void ListXAttrsRequestProto::set_src(
const char* value) {
1669 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1672 inline void ListXAttrsRequestProto::set_src(
const char* value,
size_t size) {
1674 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1675 ::std::string(reinterpret_cast<const char*>(value), size));
1678 inline ::std::string* ListXAttrsRequestProto::mutable_src() {
1681 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1683 inline ::std::string* ListXAttrsRequestProto::release_src() {
1686 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1688 inline void ListXAttrsRequestProto::set_allocated_src(::std::string* src) {
1694 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1703 inline int ListXAttrsResponseProto::xattrs_size()
const {
1704 return xattrs_.size();
1706 inline void ListXAttrsResponseProto::clear_xattrs() {
1709 inline const ::hadoop::hdfs::XAttrProto& ListXAttrsResponseProto::xattrs(
int index)
const {
1711 return xattrs_.Get(index);
1713 inline ::hadoop::hdfs::XAttrProto* ListXAttrsResponseProto::mutable_xattrs(
int index) {
1715 return xattrs_.Mutable(index);
1717 inline ::hadoop::hdfs::XAttrProto* ListXAttrsResponseProto::add_xattrs() {
1719 return xattrs_.Add();
1721 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
1722 ListXAttrsResponseProto::mutable_xattrs() {
1726 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
1727 ListXAttrsResponseProto::xattrs()
const {
1737 inline bool RemoveXAttrRequestProto::has_src()
const {
1738 return (_has_bits_[0] & 0x00000001u) != 0;
1740 inline void RemoveXAttrRequestProto::set_has_src() {
1741 _has_bits_[0] |= 0x00000001u;
1743 inline void RemoveXAttrRequestProto::clear_has_src() {
1744 _has_bits_[0] &= ~0x00000001u;
1746 inline void RemoveXAttrRequestProto::clear_src() {
1747 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1750 inline const ::std::string& RemoveXAttrRequestProto::src()
const {
1752 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1754 inline void RemoveXAttrRequestProto::set_src(const ::std::string& value) {
1756 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1759 inline void RemoveXAttrRequestProto::set_src(
const char* value) {
1761 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1764 inline void RemoveXAttrRequestProto::set_src(
const char* value,
size_t size) {
1766 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1767 ::std::string(reinterpret_cast<const char*>(value), size));
1770 inline ::std::string* RemoveXAttrRequestProto::mutable_src() {
1773 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1775 inline ::std::string* RemoveXAttrRequestProto::release_src() {
1778 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1780 inline void RemoveXAttrRequestProto::set_allocated_src(::std::string* src) {
1786 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1791 inline bool RemoveXAttrRequestProto::has_xattr()
const {
1792 return (_has_bits_[0] & 0x00000002u) != 0;
1794 inline void RemoveXAttrRequestProto::set_has_xattr() {
1795 _has_bits_[0] |= 0x00000002u;
1797 inline void RemoveXAttrRequestProto::clear_has_xattr() {
1798 _has_bits_[0] &= ~0x00000002u;
1800 inline void RemoveXAttrRequestProto::clear_xattr() {
1801 if (xattr_ != NULL) xattr_->::hadoop::hdfs::XAttrProto::Clear();
1804 inline const ::hadoop::hdfs::XAttrProto& RemoveXAttrRequestProto::xattr()
const {
1806 return xattr_ != NULL ? *xattr_ : *default_instance_->xattr_;
1808 inline ::hadoop::hdfs::XAttrProto* RemoveXAttrRequestProto::mutable_xattr() {
1810 if (xattr_ == NULL) {
1811 xattr_ = new ::hadoop::hdfs::XAttrProto;
1816 inline ::hadoop::hdfs::XAttrProto* RemoveXAttrRequestProto::release_xattr() {
1838 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1865 namespace protobuf {
1867 template <>
struct is_proto_enum< ::hadoop::hdfs::XAttrProto_XAttrNamespaceProto> : ::google::protobuf::internal::true_type {};
1869 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::XAttrProto_XAttrNamespaceProto>() {
1870 return ::hadoop::hdfs::XAttrProto_XAttrNamespaceProto_descriptor();
1872 template <>
struct is_proto_enum< ::hadoop::hdfs::XAttrSetFlagProto> : ::google::protobuf::internal::true_type {};
1874 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::XAttrSetFlagProto>() {
1875 return ::hadoop::hdfs::XAttrSetFlagProto_descriptor();
1884 #endif // PROTOBUF_xattr_2eproto__INCLUDED
Definition: xattr.pb.h:95
Definition: xattr.pb.h:872
Definition: xattr.pb.h:253
Definition: xattr.pb.h:567
Definition: xattr.pb.h:968
Definition: xattr.pb.h:484
Definition: xattr.pb.h:774
Definition: xattr.pb.h:678
Definition: xattr.pb.h:364
Definition: xattr.pb.h:1078