4 #ifndef PROTOBUF_fib_2dentry_2eproto__INCLUDED
5 #define PROTOBUF_fib_2dentry_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
12 #if GOOGLE_PROTOBUF_VERSION < 2005000
14 #if GOOGLE_PROTOBUF_VERSION < 2004000
15 #error This file was generated by a newer version of protoc which is
16 #error incompatible with your Protocol Buffer headers. Please update
19 #if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
20 #error This file was generated by an older version of protoc which is
21 #error incompatible with your Protocol Buffer headers. Please
22 #error regenerate this file with a newer version of protoc.
25 #include <google/protobuf/generated_message_util.h>
26 #include <google/protobuf/repeated_field.h>
27 #include <google/protobuf/extension_set.h>
28 #include <google/protobuf/generated_message_reflection.h>
34 void protobuf_AddDesc_fib_2dentry_2eproto();
35 void protobuf_AssignDesc_fib_2dentry_2eproto();
36 void protobuf_ShutdownFile_fib_2dentry_2eproto();
38 class FibEntryMessage;
39 class FibEntryMessage_Name;
40 class FibEntryMessage_NextHopRecord;
41 class FibEntryMessage_FibEntry;
57 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
58 return _unknown_fields_;
61 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
62 return &_unknown_fields_;
65 static const ::google::protobuf::Descriptor* descriptor();
73 void CopyFrom(const ::google::protobuf::Message& from);
74 void MergeFrom(const ::google::protobuf::Message& from);
78 bool IsInitialized()
const;
81 bool MergePartialFromCodedStream(
82 ::google::protobuf::io::CodedInputStream* input);
83 void SerializeWithCachedSizes(
84 ::google::protobuf::io::CodedOutputStream* output)
const;
85 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
86 int GetCachedSize()
const {
return _cached_size_; }
90 void SetCachedSize(
int size)
const;
93 ::google::protobuf::Metadata GetMetadata()
const;
100 inline int component_size()
const;
101 inline void clear_component();
102 static const int kComponentFieldNumber = 8;
103 inline const ::std::string& component(
int index)
const;
104 inline ::std::string* mutable_component(
int index);
105 inline void set_component(
int index, const ::std::string& value);
106 inline void set_component(
int index,
const char* value);
107 inline void set_component(
int index,
const void* value,
size_t size);
108 inline ::std::string* add_component();
109 inline void add_component(const ::std::string& value);
110 inline void add_component(
const char* value);
111 inline void add_component(
const void* value,
size_t size);
112 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
113 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
118 ::google::protobuf::UnknownFieldSet _unknown_fields_;
122 mutable int _cached_size_;
123 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
125 friend void protobuf_AddDesc_fib_2dentry_2eproto();
126 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
127 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
129 void InitAsDefaultInstance();
146 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
147 return _unknown_fields_;
150 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
151 return &_unknown_fields_;
154 static const ::google::protobuf::Descriptor* descriptor();
162 void CopyFrom(const ::google::protobuf::Message& from);
163 void MergeFrom(const ::google::protobuf::Message& from);
167 bool IsInitialized()
const;
169 int ByteSize()
const;
170 bool MergePartialFromCodedStream(
171 ::google::protobuf::io::CodedInputStream* input);
172 void SerializeWithCachedSizes(
173 ::google::protobuf::io::CodedOutputStream* output)
const;
174 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
175 int GetCachedSize()
const {
return _cached_size_; }
179 void SetCachedSize(
int size)
const;
182 ::google::protobuf::Metadata GetMetadata()
const;
189 inline bool has_face_id()
const;
190 inline void clear_face_id();
191 static const int kFaceIdFieldNumber = 105;
192 inline ::google::protobuf::uint32 face_id()
const;
193 inline void set_face_id(::google::protobuf::uint32 value);
196 inline bool has_cost()
const;
197 inline void clear_cost();
198 static const int kCostFieldNumber = 106;
199 inline ::google::protobuf::uint32 cost()
const;
200 inline void set_cost(::google::protobuf::uint32 value);
204 inline void set_has_face_id();
205 inline void clear_has_face_id();
206 inline void set_has_cost();
207 inline void clear_has_cost();
209 ::google::protobuf::UnknownFieldSet _unknown_fields_;
211 ::google::protobuf::uint32 face_id_;
212 ::google::protobuf::uint32 cost_;
214 mutable int _cached_size_;
215 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
217 friend void protobuf_AddDesc_fib_2dentry_2eproto();
218 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
219 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
221 void InitAsDefaultInstance();
238 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
239 return _unknown_fields_;
242 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
243 return &_unknown_fields_;
246 static const ::google::protobuf::Descriptor* descriptor();
254 void CopyFrom(const ::google::protobuf::Message& from);
255 void MergeFrom(const ::google::protobuf::Message& from);
259 bool IsInitialized()
const;
261 int ByteSize()
const;
262 bool MergePartialFromCodedStream(
263 ::google::protobuf::io::CodedInputStream* input);
264 void SerializeWithCachedSizes(
265 ::google::protobuf::io::CodedOutputStream* output)
const;
266 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
267 int GetCachedSize()
const {
return _cached_size_; }
271 void SetCachedSize(
int size)
const;
274 ::google::protobuf::Metadata GetMetadata()
const;
281 inline bool has_name()
const;
282 inline void clear_name();
283 static const int kNameFieldNumber = 7;
284 inline const ::ndn_message::FibEntryMessage_Name& name()
const;
285 inline ::ndn_message::FibEntryMessage_Name* mutable_name();
286 inline ::ndn_message::FibEntryMessage_Name* release_name();
289 inline int next_hop_records_size()
const;
290 inline void clear_next_hop_records();
291 static const int kNextHopRecordsFieldNumber = 129;
292 inline const ::ndn_message::FibEntryMessage_NextHopRecord& next_hop_records(
int index)
const;
293 inline ::ndn_message::FibEntryMessage_NextHopRecord* mutable_next_hop_records(
int index);
294 inline ::ndn_message::FibEntryMessage_NextHopRecord* add_next_hop_records();
295 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >&
296 next_hop_records()
const;
297 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >*
298 mutable_next_hop_records();
302 inline void set_has_name();
303 inline void clear_has_name();
305 ::google::protobuf::UnknownFieldSet _unknown_fields_;
310 mutable int _cached_size_;
311 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
313 friend void protobuf_AddDesc_fib_2dentry_2eproto();
314 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
315 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
317 void InitAsDefaultInstance();
334 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
335 return _unknown_fields_;
338 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
339 return &_unknown_fields_;
342 static const ::google::protobuf::Descriptor* descriptor();
350 void CopyFrom(const ::google::protobuf::Message& from);
351 void MergeFrom(const ::google::protobuf::Message& from);
355 bool IsInitialized()
const;
357 int ByteSize()
const;
358 bool MergePartialFromCodedStream(
359 ::google::protobuf::io::CodedInputStream* input);
360 void SerializeWithCachedSizes(
361 ::google::protobuf::io::CodedOutputStream* output)
const;
362 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
363 int GetCachedSize()
const {
return _cached_size_; }
367 void SetCachedSize(
int size)
const;
370 ::google::protobuf::Metadata GetMetadata()
const;
381 inline bool has_fib_entry()
const;
382 inline void clear_fib_entry();
383 static const int kFibEntryFieldNumber = 128;
384 inline const ::ndn_message::FibEntryMessage_FibEntry& fib_entry()
const;
385 inline ::ndn_message::FibEntryMessage_FibEntry* mutable_fib_entry();
386 inline ::ndn_message::FibEntryMessage_FibEntry* release_fib_entry();
390 inline void set_has_fib_entry();
391 inline void clear_has_fib_entry();
393 ::google::protobuf::UnknownFieldSet _unknown_fields_;
397 mutable int _cached_size_;
398 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
400 friend void protobuf_AddDesc_fib_2dentry_2eproto();
401 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
402 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
404 void InitAsDefaultInstance();
415 inline int FibEntryMessage_Name::component_size()
const {
416 return component_.size();
418 inline void FibEntryMessage_Name::clear_component() {
421 inline const ::std::string& FibEntryMessage_Name::component(
int index)
const {
422 return component_.Get(index);
424 inline ::std::string* FibEntryMessage_Name::mutable_component(
int index) {
425 return component_.Mutable(index);
427 inline void FibEntryMessage_Name::set_component(
int index, const ::std::string& value) {
428 component_.Mutable(index)->assign(value);
430 inline void FibEntryMessage_Name::set_component(
int index,
const char* value) {
431 component_.Mutable(index)->assign(value);
433 inline void FibEntryMessage_Name::set_component(
int index,
const void* value,
size_t size) {
434 component_.Mutable(index)->assign(
435 reinterpret_cast<const char*>(value), size);
437 inline ::std::string* FibEntryMessage_Name::add_component() {
438 return component_.Add();
440 inline void FibEntryMessage_Name::add_component(const ::std::string& value) {
441 component_.Add()->assign(value);
443 inline void FibEntryMessage_Name::add_component(
const char* value) {
444 component_.Add()->assign(value);
446 inline void FibEntryMessage_Name::add_component(
const void* value,
size_t size) {
447 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
449 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
450 FibEntryMessage_Name::component()
const {
453 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
454 FibEntryMessage_Name::mutable_component() {
463 inline bool FibEntryMessage_NextHopRecord::has_face_id()
const {
464 return (_has_bits_[0] & 0x00000001u) != 0;
466 inline void FibEntryMessage_NextHopRecord::set_has_face_id() {
467 _has_bits_[0] |= 0x00000001u;
469 inline void FibEntryMessage_NextHopRecord::clear_has_face_id() {
470 _has_bits_[0] &= ~0x00000001u;
472 inline void FibEntryMessage_NextHopRecord::clear_face_id() {
476 inline ::google::protobuf::uint32 FibEntryMessage_NextHopRecord::face_id()
const {
479 inline void FibEntryMessage_NextHopRecord::set_face_id(::google::protobuf::uint32 value) {
485 inline bool FibEntryMessage_NextHopRecord::has_cost()
const {
486 return (_has_bits_[0] & 0x00000002u) != 0;
488 inline void FibEntryMessage_NextHopRecord::set_has_cost() {
489 _has_bits_[0] |= 0x00000002u;
491 inline void FibEntryMessage_NextHopRecord::clear_has_cost() {
492 _has_bits_[0] &= ~0x00000002u;
494 inline void FibEntryMessage_NextHopRecord::clear_cost() {
498 inline ::google::protobuf::uint32 FibEntryMessage_NextHopRecord::cost()
const {
501 inline void FibEntryMessage_NextHopRecord::set_cost(::google::protobuf::uint32 value) {
511 inline bool FibEntryMessage_FibEntry::has_name()
const {
512 return (_has_bits_[0] & 0x00000001u) != 0;
514 inline void FibEntryMessage_FibEntry::set_has_name() {
515 _has_bits_[0] |= 0x00000001u;
517 inline void FibEntryMessage_FibEntry::clear_has_name() {
518 _has_bits_[0] &= ~0x00000001u;
520 inline void FibEntryMessage_FibEntry::clear_name() {
521 if (name_ != NULL) name_->::ndn_message::FibEntryMessage_Name::Clear();
524 inline const ::ndn_message::FibEntryMessage_Name& FibEntryMessage_FibEntry::name()
const {
525 return name_ != NULL ? *name_ : *default_instance_->name_;
527 inline ::ndn_message::FibEntryMessage_Name* FibEntryMessage_FibEntry::mutable_name() {
529 if (name_ == NULL) name_ = new ::ndn_message::FibEntryMessage_Name;
532 inline ::ndn_message::FibEntryMessage_Name* FibEntryMessage_FibEntry::release_name() {
540 inline int FibEntryMessage_FibEntry::next_hop_records_size()
const {
541 return next_hop_records_.size();
543 inline void FibEntryMessage_FibEntry::clear_next_hop_records() {
544 next_hop_records_.Clear();
546 inline const ::ndn_message::FibEntryMessage_NextHopRecord& FibEntryMessage_FibEntry::next_hop_records(
int index)
const {
547 return next_hop_records_.Get(index);
549 inline ::ndn_message::FibEntryMessage_NextHopRecord* FibEntryMessage_FibEntry::mutable_next_hop_records(
int index) {
550 return next_hop_records_.Mutable(index);
552 inline ::ndn_message::FibEntryMessage_NextHopRecord* FibEntryMessage_FibEntry::add_next_hop_records() {
553 return next_hop_records_.Add();
555 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >&
556 FibEntryMessage_FibEntry::next_hop_records()
const {
557 return next_hop_records_;
559 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >*
560 FibEntryMessage_FibEntry::mutable_next_hop_records() {
561 return &next_hop_records_;
569 inline bool FibEntryMessage::has_fib_entry()
const {
570 return (_has_bits_[0] & 0x00000001u) != 0;
572 inline void FibEntryMessage::set_has_fib_entry() {
573 _has_bits_[0] |= 0x00000001u;
575 inline void FibEntryMessage::clear_has_fib_entry() {
576 _has_bits_[0] &= ~0x00000001u;
578 inline void FibEntryMessage::clear_fib_entry() {
579 if (fib_entry_ != NULL) fib_entry_->::ndn_message::FibEntryMessage_FibEntry::Clear();
580 clear_has_fib_entry();
582 inline const ::ndn_message::FibEntryMessage_FibEntry& FibEntryMessage::fib_entry()
const {
583 return fib_entry_ != NULL ? *fib_entry_ : *default_instance_->fib_entry_;
585 inline ::ndn_message::FibEntryMessage_FibEntry* FibEntryMessage::mutable_fib_entry() {
587 if (fib_entry_ == NULL) fib_entry_ = new ::ndn_message::FibEntryMessage_FibEntry;
590 inline ::ndn_message::FibEntryMessage_FibEntry* FibEntryMessage::release_fib_entry() {
591 clear_has_fib_entry();
613 #elif GOOGLE_PROTOBUF_VERSION < 2006000
615 #if GOOGLE_PROTOBUF_VERSION < 2005000
616 #error This file was generated by a newer version of protoc which is
617 #error incompatible with your Protocol Buffer headers. Please update
620 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
621 #error This file was generated by an older version of protoc which is
622 #error incompatible with your Protocol Buffer headers. Please
623 #error regenerate this file with a newer version of protoc.
626 #include <google/protobuf/generated_message_util.h>
627 #include <google/protobuf/message.h>
628 #include <google/protobuf/repeated_field.h>
629 #include <google/protobuf/extension_set.h>
630 #include <google/protobuf/unknown_field_set.h>
636 void protobuf_AddDesc_fib_2dentry_2eproto();
637 void protobuf_AssignDesc_fib_2dentry_2eproto();
638 void protobuf_ShutdownFile_fib_2dentry_2eproto();
640 class FibEntryMessage;
641 class FibEntryMessage_Name;
642 class FibEntryMessage_NextHopRecord;
643 class FibEntryMessage_FibEntry;
647 class FibEntryMessage_Name :
public ::google::protobuf::Message {
649 FibEntryMessage_Name();
650 virtual ~FibEntryMessage_Name();
652 FibEntryMessage_Name(
const FibEntryMessage_Name& from);
654 inline FibEntryMessage_Name& operator=(
const FibEntryMessage_Name& from) {
659 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
660 return _unknown_fields_;
663 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
664 return &_unknown_fields_;
667 static const ::google::protobuf::Descriptor* descriptor();
668 static const FibEntryMessage_Name& default_instance();
670 void Swap(FibEntryMessage_Name* other);
674 FibEntryMessage_Name* New()
const;
675 void CopyFrom(const ::google::protobuf::Message& from);
676 void MergeFrom(const ::google::protobuf::Message& from);
677 void CopyFrom(
const FibEntryMessage_Name& from);
678 void MergeFrom(
const FibEntryMessage_Name& from);
680 bool IsInitialized()
const;
682 int ByteSize()
const;
683 bool MergePartialFromCodedStream(
684 ::google::protobuf::io::CodedInputStream* input);
685 void SerializeWithCachedSizes(
686 ::google::protobuf::io::CodedOutputStream* output)
const;
687 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
688 int GetCachedSize()
const {
return _cached_size_; }
692 void SetCachedSize(
int size)
const;
695 ::google::protobuf::Metadata GetMetadata()
const;
702 inline int component_size()
const;
703 inline void clear_component();
704 static const int kComponentFieldNumber = 8;
705 inline const ::std::string& component(
int index)
const;
706 inline ::std::string* mutable_component(
int index);
707 inline void set_component(
int index, const ::std::string& value);
708 inline void set_component(
int index,
const char* value);
709 inline void set_component(
int index,
const void* value,
size_t size);
710 inline ::std::string* add_component();
711 inline void add_component(const ::std::string& value);
712 inline void add_component(
const char* value);
713 inline void add_component(
const void* value,
size_t size);
714 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
715 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
720 ::google::protobuf::UnknownFieldSet _unknown_fields_;
724 mutable int _cached_size_;
725 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
727 friend void protobuf_AddDesc_fib_2dentry_2eproto();
728 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
729 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
731 void InitAsDefaultInstance();
732 static FibEntryMessage_Name* default_instance_;
736 class FibEntryMessage_NextHopRecord :
public ::google::protobuf::Message {
738 FibEntryMessage_NextHopRecord();
739 virtual ~FibEntryMessage_NextHopRecord();
741 FibEntryMessage_NextHopRecord(
const FibEntryMessage_NextHopRecord& from);
743 inline FibEntryMessage_NextHopRecord& operator=(
const FibEntryMessage_NextHopRecord& from) {
748 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
749 return _unknown_fields_;
752 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
753 return &_unknown_fields_;
756 static const ::google::protobuf::Descriptor* descriptor();
757 static const FibEntryMessage_NextHopRecord& default_instance();
759 void Swap(FibEntryMessage_NextHopRecord* other);
763 FibEntryMessage_NextHopRecord* New()
const;
764 void CopyFrom(const ::google::protobuf::Message& from);
765 void MergeFrom(const ::google::protobuf::Message& from);
766 void CopyFrom(
const FibEntryMessage_NextHopRecord& from);
767 void MergeFrom(
const FibEntryMessage_NextHopRecord& from);
769 bool IsInitialized()
const;
771 int ByteSize()
const;
772 bool MergePartialFromCodedStream(
773 ::google::protobuf::io::CodedInputStream* input);
774 void SerializeWithCachedSizes(
775 ::google::protobuf::io::CodedOutputStream* output)
const;
776 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
777 int GetCachedSize()
const {
return _cached_size_; }
781 void SetCachedSize(
int size)
const;
784 ::google::protobuf::Metadata GetMetadata()
const;
791 inline bool has_face_id()
const;
792 inline void clear_face_id();
793 static const int kFaceIdFieldNumber = 105;
794 inline ::google::protobuf::uint32 face_id()
const;
795 inline void set_face_id(::google::protobuf::uint32 value);
798 inline bool has_cost()
const;
799 inline void clear_cost();
800 static const int kCostFieldNumber = 106;
801 inline ::google::protobuf::uint32 cost()
const;
802 inline void set_cost(::google::protobuf::uint32 value);
806 inline void set_has_face_id();
807 inline void clear_has_face_id();
808 inline void set_has_cost();
809 inline void clear_has_cost();
811 ::google::protobuf::UnknownFieldSet _unknown_fields_;
813 ::google::protobuf::uint32 face_id_;
814 ::google::protobuf::uint32 cost_;
816 mutable int _cached_size_;
817 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
819 friend void protobuf_AddDesc_fib_2dentry_2eproto();
820 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
821 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
823 void InitAsDefaultInstance();
824 static FibEntryMessage_NextHopRecord* default_instance_;
828 class FibEntryMessage_FibEntry :
public ::google::protobuf::Message {
830 FibEntryMessage_FibEntry();
831 virtual ~FibEntryMessage_FibEntry();
833 FibEntryMessage_FibEntry(
const FibEntryMessage_FibEntry& from);
835 inline FibEntryMessage_FibEntry& operator=(
const FibEntryMessage_FibEntry& from) {
840 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
841 return _unknown_fields_;
844 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
845 return &_unknown_fields_;
848 static const ::google::protobuf::Descriptor* descriptor();
849 static const FibEntryMessage_FibEntry& default_instance();
851 void Swap(FibEntryMessage_FibEntry* other);
855 FibEntryMessage_FibEntry* New()
const;
856 void CopyFrom(const ::google::protobuf::Message& from);
857 void MergeFrom(const ::google::protobuf::Message& from);
858 void CopyFrom(
const FibEntryMessage_FibEntry& from);
859 void MergeFrom(
const FibEntryMessage_FibEntry& from);
861 bool IsInitialized()
const;
863 int ByteSize()
const;
864 bool MergePartialFromCodedStream(
865 ::google::protobuf::io::CodedInputStream* input);
866 void SerializeWithCachedSizes(
867 ::google::protobuf::io::CodedOutputStream* output)
const;
868 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
869 int GetCachedSize()
const {
return _cached_size_; }
873 void SetCachedSize(
int size)
const;
876 ::google::protobuf::Metadata GetMetadata()
const;
883 inline bool has_name()
const;
884 inline void clear_name();
885 static const int kNameFieldNumber = 7;
886 inline const ::ndn_message::FibEntryMessage_Name& name()
const;
887 inline ::ndn_message::FibEntryMessage_Name* mutable_name();
888 inline ::ndn_message::FibEntryMessage_Name* release_name();
892 inline int next_hop_records_size()
const;
893 inline void clear_next_hop_records();
894 static const int kNextHopRecordsFieldNumber = 129;
895 inline const ::ndn_message::FibEntryMessage_NextHopRecord& next_hop_records(
int index)
const;
896 inline ::ndn_message::FibEntryMessage_NextHopRecord* mutable_next_hop_records(
int index);
897 inline ::ndn_message::FibEntryMessage_NextHopRecord* add_next_hop_records();
898 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >&
899 next_hop_records()
const;
900 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >*
901 mutable_next_hop_records();
905 inline void set_has_name();
906 inline void clear_has_name();
908 ::google::protobuf::UnknownFieldSet _unknown_fields_;
913 mutable int _cached_size_;
914 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
916 friend void protobuf_AddDesc_fib_2dentry_2eproto();
917 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
918 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
920 void InitAsDefaultInstance();
921 static FibEntryMessage_FibEntry* default_instance_;
925 class FibEntryMessage :
public ::google::protobuf::Message {
928 virtual ~FibEntryMessage();
930 FibEntryMessage(
const FibEntryMessage& from);
932 inline FibEntryMessage& operator=(
const FibEntryMessage& from) {
937 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
938 return _unknown_fields_;
941 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
942 return &_unknown_fields_;
945 static const ::google::protobuf::Descriptor* descriptor();
946 static const FibEntryMessage& default_instance();
948 void Swap(FibEntryMessage* other);
952 FibEntryMessage* New()
const;
953 void CopyFrom(const ::google::protobuf::Message& from);
954 void MergeFrom(const ::google::protobuf::Message& from);
955 void CopyFrom(
const FibEntryMessage& from);
956 void MergeFrom(
const FibEntryMessage& from);
958 bool IsInitialized()
const;
960 int ByteSize()
const;
961 bool MergePartialFromCodedStream(
962 ::google::protobuf::io::CodedInputStream* input);
963 void SerializeWithCachedSizes(
964 ::google::protobuf::io::CodedOutputStream* output)
const;
965 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
966 int GetCachedSize()
const {
return _cached_size_; }
970 void SetCachedSize(
int size)
const;
973 ::google::protobuf::Metadata GetMetadata()
const;
977 typedef FibEntryMessage_Name Name;
978 typedef FibEntryMessage_NextHopRecord NextHopRecord;
979 typedef FibEntryMessage_FibEntry FibEntry;
984 inline bool has_fib_entry()
const;
985 inline void clear_fib_entry();
986 static const int kFibEntryFieldNumber = 128;
987 inline const ::ndn_message::FibEntryMessage_FibEntry& fib_entry()
const;
988 inline ::ndn_message::FibEntryMessage_FibEntry* mutable_fib_entry();
989 inline ::ndn_message::FibEntryMessage_FibEntry* release_fib_entry();
994 inline void set_has_fib_entry();
995 inline void clear_has_fib_entry();
997 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1001 mutable int _cached_size_;
1002 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1004 friend void protobuf_AddDesc_fib_2dentry_2eproto();
1005 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
1006 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
1008 void InitAsDefaultInstance();
1009 static FibEntryMessage* default_instance_;
1019 inline int FibEntryMessage_Name::component_size()
const {
1020 return component_.size();
1022 inline void FibEntryMessage_Name::clear_component() {
1025 inline const ::std::string& FibEntryMessage_Name::component(
int index)
const {
1026 return component_.Get(index);
1028 inline ::std::string* FibEntryMessage_Name::mutable_component(
int index) {
1029 return component_.Mutable(index);
1031 inline void FibEntryMessage_Name::set_component(
int index, const ::std::string& value) {
1032 component_.Mutable(index)->assign(value);
1034 inline void FibEntryMessage_Name::set_component(
int index,
const char* value) {
1035 component_.Mutable(index)->assign(value);
1037 inline void FibEntryMessage_Name::set_component(
int index,
const void* value,
size_t size) {
1038 component_.Mutable(index)->assign(
1039 reinterpret_cast<const char*>(value), size);
1041 inline ::std::string* FibEntryMessage_Name::add_component() {
1042 return component_.Add();
1044 inline void FibEntryMessage_Name::add_component(const ::std::string& value) {
1045 component_.Add()->assign(value);
1047 inline void FibEntryMessage_Name::add_component(
const char* value) {
1048 component_.Add()->assign(value);
1050 inline void FibEntryMessage_Name::add_component(
const void* value,
size_t size) {
1051 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
1053 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1054 FibEntryMessage_Name::component()
const {
1057 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1058 FibEntryMessage_Name::mutable_component() {
1067 inline bool FibEntryMessage_NextHopRecord::has_face_id()
const {
1068 return (_has_bits_[0] & 0x00000001u) != 0;
1070 inline void FibEntryMessage_NextHopRecord::set_has_face_id() {
1071 _has_bits_[0] |= 0x00000001u;
1073 inline void FibEntryMessage_NextHopRecord::clear_has_face_id() {
1074 _has_bits_[0] &= ~0x00000001u;
1076 inline void FibEntryMessage_NextHopRecord::clear_face_id() {
1078 clear_has_face_id();
1080 inline ::google::protobuf::uint32 FibEntryMessage_NextHopRecord::face_id()
const {
1083 inline void FibEntryMessage_NextHopRecord::set_face_id(::google::protobuf::uint32 value) {
1089 inline bool FibEntryMessage_NextHopRecord::has_cost()
const {
1090 return (_has_bits_[0] & 0x00000002u) != 0;
1092 inline void FibEntryMessage_NextHopRecord::set_has_cost() {
1093 _has_bits_[0] |= 0x00000002u;
1095 inline void FibEntryMessage_NextHopRecord::clear_has_cost() {
1096 _has_bits_[0] &= ~0x00000002u;
1098 inline void FibEntryMessage_NextHopRecord::clear_cost() {
1102 inline ::google::protobuf::uint32 FibEntryMessage_NextHopRecord::cost()
const {
1105 inline void FibEntryMessage_NextHopRecord::set_cost(::google::protobuf::uint32 value) {
1115 inline bool FibEntryMessage_FibEntry::has_name()
const {
1116 return (_has_bits_[0] & 0x00000001u) != 0;
1118 inline void FibEntryMessage_FibEntry::set_has_name() {
1119 _has_bits_[0] |= 0x00000001u;
1121 inline void FibEntryMessage_FibEntry::clear_has_name() {
1122 _has_bits_[0] &= ~0x00000001u;
1124 inline void FibEntryMessage_FibEntry::clear_name() {
1125 if (name_ != NULL) name_->::ndn_message::FibEntryMessage_Name::Clear();
1128 inline const ::ndn_message::FibEntryMessage_Name& FibEntryMessage_FibEntry::name()
const {
1129 return name_ != NULL ? *name_ : *default_instance_->name_;
1131 inline ::ndn_message::FibEntryMessage_Name* FibEntryMessage_FibEntry::mutable_name() {
1133 if (name_ == NULL) name_ = new ::ndn_message::FibEntryMessage_Name;
1136 inline ::ndn_message::FibEntryMessage_Name* FibEntryMessage_FibEntry::release_name() {
1153 inline int FibEntryMessage_FibEntry::next_hop_records_size()
const {
1154 return next_hop_records_.size();
1156 inline void FibEntryMessage_FibEntry::clear_next_hop_records() {
1157 next_hop_records_.Clear();
1159 inline const ::ndn_message::FibEntryMessage_NextHopRecord& FibEntryMessage_FibEntry::next_hop_records(
int index)
const {
1160 return next_hop_records_.Get(index);
1162 inline ::ndn_message::FibEntryMessage_NextHopRecord* FibEntryMessage_FibEntry::mutable_next_hop_records(
int index) {
1163 return next_hop_records_.Mutable(index);
1165 inline ::ndn_message::FibEntryMessage_NextHopRecord* FibEntryMessage_FibEntry::add_next_hop_records() {
1166 return next_hop_records_.Add();
1168 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >&
1169 FibEntryMessage_FibEntry::next_hop_records()
const {
1170 return next_hop_records_;
1172 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >*
1173 FibEntryMessage_FibEntry::mutable_next_hop_records() {
1174 return &next_hop_records_;
1182 inline bool FibEntryMessage::has_fib_entry()
const {
1183 return (_has_bits_[0] & 0x00000001u) != 0;
1185 inline void FibEntryMessage::set_has_fib_entry() {
1186 _has_bits_[0] |= 0x00000001u;
1188 inline void FibEntryMessage::clear_has_fib_entry() {
1189 _has_bits_[0] &= ~0x00000001u;
1191 inline void FibEntryMessage::clear_fib_entry() {
1192 if (fib_entry_ != NULL) fib_entry_->::ndn_message::FibEntryMessage_FibEntry::Clear();
1193 clear_has_fib_entry();
1195 inline const ::ndn_message::FibEntryMessage_FibEntry& FibEntryMessage::fib_entry()
const {
1196 return fib_entry_ != NULL ? *fib_entry_ : *default_instance_->fib_entry_;
1198 inline ::ndn_message::FibEntryMessage_FibEntry* FibEntryMessage::mutable_fib_entry() {
1199 set_has_fib_entry();
1200 if (fib_entry_ == NULL) fib_entry_ = new ::ndn_message::FibEntryMessage_FibEntry;
1203 inline ::ndn_message::FibEntryMessage_FibEntry* FibEntryMessage::release_fib_entry() {
1204 clear_has_fib_entry();
1211 fib_entry_ = fib_entry;
1213 set_has_fib_entry();
1215 clear_has_fib_entry();
1226 namespace protobuf {
1235 #else // GOOGLE_PROTOBUF_VERSION < 2006000
1237 #if GOOGLE_PROTOBUF_VERSION < 2006000
1238 #error This file was generated by a newer version of protoc which is
1239 #error incompatible with your Protocol Buffer headers. Please update
1240 #error your headers.
1242 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
1243 #error This file was generated by an older version of protoc which is
1244 #error incompatible with your Protocol Buffer headers. Please
1245 #error regenerate this file with a newer version of protoc.
1248 #include <google/protobuf/generated_message_util.h>
1249 #include <google/protobuf/message.h>
1250 #include <google/protobuf/repeated_field.h>
1251 #include <google/protobuf/extension_set.h>
1252 #include <google/protobuf/unknown_field_set.h>
1258 void protobuf_AddDesc_fib_2dentry_2eproto();
1259 void protobuf_AssignDesc_fib_2dentry_2eproto();
1260 void protobuf_ShutdownFile_fib_2dentry_2eproto();
1262 class FibEntryMessage;
1263 class FibEntryMessage_Name;
1264 class FibEntryMessage_NextHopRecord;
1265 class FibEntryMessage_FibEntry;
1269 class FibEntryMessage_Name :
public ::google::protobuf::Message {
1271 FibEntryMessage_Name();
1272 virtual ~FibEntryMessage_Name();
1274 FibEntryMessage_Name(
const FibEntryMessage_Name& from);
1276 inline FibEntryMessage_Name& operator=(
const FibEntryMessage_Name& from) {
1281 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1282 return _unknown_fields_;
1285 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1286 return &_unknown_fields_;
1289 static const ::google::protobuf::Descriptor* descriptor();
1290 static const FibEntryMessage_Name& default_instance();
1292 void Swap(FibEntryMessage_Name* other);
1296 FibEntryMessage_Name* New()
const;
1297 void CopyFrom(const ::google::protobuf::Message& from);
1298 void MergeFrom(const ::google::protobuf::Message& from);
1299 void CopyFrom(
const FibEntryMessage_Name& from);
1300 void MergeFrom(
const FibEntryMessage_Name& from);
1302 bool IsInitialized()
const;
1304 int ByteSize()
const;
1305 bool MergePartialFromCodedStream(
1306 ::google::protobuf::io::CodedInputStream* input);
1307 void SerializeWithCachedSizes(
1308 ::google::protobuf::io::CodedOutputStream* output)
const;
1309 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1310 int GetCachedSize()
const {
return _cached_size_; }
1314 void SetCachedSize(
int size)
const;
1316 ::google::protobuf::Metadata GetMetadata()
const;
1323 inline int component_size()
const;
1324 inline void clear_component();
1325 static const int kComponentFieldNumber = 8;
1326 inline const ::std::string& component(
int index)
const;
1327 inline ::std::string* mutable_component(
int index);
1328 inline void set_component(
int index, const ::std::string& value);
1329 inline void set_component(
int index,
const char* value);
1330 inline void set_component(
int index,
const void* value,
size_t size);
1331 inline ::std::string* add_component();
1332 inline void add_component(const ::std::string& value);
1333 inline void add_component(
const char* value);
1334 inline void add_component(
const void* value,
size_t size);
1335 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
1336 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
1341 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1343 ::google::protobuf::uint32 _has_bits_[1];
1344 mutable int _cached_size_;
1346 friend void protobuf_AddDesc_fib_2dentry_2eproto();
1347 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
1348 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
1350 void InitAsDefaultInstance();
1351 static FibEntryMessage_Name* default_instance_;
1355 class FibEntryMessage_NextHopRecord :
public ::google::protobuf::Message {
1357 FibEntryMessage_NextHopRecord();
1358 virtual ~FibEntryMessage_NextHopRecord();
1360 FibEntryMessage_NextHopRecord(
const FibEntryMessage_NextHopRecord& from);
1362 inline FibEntryMessage_NextHopRecord& operator=(
const FibEntryMessage_NextHopRecord& from) {
1367 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1368 return _unknown_fields_;
1371 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1372 return &_unknown_fields_;
1375 static const ::google::protobuf::Descriptor* descriptor();
1376 static const FibEntryMessage_NextHopRecord& default_instance();
1378 void Swap(FibEntryMessage_NextHopRecord* other);
1382 FibEntryMessage_NextHopRecord* New()
const;
1383 void CopyFrom(const ::google::protobuf::Message& from);
1384 void MergeFrom(const ::google::protobuf::Message& from);
1385 void CopyFrom(
const FibEntryMessage_NextHopRecord& from);
1386 void MergeFrom(
const FibEntryMessage_NextHopRecord& from);
1388 bool IsInitialized()
const;
1390 int ByteSize()
const;
1391 bool MergePartialFromCodedStream(
1392 ::google::protobuf::io::CodedInputStream* input);
1393 void SerializeWithCachedSizes(
1394 ::google::protobuf::io::CodedOutputStream* output)
const;
1395 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1396 int GetCachedSize()
const {
return _cached_size_; }
1400 void SetCachedSize(
int size)
const;
1402 ::google::protobuf::Metadata GetMetadata()
const;
1409 inline bool has_face_id()
const;
1410 inline void clear_face_id();
1411 static const int kFaceIdFieldNumber = 105;
1412 inline ::google::protobuf::uint32 face_id()
const;
1413 inline void set_face_id(::google::protobuf::uint32 value);
1416 inline bool has_cost()
const;
1417 inline void clear_cost();
1418 static const int kCostFieldNumber = 106;
1419 inline ::google::protobuf::uint32 cost()
const;
1420 inline void set_cost(::google::protobuf::uint32 value);
1424 inline void set_has_face_id();
1425 inline void clear_has_face_id();
1426 inline void set_has_cost();
1427 inline void clear_has_cost();
1429 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1431 ::google::protobuf::uint32 _has_bits_[1];
1432 mutable int _cached_size_;
1433 ::google::protobuf::uint32 face_id_;
1434 ::google::protobuf::uint32 cost_;
1435 friend void protobuf_AddDesc_fib_2dentry_2eproto();
1436 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
1437 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
1439 void InitAsDefaultInstance();
1440 static FibEntryMessage_NextHopRecord* default_instance_;
1444 class FibEntryMessage_FibEntry :
public ::google::protobuf::Message {
1446 FibEntryMessage_FibEntry();
1447 virtual ~FibEntryMessage_FibEntry();
1449 FibEntryMessage_FibEntry(
const FibEntryMessage_FibEntry& from);
1451 inline FibEntryMessage_FibEntry& operator=(
const FibEntryMessage_FibEntry& from) {
1456 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1457 return _unknown_fields_;
1460 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1461 return &_unknown_fields_;
1464 static const ::google::protobuf::Descriptor* descriptor();
1465 static const FibEntryMessage_FibEntry& default_instance();
1467 void Swap(FibEntryMessage_FibEntry* other);
1471 FibEntryMessage_FibEntry* New()
const;
1472 void CopyFrom(const ::google::protobuf::Message& from);
1473 void MergeFrom(const ::google::protobuf::Message& from);
1474 void CopyFrom(
const FibEntryMessage_FibEntry& from);
1475 void MergeFrom(
const FibEntryMessage_FibEntry& from);
1477 bool IsInitialized()
const;
1479 int ByteSize()
const;
1480 bool MergePartialFromCodedStream(
1481 ::google::protobuf::io::CodedInputStream* input);
1482 void SerializeWithCachedSizes(
1483 ::google::protobuf::io::CodedOutputStream* output)
const;
1484 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1485 int GetCachedSize()
const {
return _cached_size_; }
1489 void SetCachedSize(
int size)
const;
1491 ::google::protobuf::Metadata GetMetadata()
const;
1498 inline bool has_name()
const;
1499 inline void clear_name();
1500 static const int kNameFieldNumber = 7;
1501 inline const ::ndn_message::FibEntryMessage_Name& name()
const;
1502 inline ::ndn_message::FibEntryMessage_Name* mutable_name();
1503 inline ::ndn_message::FibEntryMessage_Name* release_name();
1507 inline int next_hop_records_size()
const;
1508 inline void clear_next_hop_records();
1509 static const int kNextHopRecordsFieldNumber = 129;
1510 inline const ::ndn_message::FibEntryMessage_NextHopRecord& next_hop_records(
int index)
const;
1511 inline ::ndn_message::FibEntryMessage_NextHopRecord* mutable_next_hop_records(
int index);
1512 inline ::ndn_message::FibEntryMessage_NextHopRecord* add_next_hop_records();
1513 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >&
1514 next_hop_records()
const;
1515 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >*
1516 mutable_next_hop_records();
1520 inline void set_has_name();
1521 inline void clear_has_name();
1523 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1525 ::google::protobuf::uint32 _has_bits_[1];
1526 mutable int _cached_size_;
1529 friend void protobuf_AddDesc_fib_2dentry_2eproto();
1530 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
1531 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
1533 void InitAsDefaultInstance();
1534 static FibEntryMessage_FibEntry* default_instance_;
1538 class FibEntryMessage :
public ::google::protobuf::Message {
1541 virtual ~FibEntryMessage();
1543 FibEntryMessage(
const FibEntryMessage& from);
1545 inline FibEntryMessage& operator=(
const FibEntryMessage& from) {
1550 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1551 return _unknown_fields_;
1554 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1555 return &_unknown_fields_;
1558 static const ::google::protobuf::Descriptor* descriptor();
1559 static const FibEntryMessage& default_instance();
1561 void Swap(FibEntryMessage* other);
1565 FibEntryMessage* New()
const;
1566 void CopyFrom(const ::google::protobuf::Message& from);
1567 void MergeFrom(const ::google::protobuf::Message& from);
1568 void CopyFrom(
const FibEntryMessage& from);
1569 void MergeFrom(
const FibEntryMessage& from);
1571 bool IsInitialized()
const;
1573 int ByteSize()
const;
1574 bool MergePartialFromCodedStream(
1575 ::google::protobuf::io::CodedInputStream* input);
1576 void SerializeWithCachedSizes(
1577 ::google::protobuf::io::CodedOutputStream* output)
const;
1578 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1579 int GetCachedSize()
const {
return _cached_size_; }
1583 void SetCachedSize(
int size)
const;
1585 ::google::protobuf::Metadata GetMetadata()
const;
1589 typedef FibEntryMessage_Name Name;
1590 typedef FibEntryMessage_NextHopRecord NextHopRecord;
1591 typedef FibEntryMessage_FibEntry FibEntry;
1596 inline bool has_fib_entry()
const;
1597 inline void clear_fib_entry();
1598 static const int kFibEntryFieldNumber = 128;
1599 inline const ::ndn_message::FibEntryMessage_FibEntry& fib_entry()
const;
1600 inline ::ndn_message::FibEntryMessage_FibEntry* mutable_fib_entry();
1601 inline ::ndn_message::FibEntryMessage_FibEntry* release_fib_entry();
1606 inline void set_has_fib_entry();
1607 inline void clear_has_fib_entry();
1609 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1611 ::google::protobuf::uint32 _has_bits_[1];
1612 mutable int _cached_size_;
1614 friend void protobuf_AddDesc_fib_2dentry_2eproto();
1615 friend void protobuf_AssignDesc_fib_2dentry_2eproto();
1616 friend void protobuf_ShutdownFile_fib_2dentry_2eproto();
1618 void InitAsDefaultInstance();
1619 static FibEntryMessage* default_instance_;
1629 inline int FibEntryMessage_Name::component_size()
const {
1630 return component_.size();
1632 inline void FibEntryMessage_Name::clear_component() {
1635 inline const ::std::string& FibEntryMessage_Name::component(
int index)
const {
1637 return component_.Get(index);
1639 inline ::std::string* FibEntryMessage_Name::mutable_component(
int index) {
1641 return component_.Mutable(index);
1643 inline void FibEntryMessage_Name::set_component(
int index, const ::std::string& value) {
1645 component_.Mutable(index)->assign(value);
1647 inline void FibEntryMessage_Name::set_component(
int index,
const char* value) {
1648 component_.Mutable(index)->assign(value);
1651 inline void FibEntryMessage_Name::set_component(
int index,
const void* value,
size_t size) {
1652 component_.Mutable(index)->assign(
1653 reinterpret_cast<const char*>(value), size);
1656 inline ::std::string* FibEntryMessage_Name::add_component() {
1657 return component_.Add();
1659 inline void FibEntryMessage_Name::add_component(const ::std::string& value) {
1660 component_.Add()->assign(value);
1663 inline void FibEntryMessage_Name::add_component(
const char* value) {
1664 component_.Add()->assign(value);
1667 inline void FibEntryMessage_Name::add_component(
const void* value,
size_t size) {
1668 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
1671 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1672 FibEntryMessage_Name::component()
const {
1676 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1677 FibEntryMessage_Name::mutable_component() {
1687 inline bool FibEntryMessage_NextHopRecord::has_face_id()
const {
1688 return (_has_bits_[0] & 0x00000001u) != 0;
1690 inline void FibEntryMessage_NextHopRecord::set_has_face_id() {
1691 _has_bits_[0] |= 0x00000001u;
1693 inline void FibEntryMessage_NextHopRecord::clear_has_face_id() {
1694 _has_bits_[0] &= ~0x00000001u;
1696 inline void FibEntryMessage_NextHopRecord::clear_face_id() {
1698 clear_has_face_id();
1700 inline ::google::protobuf::uint32 FibEntryMessage_NextHopRecord::face_id()
const {
1704 inline void FibEntryMessage_NextHopRecord::set_face_id(::google::protobuf::uint32 value) {
1711 inline bool FibEntryMessage_NextHopRecord::has_cost()
const {
1712 return (_has_bits_[0] & 0x00000002u) != 0;
1714 inline void FibEntryMessage_NextHopRecord::set_has_cost() {
1715 _has_bits_[0] |= 0x00000002u;
1717 inline void FibEntryMessage_NextHopRecord::clear_has_cost() {
1718 _has_bits_[0] &= ~0x00000002u;
1720 inline void FibEntryMessage_NextHopRecord::clear_cost() {
1724 inline ::google::protobuf::uint32 FibEntryMessage_NextHopRecord::cost()
const {
1728 inline void FibEntryMessage_NextHopRecord::set_cost(::google::protobuf::uint32 value) {
1739 inline bool FibEntryMessage_FibEntry::has_name()
const {
1740 return (_has_bits_[0] & 0x00000001u) != 0;
1742 inline void FibEntryMessage_FibEntry::set_has_name() {
1743 _has_bits_[0] |= 0x00000001u;
1745 inline void FibEntryMessage_FibEntry::clear_has_name() {
1746 _has_bits_[0] &= ~0x00000001u;
1748 inline void FibEntryMessage_FibEntry::clear_name() {
1749 if (name_ != NULL) name_->::ndn_message::FibEntryMessage_Name::Clear();
1752 inline const ::ndn_message::FibEntryMessage_Name& FibEntryMessage_FibEntry::name()
const {
1754 return name_ != NULL ? *name_ : *default_instance_->name_;
1756 inline ::ndn_message::FibEntryMessage_Name* FibEntryMessage_FibEntry::mutable_name() {
1758 if (name_ == NULL) name_ = new ::ndn_message::FibEntryMessage_Name;
1762 inline ::ndn_message::FibEntryMessage_Name* FibEntryMessage_FibEntry::release_name() {
1780 inline int FibEntryMessage_FibEntry::next_hop_records_size()
const {
1781 return next_hop_records_.size();
1783 inline void FibEntryMessage_FibEntry::clear_next_hop_records() {
1784 next_hop_records_.Clear();
1786 inline const ::ndn_message::FibEntryMessage_NextHopRecord& FibEntryMessage_FibEntry::next_hop_records(
int index)
const {
1788 return next_hop_records_.Get(index);
1790 inline ::ndn_message::FibEntryMessage_NextHopRecord* FibEntryMessage_FibEntry::mutable_next_hop_records(
int index) {
1792 return next_hop_records_.Mutable(index);
1794 inline ::ndn_message::FibEntryMessage_NextHopRecord* FibEntryMessage_FibEntry::add_next_hop_records() {
1796 return next_hop_records_.Add();
1798 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >&
1799 FibEntryMessage_FibEntry::next_hop_records()
const {
1801 return next_hop_records_;
1803 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::FibEntryMessage_NextHopRecord >*
1804 FibEntryMessage_FibEntry::mutable_next_hop_records() {
1806 return &next_hop_records_;
1814 inline bool FibEntryMessage::has_fib_entry()
const {
1815 return (_has_bits_[0] & 0x00000001u) != 0;
1817 inline void FibEntryMessage::set_has_fib_entry() {
1818 _has_bits_[0] |= 0x00000001u;
1820 inline void FibEntryMessage::clear_has_fib_entry() {
1821 _has_bits_[0] &= ~0x00000001u;
1823 inline void FibEntryMessage::clear_fib_entry() {
1824 if (fib_entry_ != NULL) fib_entry_->::ndn_message::FibEntryMessage_FibEntry::Clear();
1825 clear_has_fib_entry();
1827 inline const ::ndn_message::FibEntryMessage_FibEntry& FibEntryMessage::fib_entry()
const {
1829 return fib_entry_ != NULL ? *fib_entry_ : *default_instance_->fib_entry_;
1831 inline ::ndn_message::FibEntryMessage_FibEntry* FibEntryMessage::mutable_fib_entry() {
1832 set_has_fib_entry();
1833 if (fib_entry_ == NULL) fib_entry_ = new ::ndn_message::FibEntryMessage_FibEntry;
1837 inline ::ndn_message::FibEntryMessage_FibEntry* FibEntryMessage::release_fib_entry() {
1838 clear_has_fib_entry();
1845 fib_entry_ = fib_entry;
1847 set_has_fib_entry();
1849 clear_has_fib_entry();
1861 namespace protobuf {
1870 #endif // GOOGLE_PROTOBUF_VERSION < 2006000
1872 #endif // PROTOBUF_fib_2dentry_2eproto__INCLUDED
Definition: channel-status.pb.h:32
Definition: fib-entry.pb.h:226
Definition: fib-entry.pb.h:45
Definition: fib-entry.pb.h:134
Copyright (C) 2014-2016 Regents of the University of California.
Definition: channel-status.pb.h:315
Definition: fib-entry.pb.h:322