4 #ifndef PROTOBUF_rib_2dentry_2eproto__INCLUDED
5 #define PROTOBUF_rib_2dentry_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
13 #if GOOGLE_PROTOBUF_VERSION < 2005000
15 #if GOOGLE_PROTOBUF_VERSION < 2004000
16 #error This file was generated by a newer version of protoc which is
17 #error incompatible with your Protocol Buffer headers. Please update
20 #if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
21 #error This file was generated by an older version of protoc which is
22 #error incompatible with your Protocol Buffer headers. Please
23 #error regenerate this file with a newer version of protoc.
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_message_reflection.h>
35 void protobuf_AddDesc_rib_2dentry_2eproto();
36 void protobuf_AssignDesc_rib_2dentry_2eproto();
37 void protobuf_ShutdownFile_rib_2dentry_2eproto();
39 class RibEntryMessage;
40 class RibEntryMessage_Name;
41 class RibEntryMessage_Route;
42 class RibEntryMessage_RibEntry;
58 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
59 return _unknown_fields_;
62 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63 return &_unknown_fields_;
66 static const ::google::protobuf::Descriptor* descriptor();
74 void CopyFrom(const ::google::protobuf::Message& from);
75 void MergeFrom(const ::google::protobuf::Message& from);
79 bool IsInitialized()
const;
82 bool MergePartialFromCodedStream(
83 ::google::protobuf::io::CodedInputStream* input);
84 void SerializeWithCachedSizes(
85 ::google::protobuf::io::CodedOutputStream* output)
const;
86 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
87 int GetCachedSize()
const {
return _cached_size_; }
91 void SetCachedSize(
int size)
const;
94 ::google::protobuf::Metadata GetMetadata()
const;
101 inline int component_size()
const;
102 inline void clear_component();
103 static const int kComponentFieldNumber = 8;
104 inline const ::std::string& component(
int index)
const;
105 inline ::std::string* mutable_component(
int index);
106 inline void set_component(
int index, const ::std::string& value);
107 inline void set_component(
int index,
const char* value);
108 inline void set_component(
int index,
const void* value,
size_t size);
109 inline ::std::string* add_component();
110 inline void add_component(const ::std::string& value);
111 inline void add_component(
const char* value);
112 inline void add_component(
const void* value,
size_t size);
113 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
114 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
119 ::google::protobuf::UnknownFieldSet _unknown_fields_;
123 mutable int _cached_size_;
124 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
126 friend void protobuf_AddDesc_rib_2dentry_2eproto();
127 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
128 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
130 void InitAsDefaultInstance();
147 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
148 return _unknown_fields_;
151 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
152 return &_unknown_fields_;
155 static const ::google::protobuf::Descriptor* descriptor();
163 void CopyFrom(const ::google::protobuf::Message& from);
164 void MergeFrom(const ::google::protobuf::Message& from);
168 bool IsInitialized()
const;
170 int ByteSize()
const;
171 bool MergePartialFromCodedStream(
172 ::google::protobuf::io::CodedInputStream* input);
173 void SerializeWithCachedSizes(
174 ::google::protobuf::io::CodedOutputStream* output)
const;
175 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
176 int GetCachedSize()
const {
return _cached_size_; }
180 void SetCachedSize(
int size)
const;
183 ::google::protobuf::Metadata GetMetadata()
const;
190 inline bool has_face_id()
const;
191 inline void clear_face_id();
192 static const int kFaceIdFieldNumber = 105;
193 inline ::google::protobuf::uint32 face_id()
const;
194 inline void set_face_id(::google::protobuf::uint32 value);
197 inline bool has_origin()
const;
198 inline void clear_origin();
199 static const int kOriginFieldNumber = 111;
200 inline ::google::protobuf::uint32 origin()
const;
201 inline void set_origin(::google::protobuf::uint32 value);
204 inline bool has_cost()
const;
205 inline void clear_cost();
206 static const int kCostFieldNumber = 106;
207 inline ::google::protobuf::uint32 cost()
const;
208 inline void set_cost(::google::protobuf::uint32 value);
211 inline bool has_flags()
const;
212 inline void clear_flags();
213 static const int kFlagsFieldNumber = 108;
214 inline ::google::protobuf::uint32 flags()
const;
215 inline void set_flags(::google::protobuf::uint32 value);
218 inline bool has_expiration_period()
const;
219 inline void clear_expiration_period();
220 static const int kExpirationPeriodFieldNumber = 109;
221 inline ::google::protobuf::uint32 expiration_period()
const;
222 inline void set_expiration_period(::google::protobuf::uint32 value);
226 inline void set_has_face_id();
227 inline void clear_has_face_id();
228 inline void set_has_origin();
229 inline void clear_has_origin();
230 inline void set_has_cost();
231 inline void clear_has_cost();
232 inline void set_has_flags();
233 inline void clear_has_flags();
234 inline void set_has_expiration_period();
235 inline void clear_has_expiration_period();
237 ::google::protobuf::UnknownFieldSet _unknown_fields_;
239 ::google::protobuf::uint32 face_id_;
240 ::google::protobuf::uint32 origin_;
241 ::google::protobuf::uint32 cost_;
242 ::google::protobuf::uint32 flags_;
243 ::google::protobuf::uint32 expiration_period_;
245 mutable int _cached_size_;
246 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
248 friend void protobuf_AddDesc_rib_2dentry_2eproto();
249 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
250 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
252 void InitAsDefaultInstance();
269 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
270 return _unknown_fields_;
273 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
274 return &_unknown_fields_;
277 static const ::google::protobuf::Descriptor* descriptor();
285 void CopyFrom(const ::google::protobuf::Message& from);
286 void MergeFrom(const ::google::protobuf::Message& from);
290 bool IsInitialized()
const;
292 int ByteSize()
const;
293 bool MergePartialFromCodedStream(
294 ::google::protobuf::io::CodedInputStream* input);
295 void SerializeWithCachedSizes(
296 ::google::protobuf::io::CodedOutputStream* output)
const;
297 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
298 int GetCachedSize()
const {
return _cached_size_; }
302 void SetCachedSize(
int size)
const;
305 ::google::protobuf::Metadata GetMetadata()
const;
312 inline bool has_name()
const;
313 inline void clear_name();
314 static const int kNameFieldNumber = 7;
315 inline const ::ndn_message::RibEntryMessage_Name& name()
const;
316 inline ::ndn_message::RibEntryMessage_Name* mutable_name();
317 inline ::ndn_message::RibEntryMessage_Name* release_name();
320 inline int routes_size()
const;
321 inline void clear_routes();
322 static const int kRoutesFieldNumber = 129;
323 inline const ::ndn_message::RibEntryMessage_Route& routes(
int index)
const;
324 inline ::ndn_message::RibEntryMessage_Route* mutable_routes(
int index);
325 inline ::ndn_message::RibEntryMessage_Route* add_routes();
326 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >&
328 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >*
333 inline void set_has_name();
334 inline void clear_has_name();
336 ::google::protobuf::UnknownFieldSet _unknown_fields_;
341 mutable int _cached_size_;
342 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
344 friend void protobuf_AddDesc_rib_2dentry_2eproto();
345 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
346 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
348 void InitAsDefaultInstance();
365 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
366 return _unknown_fields_;
369 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
370 return &_unknown_fields_;
373 static const ::google::protobuf::Descriptor* descriptor();
381 void CopyFrom(const ::google::protobuf::Message& from);
382 void MergeFrom(const ::google::protobuf::Message& from);
386 bool IsInitialized()
const;
388 int ByteSize()
const;
389 bool MergePartialFromCodedStream(
390 ::google::protobuf::io::CodedInputStream* input);
391 void SerializeWithCachedSizes(
392 ::google::protobuf::io::CodedOutputStream* output)
const;
393 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
394 int GetCachedSize()
const {
return _cached_size_; }
398 void SetCachedSize(
int size)
const;
401 ::google::protobuf::Metadata GetMetadata()
const;
412 inline int rib_entry_size()
const;
413 inline void clear_rib_entry();
414 static const int kRibEntryFieldNumber = 128;
415 inline const ::ndn_message::RibEntryMessage_RibEntry& rib_entry(
int index)
const;
416 inline ::ndn_message::RibEntryMessage_RibEntry* mutable_rib_entry(
int index);
417 inline ::ndn_message::RibEntryMessage_RibEntry* add_rib_entry();
418 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >&
420 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >*
426 ::google::protobuf::UnknownFieldSet _unknown_fields_;
430 mutable int _cached_size_;
431 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
433 friend void protobuf_AddDesc_rib_2dentry_2eproto();
434 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
435 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
437 void InitAsDefaultInstance();
448 inline int RibEntryMessage_Name::component_size()
const {
449 return component_.size();
451 inline void RibEntryMessage_Name::clear_component() {
454 inline const ::std::string& RibEntryMessage_Name::component(
int index)
const {
455 return component_.Get(index);
457 inline ::std::string* RibEntryMessage_Name::mutable_component(
int index) {
458 return component_.Mutable(index);
460 inline void RibEntryMessage_Name::set_component(
int index, const ::std::string& value) {
461 component_.Mutable(index)->assign(value);
463 inline void RibEntryMessage_Name::set_component(
int index,
const char* value) {
464 component_.Mutable(index)->assign(value);
466 inline void RibEntryMessage_Name::set_component(
int index,
const void* value,
size_t size) {
467 component_.Mutable(index)->assign(
468 reinterpret_cast<const char*>(value), size);
470 inline ::std::string* RibEntryMessage_Name::add_component() {
471 return component_.Add();
473 inline void RibEntryMessage_Name::add_component(const ::std::string& value) {
474 component_.Add()->assign(value);
476 inline void RibEntryMessage_Name::add_component(
const char* value) {
477 component_.Add()->assign(value);
479 inline void RibEntryMessage_Name::add_component(
const void* value,
size_t size) {
480 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
482 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
483 RibEntryMessage_Name::component()
const {
486 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
487 RibEntryMessage_Name::mutable_component() {
496 inline bool RibEntryMessage_Route::has_face_id()
const {
497 return (_has_bits_[0] & 0x00000001u) != 0;
499 inline void RibEntryMessage_Route::set_has_face_id() {
500 _has_bits_[0] |= 0x00000001u;
502 inline void RibEntryMessage_Route::clear_has_face_id() {
503 _has_bits_[0] &= ~0x00000001u;
505 inline void RibEntryMessage_Route::clear_face_id() {
509 inline ::google::protobuf::uint32 RibEntryMessage_Route::face_id()
const {
512 inline void RibEntryMessage_Route::set_face_id(::google::protobuf::uint32 value) {
518 inline bool RibEntryMessage_Route::has_origin()
const {
519 return (_has_bits_[0] & 0x00000002u) != 0;
521 inline void RibEntryMessage_Route::set_has_origin() {
522 _has_bits_[0] |= 0x00000002u;
524 inline void RibEntryMessage_Route::clear_has_origin() {
525 _has_bits_[0] &= ~0x00000002u;
527 inline void RibEntryMessage_Route::clear_origin() {
531 inline ::google::protobuf::uint32 RibEntryMessage_Route::origin()
const {
534 inline void RibEntryMessage_Route::set_origin(::google::protobuf::uint32 value) {
540 inline bool RibEntryMessage_Route::has_cost()
const {
541 return (_has_bits_[0] & 0x00000004u) != 0;
543 inline void RibEntryMessage_Route::set_has_cost() {
544 _has_bits_[0] |= 0x00000004u;
546 inline void RibEntryMessage_Route::clear_has_cost() {
547 _has_bits_[0] &= ~0x00000004u;
549 inline void RibEntryMessage_Route::clear_cost() {
553 inline ::google::protobuf::uint32 RibEntryMessage_Route::cost()
const {
556 inline void RibEntryMessage_Route::set_cost(::google::protobuf::uint32 value) {
562 inline bool RibEntryMessage_Route::has_flags()
const {
563 return (_has_bits_[0] & 0x00000008u) != 0;
565 inline void RibEntryMessage_Route::set_has_flags() {
566 _has_bits_[0] |= 0x00000008u;
568 inline void RibEntryMessage_Route::clear_has_flags() {
569 _has_bits_[0] &= ~0x00000008u;
571 inline void RibEntryMessage_Route::clear_flags() {
575 inline ::google::protobuf::uint32 RibEntryMessage_Route::flags()
const {
578 inline void RibEntryMessage_Route::set_flags(::google::protobuf::uint32 value) {
584 inline bool RibEntryMessage_Route::has_expiration_period()
const {
585 return (_has_bits_[0] & 0x00000010u) != 0;
587 inline void RibEntryMessage_Route::set_has_expiration_period() {
588 _has_bits_[0] |= 0x00000010u;
590 inline void RibEntryMessage_Route::clear_has_expiration_period() {
591 _has_bits_[0] &= ~0x00000010u;
593 inline void RibEntryMessage_Route::clear_expiration_period() {
594 expiration_period_ = 0u;
595 clear_has_expiration_period();
597 inline ::google::protobuf::uint32 RibEntryMessage_Route::expiration_period()
const {
598 return expiration_period_;
600 inline void RibEntryMessage_Route::set_expiration_period(::google::protobuf::uint32 value) {
601 set_has_expiration_period();
602 expiration_period_ = value;
610 inline bool RibEntryMessage_RibEntry::has_name()
const {
611 return (_has_bits_[0] & 0x00000001u) != 0;
613 inline void RibEntryMessage_RibEntry::set_has_name() {
614 _has_bits_[0] |= 0x00000001u;
616 inline void RibEntryMessage_RibEntry::clear_has_name() {
617 _has_bits_[0] &= ~0x00000001u;
619 inline void RibEntryMessage_RibEntry::clear_name() {
620 if (name_ != NULL) name_->::ndn_message::RibEntryMessage_Name::Clear();
623 inline const ::ndn_message::RibEntryMessage_Name& RibEntryMessage_RibEntry::name()
const {
624 return name_ != NULL ? *name_ : *default_instance_->name_;
626 inline ::ndn_message::RibEntryMessage_Name* RibEntryMessage_RibEntry::mutable_name() {
628 if (name_ == NULL) name_ = new ::ndn_message::RibEntryMessage_Name;
631 inline ::ndn_message::RibEntryMessage_Name* RibEntryMessage_RibEntry::release_name() {
639 inline int RibEntryMessage_RibEntry::routes_size()
const {
640 return routes_.size();
642 inline void RibEntryMessage_RibEntry::clear_routes() {
645 inline const ::ndn_message::RibEntryMessage_Route& RibEntryMessage_RibEntry::routes(
int index)
const {
646 return routes_.Get(index);
648 inline ::ndn_message::RibEntryMessage_Route* RibEntryMessage_RibEntry::mutable_routes(
int index) {
649 return routes_.Mutable(index);
651 inline ::ndn_message::RibEntryMessage_Route* RibEntryMessage_RibEntry::add_routes() {
652 return routes_.Add();
654 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >&
655 RibEntryMessage_RibEntry::routes()
const {
658 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >*
659 RibEntryMessage_RibEntry::mutable_routes() {
668 inline int RibEntryMessage::rib_entry_size()
const {
669 return rib_entry_.size();
671 inline void RibEntryMessage::clear_rib_entry() {
674 inline const ::ndn_message::RibEntryMessage_RibEntry& RibEntryMessage::rib_entry(
int index)
const {
675 return rib_entry_.Get(index);
677 inline ::ndn_message::RibEntryMessage_RibEntry* RibEntryMessage::mutable_rib_entry(
int index) {
678 return rib_entry_.Mutable(index);
680 inline ::ndn_message::RibEntryMessage_RibEntry* RibEntryMessage::add_rib_entry() {
681 return rib_entry_.Add();
683 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >&
684 RibEntryMessage::rib_entry()
const {
687 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >*
688 RibEntryMessage::mutable_rib_entry() {
708 #elif GOOGLE_PROTOBUF_VERSION < 2006000
710 #if GOOGLE_PROTOBUF_VERSION < 2005000
711 #error This file was generated by a newer version of protoc which is
712 #error incompatible with your Protocol Buffer headers. Please update
715 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
716 #error This file was generated by an older version of protoc which is
717 #error incompatible with your Protocol Buffer headers. Please
718 #error regenerate this file with a newer version of protoc.
721 #include <google/protobuf/generated_message_util.h>
722 #include <google/protobuf/message.h>
723 #include <google/protobuf/repeated_field.h>
724 #include <google/protobuf/extension_set.h>
725 #include <google/protobuf/unknown_field_set.h>
731 void protobuf_AddDesc_rib_2dentry_2eproto();
732 void protobuf_AssignDesc_rib_2dentry_2eproto();
733 void protobuf_ShutdownFile_rib_2dentry_2eproto();
735 class RibEntryMessage;
736 class RibEntryMessage_Name;
737 class RibEntryMessage_Route;
738 class RibEntryMessage_RibEntry;
742 class RibEntryMessage_Name :
public ::google::protobuf::Message {
744 RibEntryMessage_Name();
745 virtual ~RibEntryMessage_Name();
747 RibEntryMessage_Name(
const RibEntryMessage_Name& from);
749 inline RibEntryMessage_Name& operator=(
const RibEntryMessage_Name& from) {
754 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
755 return _unknown_fields_;
758 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
759 return &_unknown_fields_;
762 static const ::google::protobuf::Descriptor* descriptor();
763 static const RibEntryMessage_Name& default_instance();
765 void Swap(RibEntryMessage_Name* other);
769 RibEntryMessage_Name* New()
const;
770 void CopyFrom(const ::google::protobuf::Message& from);
771 void MergeFrom(const ::google::protobuf::Message& from);
772 void CopyFrom(
const RibEntryMessage_Name& from);
773 void MergeFrom(
const RibEntryMessage_Name& from);
775 bool IsInitialized()
const;
777 int ByteSize()
const;
778 bool MergePartialFromCodedStream(
779 ::google::protobuf::io::CodedInputStream* input);
780 void SerializeWithCachedSizes(
781 ::google::protobuf::io::CodedOutputStream* output)
const;
782 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
783 int GetCachedSize()
const {
return _cached_size_; }
787 void SetCachedSize(
int size)
const;
790 ::google::protobuf::Metadata GetMetadata()
const;
797 inline int component_size()
const;
798 inline void clear_component();
799 static const int kComponentFieldNumber = 8;
800 inline const ::std::string& component(
int index)
const;
801 inline ::std::string* mutable_component(
int index);
802 inline void set_component(
int index, const ::std::string& value);
803 inline void set_component(
int index,
const char* value);
804 inline void set_component(
int index,
const void* value,
size_t size);
805 inline ::std::string* add_component();
806 inline void add_component(const ::std::string& value);
807 inline void add_component(
const char* value);
808 inline void add_component(
const void* value,
size_t size);
809 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
810 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
815 ::google::protobuf::UnknownFieldSet _unknown_fields_;
819 mutable int _cached_size_;
820 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
822 friend void protobuf_AddDesc_rib_2dentry_2eproto();
823 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
824 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
826 void InitAsDefaultInstance();
827 static RibEntryMessage_Name* default_instance_;
831 class RibEntryMessage_Route :
public ::google::protobuf::Message {
833 RibEntryMessage_Route();
834 virtual ~RibEntryMessage_Route();
836 RibEntryMessage_Route(
const RibEntryMessage_Route& from);
838 inline RibEntryMessage_Route& operator=(
const RibEntryMessage_Route& from) {
843 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
844 return _unknown_fields_;
847 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
848 return &_unknown_fields_;
851 static const ::google::protobuf::Descriptor* descriptor();
852 static const RibEntryMessage_Route& default_instance();
854 void Swap(RibEntryMessage_Route* other);
858 RibEntryMessage_Route* New()
const;
859 void CopyFrom(const ::google::protobuf::Message& from);
860 void MergeFrom(const ::google::protobuf::Message& from);
861 void CopyFrom(
const RibEntryMessage_Route& from);
862 void MergeFrom(
const RibEntryMessage_Route& from);
864 bool IsInitialized()
const;
866 int ByteSize()
const;
867 bool MergePartialFromCodedStream(
868 ::google::protobuf::io::CodedInputStream* input);
869 void SerializeWithCachedSizes(
870 ::google::protobuf::io::CodedOutputStream* output)
const;
871 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
872 int GetCachedSize()
const {
return _cached_size_; }
876 void SetCachedSize(
int size)
const;
879 ::google::protobuf::Metadata GetMetadata()
const;
886 inline bool has_face_id()
const;
887 inline void clear_face_id();
888 static const int kFaceIdFieldNumber = 105;
889 inline ::google::protobuf::uint32 face_id()
const;
890 inline void set_face_id(::google::protobuf::uint32 value);
893 inline bool has_origin()
const;
894 inline void clear_origin();
895 static const int kOriginFieldNumber = 111;
896 inline ::google::protobuf::uint32 origin()
const;
897 inline void set_origin(::google::protobuf::uint32 value);
900 inline bool has_cost()
const;
901 inline void clear_cost();
902 static const int kCostFieldNumber = 106;
903 inline ::google::protobuf::uint32 cost()
const;
904 inline void set_cost(::google::protobuf::uint32 value);
907 inline bool has_flags()
const;
908 inline void clear_flags();
909 static const int kFlagsFieldNumber = 108;
910 inline ::google::protobuf::uint32 flags()
const;
911 inline void set_flags(::google::protobuf::uint32 value);
914 inline bool has_expiration_period()
const;
915 inline void clear_expiration_period();
916 static const int kExpirationPeriodFieldNumber = 109;
917 inline ::google::protobuf::uint32 expiration_period()
const;
918 inline void set_expiration_period(::google::protobuf::uint32 value);
922 inline void set_has_face_id();
923 inline void clear_has_face_id();
924 inline void set_has_origin();
925 inline void clear_has_origin();
926 inline void set_has_cost();
927 inline void clear_has_cost();
928 inline void set_has_flags();
929 inline void clear_has_flags();
930 inline void set_has_expiration_period();
931 inline void clear_has_expiration_period();
933 ::google::protobuf::UnknownFieldSet _unknown_fields_;
935 ::google::protobuf::uint32 face_id_;
936 ::google::protobuf::uint32 origin_;
937 ::google::protobuf::uint32 cost_;
938 ::google::protobuf::uint32 flags_;
939 ::google::protobuf::uint32 expiration_period_;
941 mutable int _cached_size_;
942 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
944 friend void protobuf_AddDesc_rib_2dentry_2eproto();
945 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
946 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
948 void InitAsDefaultInstance();
949 static RibEntryMessage_Route* default_instance_;
953 class RibEntryMessage_RibEntry :
public ::google::protobuf::Message {
955 RibEntryMessage_RibEntry();
956 virtual ~RibEntryMessage_RibEntry();
958 RibEntryMessage_RibEntry(
const RibEntryMessage_RibEntry& from);
960 inline RibEntryMessage_RibEntry& operator=(
const RibEntryMessage_RibEntry& from) {
965 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
966 return _unknown_fields_;
969 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
970 return &_unknown_fields_;
973 static const ::google::protobuf::Descriptor* descriptor();
974 static const RibEntryMessage_RibEntry& default_instance();
976 void Swap(RibEntryMessage_RibEntry* other);
980 RibEntryMessage_RibEntry* New()
const;
981 void CopyFrom(const ::google::protobuf::Message& from);
982 void MergeFrom(const ::google::protobuf::Message& from);
983 void CopyFrom(
const RibEntryMessage_RibEntry& from);
984 void MergeFrom(
const RibEntryMessage_RibEntry& from);
986 bool IsInitialized()
const;
988 int ByteSize()
const;
989 bool MergePartialFromCodedStream(
990 ::google::protobuf::io::CodedInputStream* input);
991 void SerializeWithCachedSizes(
992 ::google::protobuf::io::CodedOutputStream* output)
const;
993 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
994 int GetCachedSize()
const {
return _cached_size_; }
998 void SetCachedSize(
int size)
const;
1001 ::google::protobuf::Metadata GetMetadata()
const;
1008 inline bool has_name()
const;
1009 inline void clear_name();
1010 static const int kNameFieldNumber = 7;
1011 inline const ::ndn_message::RibEntryMessage_Name& name()
const;
1012 inline ::ndn_message::RibEntryMessage_Name* mutable_name();
1013 inline ::ndn_message::RibEntryMessage_Name* release_name();
1017 inline int routes_size()
const;
1018 inline void clear_routes();
1019 static const int kRoutesFieldNumber = 129;
1020 inline const ::ndn_message::RibEntryMessage_Route& routes(
int index)
const;
1021 inline ::ndn_message::RibEntryMessage_Route* mutable_routes(
int index);
1022 inline ::ndn_message::RibEntryMessage_Route* add_routes();
1023 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >&
1025 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >*
1030 inline void set_has_name();
1031 inline void clear_has_name();
1033 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1038 mutable int _cached_size_;
1039 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
1041 friend void protobuf_AddDesc_rib_2dentry_2eproto();
1042 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
1043 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
1045 void InitAsDefaultInstance();
1046 static RibEntryMessage_RibEntry* default_instance_;
1050 class RibEntryMessage :
public ::google::protobuf::Message {
1053 virtual ~RibEntryMessage();
1055 RibEntryMessage(
const RibEntryMessage& from);
1057 inline RibEntryMessage& operator=(
const RibEntryMessage& from) {
1062 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1063 return _unknown_fields_;
1066 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1067 return &_unknown_fields_;
1070 static const ::google::protobuf::Descriptor* descriptor();
1071 static const RibEntryMessage& default_instance();
1073 void Swap(RibEntryMessage* other);
1077 RibEntryMessage* New()
const;
1078 void CopyFrom(const ::google::protobuf::Message& from);
1079 void MergeFrom(const ::google::protobuf::Message& from);
1080 void CopyFrom(
const RibEntryMessage& from);
1081 void MergeFrom(
const RibEntryMessage& from);
1083 bool IsInitialized()
const;
1085 int ByteSize()
const;
1086 bool MergePartialFromCodedStream(
1087 ::google::protobuf::io::CodedInputStream* input);
1088 void SerializeWithCachedSizes(
1089 ::google::protobuf::io::CodedOutputStream* output)
const;
1090 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1091 int GetCachedSize()
const {
return _cached_size_; }
1095 void SetCachedSize(
int size)
const;
1098 ::google::protobuf::Metadata GetMetadata()
const;
1102 typedef RibEntryMessage_Name Name;
1103 typedef RibEntryMessage_Route Route;
1104 typedef RibEntryMessage_RibEntry RibEntry;
1109 inline int rib_entry_size()
const;
1110 inline void clear_rib_entry();
1111 static const int kRibEntryFieldNumber = 128;
1112 inline const ::ndn_message::RibEntryMessage_RibEntry& rib_entry(
int index)
const;
1113 inline ::ndn_message::RibEntryMessage_RibEntry* mutable_rib_entry(
int index);
1114 inline ::ndn_message::RibEntryMessage_RibEntry* add_rib_entry();
1115 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >&
1117 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >*
1118 mutable_rib_entry();
1123 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1127 mutable int _cached_size_;
1128 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1130 friend void protobuf_AddDesc_rib_2dentry_2eproto();
1131 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
1132 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
1134 void InitAsDefaultInstance();
1135 static RibEntryMessage* default_instance_;
1145 inline int RibEntryMessage_Name::component_size()
const {
1146 return component_.size();
1148 inline void RibEntryMessage_Name::clear_component() {
1151 inline const ::std::string& RibEntryMessage_Name::component(
int index)
const {
1152 return component_.Get(index);
1154 inline ::std::string* RibEntryMessage_Name::mutable_component(
int index) {
1155 return component_.Mutable(index);
1157 inline void RibEntryMessage_Name::set_component(
int index, const ::std::string& value) {
1158 component_.Mutable(index)->assign(value);
1160 inline void RibEntryMessage_Name::set_component(
int index,
const char* value) {
1161 component_.Mutable(index)->assign(value);
1163 inline void RibEntryMessage_Name::set_component(
int index,
const void* value,
size_t size) {
1164 component_.Mutable(index)->assign(
1165 reinterpret_cast<const char*>(value), size);
1167 inline ::std::string* RibEntryMessage_Name::add_component() {
1168 return component_.Add();
1170 inline void RibEntryMessage_Name::add_component(const ::std::string& value) {
1171 component_.Add()->assign(value);
1173 inline void RibEntryMessage_Name::add_component(
const char* value) {
1174 component_.Add()->assign(value);
1176 inline void RibEntryMessage_Name::add_component(
const void* value,
size_t size) {
1177 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
1179 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1180 RibEntryMessage_Name::component()
const {
1183 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1184 RibEntryMessage_Name::mutable_component() {
1193 inline bool RibEntryMessage_Route::has_face_id()
const {
1194 return (_has_bits_[0] & 0x00000001u) != 0;
1196 inline void RibEntryMessage_Route::set_has_face_id() {
1197 _has_bits_[0] |= 0x00000001u;
1199 inline void RibEntryMessage_Route::clear_has_face_id() {
1200 _has_bits_[0] &= ~0x00000001u;
1202 inline void RibEntryMessage_Route::clear_face_id() {
1204 clear_has_face_id();
1206 inline ::google::protobuf::uint32 RibEntryMessage_Route::face_id()
const {
1209 inline void RibEntryMessage_Route::set_face_id(::google::protobuf::uint32 value) {
1215 inline bool RibEntryMessage_Route::has_origin()
const {
1216 return (_has_bits_[0] & 0x00000002u) != 0;
1218 inline void RibEntryMessage_Route::set_has_origin() {
1219 _has_bits_[0] |= 0x00000002u;
1221 inline void RibEntryMessage_Route::clear_has_origin() {
1222 _has_bits_[0] &= ~0x00000002u;
1224 inline void RibEntryMessage_Route::clear_origin() {
1228 inline ::google::protobuf::uint32 RibEntryMessage_Route::origin()
const {
1231 inline void RibEntryMessage_Route::set_origin(::google::protobuf::uint32 value) {
1237 inline bool RibEntryMessage_Route::has_cost()
const {
1238 return (_has_bits_[0] & 0x00000004u) != 0;
1240 inline void RibEntryMessage_Route::set_has_cost() {
1241 _has_bits_[0] |= 0x00000004u;
1243 inline void RibEntryMessage_Route::clear_has_cost() {
1244 _has_bits_[0] &= ~0x00000004u;
1246 inline void RibEntryMessage_Route::clear_cost() {
1250 inline ::google::protobuf::uint32 RibEntryMessage_Route::cost()
const {
1253 inline void RibEntryMessage_Route::set_cost(::google::protobuf::uint32 value) {
1259 inline bool RibEntryMessage_Route::has_flags()
const {
1260 return (_has_bits_[0] & 0x00000008u) != 0;
1262 inline void RibEntryMessage_Route::set_has_flags() {
1263 _has_bits_[0] |= 0x00000008u;
1265 inline void RibEntryMessage_Route::clear_has_flags() {
1266 _has_bits_[0] &= ~0x00000008u;
1268 inline void RibEntryMessage_Route::clear_flags() {
1272 inline ::google::protobuf::uint32 RibEntryMessage_Route::flags()
const {
1275 inline void RibEntryMessage_Route::set_flags(::google::protobuf::uint32 value) {
1281 inline bool RibEntryMessage_Route::has_expiration_period()
const {
1282 return (_has_bits_[0] & 0x00000010u) != 0;
1284 inline void RibEntryMessage_Route::set_has_expiration_period() {
1285 _has_bits_[0] |= 0x00000010u;
1287 inline void RibEntryMessage_Route::clear_has_expiration_period() {
1288 _has_bits_[0] &= ~0x00000010u;
1290 inline void RibEntryMessage_Route::clear_expiration_period() {
1291 expiration_period_ = 0u;
1292 clear_has_expiration_period();
1294 inline ::google::protobuf::uint32 RibEntryMessage_Route::expiration_period()
const {
1295 return expiration_period_;
1297 inline void RibEntryMessage_Route::set_expiration_period(::google::protobuf::uint32 value) {
1298 set_has_expiration_period();
1299 expiration_period_ = value;
1307 inline bool RibEntryMessage_RibEntry::has_name()
const {
1308 return (_has_bits_[0] & 0x00000001u) != 0;
1310 inline void RibEntryMessage_RibEntry::set_has_name() {
1311 _has_bits_[0] |= 0x00000001u;
1313 inline void RibEntryMessage_RibEntry::clear_has_name() {
1314 _has_bits_[0] &= ~0x00000001u;
1316 inline void RibEntryMessage_RibEntry::clear_name() {
1317 if (name_ != NULL) name_->::ndn_message::RibEntryMessage_Name::Clear();
1320 inline const ::ndn_message::RibEntryMessage_Name& RibEntryMessage_RibEntry::name()
const {
1321 return name_ != NULL ? *name_ : *default_instance_->name_;
1323 inline ::ndn_message::RibEntryMessage_Name* RibEntryMessage_RibEntry::mutable_name() {
1325 if (name_ == NULL) name_ = new ::ndn_message::RibEntryMessage_Name;
1328 inline ::ndn_message::RibEntryMessage_Name* RibEntryMessage_RibEntry::release_name() {
1345 inline int RibEntryMessage_RibEntry::routes_size()
const {
1346 return routes_.size();
1348 inline void RibEntryMessage_RibEntry::clear_routes() {
1351 inline const ::ndn_message::RibEntryMessage_Route& RibEntryMessage_RibEntry::routes(
int index)
const {
1352 return routes_.Get(index);
1354 inline ::ndn_message::RibEntryMessage_Route* RibEntryMessage_RibEntry::mutable_routes(
int index) {
1355 return routes_.Mutable(index);
1357 inline ::ndn_message::RibEntryMessage_Route* RibEntryMessage_RibEntry::add_routes() {
1358 return routes_.Add();
1360 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >&
1361 RibEntryMessage_RibEntry::routes()
const {
1364 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >*
1365 RibEntryMessage_RibEntry::mutable_routes() {
1374 inline int RibEntryMessage::rib_entry_size()
const {
1375 return rib_entry_.size();
1377 inline void RibEntryMessage::clear_rib_entry() {
1380 inline const ::ndn_message::RibEntryMessage_RibEntry& RibEntryMessage::rib_entry(
int index)
const {
1381 return rib_entry_.Get(index);
1383 inline ::ndn_message::RibEntryMessage_RibEntry* RibEntryMessage::mutable_rib_entry(
int index) {
1384 return rib_entry_.Mutable(index);
1386 inline ::ndn_message::RibEntryMessage_RibEntry* RibEntryMessage::add_rib_entry() {
1387 return rib_entry_.Add();
1389 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >&
1390 RibEntryMessage::rib_entry()
const {
1393 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >*
1394 RibEntryMessage::mutable_rib_entry() {
1405 namespace protobuf {
1414 #else // GOOGLE_PROTOBUF_VERSION < 2006000
1416 #if GOOGLE_PROTOBUF_VERSION < 2006000
1417 #error This file was generated by a newer version of protoc which is
1418 #error incompatible with your Protocol Buffer headers. Please update
1419 #error your headers.
1421 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
1422 #error This file was generated by an older version of protoc which is
1423 #error incompatible with your Protocol Buffer headers. Please
1424 #error regenerate this file with a newer version of protoc.
1427 #include <google/protobuf/generated_message_util.h>
1428 #include <google/protobuf/message.h>
1429 #include <google/protobuf/repeated_field.h>
1430 #include <google/protobuf/extension_set.h>
1431 #include <google/protobuf/unknown_field_set.h>
1437 void protobuf_AddDesc_rib_2dentry_2eproto();
1438 void protobuf_AssignDesc_rib_2dentry_2eproto();
1439 void protobuf_ShutdownFile_rib_2dentry_2eproto();
1441 class RibEntryMessage;
1442 class RibEntryMessage_Name;
1443 class RibEntryMessage_Route;
1444 class RibEntryMessage_RibEntry;
1448 class RibEntryMessage_Name :
public ::google::protobuf::Message {
1450 RibEntryMessage_Name();
1451 virtual ~RibEntryMessage_Name();
1453 RibEntryMessage_Name(
const RibEntryMessage_Name& from);
1455 inline RibEntryMessage_Name& operator=(
const RibEntryMessage_Name& from) {
1460 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1461 return _unknown_fields_;
1464 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1465 return &_unknown_fields_;
1468 static const ::google::protobuf::Descriptor* descriptor();
1469 static const RibEntryMessage_Name& default_instance();
1471 void Swap(RibEntryMessage_Name* other);
1475 RibEntryMessage_Name* New()
const;
1476 void CopyFrom(const ::google::protobuf::Message& from);
1477 void MergeFrom(const ::google::protobuf::Message& from);
1478 void CopyFrom(
const RibEntryMessage_Name& from);
1479 void MergeFrom(
const RibEntryMessage_Name& from);
1481 bool IsInitialized()
const;
1483 int ByteSize()
const;
1484 bool MergePartialFromCodedStream(
1485 ::google::protobuf::io::CodedInputStream* input);
1486 void SerializeWithCachedSizes(
1487 ::google::protobuf::io::CodedOutputStream* output)
const;
1488 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1489 int GetCachedSize()
const {
return _cached_size_; }
1493 void SetCachedSize(
int size)
const;
1495 ::google::protobuf::Metadata GetMetadata()
const;
1502 inline int component_size()
const;
1503 inline void clear_component();
1504 static const int kComponentFieldNumber = 8;
1505 inline const ::std::string& component(
int index)
const;
1506 inline ::std::string* mutable_component(
int index);
1507 inline void set_component(
int index, const ::std::string& value);
1508 inline void set_component(
int index,
const char* value);
1509 inline void set_component(
int index,
const void* value,
size_t size);
1510 inline ::std::string* add_component();
1511 inline void add_component(const ::std::string& value);
1512 inline void add_component(
const char* value);
1513 inline void add_component(
const void* value,
size_t size);
1514 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
1515 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
1520 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1522 ::google::protobuf::uint32 _has_bits_[1];
1523 mutable int _cached_size_;
1525 friend void protobuf_AddDesc_rib_2dentry_2eproto();
1526 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
1527 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
1529 void InitAsDefaultInstance();
1530 static RibEntryMessage_Name* default_instance_;
1534 class RibEntryMessage_Route :
public ::google::protobuf::Message {
1536 RibEntryMessage_Route();
1537 virtual ~RibEntryMessage_Route();
1539 RibEntryMessage_Route(
const RibEntryMessage_Route& from);
1541 inline RibEntryMessage_Route& operator=(
const RibEntryMessage_Route& from) {
1546 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1547 return _unknown_fields_;
1550 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1551 return &_unknown_fields_;
1554 static const ::google::protobuf::Descriptor* descriptor();
1555 static const RibEntryMessage_Route& default_instance();
1557 void Swap(RibEntryMessage_Route* other);
1561 RibEntryMessage_Route* New()
const;
1562 void CopyFrom(const ::google::protobuf::Message& from);
1563 void MergeFrom(const ::google::protobuf::Message& from);
1564 void CopyFrom(
const RibEntryMessage_Route& from);
1565 void MergeFrom(
const RibEntryMessage_Route& from);
1567 bool IsInitialized()
const;
1569 int ByteSize()
const;
1570 bool MergePartialFromCodedStream(
1571 ::google::protobuf::io::CodedInputStream* input);
1572 void SerializeWithCachedSizes(
1573 ::google::protobuf::io::CodedOutputStream* output)
const;
1574 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1575 int GetCachedSize()
const {
return _cached_size_; }
1579 void SetCachedSize(
int size)
const;
1581 ::google::protobuf::Metadata GetMetadata()
const;
1588 inline bool has_face_id()
const;
1589 inline void clear_face_id();
1590 static const int kFaceIdFieldNumber = 105;
1591 inline ::google::protobuf::uint32 face_id()
const;
1592 inline void set_face_id(::google::protobuf::uint32 value);
1595 inline bool has_origin()
const;
1596 inline void clear_origin();
1597 static const int kOriginFieldNumber = 111;
1598 inline ::google::protobuf::uint32 origin()
const;
1599 inline void set_origin(::google::protobuf::uint32 value);
1602 inline bool has_cost()
const;
1603 inline void clear_cost();
1604 static const int kCostFieldNumber = 106;
1605 inline ::google::protobuf::uint32 cost()
const;
1606 inline void set_cost(::google::protobuf::uint32 value);
1609 inline bool has_flags()
const;
1610 inline void clear_flags();
1611 static const int kFlagsFieldNumber = 108;
1612 inline ::google::protobuf::uint32 flags()
const;
1613 inline void set_flags(::google::protobuf::uint32 value);
1616 inline bool has_expiration_period()
const;
1617 inline void clear_expiration_period();
1618 static const int kExpirationPeriodFieldNumber = 109;
1619 inline ::google::protobuf::uint32 expiration_period()
const;
1620 inline void set_expiration_period(::google::protobuf::uint32 value);
1624 inline void set_has_face_id();
1625 inline void clear_has_face_id();
1626 inline void set_has_origin();
1627 inline void clear_has_origin();
1628 inline void set_has_cost();
1629 inline void clear_has_cost();
1630 inline void set_has_flags();
1631 inline void clear_has_flags();
1632 inline void set_has_expiration_period();
1633 inline void clear_has_expiration_period();
1635 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1637 ::google::protobuf::uint32 _has_bits_[1];
1638 mutable int _cached_size_;
1639 ::google::protobuf::uint32 face_id_;
1640 ::google::protobuf::uint32 origin_;
1641 ::google::protobuf::uint32 cost_;
1642 ::google::protobuf::uint32 flags_;
1643 ::google::protobuf::uint32 expiration_period_;
1644 friend void protobuf_AddDesc_rib_2dentry_2eproto();
1645 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
1646 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
1648 void InitAsDefaultInstance();
1649 static RibEntryMessage_Route* default_instance_;
1653 class RibEntryMessage_RibEntry :
public ::google::protobuf::Message {
1655 RibEntryMessage_RibEntry();
1656 virtual ~RibEntryMessage_RibEntry();
1658 RibEntryMessage_RibEntry(
const RibEntryMessage_RibEntry& from);
1660 inline RibEntryMessage_RibEntry& operator=(
const RibEntryMessage_RibEntry& from) {
1665 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1666 return _unknown_fields_;
1669 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1670 return &_unknown_fields_;
1673 static const ::google::protobuf::Descriptor* descriptor();
1674 static const RibEntryMessage_RibEntry& default_instance();
1676 void Swap(RibEntryMessage_RibEntry* other);
1680 RibEntryMessage_RibEntry* New()
const;
1681 void CopyFrom(const ::google::protobuf::Message& from);
1682 void MergeFrom(const ::google::protobuf::Message& from);
1683 void CopyFrom(
const RibEntryMessage_RibEntry& from);
1684 void MergeFrom(
const RibEntryMessage_RibEntry& from);
1686 bool IsInitialized()
const;
1688 int ByteSize()
const;
1689 bool MergePartialFromCodedStream(
1690 ::google::protobuf::io::CodedInputStream* input);
1691 void SerializeWithCachedSizes(
1692 ::google::protobuf::io::CodedOutputStream* output)
const;
1693 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1694 int GetCachedSize()
const {
return _cached_size_; }
1698 void SetCachedSize(
int size)
const;
1700 ::google::protobuf::Metadata GetMetadata()
const;
1707 inline bool has_name()
const;
1708 inline void clear_name();
1709 static const int kNameFieldNumber = 7;
1710 inline const ::ndn_message::RibEntryMessage_Name& name()
const;
1711 inline ::ndn_message::RibEntryMessage_Name* mutable_name();
1712 inline ::ndn_message::RibEntryMessage_Name* release_name();
1716 inline int routes_size()
const;
1717 inline void clear_routes();
1718 static const int kRoutesFieldNumber = 129;
1719 inline const ::ndn_message::RibEntryMessage_Route& routes(
int index)
const;
1720 inline ::ndn_message::RibEntryMessage_Route* mutable_routes(
int index);
1721 inline ::ndn_message::RibEntryMessage_Route* add_routes();
1722 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >&
1724 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >*
1729 inline void set_has_name();
1730 inline void clear_has_name();
1732 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1734 ::google::protobuf::uint32 _has_bits_[1];
1735 mutable int _cached_size_;
1738 friend void protobuf_AddDesc_rib_2dentry_2eproto();
1739 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
1740 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
1742 void InitAsDefaultInstance();
1743 static RibEntryMessage_RibEntry* default_instance_;
1747 class RibEntryMessage :
public ::google::protobuf::Message {
1750 virtual ~RibEntryMessage();
1752 RibEntryMessage(
const RibEntryMessage& from);
1754 inline RibEntryMessage& operator=(
const RibEntryMessage& from) {
1759 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1760 return _unknown_fields_;
1763 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1764 return &_unknown_fields_;
1767 static const ::google::protobuf::Descriptor* descriptor();
1768 static const RibEntryMessage& default_instance();
1770 void Swap(RibEntryMessage* other);
1774 RibEntryMessage* New()
const;
1775 void CopyFrom(const ::google::protobuf::Message& from);
1776 void MergeFrom(const ::google::protobuf::Message& from);
1777 void CopyFrom(
const RibEntryMessage& from);
1778 void MergeFrom(
const RibEntryMessage& from);
1780 bool IsInitialized()
const;
1782 int ByteSize()
const;
1783 bool MergePartialFromCodedStream(
1784 ::google::protobuf::io::CodedInputStream* input);
1785 void SerializeWithCachedSizes(
1786 ::google::protobuf::io::CodedOutputStream* output)
const;
1787 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1788 int GetCachedSize()
const {
return _cached_size_; }
1792 void SetCachedSize(
int size)
const;
1794 ::google::protobuf::Metadata GetMetadata()
const;
1798 typedef RibEntryMessage_Name Name;
1799 typedef RibEntryMessage_Route Route;
1800 typedef RibEntryMessage_RibEntry RibEntry;
1805 inline int rib_entry_size()
const;
1806 inline void clear_rib_entry();
1807 static const int kRibEntryFieldNumber = 128;
1808 inline const ::ndn_message::RibEntryMessage_RibEntry& rib_entry(
int index)
const;
1809 inline ::ndn_message::RibEntryMessage_RibEntry* mutable_rib_entry(
int index);
1810 inline ::ndn_message::RibEntryMessage_RibEntry* add_rib_entry();
1811 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >&
1813 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >*
1814 mutable_rib_entry();
1819 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1821 ::google::protobuf::uint32 _has_bits_[1];
1822 mutable int _cached_size_;
1824 friend void protobuf_AddDesc_rib_2dentry_2eproto();
1825 friend void protobuf_AssignDesc_rib_2dentry_2eproto();
1826 friend void protobuf_ShutdownFile_rib_2dentry_2eproto();
1828 void InitAsDefaultInstance();
1829 static RibEntryMessage* default_instance_;
1839 inline int RibEntryMessage_Name::component_size()
const {
1840 return component_.size();
1842 inline void RibEntryMessage_Name::clear_component() {
1845 inline const ::std::string& RibEntryMessage_Name::component(
int index)
const {
1847 return component_.Get(index);
1849 inline ::std::string* RibEntryMessage_Name::mutable_component(
int index) {
1851 return component_.Mutable(index);
1853 inline void RibEntryMessage_Name::set_component(
int index, const ::std::string& value) {
1855 component_.Mutable(index)->assign(value);
1857 inline void RibEntryMessage_Name::set_component(
int index,
const char* value) {
1858 component_.Mutable(index)->assign(value);
1861 inline void RibEntryMessage_Name::set_component(
int index,
const void* value,
size_t size) {
1862 component_.Mutable(index)->assign(
1863 reinterpret_cast<const char*>(value), size);
1866 inline ::std::string* RibEntryMessage_Name::add_component() {
1867 return component_.Add();
1869 inline void RibEntryMessage_Name::add_component(const ::std::string& value) {
1870 component_.Add()->assign(value);
1873 inline void RibEntryMessage_Name::add_component(
const char* value) {
1874 component_.Add()->assign(value);
1877 inline void RibEntryMessage_Name::add_component(
const void* value,
size_t size) {
1878 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
1881 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1882 RibEntryMessage_Name::component()
const {
1886 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1887 RibEntryMessage_Name::mutable_component() {
1897 inline bool RibEntryMessage_Route::has_face_id()
const {
1898 return (_has_bits_[0] & 0x00000001u) != 0;
1900 inline void RibEntryMessage_Route::set_has_face_id() {
1901 _has_bits_[0] |= 0x00000001u;
1903 inline void RibEntryMessage_Route::clear_has_face_id() {
1904 _has_bits_[0] &= ~0x00000001u;
1906 inline void RibEntryMessage_Route::clear_face_id() {
1908 clear_has_face_id();
1910 inline ::google::protobuf::uint32 RibEntryMessage_Route::face_id()
const {
1914 inline void RibEntryMessage_Route::set_face_id(::google::protobuf::uint32 value) {
1921 inline bool RibEntryMessage_Route::has_origin()
const {
1922 return (_has_bits_[0] & 0x00000002u) != 0;
1924 inline void RibEntryMessage_Route::set_has_origin() {
1925 _has_bits_[0] |= 0x00000002u;
1927 inline void RibEntryMessage_Route::clear_has_origin() {
1928 _has_bits_[0] &= ~0x00000002u;
1930 inline void RibEntryMessage_Route::clear_origin() {
1934 inline ::google::protobuf::uint32 RibEntryMessage_Route::origin()
const {
1938 inline void RibEntryMessage_Route::set_origin(::google::protobuf::uint32 value) {
1945 inline bool RibEntryMessage_Route::has_cost()
const {
1946 return (_has_bits_[0] & 0x00000004u) != 0;
1948 inline void RibEntryMessage_Route::set_has_cost() {
1949 _has_bits_[0] |= 0x00000004u;
1951 inline void RibEntryMessage_Route::clear_has_cost() {
1952 _has_bits_[0] &= ~0x00000004u;
1954 inline void RibEntryMessage_Route::clear_cost() {
1958 inline ::google::protobuf::uint32 RibEntryMessage_Route::cost()
const {
1962 inline void RibEntryMessage_Route::set_cost(::google::protobuf::uint32 value) {
1969 inline bool RibEntryMessage_Route::has_flags()
const {
1970 return (_has_bits_[0] & 0x00000008u) != 0;
1972 inline void RibEntryMessage_Route::set_has_flags() {
1973 _has_bits_[0] |= 0x00000008u;
1975 inline void RibEntryMessage_Route::clear_has_flags() {
1976 _has_bits_[0] &= ~0x00000008u;
1978 inline void RibEntryMessage_Route::clear_flags() {
1982 inline ::google::protobuf::uint32 RibEntryMessage_Route::flags()
const {
1986 inline void RibEntryMessage_Route::set_flags(::google::protobuf::uint32 value) {
1993 inline bool RibEntryMessage_Route::has_expiration_period()
const {
1994 return (_has_bits_[0] & 0x00000010u) != 0;
1996 inline void RibEntryMessage_Route::set_has_expiration_period() {
1997 _has_bits_[0] |= 0x00000010u;
1999 inline void RibEntryMessage_Route::clear_has_expiration_period() {
2000 _has_bits_[0] &= ~0x00000010u;
2002 inline void RibEntryMessage_Route::clear_expiration_period() {
2003 expiration_period_ = 0u;
2004 clear_has_expiration_period();
2006 inline ::google::protobuf::uint32 RibEntryMessage_Route::expiration_period()
const {
2008 return expiration_period_;
2010 inline void RibEntryMessage_Route::set_expiration_period(::google::protobuf::uint32 value) {
2011 set_has_expiration_period();
2012 expiration_period_ = value;
2021 inline bool RibEntryMessage_RibEntry::has_name()
const {
2022 return (_has_bits_[0] & 0x00000001u) != 0;
2024 inline void RibEntryMessage_RibEntry::set_has_name() {
2025 _has_bits_[0] |= 0x00000001u;
2027 inline void RibEntryMessage_RibEntry::clear_has_name() {
2028 _has_bits_[0] &= ~0x00000001u;
2030 inline void RibEntryMessage_RibEntry::clear_name() {
2031 if (name_ != NULL) name_->::ndn_message::RibEntryMessage_Name::Clear();
2034 inline const ::ndn_message::RibEntryMessage_Name& RibEntryMessage_RibEntry::name()
const {
2036 return name_ != NULL ? *name_ : *default_instance_->name_;
2038 inline ::ndn_message::RibEntryMessage_Name* RibEntryMessage_RibEntry::mutable_name() {
2040 if (name_ == NULL) name_ = new ::ndn_message::RibEntryMessage_Name;
2044 inline ::ndn_message::RibEntryMessage_Name* RibEntryMessage_RibEntry::release_name() {
2062 inline int RibEntryMessage_RibEntry::routes_size()
const {
2063 return routes_.size();
2065 inline void RibEntryMessage_RibEntry::clear_routes() {
2068 inline const ::ndn_message::RibEntryMessage_Route& RibEntryMessage_RibEntry::routes(
int index)
const {
2070 return routes_.Get(index);
2072 inline ::ndn_message::RibEntryMessage_Route* RibEntryMessage_RibEntry::mutable_routes(
int index) {
2074 return routes_.Mutable(index);
2076 inline ::ndn_message::RibEntryMessage_Route* RibEntryMessage_RibEntry::add_routes() {
2078 return routes_.Add();
2080 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >&
2081 RibEntryMessage_RibEntry::routes()
const {
2085 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_Route >*
2086 RibEntryMessage_RibEntry::mutable_routes() {
2096 inline int RibEntryMessage::rib_entry_size()
const {
2097 return rib_entry_.size();
2099 inline void RibEntryMessage::clear_rib_entry() {
2102 inline const ::ndn_message::RibEntryMessage_RibEntry& RibEntryMessage::rib_entry(
int index)
const {
2104 return rib_entry_.Get(index);
2106 inline ::ndn_message::RibEntryMessage_RibEntry* RibEntryMessage::mutable_rib_entry(
int index) {
2108 return rib_entry_.Mutable(index);
2110 inline ::ndn_message::RibEntryMessage_RibEntry* RibEntryMessage::add_rib_entry() {
2112 return rib_entry_.Add();
2114 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >&
2115 RibEntryMessage::rib_entry()
const {
2119 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::RibEntryMessage_RibEntry >*
2120 RibEntryMessage::mutable_rib_entry() {
2132 namespace protobuf {
2141 #endif // GOOGLE_PROTOBUF_VERSION < 2006000
2143 #endif // PROTOBUF_rib_2dentry_2eproto__INCLUDED
Definition: channel-status.pb.h:32
Definition: rib-entry.pb.h:46
Definition: rib-entry.pb.h:257
Copyright (C) 2014-2016 Regents of the University of California.
Definition: channel-status.pb.h:315
Definition: rib-entry.pb.h:135
Definition: rib-entry.pb.h:353