4 #ifndef PROTOBUF_inotify_2eproto__INCLUDED
5 #define PROTOBUF_inotify_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>
40 void protobuf_AddDesc_inotify_2eproto();
41 void protobuf_AssignDesc_inotify_2eproto();
42 void protobuf_ShutdownFile_inotify_2eproto();
44 class AppendEventProto;
45 class CloseEventProto;
46 class CreateEventProto;
47 class EventBatchProto;
49 class EventsListProto;
50 class MetadataUpdateEventProto;
51 class RenameEventProto;
52 class UnlinkEventProto;
62 bool EventType_IsValid(
int value);
63 const EventType EventType_MIN = EVENT_CREATE;
64 const EventType EventType_MAX = EVENT_UNLINK;
65 const int EventType_ARRAYSIZE = EventType_MAX + 1;
67 const ::google::protobuf::EnumDescriptor* EventType_descriptor();
68 inline const ::std::string& EventType_Name(EventType value) {
69 return ::google::protobuf::internal::NameOfEnum(
70 EventType_descriptor(), value);
72 inline bool EventType_Parse(
73 const ::std::string& name, EventType* value) {
74 return ::google::protobuf::internal::ParseNamedEnum<EventType>(
75 EventType_descriptor(), name, value);
82 bool INodeType_IsValid(
int value);
83 const INodeType INodeType_MIN = I_TYPE_FILE;
84 const INodeType INodeType_MAX = I_TYPE_SYMLINK;
85 const int INodeType_ARRAYSIZE = INodeType_MAX + 1;
87 const ::google::protobuf::EnumDescriptor* INodeType_descriptor();
88 inline const ::std::string& INodeType_Name(INodeType value) {
89 return ::google::protobuf::internal::NameOfEnum(
90 INodeType_descriptor(), value);
92 inline bool INodeType_Parse(
93 const ::std::string& name, INodeType* value) {
94 return ::google::protobuf::internal::ParseNamedEnum<INodeType>(
95 INodeType_descriptor(), name, value);
97 enum MetadataUpdateType {
99 META_TYPE_REPLICATION = 1,
105 bool MetadataUpdateType_IsValid(
int value);
106 const MetadataUpdateType MetadataUpdateType_MIN = META_TYPE_TIMES;
107 const MetadataUpdateType MetadataUpdateType_MAX = META_TYPE_XATTRS;
108 const int MetadataUpdateType_ARRAYSIZE = MetadataUpdateType_MAX + 1;
110 const ::google::protobuf::EnumDescriptor* MetadataUpdateType_descriptor();
111 inline const ::std::string& MetadataUpdateType_Name(MetadataUpdateType value) {
112 return ::google::protobuf::internal::NameOfEnum(
113 MetadataUpdateType_descriptor(), value);
115 inline bool MetadataUpdateType_Parse(
116 const ::std::string& name, MetadataUpdateType* value) {
117 return ::google::protobuf::internal::ParseNamedEnum<MetadataUpdateType>(
118 MetadataUpdateType_descriptor(), name, value);
134 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
135 return _internal_metadata_.unknown_fields();
138 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
139 return _internal_metadata_.mutable_unknown_fields();
142 static const ::google::protobuf::Descriptor* descriptor();
149 inline EventProto* New()
const {
return New(NULL); }
151 EventProto* New(::google::protobuf::Arena* arena)
const;
152 void CopyFrom(const ::google::protobuf::Message& from);
153 void MergeFrom(const ::google::protobuf::Message& from);
157 bool IsInitialized()
const;
159 int ByteSize()
const;
160 bool MergePartialFromCodedStream(
161 ::google::protobuf::io::CodedInputStream* input);
162 void SerializeWithCachedSizes(
163 ::google::protobuf::io::CodedOutputStream* output)
const;
164 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
165 bool deterministic, ::google::protobuf::uint8* output)
const;
166 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
167 return InternalSerializeWithCachedSizesToArray(
false, output);
169 int GetCachedSize()
const {
return _cached_size_; }
173 void SetCachedSize(
int size)
const;
176 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
177 return _internal_metadata_.arena();
179 inline void* MaybeArenaPtr()
const {
180 return _internal_metadata_.raw_arena_ptr();
184 ::google::protobuf::Metadata GetMetadata()
const;
191 bool has_type()
const;
193 static const int kTypeFieldNumber = 1;
194 ::hadoop::hdfs::EventType type()
const;
195 void set_type(::hadoop::hdfs::EventType value);
198 bool has_contents()
const;
199 void clear_contents();
200 static const int kContentsFieldNumber = 2;
201 const ::std::string& contents()
const;
202 void set_contents(const ::std::string& value);
203 void set_contents(
const char* value);
204 void set_contents(
const void* value,
size_t size);
205 ::std::string* mutable_contents();
206 ::std::string* release_contents();
207 void set_allocated_contents(::std::string* contents);
211 inline void set_has_type();
212 inline void clear_has_type();
213 inline void set_has_contents();
214 inline void clear_has_contents();
217 int RequiredFieldsByteSizeFallback()
const;
219 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
220 ::google::protobuf::uint32 _has_bits_[1];
221 mutable int _cached_size_;
222 ::google::protobuf::internal::ArenaStringPtr contents_;
224 friend void protobuf_AddDesc_inotify_2eproto();
225 friend void protobuf_AssignDesc_inotify_2eproto();
226 friend void protobuf_ShutdownFile_inotify_2eproto();
228 void InitAsDefaultInstance();
245 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
246 return _internal_metadata_.unknown_fields();
249 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
250 return _internal_metadata_.mutable_unknown_fields();
253 static const ::google::protobuf::Descriptor* descriptor();
263 void CopyFrom(const ::google::protobuf::Message& from);
264 void MergeFrom(const ::google::protobuf::Message& from);
268 bool IsInitialized()
const;
270 int ByteSize()
const;
271 bool MergePartialFromCodedStream(
272 ::google::protobuf::io::CodedInputStream* input);
273 void SerializeWithCachedSizes(
274 ::google::protobuf::io::CodedOutputStream* output)
const;
275 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
276 bool deterministic, ::google::protobuf::uint8* output)
const;
277 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
278 return InternalSerializeWithCachedSizesToArray(
false, output);
280 int GetCachedSize()
const {
return _cached_size_; }
284 void SetCachedSize(
int size)
const;
287 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
288 return _internal_metadata_.arena();
290 inline void* MaybeArenaPtr()
const {
291 return _internal_metadata_.raw_arena_ptr();
295 ::google::protobuf::Metadata GetMetadata()
const;
302 bool has_txid()
const;
304 static const int kTxidFieldNumber = 1;
305 ::google::protobuf::int64 txid()
const;
306 void set_txid(::google::protobuf::int64 value);
309 int events_size()
const;
311 static const int kEventsFieldNumber = 2;
312 const ::hadoop::hdfs::EventProto& events(
int index)
const;
315 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >*
317 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >&
322 inline void set_has_txid();
323 inline void clear_has_txid();
325 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
326 ::google::protobuf::uint32 _has_bits_[1];
327 mutable int _cached_size_;
328 ::google::protobuf::int64 txid_;
329 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto > events_;
330 friend void protobuf_AddDesc_inotify_2eproto();
331 friend void protobuf_AssignDesc_inotify_2eproto();
332 friend void protobuf_ShutdownFile_inotify_2eproto();
334 void InitAsDefaultInstance();
351 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
352 return _internal_metadata_.unknown_fields();
355 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
356 return _internal_metadata_.mutable_unknown_fields();
359 static const ::google::protobuf::Descriptor* descriptor();
369 void CopyFrom(const ::google::protobuf::Message& from);
370 void MergeFrom(const ::google::protobuf::Message& from);
374 bool IsInitialized()
const;
376 int ByteSize()
const;
377 bool MergePartialFromCodedStream(
378 ::google::protobuf::io::CodedInputStream* input);
379 void SerializeWithCachedSizes(
380 ::google::protobuf::io::CodedOutputStream* output)
const;
381 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
382 bool deterministic, ::google::protobuf::uint8* output)
const;
383 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
384 return InternalSerializeWithCachedSizesToArray(
false, output);
386 int GetCachedSize()
const {
return _cached_size_; }
390 void SetCachedSize(
int size)
const;
393 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
394 return _internal_metadata_.arena();
396 inline void* MaybeArenaPtr()
const {
397 return _internal_metadata_.raw_arena_ptr();
401 ::google::protobuf::Metadata GetMetadata()
const;
408 bool has_type()
const;
410 static const int kTypeFieldNumber = 1;
411 ::hadoop::hdfs::INodeType type()
const;
412 void set_type(::hadoop::hdfs::INodeType value);
415 bool has_path()
const;
417 static const int kPathFieldNumber = 2;
418 const ::std::string& path()
const;
419 void set_path(const ::std::string& value);
420 void set_path(
const char* value);
421 void set_path(
const char* value,
size_t size);
422 ::std::string* mutable_path();
423 ::std::string* release_path();
424 void set_allocated_path(::std::string* path);
427 bool has_ctime()
const;
429 static const int kCtimeFieldNumber = 3;
430 ::google::protobuf::int64 ctime()
const;
431 void set_ctime(::google::protobuf::int64 value);
434 bool has_ownername()
const;
435 void clear_ownername();
436 static const int kOwnerNameFieldNumber = 4;
437 const ::std::string& ownername()
const;
438 void set_ownername(const ::std::string& value);
439 void set_ownername(
const char* value);
440 void set_ownername(
const char* value,
size_t size);
441 ::std::string* mutable_ownername();
442 ::std::string* release_ownername();
443 void set_allocated_ownername(::std::string* ownername);
446 bool has_groupname()
const;
447 void clear_groupname();
448 static const int kGroupNameFieldNumber = 5;
449 const ::std::string& groupname()
const;
450 void set_groupname(const ::std::string& value);
451 void set_groupname(
const char* value);
452 void set_groupname(
const char* value,
size_t size);
453 ::std::string* mutable_groupname();
454 ::std::string* release_groupname();
455 void set_allocated_groupname(::std::string* groupname);
458 bool has_perms()
const;
460 static const int kPermsFieldNumber = 6;
461 const ::hadoop::hdfs::FsPermissionProto& perms()
const;
467 bool has_replication()
const;
468 void clear_replication();
469 static const int kReplicationFieldNumber = 7;
470 ::google::protobuf::int32 replication()
const;
471 void set_replication(::google::protobuf::int32 value);
474 bool has_symlinktarget()
const;
475 void clear_symlinktarget();
476 static const int kSymlinkTargetFieldNumber = 8;
477 const ::std::string& symlinktarget()
const;
478 void set_symlinktarget(const ::std::string& value);
479 void set_symlinktarget(
const char* value);
480 void set_symlinktarget(
const char* value,
size_t size);
481 ::std::string* mutable_symlinktarget();
482 ::std::string* release_symlinktarget();
483 void set_allocated_symlinktarget(::std::string* symlinktarget);
486 bool has_overwrite()
const;
487 void clear_overwrite();
488 static const int kOverwriteFieldNumber = 9;
489 bool overwrite()
const;
490 void set_overwrite(
bool value);
493 bool has_defaultblocksize()
const;
494 void clear_defaultblocksize();
495 static const int kDefaultBlockSizeFieldNumber = 10;
496 ::google::protobuf::int64 defaultblocksize()
const;
497 void set_defaultblocksize(::google::protobuf::int64 value);
501 inline void set_has_type();
502 inline void clear_has_type();
503 inline void set_has_path();
504 inline void clear_has_path();
505 inline void set_has_ctime();
506 inline void clear_has_ctime();
507 inline void set_has_ownername();
508 inline void clear_has_ownername();
509 inline void set_has_groupname();
510 inline void clear_has_groupname();
511 inline void set_has_perms();
512 inline void clear_has_perms();
513 inline void set_has_replication();
514 inline void clear_has_replication();
515 inline void set_has_symlinktarget();
516 inline void clear_has_symlinktarget();
517 inline void set_has_overwrite();
518 inline void clear_has_overwrite();
519 inline void set_has_defaultblocksize();
520 inline void clear_has_defaultblocksize();
523 int RequiredFieldsByteSizeFallback()
const;
525 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
526 ::google::protobuf::uint32 _has_bits_[1];
527 mutable int _cached_size_;
528 ::google::protobuf::internal::ArenaStringPtr path_;
529 ::google::protobuf::int64 ctime_;
530 ::google::protobuf::internal::ArenaStringPtr ownername_;
532 ::google::protobuf::int32 replication_;
533 ::google::protobuf::internal::ArenaStringPtr groupname_;
535 ::google::protobuf::internal::ArenaStringPtr symlinktarget_;
536 ::google::protobuf::int64 defaultblocksize_;
538 friend void protobuf_AddDesc_inotify_2eproto();
539 friend void protobuf_AssignDesc_inotify_2eproto();
540 friend void protobuf_ShutdownFile_inotify_2eproto();
542 void InitAsDefaultInstance();
559 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
560 return _internal_metadata_.unknown_fields();
563 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
564 return _internal_metadata_.mutable_unknown_fields();
567 static const ::google::protobuf::Descriptor* descriptor();
577 void CopyFrom(const ::google::protobuf::Message& from);
578 void MergeFrom(const ::google::protobuf::Message& from);
582 bool IsInitialized()
const;
584 int ByteSize()
const;
585 bool MergePartialFromCodedStream(
586 ::google::protobuf::io::CodedInputStream* input);
587 void SerializeWithCachedSizes(
588 ::google::protobuf::io::CodedOutputStream* output)
const;
589 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
590 bool deterministic, ::google::protobuf::uint8* output)
const;
591 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
592 return InternalSerializeWithCachedSizesToArray(
false, output);
594 int GetCachedSize()
const {
return _cached_size_; }
598 void SetCachedSize(
int size)
const;
601 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
602 return _internal_metadata_.arena();
604 inline void* MaybeArenaPtr()
const {
605 return _internal_metadata_.raw_arena_ptr();
609 ::google::protobuf::Metadata GetMetadata()
const;
616 bool has_path()
const;
618 static const int kPathFieldNumber = 1;
619 const ::std::string& path()
const;
620 void set_path(const ::std::string& value);
621 void set_path(
const char* value);
622 void set_path(
const char* value,
size_t size);
623 ::std::string* mutable_path();
624 ::std::string* release_path();
625 void set_allocated_path(::std::string* path);
628 bool has_filesize()
const;
629 void clear_filesize();
630 static const int kFileSizeFieldNumber = 2;
631 ::google::protobuf::int64 filesize()
const;
632 void set_filesize(::google::protobuf::int64 value);
635 bool has_timestamp()
const;
636 void clear_timestamp();
637 static const int kTimestampFieldNumber = 3;
638 ::google::protobuf::int64 timestamp()
const;
639 void set_timestamp(::google::protobuf::int64 value);
643 inline void set_has_path();
644 inline void clear_has_path();
645 inline void set_has_filesize();
646 inline void clear_has_filesize();
647 inline void set_has_timestamp();
648 inline void clear_has_timestamp();
651 int RequiredFieldsByteSizeFallback()
const;
653 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
654 ::google::protobuf::uint32 _has_bits_[1];
655 mutable int _cached_size_;
656 ::google::protobuf::internal::ArenaStringPtr path_;
657 ::google::protobuf::int64 filesize_;
658 ::google::protobuf::int64 timestamp_;
659 friend void protobuf_AddDesc_inotify_2eproto();
660 friend void protobuf_AssignDesc_inotify_2eproto();
661 friend void protobuf_ShutdownFile_inotify_2eproto();
663 void InitAsDefaultInstance();
680 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
681 return _internal_metadata_.unknown_fields();
684 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
685 return _internal_metadata_.mutable_unknown_fields();
688 static const ::google::protobuf::Descriptor* descriptor();
698 void CopyFrom(const ::google::protobuf::Message& from);
699 void MergeFrom(const ::google::protobuf::Message& from);
703 bool IsInitialized()
const;
705 int ByteSize()
const;
706 bool MergePartialFromCodedStream(
707 ::google::protobuf::io::CodedInputStream* input);
708 void SerializeWithCachedSizes(
709 ::google::protobuf::io::CodedOutputStream* output)
const;
710 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
711 bool deterministic, ::google::protobuf::uint8* output)
const;
712 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
713 return InternalSerializeWithCachedSizesToArray(
false, output);
715 int GetCachedSize()
const {
return _cached_size_; }
719 void SetCachedSize(
int size)
const;
722 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
723 return _internal_metadata_.arena();
725 inline void* MaybeArenaPtr()
const {
726 return _internal_metadata_.raw_arena_ptr();
730 ::google::protobuf::Metadata GetMetadata()
const;
737 bool has_path()
const;
739 static const int kPathFieldNumber = 1;
740 const ::std::string& path()
const;
741 void set_path(const ::std::string& value);
742 void set_path(
const char* value);
743 void set_path(
const char* value,
size_t size);
744 ::std::string* mutable_path();
745 ::std::string* release_path();
746 void set_allocated_path(::std::string* path);
749 bool has_newblock()
const;
750 void clear_newblock();
751 static const int kNewBlockFieldNumber = 2;
752 bool newblock()
const;
753 void set_newblock(
bool value);
757 inline void set_has_path();
758 inline void clear_has_path();
759 inline void set_has_newblock();
760 inline void clear_has_newblock();
762 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
763 ::google::protobuf::uint32 _has_bits_[1];
764 mutable int _cached_size_;
765 ::google::protobuf::internal::ArenaStringPtr path_;
767 friend void protobuf_AddDesc_inotify_2eproto();
768 friend void protobuf_AssignDesc_inotify_2eproto();
769 friend void protobuf_ShutdownFile_inotify_2eproto();
771 void InitAsDefaultInstance();
788 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
789 return _internal_metadata_.unknown_fields();
792 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
793 return _internal_metadata_.mutable_unknown_fields();
796 static const ::google::protobuf::Descriptor* descriptor();
806 void CopyFrom(const ::google::protobuf::Message& from);
807 void MergeFrom(const ::google::protobuf::Message& from);
811 bool IsInitialized()
const;
813 int ByteSize()
const;
814 bool MergePartialFromCodedStream(
815 ::google::protobuf::io::CodedInputStream* input);
816 void SerializeWithCachedSizes(
817 ::google::protobuf::io::CodedOutputStream* output)
const;
818 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
819 bool deterministic, ::google::protobuf::uint8* output)
const;
820 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
821 return InternalSerializeWithCachedSizesToArray(
false, output);
823 int GetCachedSize()
const {
return _cached_size_; }
827 void SetCachedSize(
int size)
const;
830 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
831 return _internal_metadata_.arena();
833 inline void* MaybeArenaPtr()
const {
834 return _internal_metadata_.raw_arena_ptr();
838 ::google::protobuf::Metadata GetMetadata()
const;
845 bool has_srcpath()
const;
846 void clear_srcpath();
847 static const int kSrcPathFieldNumber = 1;
848 const ::std::string& srcpath()
const;
849 void set_srcpath(const ::std::string& value);
850 void set_srcpath(
const char* value);
851 void set_srcpath(
const char* value,
size_t size);
852 ::std::string* mutable_srcpath();
853 ::std::string* release_srcpath();
854 void set_allocated_srcpath(::std::string* srcpath);
857 bool has_destpath()
const;
858 void clear_destpath();
859 static const int kDestPathFieldNumber = 2;
860 const ::std::string& destpath()
const;
861 void set_destpath(const ::std::string& value);
862 void set_destpath(
const char* value);
863 void set_destpath(
const char* value,
size_t size);
864 ::std::string* mutable_destpath();
865 ::std::string* release_destpath();
866 void set_allocated_destpath(::std::string* destpath);
869 bool has_timestamp()
const;
870 void clear_timestamp();
871 static const int kTimestampFieldNumber = 3;
872 ::google::protobuf::int64 timestamp()
const;
873 void set_timestamp(::google::protobuf::int64 value);
877 inline void set_has_srcpath();
878 inline void clear_has_srcpath();
879 inline void set_has_destpath();
880 inline void clear_has_destpath();
881 inline void set_has_timestamp();
882 inline void clear_has_timestamp();
885 int RequiredFieldsByteSizeFallback()
const;
887 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
888 ::google::protobuf::uint32 _has_bits_[1];
889 mutable int _cached_size_;
890 ::google::protobuf::internal::ArenaStringPtr srcpath_;
891 ::google::protobuf::internal::ArenaStringPtr destpath_;
892 ::google::protobuf::int64 timestamp_;
893 friend void protobuf_AddDesc_inotify_2eproto();
894 friend void protobuf_AssignDesc_inotify_2eproto();
895 friend void protobuf_ShutdownFile_inotify_2eproto();
897 void InitAsDefaultInstance();
914 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
915 return _internal_metadata_.unknown_fields();
918 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
919 return _internal_metadata_.mutable_unknown_fields();
922 static const ::google::protobuf::Descriptor* descriptor();
932 void CopyFrom(const ::google::protobuf::Message& from);
933 void MergeFrom(const ::google::protobuf::Message& from);
937 bool IsInitialized()
const;
939 int ByteSize()
const;
940 bool MergePartialFromCodedStream(
941 ::google::protobuf::io::CodedInputStream* input);
942 void SerializeWithCachedSizes(
943 ::google::protobuf::io::CodedOutputStream* output)
const;
944 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
945 bool deterministic, ::google::protobuf::uint8* output)
const;
946 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
947 return InternalSerializeWithCachedSizesToArray(
false, output);
949 int GetCachedSize()
const {
return _cached_size_; }
953 void SetCachedSize(
int size)
const;
956 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
957 return _internal_metadata_.arena();
959 inline void* MaybeArenaPtr()
const {
960 return _internal_metadata_.raw_arena_ptr();
964 ::google::protobuf::Metadata GetMetadata()
const;
971 bool has_path()
const;
973 static const int kPathFieldNumber = 1;
974 const ::std::string& path()
const;
975 void set_path(const ::std::string& value);
976 void set_path(
const char* value);
977 void set_path(
const char* value,
size_t size);
978 ::std::string* mutable_path();
979 ::std::string* release_path();
980 void set_allocated_path(::std::string* path);
983 bool has_type()
const;
985 static const int kTypeFieldNumber = 2;
986 ::hadoop::hdfs::MetadataUpdateType type()
const;
987 void set_type(::hadoop::hdfs::MetadataUpdateType value);
990 bool has_mtime()
const;
992 static const int kMtimeFieldNumber = 3;
993 ::google::protobuf::int64 mtime()
const;
994 void set_mtime(::google::protobuf::int64 value);
997 bool has_atime()
const;
999 static const int kAtimeFieldNumber = 4;
1000 ::google::protobuf::int64 atime()
const;
1001 void set_atime(::google::protobuf::int64 value);
1004 bool has_replication()
const;
1005 void clear_replication();
1006 static const int kReplicationFieldNumber = 5;
1007 ::google::protobuf::int32 replication()
const;
1008 void set_replication(::google::protobuf::int32 value);
1011 bool has_ownername()
const;
1012 void clear_ownername();
1013 static const int kOwnerNameFieldNumber = 6;
1014 const ::std::string& ownername()
const;
1015 void set_ownername(const ::std::string& value);
1016 void set_ownername(
const char* value);
1017 void set_ownername(
const char* value,
size_t size);
1018 ::std::string* mutable_ownername();
1019 ::std::string* release_ownername();
1020 void set_allocated_ownername(::std::string* ownername);
1023 bool has_groupname()
const;
1024 void clear_groupname();
1025 static const int kGroupNameFieldNumber = 7;
1026 const ::std::string& groupname()
const;
1027 void set_groupname(const ::std::string& value);
1028 void set_groupname(
const char* value);
1029 void set_groupname(
const char* value,
size_t size);
1030 ::std::string* mutable_groupname();
1031 ::std::string* release_groupname();
1032 void set_allocated_groupname(::std::string* groupname);
1035 bool has_perms()
const;
1037 static const int kPermsFieldNumber = 8;
1038 const ::hadoop::hdfs::FsPermissionProto& perms()
const;
1044 int acls_size()
const;
1046 static const int kAclsFieldNumber = 9;
1047 const ::hadoop::hdfs::AclEntryProto& acls(
int index)
const;
1050 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
1052 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
1056 int xattrs_size()
const;
1057 void clear_xattrs();
1058 static const int kXAttrsFieldNumber = 10;
1059 const ::hadoop::hdfs::XAttrProto& xattrs(
int index)
const;
1062 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
1064 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
1068 bool has_xattrsremoved()
const;
1069 void clear_xattrsremoved();
1070 static const int kXAttrsRemovedFieldNumber = 11;
1071 bool xattrsremoved()
const;
1072 void set_xattrsremoved(
bool value);
1076 inline void set_has_path();
1077 inline void clear_has_path();
1078 inline void set_has_type();
1079 inline void clear_has_type();
1080 inline void set_has_mtime();
1081 inline void clear_has_mtime();
1082 inline void set_has_atime();
1083 inline void clear_has_atime();
1084 inline void set_has_replication();
1085 inline void clear_has_replication();
1086 inline void set_has_ownername();
1087 inline void clear_has_ownername();
1088 inline void set_has_groupname();
1089 inline void clear_has_groupname();
1090 inline void set_has_perms();
1091 inline void clear_has_perms();
1092 inline void set_has_xattrsremoved();
1093 inline void clear_has_xattrsremoved();
1096 int RequiredFieldsByteSizeFallback()
const;
1098 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1099 ::google::protobuf::uint32 _has_bits_[1];
1100 mutable int _cached_size_;
1101 ::google::protobuf::internal::ArenaStringPtr path_;
1102 ::google::protobuf::int64 mtime_;
1104 ::google::protobuf::int32 replication_;
1105 ::google::protobuf::int64 atime_;
1106 ::google::protobuf::internal::ArenaStringPtr ownername_;
1107 ::google::protobuf::internal::ArenaStringPtr groupname_;
1109 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto > acls_;
1110 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto > xattrs_;
1111 bool xattrsremoved_;
1112 friend void protobuf_AddDesc_inotify_2eproto();
1113 friend void protobuf_AssignDesc_inotify_2eproto();
1114 friend void protobuf_ShutdownFile_inotify_2eproto();
1116 void InitAsDefaultInstance();
1133 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1134 return _internal_metadata_.unknown_fields();
1137 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1138 return _internal_metadata_.mutable_unknown_fields();
1141 static const ::google::protobuf::Descriptor* descriptor();
1151 void CopyFrom(const ::google::protobuf::Message& from);
1152 void MergeFrom(const ::google::protobuf::Message& from);
1156 bool IsInitialized()
const;
1158 int ByteSize()
const;
1159 bool MergePartialFromCodedStream(
1160 ::google::protobuf::io::CodedInputStream* input);
1161 void SerializeWithCachedSizes(
1162 ::google::protobuf::io::CodedOutputStream* output)
const;
1163 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1164 bool deterministic, ::google::protobuf::uint8* output)
const;
1165 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1166 return InternalSerializeWithCachedSizesToArray(
false, output);
1168 int GetCachedSize()
const {
return _cached_size_; }
1172 void SetCachedSize(
int size)
const;
1175 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1176 return _internal_metadata_.arena();
1178 inline void* MaybeArenaPtr()
const {
1179 return _internal_metadata_.raw_arena_ptr();
1183 ::google::protobuf::Metadata GetMetadata()
const;
1190 bool has_path()
const;
1192 static const int kPathFieldNumber = 1;
1193 const ::std::string& path()
const;
1194 void set_path(const ::std::string& value);
1195 void set_path(
const char* value);
1196 void set_path(
const char* value,
size_t size);
1197 ::std::string* mutable_path();
1198 ::std::string* release_path();
1199 void set_allocated_path(::std::string* path);
1202 bool has_timestamp()
const;
1203 void clear_timestamp();
1204 static const int kTimestampFieldNumber = 2;
1205 ::google::protobuf::int64 timestamp()
const;
1206 void set_timestamp(::google::protobuf::int64 value);
1210 inline void set_has_path();
1211 inline void clear_has_path();
1212 inline void set_has_timestamp();
1213 inline void clear_has_timestamp();
1216 int RequiredFieldsByteSizeFallback()
const;
1218 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1219 ::google::protobuf::uint32 _has_bits_[1];
1220 mutable int _cached_size_;
1221 ::google::protobuf::internal::ArenaStringPtr path_;
1222 ::google::protobuf::int64 timestamp_;
1223 friend void protobuf_AddDesc_inotify_2eproto();
1224 friend void protobuf_AssignDesc_inotify_2eproto();
1225 friend void protobuf_ShutdownFile_inotify_2eproto();
1227 void InitAsDefaultInstance();
1244 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1245 return _internal_metadata_.unknown_fields();
1248 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1249 return _internal_metadata_.mutable_unknown_fields();
1252 static const ::google::protobuf::Descriptor* descriptor();
1262 void CopyFrom(const ::google::protobuf::Message& from);
1263 void MergeFrom(const ::google::protobuf::Message& from);
1267 bool IsInitialized()
const;
1269 int ByteSize()
const;
1270 bool MergePartialFromCodedStream(
1271 ::google::protobuf::io::CodedInputStream* input);
1272 void SerializeWithCachedSizes(
1273 ::google::protobuf::io::CodedOutputStream* output)
const;
1274 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1275 bool deterministic, ::google::protobuf::uint8* output)
const;
1276 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const {
1277 return InternalSerializeWithCachedSizesToArray(
false, output);
1279 int GetCachedSize()
const {
return _cached_size_; }
1283 void SetCachedSize(
int size)
const;
1286 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1287 return _internal_metadata_.arena();
1289 inline void* MaybeArenaPtr()
const {
1290 return _internal_metadata_.raw_arena_ptr();
1294 ::google::protobuf::Metadata GetMetadata()
const;
1301 int events_size()
const;
1302 void clear_events();
1303 static const int kEventsFieldNumber = 1;
1304 const ::hadoop::hdfs::EventProto& events(
int index)
const;
1307 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >*
1309 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >&
1313 bool has_firsttxid()
const;
1314 void clear_firsttxid();
1315 static const int kFirstTxidFieldNumber = 2;
1316 ::google::protobuf::int64 firsttxid()
const;
1317 void set_firsttxid(::google::protobuf::int64 value);
1320 bool has_lasttxid()
const;
1321 void clear_lasttxid();
1322 static const int kLastTxidFieldNumber = 3;
1323 ::google::protobuf::int64 lasttxid()
const;
1324 void set_lasttxid(::google::protobuf::int64 value);
1327 bool has_synctxid()
const;
1328 void clear_synctxid();
1329 static const int kSyncTxidFieldNumber = 4;
1330 ::google::protobuf::int64 synctxid()
const;
1331 void set_synctxid(::google::protobuf::int64 value);
1334 int batch_size()
const;
1336 static const int kBatchFieldNumber = 5;
1337 const ::hadoop::hdfs::EventBatchProto& batch(
int index)
const;
1340 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventBatchProto >*
1342 const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventBatchProto >&
1347 inline void set_has_firsttxid();
1348 inline void clear_has_firsttxid();
1349 inline void set_has_lasttxid();
1350 inline void clear_has_lasttxid();
1351 inline void set_has_synctxid();
1352 inline void clear_has_synctxid();
1355 int RequiredFieldsByteSizeFallback()
const;
1357 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1358 ::google::protobuf::uint32 _has_bits_[1];
1359 mutable int _cached_size_;
1360 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto > events_;
1361 ::google::protobuf::int64 firsttxid_;
1362 ::google::protobuf::int64 lasttxid_;
1363 ::google::protobuf::int64 synctxid_;
1364 ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventBatchProto > batch_;
1365 friend void protobuf_AddDesc_inotify_2eproto();
1366 friend void protobuf_AssignDesc_inotify_2eproto();
1367 friend void protobuf_ShutdownFile_inotify_2eproto();
1369 void InitAsDefaultInstance();
1377 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
1381 inline bool EventProto::has_type()
const {
1382 return (_has_bits_[0] & 0x00000001u) != 0;
1384 inline void EventProto::set_has_type() {
1385 _has_bits_[0] |= 0x00000001u;
1387 inline void EventProto::clear_has_type() {
1388 _has_bits_[0] &= ~0x00000001u;
1390 inline void EventProto::clear_type() {
1394 inline ::hadoop::hdfs::EventType EventProto::type()
const {
1396 return static_cast< ::hadoop::hdfs::EventType
>(type_);
1398 inline void EventProto::set_type(::hadoop::hdfs::EventType value) {
1399 assert(::hadoop::hdfs::EventType_IsValid(value));
1406 inline bool EventProto::has_contents()
const {
1407 return (_has_bits_[0] & 0x00000002u) != 0;
1409 inline void EventProto::set_has_contents() {
1410 _has_bits_[0] |= 0x00000002u;
1412 inline void EventProto::clear_has_contents() {
1413 _has_bits_[0] &= ~0x00000002u;
1415 inline void EventProto::clear_contents() {
1416 contents_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1417 clear_has_contents();
1419 inline const ::std::string& EventProto::contents()
const {
1421 return contents_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1423 inline void EventProto::set_contents(const ::std::string& value) {
1425 contents_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1428 inline void EventProto::set_contents(
const char* value) {
1430 contents_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1433 inline void EventProto::set_contents(
const void* value,
size_t size) {
1435 contents_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1436 ::std::string(reinterpret_cast<const char*>(value), size));
1439 inline ::std::string* EventProto::mutable_contents() {
1442 return contents_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1444 inline ::std::string* EventProto::release_contents() {
1446 clear_has_contents();
1447 return contents_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1449 inline void EventProto::set_allocated_contents(::std::string* contents) {
1450 if (contents != NULL) {
1453 clear_has_contents();
1455 contents_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), contents);
1464 inline bool EventBatchProto::has_txid()
const {
1465 return (_has_bits_[0] & 0x00000001u) != 0;
1467 inline void EventBatchProto::set_has_txid() {
1468 _has_bits_[0] |= 0x00000001u;
1470 inline void EventBatchProto::clear_has_txid() {
1471 _has_bits_[0] &= ~0x00000001u;
1473 inline void EventBatchProto::clear_txid() {
1474 txid_ = GOOGLE_LONGLONG(0);
1477 inline ::google::protobuf::int64 EventBatchProto::txid()
const {
1481 inline void EventBatchProto::set_txid(::google::protobuf::int64 value) {
1488 inline int EventBatchProto::events_size()
const {
1489 return events_.size();
1491 inline void EventBatchProto::clear_events() {
1494 inline const ::hadoop::hdfs::EventProto& EventBatchProto::events(
int index)
const {
1496 return events_.Get(index);
1498 inline ::hadoop::hdfs::EventProto* EventBatchProto::mutable_events(
int index) {
1500 return events_.Mutable(index);
1502 inline ::hadoop::hdfs::EventProto* EventBatchProto::add_events() {
1504 return events_.Add();
1506 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >*
1507 EventBatchProto::mutable_events() {
1511 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >&
1512 EventBatchProto::events()
const {
1522 inline bool CreateEventProto::has_type()
const {
1523 return (_has_bits_[0] & 0x00000001u) != 0;
1525 inline void CreateEventProto::set_has_type() {
1526 _has_bits_[0] |= 0x00000001u;
1528 inline void CreateEventProto::clear_has_type() {
1529 _has_bits_[0] &= ~0x00000001u;
1531 inline void CreateEventProto::clear_type() {
1535 inline ::hadoop::hdfs::INodeType CreateEventProto::type()
const {
1537 return static_cast< ::hadoop::hdfs::INodeType
>(type_);
1539 inline void CreateEventProto::set_type(::hadoop::hdfs::INodeType value) {
1540 assert(::hadoop::hdfs::INodeType_IsValid(value));
1547 inline bool CreateEventProto::has_path()
const {
1548 return (_has_bits_[0] & 0x00000002u) != 0;
1550 inline void CreateEventProto::set_has_path() {
1551 _has_bits_[0] |= 0x00000002u;
1553 inline void CreateEventProto::clear_has_path() {
1554 _has_bits_[0] &= ~0x00000002u;
1556 inline void CreateEventProto::clear_path() {
1557 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1560 inline const ::std::string& CreateEventProto::path()
const {
1562 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1564 inline void CreateEventProto::set_path(const ::std::string& value) {
1566 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1569 inline void CreateEventProto::set_path(
const char* value) {
1571 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1574 inline void CreateEventProto::set_path(
const char* value,
size_t size) {
1576 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1577 ::std::string(reinterpret_cast<const char*>(value), size));
1580 inline ::std::string* CreateEventProto::mutable_path() {
1583 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1585 inline ::std::string* CreateEventProto::release_path() {
1588 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1590 inline void CreateEventProto::set_allocated_path(::std::string* path) {
1596 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
1601 inline bool CreateEventProto::has_ctime()
const {
1602 return (_has_bits_[0] & 0x00000004u) != 0;
1604 inline void CreateEventProto::set_has_ctime() {
1605 _has_bits_[0] |= 0x00000004u;
1607 inline void CreateEventProto::clear_has_ctime() {
1608 _has_bits_[0] &= ~0x00000004u;
1610 inline void CreateEventProto::clear_ctime() {
1611 ctime_ = GOOGLE_LONGLONG(0);
1614 inline ::google::protobuf::int64 CreateEventProto::ctime()
const {
1618 inline void CreateEventProto::set_ctime(::google::protobuf::int64 value) {
1625 inline bool CreateEventProto::has_ownername()
const {
1626 return (_has_bits_[0] & 0x00000008u) != 0;
1628 inline void CreateEventProto::set_has_ownername() {
1629 _has_bits_[0] |= 0x00000008u;
1631 inline void CreateEventProto::clear_has_ownername() {
1632 _has_bits_[0] &= ~0x00000008u;
1634 inline void CreateEventProto::clear_ownername() {
1635 ownername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1636 clear_has_ownername();
1638 inline const ::std::string& CreateEventProto::ownername()
const {
1640 return ownername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1642 inline void CreateEventProto::set_ownername(const ::std::string& value) {
1643 set_has_ownername();
1644 ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1647 inline void CreateEventProto::set_ownername(
const char* value) {
1648 set_has_ownername();
1649 ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1652 inline void CreateEventProto::set_ownername(
const char* value,
size_t size) {
1653 set_has_ownername();
1654 ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1655 ::std::string(reinterpret_cast<const char*>(value), size));
1658 inline ::std::string* CreateEventProto::mutable_ownername() {
1659 set_has_ownername();
1661 return ownername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1663 inline ::std::string* CreateEventProto::release_ownername() {
1665 clear_has_ownername();
1666 return ownername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1668 inline void CreateEventProto::set_allocated_ownername(::std::string* ownername) {
1669 if (ownername != NULL) {
1670 set_has_ownername();
1672 clear_has_ownername();
1674 ownername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ownername);
1679 inline bool CreateEventProto::has_groupname()
const {
1680 return (_has_bits_[0] & 0x00000010u) != 0;
1682 inline void CreateEventProto::set_has_groupname() {
1683 _has_bits_[0] |= 0x00000010u;
1685 inline void CreateEventProto::clear_has_groupname() {
1686 _has_bits_[0] &= ~0x00000010u;
1688 inline void CreateEventProto::clear_groupname() {
1689 groupname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1690 clear_has_groupname();
1692 inline const ::std::string& CreateEventProto::groupname()
const {
1694 return groupname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1696 inline void CreateEventProto::set_groupname(const ::std::string& value) {
1697 set_has_groupname();
1698 groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1701 inline void CreateEventProto::set_groupname(
const char* value) {
1702 set_has_groupname();
1703 groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1706 inline void CreateEventProto::set_groupname(
const char* value,
size_t size) {
1707 set_has_groupname();
1708 groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1709 ::std::string(reinterpret_cast<const char*>(value), size));
1712 inline ::std::string* CreateEventProto::mutable_groupname() {
1713 set_has_groupname();
1715 return groupname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1717 inline ::std::string* CreateEventProto::release_groupname() {
1719 clear_has_groupname();
1720 return groupname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1722 inline void CreateEventProto::set_allocated_groupname(::std::string* groupname) {
1723 if (groupname != NULL) {
1724 set_has_groupname();
1726 clear_has_groupname();
1728 groupname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), groupname);
1733 inline bool CreateEventProto::has_perms()
const {
1734 return (_has_bits_[0] & 0x00000020u) != 0;
1736 inline void CreateEventProto::set_has_perms() {
1737 _has_bits_[0] |= 0x00000020u;
1739 inline void CreateEventProto::clear_has_perms() {
1740 _has_bits_[0] &= ~0x00000020u;
1742 inline void CreateEventProto::clear_perms() {
1743 if (perms_ != NULL) perms_->::hadoop::hdfs::FsPermissionProto::Clear();
1746 inline const ::hadoop::hdfs::FsPermissionProto& CreateEventProto::perms()
const {
1748 return perms_ != NULL ? *perms_ : *default_instance_->perms_;
1750 inline ::hadoop::hdfs::FsPermissionProto* CreateEventProto::mutable_perms() {
1752 if (perms_ == NULL) {
1753 perms_ = new ::hadoop::hdfs::FsPermissionProto;
1758 inline ::hadoop::hdfs::FsPermissionProto* CreateEventProto::release_perms() {
1777 inline bool CreateEventProto::has_replication()
const {
1778 return (_has_bits_[0] & 0x00000040u) != 0;
1780 inline void CreateEventProto::set_has_replication() {
1781 _has_bits_[0] |= 0x00000040u;
1783 inline void CreateEventProto::clear_has_replication() {
1784 _has_bits_[0] &= ~0x00000040u;
1786 inline void CreateEventProto::clear_replication() {
1788 clear_has_replication();
1790 inline ::google::protobuf::int32 CreateEventProto::replication()
const {
1792 return replication_;
1794 inline void CreateEventProto::set_replication(::google::protobuf::int32 value) {
1795 set_has_replication();
1796 replication_ = value;
1801 inline bool CreateEventProto::has_symlinktarget()
const {
1802 return (_has_bits_[0] & 0x00000080u) != 0;
1804 inline void CreateEventProto::set_has_symlinktarget() {
1805 _has_bits_[0] |= 0x00000080u;
1807 inline void CreateEventProto::clear_has_symlinktarget() {
1808 _has_bits_[0] &= ~0x00000080u;
1810 inline void CreateEventProto::clear_symlinktarget() {
1811 symlinktarget_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1812 clear_has_symlinktarget();
1814 inline const ::std::string& CreateEventProto::symlinktarget()
const {
1816 return symlinktarget_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1818 inline void CreateEventProto::set_symlinktarget(const ::std::string& value) {
1819 set_has_symlinktarget();
1820 symlinktarget_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1823 inline void CreateEventProto::set_symlinktarget(
const char* value) {
1824 set_has_symlinktarget();
1825 symlinktarget_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1828 inline void CreateEventProto::set_symlinktarget(
const char* value,
size_t size) {
1829 set_has_symlinktarget();
1830 symlinktarget_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1831 ::std::string(reinterpret_cast<const char*>(value), size));
1834 inline ::std::string* CreateEventProto::mutable_symlinktarget() {
1835 set_has_symlinktarget();
1837 return symlinktarget_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1839 inline ::std::string* CreateEventProto::release_symlinktarget() {
1841 clear_has_symlinktarget();
1842 return symlinktarget_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1844 inline void CreateEventProto::set_allocated_symlinktarget(::std::string* symlinktarget) {
1845 if (symlinktarget != NULL) {
1846 set_has_symlinktarget();
1848 clear_has_symlinktarget();
1850 symlinktarget_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), symlinktarget);
1855 inline bool CreateEventProto::has_overwrite()
const {
1856 return (_has_bits_[0] & 0x00000100u) != 0;
1858 inline void CreateEventProto::set_has_overwrite() {
1859 _has_bits_[0] |= 0x00000100u;
1861 inline void CreateEventProto::clear_has_overwrite() {
1862 _has_bits_[0] &= ~0x00000100u;
1864 inline void CreateEventProto::clear_overwrite() {
1866 clear_has_overwrite();
1868 inline bool CreateEventProto::overwrite()
const {
1872 inline void CreateEventProto::set_overwrite(
bool value) {
1873 set_has_overwrite();
1879 inline bool CreateEventProto::has_defaultblocksize()
const {
1880 return (_has_bits_[0] & 0x00000200u) != 0;
1882 inline void CreateEventProto::set_has_defaultblocksize() {
1883 _has_bits_[0] |= 0x00000200u;
1885 inline void CreateEventProto::clear_has_defaultblocksize() {
1886 _has_bits_[0] &= ~0x00000200u;
1888 inline void CreateEventProto::clear_defaultblocksize() {
1889 defaultblocksize_ = GOOGLE_LONGLONG(0);
1890 clear_has_defaultblocksize();
1892 inline ::google::protobuf::int64 CreateEventProto::defaultblocksize()
const {
1894 return defaultblocksize_;
1896 inline void CreateEventProto::set_defaultblocksize(::google::protobuf::int64 value) {
1897 set_has_defaultblocksize();
1898 defaultblocksize_ = value;
1907 inline bool CloseEventProto::has_path()
const {
1908 return (_has_bits_[0] & 0x00000001u) != 0;
1910 inline void CloseEventProto::set_has_path() {
1911 _has_bits_[0] |= 0x00000001u;
1913 inline void CloseEventProto::clear_has_path() {
1914 _has_bits_[0] &= ~0x00000001u;
1916 inline void CloseEventProto::clear_path() {
1917 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1920 inline const ::std::string& CloseEventProto::path()
const {
1922 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1924 inline void CloseEventProto::set_path(const ::std::string& value) {
1926 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1929 inline void CloseEventProto::set_path(
const char* value) {
1931 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1934 inline void CloseEventProto::set_path(
const char* value,
size_t size) {
1936 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1937 ::std::string(reinterpret_cast<const char*>(value), size));
1940 inline ::std::string* CloseEventProto::mutable_path() {
1943 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1945 inline ::std::string* CloseEventProto::release_path() {
1948 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1950 inline void CloseEventProto::set_allocated_path(::std::string* path) {
1956 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
1961 inline bool CloseEventProto::has_filesize()
const {
1962 return (_has_bits_[0] & 0x00000002u) != 0;
1964 inline void CloseEventProto::set_has_filesize() {
1965 _has_bits_[0] |= 0x00000002u;
1967 inline void CloseEventProto::clear_has_filesize() {
1968 _has_bits_[0] &= ~0x00000002u;
1970 inline void CloseEventProto::clear_filesize() {
1971 filesize_ = GOOGLE_LONGLONG(0);
1972 clear_has_filesize();
1974 inline ::google::protobuf::int64 CloseEventProto::filesize()
const {
1978 inline void CloseEventProto::set_filesize(::google::protobuf::int64 value) {
1985 inline bool CloseEventProto::has_timestamp()
const {
1986 return (_has_bits_[0] & 0x00000004u) != 0;
1988 inline void CloseEventProto::set_has_timestamp() {
1989 _has_bits_[0] |= 0x00000004u;
1991 inline void CloseEventProto::clear_has_timestamp() {
1992 _has_bits_[0] &= ~0x00000004u;
1994 inline void CloseEventProto::clear_timestamp() {
1995 timestamp_ = GOOGLE_LONGLONG(0);
1996 clear_has_timestamp();
1998 inline ::google::protobuf::int64 CloseEventProto::timestamp()
const {
2002 inline void CloseEventProto::set_timestamp(::google::protobuf::int64 value) {
2003 set_has_timestamp();
2013 inline bool AppendEventProto::has_path()
const {
2014 return (_has_bits_[0] & 0x00000001u) != 0;
2016 inline void AppendEventProto::set_has_path() {
2017 _has_bits_[0] |= 0x00000001u;
2019 inline void AppendEventProto::clear_has_path() {
2020 _has_bits_[0] &= ~0x00000001u;
2022 inline void AppendEventProto::clear_path() {
2023 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2026 inline const ::std::string& AppendEventProto::path()
const {
2028 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2030 inline void AppendEventProto::set_path(const ::std::string& value) {
2032 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2035 inline void AppendEventProto::set_path(
const char* value) {
2037 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2040 inline void AppendEventProto::set_path(
const char* value,
size_t size) {
2042 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2043 ::std::string(reinterpret_cast<const char*>(value), size));
2046 inline ::std::string* AppendEventProto::mutable_path() {
2049 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2051 inline ::std::string* AppendEventProto::release_path() {
2054 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2056 inline void AppendEventProto::set_allocated_path(::std::string* path) {
2062 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
2067 inline bool AppendEventProto::has_newblock()
const {
2068 return (_has_bits_[0] & 0x00000002u) != 0;
2070 inline void AppendEventProto::set_has_newblock() {
2071 _has_bits_[0] |= 0x00000002u;
2073 inline void AppendEventProto::clear_has_newblock() {
2074 _has_bits_[0] &= ~0x00000002u;
2076 inline void AppendEventProto::clear_newblock() {
2078 clear_has_newblock();
2080 inline bool AppendEventProto::newblock()
const {
2084 inline void AppendEventProto::set_newblock(
bool value) {
2095 inline bool RenameEventProto::has_srcpath()
const {
2096 return (_has_bits_[0] & 0x00000001u) != 0;
2098 inline void RenameEventProto::set_has_srcpath() {
2099 _has_bits_[0] |= 0x00000001u;
2101 inline void RenameEventProto::clear_has_srcpath() {
2102 _has_bits_[0] &= ~0x00000001u;
2104 inline void RenameEventProto::clear_srcpath() {
2105 srcpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2106 clear_has_srcpath();
2108 inline const ::std::string& RenameEventProto::srcpath()
const {
2110 return srcpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2112 inline void RenameEventProto::set_srcpath(const ::std::string& value) {
2114 srcpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2117 inline void RenameEventProto::set_srcpath(
const char* value) {
2119 srcpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2122 inline void RenameEventProto::set_srcpath(
const char* value,
size_t size) {
2124 srcpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2125 ::std::string(reinterpret_cast<const char*>(value), size));
2128 inline ::std::string* RenameEventProto::mutable_srcpath() {
2131 return srcpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2133 inline ::std::string* RenameEventProto::release_srcpath() {
2135 clear_has_srcpath();
2136 return srcpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2138 inline void RenameEventProto::set_allocated_srcpath(::std::string* srcpath) {
2139 if (srcpath != NULL) {
2142 clear_has_srcpath();
2144 srcpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), srcpath);
2149 inline bool RenameEventProto::has_destpath()
const {
2150 return (_has_bits_[0] & 0x00000002u) != 0;
2152 inline void RenameEventProto::set_has_destpath() {
2153 _has_bits_[0] |= 0x00000002u;
2155 inline void RenameEventProto::clear_has_destpath() {
2156 _has_bits_[0] &= ~0x00000002u;
2158 inline void RenameEventProto::clear_destpath() {
2159 destpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2160 clear_has_destpath();
2162 inline const ::std::string& RenameEventProto::destpath()
const {
2164 return destpath_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2166 inline void RenameEventProto::set_destpath(const ::std::string& value) {
2168 destpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2171 inline void RenameEventProto::set_destpath(
const char* value) {
2173 destpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2176 inline void RenameEventProto::set_destpath(
const char* value,
size_t size) {
2178 destpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2179 ::std::string(reinterpret_cast<const char*>(value), size));
2182 inline ::std::string* RenameEventProto::mutable_destpath() {
2185 return destpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2187 inline ::std::string* RenameEventProto::release_destpath() {
2189 clear_has_destpath();
2190 return destpath_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2192 inline void RenameEventProto::set_allocated_destpath(::std::string* destpath) {
2193 if (destpath != NULL) {
2196 clear_has_destpath();
2198 destpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), destpath);
2203 inline bool RenameEventProto::has_timestamp()
const {
2204 return (_has_bits_[0] & 0x00000004u) != 0;
2206 inline void RenameEventProto::set_has_timestamp() {
2207 _has_bits_[0] |= 0x00000004u;
2209 inline void RenameEventProto::clear_has_timestamp() {
2210 _has_bits_[0] &= ~0x00000004u;
2212 inline void RenameEventProto::clear_timestamp() {
2213 timestamp_ = GOOGLE_LONGLONG(0);
2214 clear_has_timestamp();
2216 inline ::google::protobuf::int64 RenameEventProto::timestamp()
const {
2220 inline void RenameEventProto::set_timestamp(::google::protobuf::int64 value) {
2221 set_has_timestamp();
2231 inline bool MetadataUpdateEventProto::has_path()
const {
2232 return (_has_bits_[0] & 0x00000001u) != 0;
2234 inline void MetadataUpdateEventProto::set_has_path() {
2235 _has_bits_[0] |= 0x00000001u;
2237 inline void MetadataUpdateEventProto::clear_has_path() {
2238 _has_bits_[0] &= ~0x00000001u;
2240 inline void MetadataUpdateEventProto::clear_path() {
2241 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2244 inline const ::std::string& MetadataUpdateEventProto::path()
const {
2246 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2248 inline void MetadataUpdateEventProto::set_path(const ::std::string& value) {
2250 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2253 inline void MetadataUpdateEventProto::set_path(
const char* value) {
2255 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2258 inline void MetadataUpdateEventProto::set_path(
const char* value,
size_t size) {
2260 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2261 ::std::string(reinterpret_cast<const char*>(value), size));
2264 inline ::std::string* MetadataUpdateEventProto::mutable_path() {
2267 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2269 inline ::std::string* MetadataUpdateEventProto::release_path() {
2272 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2274 inline void MetadataUpdateEventProto::set_allocated_path(::std::string* path) {
2280 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
2285 inline bool MetadataUpdateEventProto::has_type()
const {
2286 return (_has_bits_[0] & 0x00000002u) != 0;
2288 inline void MetadataUpdateEventProto::set_has_type() {
2289 _has_bits_[0] |= 0x00000002u;
2291 inline void MetadataUpdateEventProto::clear_has_type() {
2292 _has_bits_[0] &= ~0x00000002u;
2294 inline void MetadataUpdateEventProto::clear_type() {
2298 inline ::hadoop::hdfs::MetadataUpdateType MetadataUpdateEventProto::type()
const {
2300 return static_cast< ::hadoop::hdfs::MetadataUpdateType
>(type_);
2302 inline void MetadataUpdateEventProto::set_type(::hadoop::hdfs::MetadataUpdateType value) {
2303 assert(::hadoop::hdfs::MetadataUpdateType_IsValid(value));
2310 inline bool MetadataUpdateEventProto::has_mtime()
const {
2311 return (_has_bits_[0] & 0x00000004u) != 0;
2313 inline void MetadataUpdateEventProto::set_has_mtime() {
2314 _has_bits_[0] |= 0x00000004u;
2316 inline void MetadataUpdateEventProto::clear_has_mtime() {
2317 _has_bits_[0] &= ~0x00000004u;
2319 inline void MetadataUpdateEventProto::clear_mtime() {
2320 mtime_ = GOOGLE_LONGLONG(0);
2323 inline ::google::protobuf::int64 MetadataUpdateEventProto::mtime()
const {
2327 inline void MetadataUpdateEventProto::set_mtime(::google::protobuf::int64 value) {
2334 inline bool MetadataUpdateEventProto::has_atime()
const {
2335 return (_has_bits_[0] & 0x00000008u) != 0;
2337 inline void MetadataUpdateEventProto::set_has_atime() {
2338 _has_bits_[0] |= 0x00000008u;
2340 inline void MetadataUpdateEventProto::clear_has_atime() {
2341 _has_bits_[0] &= ~0x00000008u;
2343 inline void MetadataUpdateEventProto::clear_atime() {
2344 atime_ = GOOGLE_LONGLONG(0);
2347 inline ::google::protobuf::int64 MetadataUpdateEventProto::atime()
const {
2351 inline void MetadataUpdateEventProto::set_atime(::google::protobuf::int64 value) {
2358 inline bool MetadataUpdateEventProto::has_replication()
const {
2359 return (_has_bits_[0] & 0x00000010u) != 0;
2361 inline void MetadataUpdateEventProto::set_has_replication() {
2362 _has_bits_[0] |= 0x00000010u;
2364 inline void MetadataUpdateEventProto::clear_has_replication() {
2365 _has_bits_[0] &= ~0x00000010u;
2367 inline void MetadataUpdateEventProto::clear_replication() {
2369 clear_has_replication();
2371 inline ::google::protobuf::int32 MetadataUpdateEventProto::replication()
const {
2373 return replication_;
2375 inline void MetadataUpdateEventProto::set_replication(::google::protobuf::int32 value) {
2376 set_has_replication();
2377 replication_ = value;
2382 inline bool MetadataUpdateEventProto::has_ownername()
const {
2383 return (_has_bits_[0] & 0x00000020u) != 0;
2385 inline void MetadataUpdateEventProto::set_has_ownername() {
2386 _has_bits_[0] |= 0x00000020u;
2388 inline void MetadataUpdateEventProto::clear_has_ownername() {
2389 _has_bits_[0] &= ~0x00000020u;
2391 inline void MetadataUpdateEventProto::clear_ownername() {
2392 ownername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2393 clear_has_ownername();
2395 inline const ::std::string& MetadataUpdateEventProto::ownername()
const {
2397 return ownername_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2399 inline void MetadataUpdateEventProto::set_ownername(const ::std::string& value) {
2400 set_has_ownername();
2401 ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2404 inline void MetadataUpdateEventProto::set_ownername(
const char* value) {
2405 set_has_ownername();
2406 ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2409 inline void MetadataUpdateEventProto::set_ownername(
const char* value,
size_t size) {
2410 set_has_ownername();
2411 ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2412 ::std::string(reinterpret_cast<const char*>(value), size));
2415 inline ::std::string* MetadataUpdateEventProto::mutable_ownername() {
2416 set_has_ownername();
2418 return ownername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2420 inline ::std::string* MetadataUpdateEventProto::release_ownername() {
2422 clear_has_ownername();
2423 return ownername_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2425 inline void MetadataUpdateEventProto::set_allocated_ownername(::std::string* ownername) {
2426 if (ownername != NULL) {
2427 set_has_ownername();
2429 clear_has_ownername();
2431 ownername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ownername);
2436 inline bool MetadataUpdateEventProto::has_groupname()
const {
2437 return (_has_bits_[0] & 0x00000040u) != 0;
2439 inline void MetadataUpdateEventProto::set_has_groupname() {
2440 _has_bits_[0] |= 0x00000040u;
2442 inline void MetadataUpdateEventProto::clear_has_groupname() {
2443 _has_bits_[0] &= ~0x00000040u;
2445 inline void MetadataUpdateEventProto::clear_groupname() {
2446 groupname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2447 clear_has_groupname();
2449 inline const ::std::string& MetadataUpdateEventProto::groupname()
const {
2451 return groupname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2453 inline void MetadataUpdateEventProto::set_groupname(const ::std::string& value) {
2454 set_has_groupname();
2455 groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2458 inline void MetadataUpdateEventProto::set_groupname(
const char* value) {
2459 set_has_groupname();
2460 groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2463 inline void MetadataUpdateEventProto::set_groupname(
const char* value,
size_t size) {
2464 set_has_groupname();
2465 groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2466 ::std::string(reinterpret_cast<const char*>(value), size));
2469 inline ::std::string* MetadataUpdateEventProto::mutable_groupname() {
2470 set_has_groupname();
2472 return groupname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2474 inline ::std::string* MetadataUpdateEventProto::release_groupname() {
2476 clear_has_groupname();
2477 return groupname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2479 inline void MetadataUpdateEventProto::set_allocated_groupname(::std::string* groupname) {
2480 if (groupname != NULL) {
2481 set_has_groupname();
2483 clear_has_groupname();
2485 groupname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), groupname);
2490 inline bool MetadataUpdateEventProto::has_perms()
const {
2491 return (_has_bits_[0] & 0x00000080u) != 0;
2493 inline void MetadataUpdateEventProto::set_has_perms() {
2494 _has_bits_[0] |= 0x00000080u;
2496 inline void MetadataUpdateEventProto::clear_has_perms() {
2497 _has_bits_[0] &= ~0x00000080u;
2499 inline void MetadataUpdateEventProto::clear_perms() {
2500 if (perms_ != NULL) perms_->::hadoop::hdfs::FsPermissionProto::Clear();
2503 inline const ::hadoop::hdfs::FsPermissionProto& MetadataUpdateEventProto::perms()
const {
2505 return perms_ != NULL ? *perms_ : *default_instance_->perms_;
2507 inline ::hadoop::hdfs::FsPermissionProto* MetadataUpdateEventProto::mutable_perms() {
2509 if (perms_ == NULL) {
2510 perms_ = new ::hadoop::hdfs::FsPermissionProto;
2515 inline ::hadoop::hdfs::FsPermissionProto* MetadataUpdateEventProto::release_perms() {
2534 inline int MetadataUpdateEventProto::acls_size()
const {
2535 return acls_.size();
2537 inline void MetadataUpdateEventProto::clear_acls() {
2540 inline const ::hadoop::hdfs::AclEntryProto& MetadataUpdateEventProto::acls(
int index)
const {
2542 return acls_.Get(index);
2544 inline ::hadoop::hdfs::AclEntryProto* MetadataUpdateEventProto::mutable_acls(
int index) {
2546 return acls_.Mutable(index);
2548 inline ::hadoop::hdfs::AclEntryProto* MetadataUpdateEventProto::add_acls() {
2552 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >*
2553 MetadataUpdateEventProto::mutable_acls() {
2557 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::AclEntryProto >&
2558 MetadataUpdateEventProto::acls()
const {
2564 inline int MetadataUpdateEventProto::xattrs_size()
const {
2565 return xattrs_.size();
2567 inline void MetadataUpdateEventProto::clear_xattrs() {
2570 inline const ::hadoop::hdfs::XAttrProto& MetadataUpdateEventProto::xattrs(
int index)
const {
2572 return xattrs_.Get(index);
2574 inline ::hadoop::hdfs::XAttrProto* MetadataUpdateEventProto::mutable_xattrs(
int index) {
2576 return xattrs_.Mutable(index);
2578 inline ::hadoop::hdfs::XAttrProto* MetadataUpdateEventProto::add_xattrs() {
2580 return xattrs_.Add();
2582 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >*
2583 MetadataUpdateEventProto::mutable_xattrs() {
2587 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::XAttrProto >&
2588 MetadataUpdateEventProto::xattrs()
const {
2594 inline bool MetadataUpdateEventProto::has_xattrsremoved()
const {
2595 return (_has_bits_[0] & 0x00000400u) != 0;
2597 inline void MetadataUpdateEventProto::set_has_xattrsremoved() {
2598 _has_bits_[0] |= 0x00000400u;
2600 inline void MetadataUpdateEventProto::clear_has_xattrsremoved() {
2601 _has_bits_[0] &= ~0x00000400u;
2603 inline void MetadataUpdateEventProto::clear_xattrsremoved() {
2604 xattrsremoved_ =
false;
2605 clear_has_xattrsremoved();
2607 inline bool MetadataUpdateEventProto::xattrsremoved()
const {
2609 return xattrsremoved_;
2611 inline void MetadataUpdateEventProto::set_xattrsremoved(
bool value) {
2612 set_has_xattrsremoved();
2613 xattrsremoved_ = value;
2622 inline bool UnlinkEventProto::has_path()
const {
2623 return (_has_bits_[0] & 0x00000001u) != 0;
2625 inline void UnlinkEventProto::set_has_path() {
2626 _has_bits_[0] |= 0x00000001u;
2628 inline void UnlinkEventProto::clear_has_path() {
2629 _has_bits_[0] &= ~0x00000001u;
2631 inline void UnlinkEventProto::clear_path() {
2632 path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2635 inline const ::std::string& UnlinkEventProto::path()
const {
2637 return path_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2639 inline void UnlinkEventProto::set_path(const ::std::string& value) {
2641 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2644 inline void UnlinkEventProto::set_path(
const char* value) {
2646 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2649 inline void UnlinkEventProto::set_path(
const char* value,
size_t size) {
2651 path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2652 ::std::string(reinterpret_cast<const char*>(value), size));
2655 inline ::std::string* UnlinkEventProto::mutable_path() {
2658 return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2660 inline ::std::string* UnlinkEventProto::release_path() {
2663 return path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2665 inline void UnlinkEventProto::set_allocated_path(::std::string* path) {
2671 path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path);
2676 inline bool UnlinkEventProto::has_timestamp()
const {
2677 return (_has_bits_[0] & 0x00000002u) != 0;
2679 inline void UnlinkEventProto::set_has_timestamp() {
2680 _has_bits_[0] |= 0x00000002u;
2682 inline void UnlinkEventProto::clear_has_timestamp() {
2683 _has_bits_[0] &= ~0x00000002u;
2685 inline void UnlinkEventProto::clear_timestamp() {
2686 timestamp_ = GOOGLE_LONGLONG(0);
2687 clear_has_timestamp();
2689 inline ::google::protobuf::int64 UnlinkEventProto::timestamp()
const {
2693 inline void UnlinkEventProto::set_timestamp(::google::protobuf::int64 value) {
2694 set_has_timestamp();
2704 inline int EventsListProto::events_size()
const {
2705 return events_.size();
2707 inline void EventsListProto::clear_events() {
2710 inline const ::hadoop::hdfs::EventProto& EventsListProto::events(
int index)
const {
2712 return events_.Get(index);
2714 inline ::hadoop::hdfs::EventProto* EventsListProto::mutable_events(
int index) {
2716 return events_.Mutable(index);
2718 inline ::hadoop::hdfs::EventProto* EventsListProto::add_events() {
2720 return events_.Add();
2722 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >*
2723 EventsListProto::mutable_events() {
2727 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventProto >&
2728 EventsListProto::events()
const {
2734 inline bool EventsListProto::has_firsttxid()
const {
2735 return (_has_bits_[0] & 0x00000002u) != 0;
2737 inline void EventsListProto::set_has_firsttxid() {
2738 _has_bits_[0] |= 0x00000002u;
2740 inline void EventsListProto::clear_has_firsttxid() {
2741 _has_bits_[0] &= ~0x00000002u;
2743 inline void EventsListProto::clear_firsttxid() {
2744 firsttxid_ = GOOGLE_LONGLONG(0);
2745 clear_has_firsttxid();
2747 inline ::google::protobuf::int64 EventsListProto::firsttxid()
const {
2751 inline void EventsListProto::set_firsttxid(::google::protobuf::int64 value) {
2752 set_has_firsttxid();
2758 inline bool EventsListProto::has_lasttxid()
const {
2759 return (_has_bits_[0] & 0x00000004u) != 0;
2761 inline void EventsListProto::set_has_lasttxid() {
2762 _has_bits_[0] |= 0x00000004u;
2764 inline void EventsListProto::clear_has_lasttxid() {
2765 _has_bits_[0] &= ~0x00000004u;
2767 inline void EventsListProto::clear_lasttxid() {
2768 lasttxid_ = GOOGLE_LONGLONG(0);
2769 clear_has_lasttxid();
2771 inline ::google::protobuf::int64 EventsListProto::lasttxid()
const {
2775 inline void EventsListProto::set_lasttxid(::google::protobuf::int64 value) {
2782 inline bool EventsListProto::has_synctxid()
const {
2783 return (_has_bits_[0] & 0x00000008u) != 0;
2785 inline void EventsListProto::set_has_synctxid() {
2786 _has_bits_[0] |= 0x00000008u;
2788 inline void EventsListProto::clear_has_synctxid() {
2789 _has_bits_[0] &= ~0x00000008u;
2791 inline void EventsListProto::clear_synctxid() {
2792 synctxid_ = GOOGLE_LONGLONG(0);
2793 clear_has_synctxid();
2795 inline ::google::protobuf::int64 EventsListProto::synctxid()
const {
2799 inline void EventsListProto::set_synctxid(::google::protobuf::int64 value) {
2806 inline int EventsListProto::batch_size()
const {
2807 return batch_.size();
2809 inline void EventsListProto::clear_batch() {
2812 inline const ::hadoop::hdfs::EventBatchProto& EventsListProto::batch(
int index)
const {
2814 return batch_.Get(index);
2816 inline ::hadoop::hdfs::EventBatchProto* EventsListProto::mutable_batch(
int index) {
2818 return batch_.Mutable(index);
2820 inline ::hadoop::hdfs::EventBatchProto* EventsListProto::add_batch() {
2822 return batch_.Add();
2824 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventBatchProto >*
2825 EventsListProto::mutable_batch() {
2829 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::EventBatchProto >&
2830 EventsListProto::batch()
const {
2835 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
2860 namespace protobuf {
2862 template <>
struct is_proto_enum< ::hadoop::hdfs::EventType> : ::google::protobuf::internal::true_type {};
2864 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::EventType>() {
2865 return ::hadoop::hdfs::EventType_descriptor();
2867 template <>
struct is_proto_enum< ::hadoop::hdfs::INodeType> : ::google::protobuf::internal::true_type {};
2869 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::INodeType>() {
2870 return ::hadoop::hdfs::INodeType_descriptor();
2872 template <>
struct is_proto_enum< ::hadoop::hdfs::MetadataUpdateType> : ::google::protobuf::internal::true_type {};
2874 inline const EnumDescriptor* GetEnumDescriptor< ::hadoop::hdfs::MetadataUpdateType>() {
2875 return ::hadoop::hdfs::MetadataUpdateType_descriptor();
2884 #endif // PROTOBUF_inotify_2eproto__INCLUDED
Definition: xattr.pb.h:95
Definition: inotify.pb.h:122
Definition: inotify.pb.h:339
Definition: inotify.pb.h:776
Definition: inotify.pb.h:1121
Definition: inotify.pb.h:547
Definition: inotify.pb.h:233
Definition: inotify.pb.h:1232
Definition: hdfs.pb.h:1920
Definition: inotify.pb.h:668