4 #ifndef PROTOBUF_acl_2eproto__INCLUDED
5 #define PROTOBUF_acl_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>
38 void protobuf_AddDesc_acl_2eproto();
39 void protobuf_AssignDesc_acl_2eproto();
40 void protobuf_ShutdownFile_acl_2eproto();
42 class AclEditLogProto;
45 class GetAclStatusRequestProto;
46 class GetAclStatusResponseProto;
47 class ModifyAclEntriesRequestProto;
48 class ModifyAclEntriesResponseProto;
49 class RemoveAclEntriesRequestProto;
50 class RemoveAclEntriesResponseProto;
51 class RemoveAclRequestProto;
52 class RemoveAclResponseProto;
53 class RemoveDefaultAclRequestProto;
54 class RemoveDefaultAclResponseProto;
55 class SetAclRequestProto;
56 class SetAclResponseProto;
58 enum AclEntryProto_AclEntryScopeProto {
59 AclEntryProto_AclEntryScopeProto_ACCESS = 0,
60 AclEntryProto_AclEntryScopeProto_DEFAULT = 1
62 bool AclEntryProto_AclEntryScopeProto_IsValid(
int value);
63 const AclEntryProto_AclEntryScopeProto AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_MIN = AclEntryProto_AclEntryScopeProto_ACCESS;
64 const AclEntryProto_AclEntryScopeProto AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_MAX = AclEntryProto_AclEntryScopeProto_DEFAULT;
65 const int AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_ARRAYSIZE = AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_MAX + 1;
67 const ::google::protobuf::EnumDescriptor* AclEntryProto_AclEntryScopeProto_descriptor();
68 inline const ::std::string& AclEntryProto_AclEntryScopeProto_Name(AclEntryProto_AclEntryScopeProto value) {
69 return ::google::protobuf::internal::NameOfEnum(
70 AclEntryProto_AclEntryScopeProto_descriptor(), value);
72 inline bool AclEntryProto_AclEntryScopeProto_Parse(
73 const ::std::string& name, AclEntryProto_AclEntryScopeProto* value) {
74 return ::google::protobuf::internal::ParseNamedEnum<AclEntryProto_AclEntryScopeProto>(
75 AclEntryProto_AclEntryScopeProto_descriptor(), name, value);
77 enum AclEntryProto_AclEntryTypeProto {
78 AclEntryProto_AclEntryTypeProto_USER = 0,
79 AclEntryProto_AclEntryTypeProto_GROUP = 1,
80 AclEntryProto_AclEntryTypeProto_MASK = 2,
81 AclEntryProto_AclEntryTypeProto_OTHER = 3
83 bool AclEntryProto_AclEntryTypeProto_IsValid(
int value);
84 const AclEntryProto_AclEntryTypeProto AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_MIN = AclEntryProto_AclEntryTypeProto_USER;
85 const AclEntryProto_AclEntryTypeProto AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_MAX = AclEntryProto_AclEntryTypeProto_OTHER;
86 const int AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_ARRAYSIZE = AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_MAX + 1;
88 const ::google::protobuf::EnumDescriptor* AclEntryProto_AclEntryTypeProto_descriptor();
89 inline const ::std::string& AclEntryProto_AclEntryTypeProto_Name(AclEntryProto_AclEntryTypeProto value) {
90 return ::google::protobuf::internal::NameOfEnum(
91 AclEntryProto_AclEntryTypeProto_descriptor(), value);
93 inline bool AclEntryProto_AclEntryTypeProto_Parse(
94 const ::std::string& name, AclEntryProto_AclEntryTypeProto* value) {
95 return ::google::protobuf::internal::ParseNamedEnum<AclEntryProto_AclEntryTypeProto>(
96 AclEntryProto_AclEntryTypeProto_descriptor(), name, value);
98 enum AclEntryProto_FsActionProto {
99 AclEntryProto_FsActionProto_NONE = 0,
100 AclEntryProto_FsActionProto_EXECUTE = 1,
101 AclEntryProto_FsActionProto_WRITE = 2,
102 AclEntryProto_FsActionProto_WRITE_EXECUTE = 3,
103 AclEntryProto_FsActionProto_READ = 4,
104 AclEntryProto_FsActionProto_READ_EXECUTE = 5,
105 AclEntryProto_FsActionProto_READ_WRITE = 6,
106 AclEntryProto_FsActionProto_PERM_ALL = 7
108 bool AclEntryProto_FsActionProto_IsValid(
int value);
109 const AclEntryProto_FsActionProto AclEntryProto_FsActionProto_FsActionProto_MIN = AclEntryProto_FsActionProto_NONE;
110 const AclEntryProto_FsActionProto AclEntryProto_FsActionProto_FsActionProto_MAX = AclEntryProto_FsActionProto_PERM_ALL;
111 const int AclEntryProto_FsActionProto_FsActionProto_ARRAYSIZE = AclEntryProto_FsActionProto_FsActionProto_MAX + 1;
113 const ::google::protobuf::EnumDescriptor* AclEntryProto_FsActionProto_descriptor();
114 inline const ::std::string& AclEntryProto_FsActionProto_Name(AclEntryProto_FsActionProto value) {
115 return ::google::protobuf::internal::NameOfEnum(
116 AclEntryProto_FsActionProto_descriptor(), value);
118 inline bool AclEntryProto_FsActionProto_Parse(
119 const ::std::string& name, AclEntryProto_FsActionProto* value) {
120 return ::google::protobuf::internal::ParseNamedEnum<AclEntryProto_FsActionProto>(
121 AclEntryProto_FsActionProto_descriptor(), name, value);
137 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
138 return _internal_metadata_.unknown_fields();
141 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
142 return _internal_metadata_.mutable_unknown_fields();
145 static const ::google::protobuf::Descriptor* descriptor();
155 void CopyFrom(const ::google::protobuf::Message& from);
156 void MergeFrom(const ::google::protobuf::Message& from);
160 bool IsInitialized()
const;
162 int ByteSize()
const;
163 bool MergePartialFromCodedStream(
164 ::google::protobuf::io::CodedInputStream* input);
165 void SerializeWithCachedSizes(
166 ::google::protobuf::io::CodedOutputStream* output)
const;
167 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
168 bool deterministic, ::google::protobuf::uint8* output)
const;
169 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
170 return InternalSerializeWithCachedSizesToArray(
false, output);
172 int GetCachedSize()
const {
return _cached_size_; }
176 void SetCachedSize(
int size)
const;
179 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
180 return _internal_metadata_.arena();
182 inline void* MaybeArenaPtr()
const {
183 return _internal_metadata_.raw_arena_ptr();
187 ::google::protobuf::Metadata GetMetadata()
const;
191 typedef AclEntryProto_AclEntryScopeProto AclEntryScopeProto;
192 static const AclEntryScopeProto ACCESS =
193 AclEntryProto_AclEntryScopeProto_ACCESS;
194 static const AclEntryScopeProto DEFAULT =
195 AclEntryProto_AclEntryScopeProto_DEFAULT;
196 static inline bool AclEntryScopeProto_IsValid(
int value) {
197 return AclEntryProto_AclEntryScopeProto_IsValid(value);
199 static const AclEntryScopeProto AclEntryScopeProto_MIN =
200 AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_MIN;
201 static const AclEntryScopeProto AclEntryScopeProto_MAX =
202 AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_MAX;
203 static const int AclEntryScopeProto_ARRAYSIZE =
204 AclEntryProto_AclEntryScopeProto_AclEntryScopeProto_ARRAYSIZE;
205 static inline const ::google::protobuf::EnumDescriptor*
206 AclEntryScopeProto_descriptor() {
207 return AclEntryProto_AclEntryScopeProto_descriptor();
209 static inline const ::std::string& AclEntryScopeProto_Name(AclEntryScopeProto value) {
210 return AclEntryProto_AclEntryScopeProto_Name(value);
212 static inline bool AclEntryScopeProto_Parse(const ::std::string& name,
213 AclEntryScopeProto* value) {
214 return AclEntryProto_AclEntryScopeProto_Parse(name, value);
217 typedef AclEntryProto_AclEntryTypeProto AclEntryTypeProto;
218 static const AclEntryTypeProto USER =
219 AclEntryProto_AclEntryTypeProto_USER;
220 static const AclEntryTypeProto GROUP =
221 AclEntryProto_AclEntryTypeProto_GROUP;
222 static const AclEntryTypeProto MASK =
223 AclEntryProto_AclEntryTypeProto_MASK;
224 static const AclEntryTypeProto OTHER =
225 AclEntryProto_AclEntryTypeProto_OTHER;
226 static inline bool AclEntryTypeProto_IsValid(
int value) {
227 return AclEntryProto_AclEntryTypeProto_IsValid(value);
229 static const AclEntryTypeProto AclEntryTypeProto_MIN =
230 AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_MIN;
231 static const AclEntryTypeProto AclEntryTypeProto_MAX =
232 AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_MAX;
233 static const int AclEntryTypeProto_ARRAYSIZE =
234 AclEntryProto_AclEntryTypeProto_AclEntryTypeProto_ARRAYSIZE;
235 static inline const ::google::protobuf::EnumDescriptor*
236 AclEntryTypeProto_descriptor() {
237 return AclEntryProto_AclEntryTypeProto_descriptor();
239 static inline const ::std::string& AclEntryTypeProto_Name(AclEntryTypeProto value) {
240 return AclEntryProto_AclEntryTypeProto_Name(value);
242 static inline bool AclEntryTypeProto_Parse(const ::std::string& name,
243 AclEntryTypeProto* value) {
244 return AclEntryProto_AclEntryTypeProto_Parse(name, value);
247 typedef AclEntryProto_FsActionProto FsActionProto;
248 static const FsActionProto NONE =
249 AclEntryProto_FsActionProto_NONE;
250 static const FsActionProto EXECUTE =
251 AclEntryProto_FsActionProto_EXECUTE;
252 static const FsActionProto WRITE =
253 AclEntryProto_FsActionProto_WRITE;
254 static const FsActionProto WRITE_EXECUTE =
255 AclEntryProto_FsActionProto_WRITE_EXECUTE;
256 static const FsActionProto READ =
257 AclEntryProto_FsActionProto_READ;
258 static const FsActionProto READ_EXECUTE =
259 AclEntryProto_FsActionProto_READ_EXECUTE;
260 static const FsActionProto READ_WRITE =
261 AclEntryProto_FsActionProto_READ_WRITE;
262 static const FsActionProto PERM_ALL =
263 AclEntryProto_FsActionProto_PERM_ALL;
264 static inline bool FsActionProto_IsValid(
int value) {
265 return AclEntryProto_FsActionProto_IsValid(value);
267 static const FsActionProto FsActionProto_MIN =
268 AclEntryProto_FsActionProto_FsActionProto_MIN;
269 static const FsActionProto FsActionProto_MAX =
270 AclEntryProto_FsActionProto_FsActionProto_MAX;
271 static const int FsActionProto_ARRAYSIZE =
272 AclEntryProto_FsActionProto_FsActionProto_ARRAYSIZE;
273 static inline const ::google::protobuf::EnumDescriptor*
274 FsActionProto_descriptor() {
275 return AclEntryProto_FsActionProto_descriptor();
277 static inline const ::std::string& FsActionProto_Name(FsActionProto value) {
278 return AclEntryProto_FsActionProto_Name(value);
280 static inline bool FsActionProto_Parse(const ::std::string& name,
281 FsActionProto* value) {
282 return AclEntryProto_FsActionProto_Parse(name, value);
288 bool has_type()
const;
290 static const int kTypeFieldNumber = 1;
291 ::hadoop::hdfs::AclEntryProto_AclEntryTypeProto type()
const;
292 void set_type(::hadoop::hdfs::AclEntryProto_AclEntryTypeProto value);
295 bool has_scope()
const;
297 static const int kScopeFieldNumber = 2;
298 ::hadoop::hdfs::AclEntryProto_AclEntryScopeProto scope()
const;
299 void set_scope(::hadoop::hdfs::AclEntryProto_AclEntryScopeProto value);
302 bool has_permissions()
const;
303 void clear_permissions();
304 static const int kPermissionsFieldNumber = 3;
305 ::hadoop::hdfs::AclEntryProto_FsActionProto permissions()
const;
306 void set_permissions(::hadoop::hdfs::AclEntryProto_FsActionProto value);
309 bool has_name()
const;
311 static const int kNameFieldNumber = 4;
312 const ::std::string& name()
const;
313 void set_name(const ::std::string& value);
314 void set_name(
const char* value);
315 void set_name(
const char* value,
size_t size);
316 ::std::string* mutable_name();
317 ::std::string* release_name();
318 void set_allocated_name(::std::string* name);
322 inline void set_has_type();
323 inline void clear_has_type();
324 inline void set_has_scope();
325 inline void clear_has_scope();
326 inline void set_has_permissions();
327 inline void clear_has_permissions();
328 inline void set_has_name();
329 inline void clear_has_name();
332 int RequiredFieldsByteSizeFallback()
const;
334 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
335 ::google::protobuf::uint32 _has_bits_[1];
336 mutable int _cached_size_;
339 ::google::protobuf::internal::ArenaStringPtr name_;
341 friend void protobuf_AddDesc_acl_2eproto();
342 friend void protobuf_AssignDesc_acl_2eproto();
343 friend void protobuf_ShutdownFile_acl_2eproto();
345 void InitAsDefaultInstance();
362 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
363 return _internal_metadata_.unknown_fields();
366 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
367 return _internal_metadata_.mutable_unknown_fields();
370 static const ::google::protobuf::Descriptor* descriptor();
380 void CopyFrom(const ::google::protobuf::Message& from);
381 void MergeFrom(const ::google::protobuf::Message& from);
385 bool IsInitialized()
const;
387 int ByteSize()
const;
388 bool MergePartialFromCodedStream(
389 ::google::protobuf::io::CodedInputStream* input);
390 void SerializeWithCachedSizes(
391 ::google::protobuf::io::CodedOutputStream* output)
const;
392 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
393 bool deterministic, ::google::protobuf::uint8* output)
const;
394 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
395 return InternalSerializeWithCachedSizesToArray(
false, output);
397 int GetCachedSize()
const {
return _cached_size_; }
401 void SetCachedSize(
int size)
const;
404 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
405 return _internal_metadata_.arena();
407 inline void* MaybeArenaPtr()
const {
408 return _internal_metadata_.raw_arena_ptr();
412 ::google::protobuf::Metadata GetMetadata()
const;
419 bool has_owner()
const;
421 static const int kOwnerFieldNumber = 1;
422 const ::std::string& owner()
const;
423 void set_owner(const ::std::string& value);
424 void set_owner(
const char* value);
425 void set_owner(
const char* value,
size_t size);
426 ::std::string* mutable_owner();
427 ::std::string* release_owner();
428 void set_allocated_owner(::std::string* owner);
431 bool has_group()
const;
433 static const int kGroupFieldNumber = 2;
434 const ::std::string& group()
const;
435 void set_group(const ::std::string& value);
436 void set_group(
const char* value);
437 void set_group(
const char* value,
size_t size);
438 ::std::string* mutable_group();
439 ::std::string* release_group();
440 void set_allocated_group(::std::string* group);
443 bool has_sticky()
const;
445 static const int kStickyFieldNumber = 3;
447 void set_sticky(
bool value);
450 int entries_size()
const;
451 void clear_entries();
452 static const int kEntriesFieldNumber = 4;
453 const ::hadoop::hdfs::AclEntryProto& entries(
int index)
const;
456 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
458 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
462 bool has_permission()
const;
463 void clear_permission();
464 static const int kPermissionFieldNumber = 5;
465 const ::hadoop::hdfs::FsPermissionProto& permission()
const;
472 inline void set_has_owner();
473 inline void clear_has_owner();
474 inline void set_has_group();
475 inline void clear_has_group();
476 inline void set_has_sticky();
477 inline void clear_has_sticky();
478 inline void set_has_permission();
479 inline void clear_has_permission();
482 int RequiredFieldsByteSizeFallback()
const;
484 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
485 ::google::protobuf::uint32 _has_bits_[1];
486 mutable int _cached_size_;
487 ::google::protobuf::internal::ArenaStringPtr owner_;
488 ::google::protobuf::internal::ArenaStringPtr group_;
489 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto > entries_;
492 friend void protobuf_AddDesc_acl_2eproto();
493 friend void protobuf_AssignDesc_acl_2eproto();
494 friend void protobuf_ShutdownFile_acl_2eproto();
496 void InitAsDefaultInstance();
513 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
514 return _internal_metadata_.unknown_fields();
517 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
518 return _internal_metadata_.mutable_unknown_fields();
521 static const ::google::protobuf::Descriptor* descriptor();
531 void CopyFrom(const ::google::protobuf::Message& from);
532 void MergeFrom(const ::google::protobuf::Message& from);
536 bool IsInitialized()
const;
538 int ByteSize()
const;
539 bool MergePartialFromCodedStream(
540 ::google::protobuf::io::CodedInputStream* input);
541 void SerializeWithCachedSizes(
542 ::google::protobuf::io::CodedOutputStream* output)
const;
543 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
544 bool deterministic, ::google::protobuf::uint8* output)
const;
545 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
546 return InternalSerializeWithCachedSizesToArray(
false, output);
548 int GetCachedSize()
const {
return _cached_size_; }
552 void SetCachedSize(
int size)
const;
555 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
556 return _internal_metadata_.arena();
558 inline void* MaybeArenaPtr()
const {
559 return _internal_metadata_.raw_arena_ptr();
563 ::google::protobuf::Metadata GetMetadata()
const;
570 bool has_src()
const;
572 static const int kSrcFieldNumber = 1;
573 const ::std::string& src()
const;
574 void set_src(const ::std::string& value);
575 void set_src(
const char* value);
576 void set_src(
const char* value,
size_t size);
577 ::std::string* mutable_src();
578 ::std::string* release_src();
579 void set_allocated_src(::std::string* src);
582 int entries_size()
const;
583 void clear_entries();
584 static const int kEntriesFieldNumber = 2;
585 const ::hadoop::hdfs::AclEntryProto& entries(
int index)
const;
588 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
590 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
595 inline void set_has_src();
596 inline void clear_has_src();
598 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
599 ::google::protobuf::uint32 _has_bits_[1];
600 mutable int _cached_size_;
601 ::google::protobuf::internal::ArenaStringPtr src_;
602 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto > entries_;
603 friend void protobuf_AddDesc_acl_2eproto();
604 friend void protobuf_AssignDesc_acl_2eproto();
605 friend void protobuf_ShutdownFile_acl_2eproto();
607 void InitAsDefaultInstance();
624 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
625 return _internal_metadata_.unknown_fields();
628 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
629 return _internal_metadata_.mutable_unknown_fields();
632 static const ::google::protobuf::Descriptor* descriptor();
642 void CopyFrom(const ::google::protobuf::Message& from);
643 void MergeFrom(const ::google::protobuf::Message& from);
647 bool IsInitialized()
const;
649 int ByteSize()
const;
650 bool MergePartialFromCodedStream(
651 ::google::protobuf::io::CodedInputStream* input);
652 void SerializeWithCachedSizes(
653 ::google::protobuf::io::CodedOutputStream* output)
const;
654 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
655 bool deterministic, ::google::protobuf::uint8* output)
const;
656 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
657 return InternalSerializeWithCachedSizesToArray(
false, output);
659 int GetCachedSize()
const {
return _cached_size_; }
663 void SetCachedSize(
int size)
const;
666 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
667 return _internal_metadata_.arena();
669 inline void* MaybeArenaPtr()
const {
670 return _internal_metadata_.raw_arena_ptr();
674 ::google::protobuf::Metadata GetMetadata()
const;
681 bool has_src()
const;
683 static const int kSrcFieldNumber = 1;
684 const ::std::string& src()
const;
685 void set_src(const ::std::string& value);
686 void set_src(
const char* value);
687 void set_src(
const char* value,
size_t size);
688 ::std::string* mutable_src();
689 ::std::string* release_src();
690 void set_allocated_src(::std::string* src);
693 int aclspec_size()
const;
694 void clear_aclspec();
695 static const int kAclSpecFieldNumber = 2;
696 const ::hadoop::hdfs::AclEntryProto& aclspec(
int index)
const;
699 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
701 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
706 inline void set_has_src();
707 inline void clear_has_src();
709 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
710 ::google::protobuf::uint32 _has_bits_[1];
711 mutable int _cached_size_;
712 ::google::protobuf::internal::ArenaStringPtr src_;
713 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto > aclspec_;
714 friend void protobuf_AddDesc_acl_2eproto();
715 friend void protobuf_AssignDesc_acl_2eproto();
716 friend void protobuf_ShutdownFile_acl_2eproto();
718 void InitAsDefaultInstance();
735 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
736 return _internal_metadata_.unknown_fields();
739 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
740 return _internal_metadata_.mutable_unknown_fields();
743 static const ::google::protobuf::Descriptor* descriptor();
753 void CopyFrom(const ::google::protobuf::Message& from);
754 void MergeFrom(const ::google::protobuf::Message& from);
758 bool IsInitialized()
const;
760 int ByteSize()
const;
761 bool MergePartialFromCodedStream(
762 ::google::protobuf::io::CodedInputStream* input);
763 void SerializeWithCachedSizes(
764 ::google::protobuf::io::CodedOutputStream* output)
const;
765 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
766 bool deterministic, ::google::protobuf::uint8* output)
const;
767 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
768 return InternalSerializeWithCachedSizesToArray(
false, output);
770 int GetCachedSize()
const {
return _cached_size_; }
774 void SetCachedSize(
int size)
const;
777 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
778 return _internal_metadata_.arena();
780 inline void* MaybeArenaPtr()
const {
781 return _internal_metadata_.raw_arena_ptr();
785 ::google::protobuf::Metadata GetMetadata()
const;
794 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
795 ::google::protobuf::uint32 _has_bits_[1];
796 mutable int _cached_size_;
797 friend void protobuf_AddDesc_acl_2eproto();
798 friend void protobuf_AssignDesc_acl_2eproto();
799 friend void protobuf_ShutdownFile_acl_2eproto();
801 void InitAsDefaultInstance();
818 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
819 return _internal_metadata_.unknown_fields();
822 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
823 return _internal_metadata_.mutable_unknown_fields();
826 static const ::google::protobuf::Descriptor* descriptor();
836 void CopyFrom(const ::google::protobuf::Message& from);
837 void MergeFrom(const ::google::protobuf::Message& from);
841 bool IsInitialized()
const;
843 int ByteSize()
const;
844 bool MergePartialFromCodedStream(
845 ::google::protobuf::io::CodedInputStream* input);
846 void SerializeWithCachedSizes(
847 ::google::protobuf::io::CodedOutputStream* output)
const;
848 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
849 bool deterministic, ::google::protobuf::uint8* output)
const;
850 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
851 return InternalSerializeWithCachedSizesToArray(
false, output);
853 int GetCachedSize()
const {
return _cached_size_; }
857 void SetCachedSize(
int size)
const;
860 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
861 return _internal_metadata_.arena();
863 inline void* MaybeArenaPtr()
const {
864 return _internal_metadata_.raw_arena_ptr();
868 ::google::protobuf::Metadata GetMetadata()
const;
875 bool has_src()
const;
877 static const int kSrcFieldNumber = 1;
878 const ::std::string& src()
const;
879 void set_src(const ::std::string& value);
880 void set_src(
const char* value);
881 void set_src(
const char* value,
size_t size);
882 ::std::string* mutable_src();
883 ::std::string* release_src();
884 void set_allocated_src(::std::string* src);
888 inline void set_has_src();
889 inline void clear_has_src();
891 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
892 ::google::protobuf::uint32 _has_bits_[1];
893 mutable int _cached_size_;
894 ::google::protobuf::internal::ArenaStringPtr src_;
895 friend void protobuf_AddDesc_acl_2eproto();
896 friend void protobuf_AssignDesc_acl_2eproto();
897 friend void protobuf_ShutdownFile_acl_2eproto();
899 void InitAsDefaultInstance();
916 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
917 return _internal_metadata_.unknown_fields();
920 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
921 return _internal_metadata_.mutable_unknown_fields();
924 static const ::google::protobuf::Descriptor* descriptor();
934 void CopyFrom(const ::google::protobuf::Message& from);
935 void MergeFrom(const ::google::protobuf::Message& from);
939 bool IsInitialized()
const;
941 int ByteSize()
const;
942 bool MergePartialFromCodedStream(
943 ::google::protobuf::io::CodedInputStream* input);
944 void SerializeWithCachedSizes(
945 ::google::protobuf::io::CodedOutputStream* output)
const;
946 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
947 bool deterministic, ::google::protobuf::uint8* output)
const;
948 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
949 return InternalSerializeWithCachedSizesToArray(
false, output);
951 int GetCachedSize()
const {
return _cached_size_; }
955 void SetCachedSize(
int size)
const;
958 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
959 return _internal_metadata_.arena();
961 inline void* MaybeArenaPtr()
const {
962 return _internal_metadata_.raw_arena_ptr();
966 ::google::protobuf::Metadata GetMetadata()
const;
975 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
976 ::google::protobuf::uint32 _has_bits_[1];
977 mutable int _cached_size_;
978 friend void protobuf_AddDesc_acl_2eproto();
979 friend void protobuf_AssignDesc_acl_2eproto();
980 friend void protobuf_ShutdownFile_acl_2eproto();
982 void InitAsDefaultInstance();
999 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1000 return _internal_metadata_.unknown_fields();
1003 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1004 return _internal_metadata_.mutable_unknown_fields();
1007 static const ::google::protobuf::Descriptor* descriptor();
1017 void CopyFrom(const ::google::protobuf::Message& from);
1018 void MergeFrom(const ::google::protobuf::Message& from);
1022 bool IsInitialized()
const;
1024 int ByteSize()
const;
1025 bool MergePartialFromCodedStream(
1026 ::google::protobuf::io::CodedInputStream* input);
1027 void SerializeWithCachedSizes(
1028 ::google::protobuf::io::CodedOutputStream* output)
const;
1029 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1030 bool deterministic, ::google::protobuf::uint8* output)
const;
1031 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1032 return InternalSerializeWithCachedSizesToArray(
false, output);
1034 int GetCachedSize()
const {
return _cached_size_; }
1038 void SetCachedSize(
int size)
const;
1041 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1042 return _internal_metadata_.arena();
1044 inline void* MaybeArenaPtr()
const {
1045 return _internal_metadata_.raw_arena_ptr();
1049 ::google::protobuf::Metadata GetMetadata()
const;
1056 bool has_src()
const;
1058 static const int kSrcFieldNumber = 1;
1059 const ::std::string& src()
const;
1060 void set_src(const ::std::string& value);
1061 void set_src(
const char* value);
1062 void set_src(
const char* value,
size_t size);
1063 ::std::string* mutable_src();
1064 ::std::string* release_src();
1065 void set_allocated_src(::std::string* src);
1068 int aclspec_size()
const;
1069 void clear_aclspec();
1070 static const int kAclSpecFieldNumber = 2;
1071 const ::hadoop::hdfs::AclEntryProto& aclspec(
int index)
const;
1074 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
1076 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
1081 inline void set_has_src();
1082 inline void clear_has_src();
1084 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1085 ::google::protobuf::uint32 _has_bits_[1];
1086 mutable int _cached_size_;
1087 ::google::protobuf::internal::ArenaStringPtr src_;
1088 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto > aclspec_;
1089 friend void protobuf_AddDesc_acl_2eproto();
1090 friend void protobuf_AssignDesc_acl_2eproto();
1091 friend void protobuf_ShutdownFile_acl_2eproto();
1093 void InitAsDefaultInstance();
1110 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1111 return _internal_metadata_.unknown_fields();
1114 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1115 return _internal_metadata_.mutable_unknown_fields();
1118 static const ::google::protobuf::Descriptor* descriptor();
1128 void CopyFrom(const ::google::protobuf::Message& from);
1129 void MergeFrom(const ::google::protobuf::Message& from);
1133 bool IsInitialized()
const;
1135 int ByteSize()
const;
1136 bool MergePartialFromCodedStream(
1137 ::google::protobuf::io::CodedInputStream* input);
1138 void SerializeWithCachedSizes(
1139 ::google::protobuf::io::CodedOutputStream* output)
const;
1140 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1141 bool deterministic, ::google::protobuf::uint8* output)
const;
1142 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1143 return InternalSerializeWithCachedSizesToArray(
false, output);
1145 int GetCachedSize()
const {
return _cached_size_; }
1149 void SetCachedSize(
int size)
const;
1152 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1153 return _internal_metadata_.arena();
1155 inline void* MaybeArenaPtr()
const {
1156 return _internal_metadata_.raw_arena_ptr();
1160 ::google::protobuf::Metadata GetMetadata()
const;
1169 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1170 ::google::protobuf::uint32 _has_bits_[1];
1171 mutable int _cached_size_;
1172 friend void protobuf_AddDesc_acl_2eproto();
1173 friend void protobuf_AssignDesc_acl_2eproto();
1174 friend void protobuf_ShutdownFile_acl_2eproto();
1176 void InitAsDefaultInstance();
1193 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1194 return _internal_metadata_.unknown_fields();
1197 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1198 return _internal_metadata_.mutable_unknown_fields();
1201 static const ::google::protobuf::Descriptor* descriptor();
1211 void CopyFrom(const ::google::protobuf::Message& from);
1212 void MergeFrom(const ::google::protobuf::Message& from);
1216 bool IsInitialized()
const;
1218 int ByteSize()
const;
1219 bool MergePartialFromCodedStream(
1220 ::google::protobuf::io::CodedInputStream* input);
1221 void SerializeWithCachedSizes(
1222 ::google::protobuf::io::CodedOutputStream* output)
const;
1223 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1224 bool deterministic, ::google::protobuf::uint8* output)
const;
1225 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1226 return InternalSerializeWithCachedSizesToArray(
false, output);
1228 int GetCachedSize()
const {
return _cached_size_; }
1232 void SetCachedSize(
int size)
const;
1235 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1236 return _internal_metadata_.arena();
1238 inline void* MaybeArenaPtr()
const {
1239 return _internal_metadata_.raw_arena_ptr();
1243 ::google::protobuf::Metadata GetMetadata()
const;
1250 bool has_src()
const;
1252 static const int kSrcFieldNumber = 1;
1253 const ::std::string& src()
const;
1254 void set_src(const ::std::string& value);
1255 void set_src(
const char* value);
1256 void set_src(
const char* value,
size_t size);
1257 ::std::string* mutable_src();
1258 ::std::string* release_src();
1259 void set_allocated_src(::std::string* src);
1263 inline void set_has_src();
1264 inline void clear_has_src();
1266 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1267 ::google::protobuf::uint32 _has_bits_[1];
1268 mutable int _cached_size_;
1269 ::google::protobuf::internal::ArenaStringPtr src_;
1270 friend void protobuf_AddDesc_acl_2eproto();
1271 friend void protobuf_AssignDesc_acl_2eproto();
1272 friend void protobuf_ShutdownFile_acl_2eproto();
1274 void InitAsDefaultInstance();
1291 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1292 return _internal_metadata_.unknown_fields();
1295 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1296 return _internal_metadata_.mutable_unknown_fields();
1299 static const ::google::protobuf::Descriptor* descriptor();
1309 void CopyFrom(const ::google::protobuf::Message& from);
1310 void MergeFrom(const ::google::protobuf::Message& from);
1314 bool IsInitialized()
const;
1316 int ByteSize()
const;
1317 bool MergePartialFromCodedStream(
1318 ::google::protobuf::io::CodedInputStream* input);
1319 void SerializeWithCachedSizes(
1320 ::google::protobuf::io::CodedOutputStream* output)
const;
1321 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1322 bool deterministic, ::google::protobuf::uint8* output)
const;
1323 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1324 return InternalSerializeWithCachedSizesToArray(
false, output);
1326 int GetCachedSize()
const {
return _cached_size_; }
1330 void SetCachedSize(
int size)
const;
1333 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1334 return _internal_metadata_.arena();
1336 inline void* MaybeArenaPtr()
const {
1337 return _internal_metadata_.raw_arena_ptr();
1341 ::google::protobuf::Metadata GetMetadata()
const;
1350 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1351 ::google::protobuf::uint32 _has_bits_[1];
1352 mutable int _cached_size_;
1353 friend void protobuf_AddDesc_acl_2eproto();
1354 friend void protobuf_AssignDesc_acl_2eproto();
1355 friend void protobuf_ShutdownFile_acl_2eproto();
1357 void InitAsDefaultInstance();
1374 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1375 return _internal_metadata_.unknown_fields();
1378 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1379 return _internal_metadata_.mutable_unknown_fields();
1382 static const ::google::protobuf::Descriptor* descriptor();
1392 void CopyFrom(const ::google::protobuf::Message& from);
1393 void MergeFrom(const ::google::protobuf::Message& from);
1397 bool IsInitialized()
const;
1399 int ByteSize()
const;
1400 bool MergePartialFromCodedStream(
1401 ::google::protobuf::io::CodedInputStream* input);
1402 void SerializeWithCachedSizes(
1403 ::google::protobuf::io::CodedOutputStream* output)
const;
1404 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1405 bool deterministic, ::google::protobuf::uint8* output)
const;
1406 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1407 return InternalSerializeWithCachedSizesToArray(
false, output);
1409 int GetCachedSize()
const {
return _cached_size_; }
1413 void SetCachedSize(
int size)
const;
1416 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1417 return _internal_metadata_.arena();
1419 inline void* MaybeArenaPtr()
const {
1420 return _internal_metadata_.raw_arena_ptr();
1424 ::google::protobuf::Metadata GetMetadata()
const;
1431 bool has_src()
const;
1433 static const int kSrcFieldNumber = 1;
1434 const ::std::string& src()
const;
1435 void set_src(const ::std::string& value);
1436 void set_src(
const char* value);
1437 void set_src(
const char* value,
size_t size);
1438 ::std::string* mutable_src();
1439 ::std::string* release_src();
1440 void set_allocated_src(::std::string* src);
1443 int aclspec_size()
const;
1444 void clear_aclspec();
1445 static const int kAclSpecFieldNumber = 2;
1446 const ::hadoop::hdfs::AclEntryProto& aclspec(
int index)
const;
1449 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
1451 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
1456 inline void set_has_src();
1457 inline void clear_has_src();
1459 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1460 ::google::protobuf::uint32 _has_bits_[1];
1461 mutable int _cached_size_;
1462 ::google::protobuf::internal::ArenaStringPtr src_;
1463 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto > aclspec_;
1464 friend void protobuf_AddDesc_acl_2eproto();
1465 friend void protobuf_AssignDesc_acl_2eproto();
1466 friend void protobuf_ShutdownFile_acl_2eproto();
1468 void InitAsDefaultInstance();
1485 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1486 return _internal_metadata_.unknown_fields();
1489 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1490 return _internal_metadata_.mutable_unknown_fields();
1493 static const ::google::protobuf::Descriptor* descriptor();
1503 void CopyFrom(const ::google::protobuf::Message& from);
1504 void MergeFrom(const ::google::protobuf::Message& from);
1508 bool IsInitialized()
const;
1510 int ByteSize()
const;
1511 bool MergePartialFromCodedStream(
1512 ::google::protobuf::io::CodedInputStream* input);
1513 void SerializeWithCachedSizes(
1514 ::google::protobuf::io::CodedOutputStream* output)
const;
1515 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1516 bool deterministic, ::google::protobuf::uint8* output)
const;
1517 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1518 return InternalSerializeWithCachedSizesToArray(
false, output);
1520 int GetCachedSize()
const {
return _cached_size_; }
1524 void SetCachedSize(
int size)
const;
1527 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1528 return _internal_metadata_.arena();
1530 inline void* MaybeArenaPtr()
const {
1531 return _internal_metadata_.raw_arena_ptr();
1535 ::google::protobuf::Metadata GetMetadata()
const;
1544 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1545 ::google::protobuf::uint32 _has_bits_[1];
1546 mutable int _cached_size_;
1547 friend void protobuf_AddDesc_acl_2eproto();
1548 friend void protobuf_AssignDesc_acl_2eproto();
1549 friend void protobuf_ShutdownFile_acl_2eproto();
1551 void InitAsDefaultInstance();
1568 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1569 return _internal_metadata_.unknown_fields();
1572 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1573 return _internal_metadata_.mutable_unknown_fields();
1576 static const ::google::protobuf::Descriptor* descriptor();
1586 void CopyFrom(const ::google::protobuf::Message& from);
1587 void MergeFrom(const ::google::protobuf::Message& from);
1591 bool IsInitialized()
const;
1593 int ByteSize()
const;
1594 bool MergePartialFromCodedStream(
1595 ::google::protobuf::io::CodedInputStream* input);
1596 void SerializeWithCachedSizes(
1597 ::google::protobuf::io::CodedOutputStream* output)
const;
1598 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1599 bool deterministic, ::google::protobuf::uint8* output)
const;
1600 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1601 return InternalSerializeWithCachedSizesToArray(
false, output);
1603 int GetCachedSize()
const {
return _cached_size_; }
1607 void SetCachedSize(
int size)
const;
1610 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1611 return _internal_metadata_.arena();
1613 inline void* MaybeArenaPtr()
const {
1614 return _internal_metadata_.raw_arena_ptr();
1618 ::google::protobuf::Metadata GetMetadata()
const;
1625 bool has_src()
const;
1627 static const int kSrcFieldNumber = 1;
1628 const ::std::string& src()
const;
1629 void set_src(const ::std::string& value);
1630 void set_src(
const char* value);
1631 void set_src(
const char* value,
size_t size);
1632 ::std::string* mutable_src();
1633 ::std::string* release_src();
1634 void set_allocated_src(::std::string* src);
1638 inline void set_has_src();
1639 inline void clear_has_src();
1641 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1642 ::google::protobuf::uint32 _has_bits_[1];
1643 mutable int _cached_size_;
1644 ::google::protobuf::internal::ArenaStringPtr src_;
1645 friend void protobuf_AddDesc_acl_2eproto();
1646 friend void protobuf_AssignDesc_acl_2eproto();
1647 friend void protobuf_ShutdownFile_acl_2eproto();
1649 void InitAsDefaultInstance();
1666 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1667 return _internal_metadata_.unknown_fields();
1670 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1671 return _internal_metadata_.mutable_unknown_fields();
1674 static const ::google::protobuf::Descriptor* descriptor();
1684 void CopyFrom(const ::google::protobuf::Message& from);
1685 void MergeFrom(const ::google::protobuf::Message& from);
1689 bool IsInitialized()
const;
1691 int ByteSize()
const;
1692 bool MergePartialFromCodedStream(
1693 ::google::protobuf::io::CodedInputStream* input);
1694 void SerializeWithCachedSizes(
1695 ::google::protobuf::io::CodedOutputStream* output)
const;
1696 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1697 bool deterministic, ::google::protobuf::uint8* output)
const;
1698 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1699 return InternalSerializeWithCachedSizesToArray(
false, output);
1701 int GetCachedSize()
const {
return _cached_size_; }
1705 void SetCachedSize(
int size)
const;
1708 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1709 return _internal_metadata_.arena();
1711 inline void* MaybeArenaPtr()
const {
1712 return _internal_metadata_.raw_arena_ptr();
1716 ::google::protobuf::Metadata GetMetadata()
const;
1723 bool has_result()
const;
1724 void clear_result();
1725 static const int kResultFieldNumber = 1;
1726 const ::hadoop::hdfs::AclStatusProto& result()
const;
1733 inline void set_has_result();
1734 inline void clear_has_result();
1736 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1737 ::google::protobuf::uint32 _has_bits_[1];
1738 mutable int _cached_size_;
1740 friend void protobuf_AddDesc_acl_2eproto();
1741 friend void protobuf_AssignDesc_acl_2eproto();
1742 friend void protobuf_ShutdownFile_acl_2eproto();
1744 void InitAsDefaultInstance();
1752 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
1756 inline bool AclEntryProto::has_type()
const {
1757 return (_has_bits_[0] & 0x00000001u) != 0;
1759 inline void AclEntryProto::set_has_type() {
1760 _has_bits_[0] |= 0x00000001u;
1762 inline void AclEntryProto::clear_has_type() {
1763 _has_bits_[0] &= ~0x00000001u;
1765 inline void AclEntryProto::clear_type() {
1769 inline ::hadoop::hdfs::AclEntryProto_AclEntryTypeProto AclEntryProto::type()
const {
1771 return static_cast< ::hadoop::hdfs::AclEntryProto_AclEntryTypeProto
>(type_);
1773 inline void AclEntryProto::set_type(::hadoop::hdfs::AclEntryProto_AclEntryTypeProto value) {
1774 assert(::hadoop::hdfs::AclEntryProto_AclEntryTypeProto_IsValid(value));
1781 inline bool AclEntryProto::has_scope()
const {
1782 return (_has_bits_[0] & 0x00000002u) != 0;
1784 inline void AclEntryProto::set_has_scope() {
1785 _has_bits_[0] |= 0x00000002u;
1787 inline void AclEntryProto::clear_has_scope() {
1788 _has_bits_[0] &= ~0x00000002u;
1790 inline void AclEntryProto::clear_scope() {
1794 inline ::hadoop::hdfs::AclEntryProto_AclEntryScopeProto AclEntryProto::scope()
const {
1796 return static_cast< ::hadoop::hdfs::AclEntryProto_AclEntryScopeProto
>(scope_);
1798 inline void AclEntryProto::set_scope(::hadoop::hdfs::AclEntryProto_AclEntryScopeProto value) {
1799 assert(::hadoop::hdfs::AclEntryProto_AclEntryScopeProto_IsValid(value));
1806 inline bool AclEntryProto::has_permissions()
const {
1807 return (_has_bits_[0] & 0x00000004u) != 0;
1809 inline void AclEntryProto::set_has_permissions() {
1810 _has_bits_[0] |= 0x00000004u;
1812 inline void AclEntryProto::clear_has_permissions() {
1813 _has_bits_[0] &= ~0x00000004u;
1815 inline void AclEntryProto::clear_permissions() {
1817 clear_has_permissions();
1819 inline ::hadoop::hdfs::AclEntryProto_FsActionProto AclEntryProto::permissions()
const {
1821 return static_cast< ::hadoop::hdfs::AclEntryProto_FsActionProto
>(permissions_);
1823 inline void AclEntryProto::set_permissions(::hadoop::hdfs::AclEntryProto_FsActionProto value) {
1824 assert(::hadoop::hdfs::AclEntryProto_FsActionProto_IsValid(value));
1825 set_has_permissions();
1826 permissions_ = value;
1831 inline bool AclEntryProto::has_name()
const {
1832 return (_has_bits_[0] & 0x00000008u) != 0;
1834 inline void AclEntryProto::set_has_name() {
1835 _has_bits_[0] |= 0x00000008u;
1837 inline void AclEntryProto::clear_has_name() {
1838 _has_bits_[0] &= ~0x00000008u;
1840 inline void AclEntryProto::clear_name() {
1841 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1844 inline const ::std::string& AclEntryProto::name()
const {
1846 return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1848 inline void AclEntryProto::set_name(const ::std::string& value) {
1850 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1853 inline void AclEntryProto::set_name(
const char* value) {
1855 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1858 inline void AclEntryProto::set_name(
const char* value,
size_t size) {
1860 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1861 ::std::string(reinterpret_cast<const char*>(value), size));
1864 inline ::std::string* AclEntryProto::mutable_name() {
1867 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1869 inline ::std::string* AclEntryProto::release_name() {
1872 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1874 inline void AclEntryProto::set_allocated_name(::std::string* name) {
1880 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1889 inline bool AclStatusProto::has_owner()
const {
1890 return (_has_bits_[0] & 0x00000001u) != 0;
1892 inline void AclStatusProto::set_has_owner() {
1893 _has_bits_[0] |= 0x00000001u;
1895 inline void AclStatusProto::clear_has_owner() {
1896 _has_bits_[0] &= ~0x00000001u;
1898 inline void AclStatusProto::clear_owner() {
1899 owner_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1902 inline const ::std::string& AclStatusProto::owner()
const {
1904 return owner_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1906 inline void AclStatusProto::set_owner(const ::std::string& value) {
1908 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1911 inline void AclStatusProto::set_owner(
const char* value) {
1913 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1916 inline void AclStatusProto::set_owner(
const char* value,
size_t size) {
1918 owner_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1919 ::std::string(reinterpret_cast<const char*>(value), size));
1922 inline ::std::string* AclStatusProto::mutable_owner() {
1925 return owner_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1927 inline ::std::string* AclStatusProto::release_owner() {
1930 return owner_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1932 inline void AclStatusProto::set_allocated_owner(::std::string* owner) {
1933 if (owner != NULL) {
1938 owner_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), owner);
1943 inline bool AclStatusProto::has_group()
const {
1944 return (_has_bits_[0] & 0x00000002u) != 0;
1946 inline void AclStatusProto::set_has_group() {
1947 _has_bits_[0] |= 0x00000002u;
1949 inline void AclStatusProto::clear_has_group() {
1950 _has_bits_[0] &= ~0x00000002u;
1952 inline void AclStatusProto::clear_group() {
1953 group_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1956 inline const ::std::string& AclStatusProto::group()
const {
1958 return group_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1960 inline void AclStatusProto::set_group(const ::std::string& value) {
1962 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1965 inline void AclStatusProto::set_group(
const char* value) {
1967 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1970 inline void AclStatusProto::set_group(
const char* value,
size_t size) {
1972 group_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1973 ::std::string(reinterpret_cast<const char*>(value), size));
1976 inline ::std::string* AclStatusProto::mutable_group() {
1979 return group_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1981 inline ::std::string* AclStatusProto::release_group() {
1984 return group_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1986 inline void AclStatusProto::set_allocated_group(::std::string* group) {
1987 if (group != NULL) {
1992 group_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), group);
1997 inline bool AclStatusProto::has_sticky()
const {
1998 return (_has_bits_[0] & 0x00000004u) != 0;
2000 inline void AclStatusProto::set_has_sticky() {
2001 _has_bits_[0] |= 0x00000004u;
2003 inline void AclStatusProto::clear_has_sticky() {
2004 _has_bits_[0] &= ~0x00000004u;
2006 inline void AclStatusProto::clear_sticky() {
2010 inline bool AclStatusProto::sticky()
const {
2014 inline void AclStatusProto::set_sticky(
bool value) {
2021 inline int AclStatusProto::entries_size()
const {
2022 return entries_.size();
2024 inline void AclStatusProto::clear_entries() {
2027 inline const ::hadoop::hdfs::AclEntryProto& AclStatusProto::entries(
int index)
const {
2029 return entries_.Get(index);
2031 inline ::hadoop::hdfs::AclEntryProto* AclStatusProto::mutable_entries(
int index) {
2033 return entries_.Mutable(index);
2035 inline ::hadoop::hdfs::AclEntryProto* AclStatusProto::add_entries() {
2037 return entries_.Add();
2039 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
2040 AclStatusProto::mutable_entries() {
2044 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
2045 AclStatusProto::entries()
const {
2051 inline bool AclStatusProto::has_permission()
const {
2052 return (_has_bits_[0] & 0x00000010u) != 0;
2054 inline void AclStatusProto::set_has_permission() {
2055 _has_bits_[0] |= 0x00000010u;
2057 inline void AclStatusProto::clear_has_permission() {
2058 _has_bits_[0] &= ~0x00000010u;
2060 inline void AclStatusProto::clear_permission() {
2061 if (permission_ != NULL) permission_->::hadoop::hdfs::FsPermissionProto::Clear();
2062 clear_has_permission();
2064 inline const ::hadoop::hdfs::FsPermissionProto& AclStatusProto::permission()
const {
2066 return permission_ != NULL ? *permission_ : *default_instance_->permission_;
2068 inline ::hadoop::hdfs::FsPermissionProto* AclStatusProto::mutable_permission() {
2069 set_has_permission();
2070 if (permission_ == NULL) {
2071 permission_ = new ::hadoop::hdfs::FsPermissionProto;
2076 inline ::hadoop::hdfs::FsPermissionProto* AclStatusProto::release_permission() {
2078 clear_has_permission();
2085 permission_ = permission;
2087 set_has_permission();
2089 clear_has_permission();
2099 inline bool AclEditLogProto::has_src()
const {
2100 return (_has_bits_[0] & 0x00000001u) != 0;
2102 inline void AclEditLogProto::set_has_src() {
2103 _has_bits_[0] |= 0x00000001u;
2105 inline void AclEditLogProto::clear_has_src() {
2106 _has_bits_[0] &= ~0x00000001u;
2108 inline void AclEditLogProto::clear_src() {
2109 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2112 inline const ::std::string& AclEditLogProto::src()
const {
2114 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2116 inline void AclEditLogProto::set_src(const ::std::string& value) {
2118 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2121 inline void AclEditLogProto::set_src(
const char* value) {
2123 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2126 inline void AclEditLogProto::set_src(
const char* value,
size_t size) {
2128 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2129 ::std::string(reinterpret_cast<const char*>(value), size));
2132 inline ::std::string* AclEditLogProto::mutable_src() {
2135 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2137 inline ::std::string* AclEditLogProto::release_src() {
2140 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2142 inline void AclEditLogProto::set_allocated_src(::std::string* src) {
2148 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2153 inline int AclEditLogProto::entries_size()
const {
2154 return entries_.size();
2156 inline void AclEditLogProto::clear_entries() {
2159 inline const ::hadoop::hdfs::AclEntryProto& AclEditLogProto::entries(
int index)
const {
2161 return entries_.Get(index);
2163 inline ::hadoop::hdfs::AclEntryProto* AclEditLogProto::mutable_entries(
int index) {
2165 return entries_.Mutable(index);
2167 inline ::hadoop::hdfs::AclEntryProto* AclEditLogProto::add_entries() {
2169 return entries_.Add();
2171 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
2172 AclEditLogProto::mutable_entries() {
2176 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
2177 AclEditLogProto::entries()
const {
2187 inline bool ModifyAclEntriesRequestProto::has_src()
const {
2188 return (_has_bits_[0] & 0x00000001u) != 0;
2190 inline void ModifyAclEntriesRequestProto::set_has_src() {
2191 _has_bits_[0] |= 0x00000001u;
2193 inline void ModifyAclEntriesRequestProto::clear_has_src() {
2194 _has_bits_[0] &= ~0x00000001u;
2196 inline void ModifyAclEntriesRequestProto::clear_src() {
2197 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2200 inline const ::std::string& ModifyAclEntriesRequestProto::src()
const {
2202 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2204 inline void ModifyAclEntriesRequestProto::set_src(const ::std::string& value) {
2206 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2209 inline void ModifyAclEntriesRequestProto::set_src(
const char* value) {
2211 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2214 inline void ModifyAclEntriesRequestProto::set_src(
const char* value,
size_t size) {
2216 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2217 ::std::string(reinterpret_cast<const char*>(value), size));
2220 inline ::std::string* ModifyAclEntriesRequestProto::mutable_src() {
2223 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2225 inline ::std::string* ModifyAclEntriesRequestProto::release_src() {
2228 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2230 inline void ModifyAclEntriesRequestProto::set_allocated_src(::std::string* src) {
2236 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2241 inline int ModifyAclEntriesRequestProto::aclspec_size()
const {
2242 return aclspec_.size();
2244 inline void ModifyAclEntriesRequestProto::clear_aclspec() {
2247 inline const ::hadoop::hdfs::AclEntryProto& ModifyAclEntriesRequestProto::aclspec(
int index)
const {
2249 return aclspec_.Get(index);
2251 inline ::hadoop::hdfs::AclEntryProto* ModifyAclEntriesRequestProto::mutable_aclspec(
int index) {
2253 return aclspec_.Mutable(index);
2255 inline ::hadoop::hdfs::AclEntryProto* ModifyAclEntriesRequestProto::add_aclspec() {
2257 return aclspec_.Add();
2259 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
2260 ModifyAclEntriesRequestProto::mutable_aclspec() {
2264 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
2265 ModifyAclEntriesRequestProto::aclspec()
const {
2279 inline bool RemoveAclRequestProto::has_src()
const {
2280 return (_has_bits_[0] & 0x00000001u) != 0;
2282 inline void RemoveAclRequestProto::set_has_src() {
2283 _has_bits_[0] |= 0x00000001u;
2285 inline void RemoveAclRequestProto::clear_has_src() {
2286 _has_bits_[0] &= ~0x00000001u;
2288 inline void RemoveAclRequestProto::clear_src() {
2289 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2292 inline const ::std::string& RemoveAclRequestProto::src()
const {
2294 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2296 inline void RemoveAclRequestProto::set_src(const ::std::string& value) {
2298 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2301 inline void RemoveAclRequestProto::set_src(
const char* value) {
2303 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2306 inline void RemoveAclRequestProto::set_src(
const char* value,
size_t size) {
2308 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2309 ::std::string(reinterpret_cast<const char*>(value), size));
2312 inline ::std::string* RemoveAclRequestProto::mutable_src() {
2315 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2317 inline ::std::string* RemoveAclRequestProto::release_src() {
2320 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2322 inline void RemoveAclRequestProto::set_allocated_src(::std::string* src) {
2328 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2341 inline bool RemoveAclEntriesRequestProto::has_src()
const {
2342 return (_has_bits_[0] & 0x00000001u) != 0;
2344 inline void RemoveAclEntriesRequestProto::set_has_src() {
2345 _has_bits_[0] |= 0x00000001u;
2347 inline void RemoveAclEntriesRequestProto::clear_has_src() {
2348 _has_bits_[0] &= ~0x00000001u;
2350 inline void RemoveAclEntriesRequestProto::clear_src() {
2351 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2354 inline const ::std::string& RemoveAclEntriesRequestProto::src()
const {
2356 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2358 inline void RemoveAclEntriesRequestProto::set_src(const ::std::string& value) {
2360 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2363 inline void RemoveAclEntriesRequestProto::set_src(
const char* value) {
2365 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2368 inline void RemoveAclEntriesRequestProto::set_src(
const char* value,
size_t size) {
2370 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2371 ::std::string(reinterpret_cast<const char*>(value), size));
2374 inline ::std::string* RemoveAclEntriesRequestProto::mutable_src() {
2377 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2379 inline ::std::string* RemoveAclEntriesRequestProto::release_src() {
2382 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2384 inline void RemoveAclEntriesRequestProto::set_allocated_src(::std::string* src) {
2390 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2395 inline int RemoveAclEntriesRequestProto::aclspec_size()
const {
2396 return aclspec_.size();
2398 inline void RemoveAclEntriesRequestProto::clear_aclspec() {
2401 inline const ::hadoop::hdfs::AclEntryProto& RemoveAclEntriesRequestProto::aclspec(
int index)
const {
2403 return aclspec_.Get(index);
2405 inline ::hadoop::hdfs::AclEntryProto* RemoveAclEntriesRequestProto::mutable_aclspec(
int index) {
2407 return aclspec_.Mutable(index);
2409 inline ::hadoop::hdfs::AclEntryProto* RemoveAclEntriesRequestProto::add_aclspec() {
2411 return aclspec_.Add();
2413 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
2414 RemoveAclEntriesRequestProto::mutable_aclspec() {
2418 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
2419 RemoveAclEntriesRequestProto::aclspec()
const {
2433 inline bool RemoveDefaultAclRequestProto::has_src()
const {
2434 return (_has_bits_[0] & 0x00000001u) != 0;
2436 inline void RemoveDefaultAclRequestProto::set_has_src() {
2437 _has_bits_[0] |= 0x00000001u;
2439 inline void RemoveDefaultAclRequestProto::clear_has_src() {
2440 _has_bits_[0] &= ~0x00000001u;
2442 inline void RemoveDefaultAclRequestProto::clear_src() {
2443 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2446 inline const ::std::string& RemoveDefaultAclRequestProto::src()
const {
2448 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2450 inline void RemoveDefaultAclRequestProto::set_src(const ::std::string& value) {
2452 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2455 inline void RemoveDefaultAclRequestProto::set_src(
const char* value) {
2457 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2460 inline void RemoveDefaultAclRequestProto::set_src(
const char* value,
size_t size) {
2462 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2463 ::std::string(reinterpret_cast<const char*>(value), size));
2466 inline ::std::string* RemoveDefaultAclRequestProto::mutable_src() {
2469 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2471 inline ::std::string* RemoveDefaultAclRequestProto::release_src() {
2474 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2476 inline void RemoveDefaultAclRequestProto::set_allocated_src(::std::string* src) {
2482 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2495 inline bool SetAclRequestProto::has_src()
const {
2496 return (_has_bits_[0] & 0x00000001u) != 0;
2498 inline void SetAclRequestProto::set_has_src() {
2499 _has_bits_[0] |= 0x00000001u;
2501 inline void SetAclRequestProto::clear_has_src() {
2502 _has_bits_[0] &= ~0x00000001u;
2504 inline void SetAclRequestProto::clear_src() {
2505 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2508 inline const ::std::string& SetAclRequestProto::src()
const {
2510 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2512 inline void SetAclRequestProto::set_src(const ::std::string& value) {
2514 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2517 inline void SetAclRequestProto::set_src(
const char* value) {
2519 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2522 inline void SetAclRequestProto::set_src(
const char* value,
size_t size) {
2524 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2525 ::std::string(reinterpret_cast<const char*>(value), size));
2528 inline ::std::string* SetAclRequestProto::mutable_src() {
2531 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2533 inline ::std::string* SetAclRequestProto::release_src() {
2536 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2538 inline void SetAclRequestProto::set_allocated_src(::std::string* src) {
2544 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2549 inline int SetAclRequestProto::aclspec_size()
const {
2550 return aclspec_.size();
2552 inline void SetAclRequestProto::clear_aclspec() {
2555 inline const ::hadoop::hdfs::AclEntryProto& SetAclRequestProto::aclspec(
int index)
const {
2557 return aclspec_.Get(index);
2559 inline ::hadoop::hdfs::AclEntryProto* SetAclRequestProto::mutable_aclspec(
int index) {
2561 return aclspec_.Mutable(index);
2563 inline ::hadoop::hdfs::AclEntryProto* SetAclRequestProto::add_aclspec() {
2565 return aclspec_.Add();
2567 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
2568 SetAclRequestProto::mutable_aclspec() {
2572 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
2573 SetAclRequestProto::aclspec()
const {
2587 inline bool GetAclStatusRequestProto::has_src()
const {
2588 return (_has_bits_[0] & 0x00000001u) != 0;
2590 inline void GetAclStatusRequestProto::set_has_src() {
2591 _has_bits_[0] |= 0x00000001u;
2593 inline void GetAclStatusRequestProto::clear_has_src() {
2594 _has_bits_[0] &= ~0x00000001u;
2596 inline void GetAclStatusRequestProto::clear_src() {
2597 src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2600 inline const ::std::string& GetAclStatusRequestProto::src()
const {
2602 return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2604 inline void GetAclStatusRequestProto::set_src(const ::std::string& value) {
2606 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2609 inline void GetAclStatusRequestProto::set_src(
const char* value) {
2611 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2614 inline void GetAclStatusRequestProto::set_src(
const char* value,
size_t size) {
2616 src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2617 ::std::string(reinterpret_cast<const char*>(value), size));
2620 inline ::std::string* GetAclStatusRequestProto::mutable_src() {
2623 return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2625 inline ::std::string* GetAclStatusRequestProto::release_src() {
2628 return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2630 inline void GetAclStatusRequestProto::set_allocated_src(::std::string* src) {
2636 src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
2645 inline bool GetAclStatusResponseProto::has_result()
const {
2646 return (_has_bits_[0] & 0x00000001u) != 0;
2648 inline void GetAclStatusResponseProto::set_has_result() {
2649 _has_bits_[0] |= 0x00000001u;
2651 inline void GetAclStatusResponseProto::clear_has_result() {
2652 _has_bits_[0] &= ~0x00000001u;
2654 inline void GetAclStatusResponseProto::clear_result() {
2655 if (result_ != NULL) result_->::hadoop::hdfs::AclStatusProto::Clear();
2658 inline const ::hadoop::hdfs::AclStatusProto& GetAclStatusResponseProto::result()
const {
2660 return result_ != NULL ? *result_ : *default_instance_->result_;
2662 inline ::hadoop::hdfs::AclStatusProto* GetAclStatusResponseProto::mutable_result() {
2664 if (result_ == NULL) {
2665 result_ = new ::hadoop::hdfs::AclStatusProto;
2670 inline ::hadoop::hdfs::AclStatusProto* GetAclStatusResponseProto::release_result() {
2688 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
2725 namespace protobuf {
2727 template <>
struct is_proto_enum< ::hadoop::hdfs::AclEntryProto_AclEntryScopeProto> : ::google::protobuf::internal::true_type {};
2729 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::AclEntryProto_AclEntryScopeProto>() {
2730 return ::hadoop::hdfs::AclEntryProto_AclEntryScopeProto_descriptor();
2732 template <>
struct is_proto_enum< ::hadoop::hdfs::AclEntryProto_AclEntryTypeProto> : ::google::protobuf::internal::true_type {};
2734 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::AclEntryProto_AclEntryTypeProto>() {
2735 return ::hadoop::hdfs::AclEntryProto_AclEntryTypeProto_descriptor();
2737 template <>
struct is_proto_enum< ::hadoop::hdfs::AclEntryProto_FsActionProto> : ::google::protobuf::internal::true_type {};
2739 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::AclEntryProto_FsActionProto>() {
2740 return ::hadoop::hdfs::AclEntryProto_FsActionProto_descriptor();
2749 #endif // PROTOBUF_acl_2eproto__INCLUDED
Definition: acl.pb.h:1473
Definition: acl.pb.h:1362
Definition: acl.pb.h:1279
Definition: acl.pb.h:1181
Definition: acl.pb.h:1654
Definition: acl.pb.h:1556
Definition: hdfs.pb.h:1920
Definition: acl.pb.h:1098