4 #ifndef PROTOBUF_channel_2dstatus_2eproto__INCLUDED
5 #define PROTOBUF_channel_2dstatus_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_channel_2dstatus_2eproto();
36 void protobuf_AssignDesc_channel_2dstatus_2eproto();
37 void protobuf_ShutdownFile_channel_2dstatus_2eproto();
39 class ChannelStatusMessage;
40 class ChannelStatusMessage_ChannelStatus;
56 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
57 return _unknown_fields_;
60 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
61 return &_unknown_fields_;
64 static const ::google::protobuf::Descriptor* descriptor();
72 void CopyFrom(const ::google::protobuf::Message& from);
73 void MergeFrom(const ::google::protobuf::Message& from);
77 bool IsInitialized()
const;
80 bool MergePartialFromCodedStream(
81 ::google::protobuf::io::CodedInputStream* input);
82 void SerializeWithCachedSizes(
83 ::google::protobuf::io::CodedOutputStream* output)
const;
84 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
85 int GetCachedSize()
const {
return _cached_size_; }
89 void SetCachedSize(
int size)
const;
92 ::google::protobuf::Metadata GetMetadata()
const;
99 inline bool has_local_uri()
const;
100 inline void clear_local_uri();
101 static const int kLocalUriFieldNumber = 129;
102 inline const ::std::string& local_uri()
const;
103 inline void set_local_uri(const ::std::string& value);
104 inline void set_local_uri(
const char* value);
105 inline void set_local_uri(
const char* value,
size_t size);
106 inline ::std::string* mutable_local_uri();
107 inline ::std::string* release_local_uri();
111 inline void set_has_local_uri();
112 inline void clear_has_local_uri();
114 ::google::protobuf::UnknownFieldSet _unknown_fields_;
116 ::std::string* local_uri_;
118 mutable int _cached_size_;
119 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
121 friend void protobuf_AddDesc_channel_2dstatus_2eproto();
122 friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
123 friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
125 void InitAsDefaultInstance();
142 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
143 return _unknown_fields_;
146 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
147 return &_unknown_fields_;
150 static const ::google::protobuf::Descriptor* descriptor();
158 void CopyFrom(const ::google::protobuf::Message& from);
159 void MergeFrom(const ::google::protobuf::Message& from);
163 bool IsInitialized()
const;
165 int ByteSize()
const;
166 bool MergePartialFromCodedStream(
167 ::google::protobuf::io::CodedInputStream* input);
168 void SerializeWithCachedSizes(
169 ::google::protobuf::io::CodedOutputStream* output)
const;
170 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
171 int GetCachedSize()
const {
return _cached_size_; }
175 void SetCachedSize(
int size)
const;
178 ::google::protobuf::Metadata GetMetadata()
const;
187 inline int channel_status_size()
const;
188 inline void clear_channel_status();
189 static const int kChannelStatusFieldNumber = 130;
190 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& channel_status(
int index)
const;
191 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* mutable_channel_status(
int index);
192 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* add_channel_status();
193 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
194 channel_status()
const;
195 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
196 mutable_channel_status();
201 ::google::protobuf::UnknownFieldSet _unknown_fields_;
205 mutable int _cached_size_;
206 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
208 friend void protobuf_AddDesc_channel_2dstatus_2eproto();
209 friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
210 friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
212 void InitAsDefaultInstance();
223 inline bool ChannelStatusMessage_ChannelStatus::has_local_uri()
const {
224 return (_has_bits_[0] & 0x00000001u) != 0;
226 inline void ChannelStatusMessage_ChannelStatus::set_has_local_uri() {
227 _has_bits_[0] |= 0x00000001u;
229 inline void ChannelStatusMessage_ChannelStatus::clear_has_local_uri() {
230 _has_bits_[0] &= ~0x00000001u;
232 inline void ChannelStatusMessage_ChannelStatus::clear_local_uri() {
233 if (local_uri_ != &::google::protobuf::internal::kEmptyString) {
236 clear_has_local_uri();
238 inline const ::std::string& ChannelStatusMessage_ChannelStatus::local_uri()
const {
241 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const ::std::string& value) {
243 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
244 local_uri_ = new ::std::string;
246 local_uri_->assign(value);
248 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(
const char* value) {
250 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
251 local_uri_ = new ::std::string;
253 local_uri_->assign(value);
255 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(
const char* value,
size_t size) {
257 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
258 local_uri_ = new ::std::string;
260 local_uri_->assign(reinterpret_cast<const char*>(value), size);
262 inline ::std::string* ChannelStatusMessage_ChannelStatus::mutable_local_uri() {
264 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
265 local_uri_ = new ::std::string;
269 inline ::std::string* ChannelStatusMessage_ChannelStatus::release_local_uri() {
270 clear_has_local_uri();
271 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
274 ::std::string* temp = local_uri_;
275 local_uri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
285 inline int ChannelStatusMessage::channel_status_size()
const {
286 return channel_status_.size();
288 inline void ChannelStatusMessage::clear_channel_status() {
289 channel_status_.Clear();
291 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& ChannelStatusMessage::channel_status(
int index)
const {
292 return channel_status_.Get(index);
294 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::mutable_channel_status(
int index) {
295 return channel_status_.Mutable(index);
297 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::add_channel_status() {
298 return channel_status_.Add();
300 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
301 ChannelStatusMessage::channel_status()
const {
302 return channel_status_;
304 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
305 ChannelStatusMessage::mutable_channel_status() {
306 return &channel_status_;
325 #elif GOOGLE_PROTOBUF_VERSION < 2006000
327 #if GOOGLE_PROTOBUF_VERSION < 2005000
328 #error This file was generated by a newer version of protoc which is
329 #error incompatible with your Protocol Buffer headers. Please update
332 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
333 #error This file was generated by an older version of protoc which is
334 #error incompatible with your Protocol Buffer headers. Please
335 #error regenerate this file with a newer version of protoc.
338 #include <google/protobuf/generated_message_util.h>
339 #include <google/protobuf/message.h>
340 #include <google/protobuf/repeated_field.h>
341 #include <google/protobuf/extension_set.h>
342 #include <google/protobuf/unknown_field_set.h>
348 void protobuf_AddDesc_channel_2dstatus_2eproto();
349 void protobuf_AssignDesc_channel_2dstatus_2eproto();
350 void protobuf_ShutdownFile_channel_2dstatus_2eproto();
352 class ChannelStatusMessage;
353 class ChannelStatusMessage_ChannelStatus;
357 class ChannelStatusMessage_ChannelStatus :
public ::google::protobuf::Message {
359 ChannelStatusMessage_ChannelStatus();
360 virtual ~ChannelStatusMessage_ChannelStatus();
362 ChannelStatusMessage_ChannelStatus(
const ChannelStatusMessage_ChannelStatus& from);
364 inline ChannelStatusMessage_ChannelStatus& operator=(
const ChannelStatusMessage_ChannelStatus& from) {
369 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
370 return _unknown_fields_;
373 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
374 return &_unknown_fields_;
377 static const ::google::protobuf::Descriptor* descriptor();
378 static const ChannelStatusMessage_ChannelStatus& default_instance();
380 void Swap(ChannelStatusMessage_ChannelStatus* other);
384 ChannelStatusMessage_ChannelStatus* New()
const;
385 void CopyFrom(const ::google::protobuf::Message& from);
386 void MergeFrom(const ::google::protobuf::Message& from);
387 void CopyFrom(
const ChannelStatusMessage_ChannelStatus& from);
388 void MergeFrom(
const ChannelStatusMessage_ChannelStatus& from);
390 bool IsInitialized()
const;
392 int ByteSize()
const;
393 bool MergePartialFromCodedStream(
394 ::google::protobuf::io::CodedInputStream* input);
395 void SerializeWithCachedSizes(
396 ::google::protobuf::io::CodedOutputStream* output)
const;
397 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
398 int GetCachedSize()
const {
return _cached_size_; }
402 void SetCachedSize(
int size)
const;
405 ::google::protobuf::Metadata GetMetadata()
const;
412 inline bool has_local_uri()
const;
413 inline void clear_local_uri();
414 static const int kLocalUriFieldNumber = 129;
415 inline const ::std::string& local_uri()
const;
416 inline void set_local_uri(const ::std::string& value);
417 inline void set_local_uri(
const char* value);
418 inline void set_local_uri(
const char* value,
size_t size);
419 inline ::std::string* mutable_local_uri();
420 inline ::std::string* release_local_uri();
421 inline void set_allocated_local_uri(::std::string* local_uri);
425 inline void set_has_local_uri();
426 inline void clear_has_local_uri();
428 ::google::protobuf::UnknownFieldSet _unknown_fields_;
430 ::std::string* local_uri_;
432 mutable int _cached_size_;
433 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
435 friend void protobuf_AddDesc_channel_2dstatus_2eproto();
436 friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
437 friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
439 void InitAsDefaultInstance();
440 static ChannelStatusMessage_ChannelStatus* default_instance_;
444 class ChannelStatusMessage :
public ::google::protobuf::Message {
446 ChannelStatusMessage();
447 virtual ~ChannelStatusMessage();
449 ChannelStatusMessage(
const ChannelStatusMessage& from);
451 inline ChannelStatusMessage& operator=(
const ChannelStatusMessage& from) {
456 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
457 return _unknown_fields_;
460 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
461 return &_unknown_fields_;
464 static const ::google::protobuf::Descriptor* descriptor();
465 static const ChannelStatusMessage& default_instance();
467 void Swap(ChannelStatusMessage* other);
471 ChannelStatusMessage* New()
const;
472 void CopyFrom(const ::google::protobuf::Message& from);
473 void MergeFrom(const ::google::protobuf::Message& from);
474 void CopyFrom(
const ChannelStatusMessage& from);
475 void MergeFrom(
const ChannelStatusMessage& from);
477 bool IsInitialized()
const;
479 int ByteSize()
const;
480 bool MergePartialFromCodedStream(
481 ::google::protobuf::io::CodedInputStream* input);
482 void SerializeWithCachedSizes(
483 ::google::protobuf::io::CodedOutputStream* output)
const;
484 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
485 int GetCachedSize()
const {
return _cached_size_; }
489 void SetCachedSize(
int size)
const;
492 ::google::protobuf::Metadata GetMetadata()
const;
496 typedef ChannelStatusMessage_ChannelStatus ChannelStatus;
501 inline int channel_status_size()
const;
502 inline void clear_channel_status();
503 static const int kChannelStatusFieldNumber = 130;
504 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& channel_status(
int index)
const;
505 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* mutable_channel_status(
int index);
506 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* add_channel_status();
507 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
508 channel_status()
const;
509 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
510 mutable_channel_status();
515 ::google::protobuf::UnknownFieldSet _unknown_fields_;
519 mutable int _cached_size_;
520 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
522 friend void protobuf_AddDesc_channel_2dstatus_2eproto();
523 friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
524 friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
526 void InitAsDefaultInstance();
527 static ChannelStatusMessage* default_instance_;
537 inline bool ChannelStatusMessage_ChannelStatus::has_local_uri()
const {
538 return (_has_bits_[0] & 0x00000001u) != 0;
540 inline void ChannelStatusMessage_ChannelStatus::set_has_local_uri() {
541 _has_bits_[0] |= 0x00000001u;
543 inline void ChannelStatusMessage_ChannelStatus::clear_has_local_uri() {
544 _has_bits_[0] &= ~0x00000001u;
546 inline void ChannelStatusMessage_ChannelStatus::clear_local_uri() {
547 if (local_uri_ != &::google::protobuf::internal::kEmptyString) {
550 clear_has_local_uri();
552 inline const ::std::string& ChannelStatusMessage_ChannelStatus::local_uri()
const {
555 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const ::std::string& value) {
557 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
558 local_uri_ = new ::std::string;
560 local_uri_->assign(value);
562 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(
const char* value) {
564 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
565 local_uri_ = new ::std::string;
567 local_uri_->assign(value);
569 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(
const char* value,
size_t size) {
571 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
572 local_uri_ = new ::std::string;
574 local_uri_->assign(reinterpret_cast<const char*>(value), size);
576 inline ::std::string* ChannelStatusMessage_ChannelStatus::mutable_local_uri() {
578 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
579 local_uri_ = new ::std::string;
583 inline ::std::string* ChannelStatusMessage_ChannelStatus::release_local_uri() {
584 clear_has_local_uri();
585 if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
588 ::std::string* temp = local_uri_;
589 local_uri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
593 inline void ChannelStatusMessage_ChannelStatus::set_allocated_local_uri(::std::string* local_uri) {
594 if (local_uri_ != &::google::protobuf::internal::kEmptyString) {
599 local_uri_ = local_uri;
601 clear_has_local_uri();
602 local_uri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
611 inline int ChannelStatusMessage::channel_status_size()
const {
612 return channel_status_.size();
614 inline void ChannelStatusMessage::clear_channel_status() {
615 channel_status_.Clear();
617 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& ChannelStatusMessage::channel_status(
int index)
const {
618 return channel_status_.Get(index);
620 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::mutable_channel_status(
int index) {
621 return channel_status_.Mutable(index);
623 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::add_channel_status() {
624 return channel_status_.Add();
626 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
627 ChannelStatusMessage::channel_status()
const {
628 return channel_status_;
630 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
631 ChannelStatusMessage::mutable_channel_status() {
632 return &channel_status_;
651 #else // GOOGLE_PROTOBUF_VERSION < 2006000
653 #if GOOGLE_PROTOBUF_VERSION < 2006000
654 #error This file was generated by a newer version of protoc which is
655 #error incompatible with your Protocol Buffer headers. Please update
658 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
659 #error This file was generated by an older version of protoc which is
660 #error incompatible with your Protocol Buffer headers. Please
661 #error regenerate this file with a newer version of protoc.
664 #include <google/protobuf/generated_message_util.h>
665 #include <google/protobuf/message.h>
666 #include <google/protobuf/repeated_field.h>
667 #include <google/protobuf/extension_set.h>
668 #include <google/protobuf/unknown_field_set.h>
674 void protobuf_AddDesc_channel_2dstatus_2eproto();
675 void protobuf_AssignDesc_channel_2dstatus_2eproto();
676 void protobuf_ShutdownFile_channel_2dstatus_2eproto();
678 class ChannelStatusMessage;
679 class ChannelStatusMessage_ChannelStatus;
683 class ChannelStatusMessage_ChannelStatus :
public ::google::protobuf::Message {
685 ChannelStatusMessage_ChannelStatus();
686 virtual ~ChannelStatusMessage_ChannelStatus();
688 ChannelStatusMessage_ChannelStatus(
const ChannelStatusMessage_ChannelStatus& from);
690 inline ChannelStatusMessage_ChannelStatus& operator=(
const ChannelStatusMessage_ChannelStatus& from) {
695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
696 return _unknown_fields_;
699 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
700 return &_unknown_fields_;
703 static const ::google::protobuf::Descriptor* descriptor();
704 static const ChannelStatusMessage_ChannelStatus& default_instance();
706 void Swap(ChannelStatusMessage_ChannelStatus* other);
710 ChannelStatusMessage_ChannelStatus* New()
const;
711 void CopyFrom(const ::google::protobuf::Message& from);
712 void MergeFrom(const ::google::protobuf::Message& from);
713 void CopyFrom(
const ChannelStatusMessage_ChannelStatus& from);
714 void MergeFrom(
const ChannelStatusMessage_ChannelStatus& from);
716 bool IsInitialized()
const;
718 int ByteSize()
const;
719 bool MergePartialFromCodedStream(
720 ::google::protobuf::io::CodedInputStream* input);
721 void SerializeWithCachedSizes(
722 ::google::protobuf::io::CodedOutputStream* output)
const;
723 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
724 int GetCachedSize()
const {
return _cached_size_; }
728 void SetCachedSize(
int size)
const;
730 ::google::protobuf::Metadata GetMetadata()
const;
737 inline bool has_local_uri()
const;
738 inline void clear_local_uri();
739 static const int kLocalUriFieldNumber = 129;
740 inline const ::std::string& local_uri()
const;
741 inline void set_local_uri(const ::std::string& value);
742 inline void set_local_uri(
const char* value);
743 inline void set_local_uri(
const char* value,
size_t size);
744 inline ::std::string* mutable_local_uri();
745 inline ::std::string* release_local_uri();
746 inline void set_allocated_local_uri(::std::string* local_uri);
750 inline void set_has_local_uri();
751 inline void clear_has_local_uri();
753 ::google::protobuf::UnknownFieldSet _unknown_fields_;
755 ::google::protobuf::uint32 _has_bits_[1];
756 mutable int _cached_size_;
757 ::std::string* local_uri_;
758 friend void protobuf_AddDesc_channel_2dstatus_2eproto();
759 friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
760 friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
762 void InitAsDefaultInstance();
763 static ChannelStatusMessage_ChannelStatus* default_instance_;
767 class ChannelStatusMessage :
public ::google::protobuf::Message {
769 ChannelStatusMessage();
770 virtual ~ChannelStatusMessage();
772 ChannelStatusMessage(
const ChannelStatusMessage& from);
774 inline ChannelStatusMessage& operator=(
const ChannelStatusMessage& from) {
779 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
780 return _unknown_fields_;
783 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
784 return &_unknown_fields_;
787 static const ::google::protobuf::Descriptor* descriptor();
788 static const ChannelStatusMessage& default_instance();
790 void Swap(ChannelStatusMessage* other);
794 ChannelStatusMessage* New()
const;
795 void CopyFrom(const ::google::protobuf::Message& from);
796 void MergeFrom(const ::google::protobuf::Message& from);
797 void CopyFrom(
const ChannelStatusMessage& from);
798 void MergeFrom(
const ChannelStatusMessage& from);
800 bool IsInitialized()
const;
802 int ByteSize()
const;
803 bool MergePartialFromCodedStream(
804 ::google::protobuf::io::CodedInputStream* input);
805 void SerializeWithCachedSizes(
806 ::google::protobuf::io::CodedOutputStream* output)
const;
807 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
808 int GetCachedSize()
const {
return _cached_size_; }
812 void SetCachedSize(
int size)
const;
814 ::google::protobuf::Metadata GetMetadata()
const;
818 typedef ChannelStatusMessage_ChannelStatus ChannelStatus;
823 inline int channel_status_size()
const;
824 inline void clear_channel_status();
825 static const int kChannelStatusFieldNumber = 130;
826 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& channel_status(
int index)
const;
827 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* mutable_channel_status(
int index);
828 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* add_channel_status();
829 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
830 channel_status()
const;
831 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
832 mutable_channel_status();
837 ::google::protobuf::UnknownFieldSet _unknown_fields_;
839 ::google::protobuf::uint32 _has_bits_[1];
840 mutable int _cached_size_;
842 friend void protobuf_AddDesc_channel_2dstatus_2eproto();
843 friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
844 friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
846 void InitAsDefaultInstance();
847 static ChannelStatusMessage* default_instance_;
857 inline bool ChannelStatusMessage_ChannelStatus::has_local_uri()
const {
858 return (_has_bits_[0] & 0x00000001u) != 0;
860 inline void ChannelStatusMessage_ChannelStatus::set_has_local_uri() {
861 _has_bits_[0] |= 0x00000001u;
863 inline void ChannelStatusMessage_ChannelStatus::clear_has_local_uri() {
864 _has_bits_[0] &= ~0x00000001u;
866 inline void ChannelStatusMessage_ChannelStatus::clear_local_uri() {
867 if (local_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
870 clear_has_local_uri();
872 inline const ::std::string& ChannelStatusMessage_ChannelStatus::local_uri()
const {
876 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const ::std::string& value) {
878 if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
879 local_uri_ = new ::std::string;
881 local_uri_->assign(value);
884 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(
const char* value) {
886 if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
887 local_uri_ = new ::std::string;
889 local_uri_->assign(value);
892 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(
const char* value,
size_t size) {
894 if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
895 local_uri_ = new ::std::string;
897 local_uri_->assign(reinterpret_cast<const char*>(value), size);
900 inline ::std::string* ChannelStatusMessage_ChannelStatus::mutable_local_uri() {
902 if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
903 local_uri_ = new ::std::string;
908 inline ::std::string* ChannelStatusMessage_ChannelStatus::release_local_uri() {
909 clear_has_local_uri();
910 if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
913 ::std::string* temp = local_uri_;
914 local_uri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
918 inline void ChannelStatusMessage_ChannelStatus::set_allocated_local_uri(::std::string* local_uri) {
919 if (local_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
924 local_uri_ = local_uri;
926 clear_has_local_uri();
927 local_uri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
937 inline int ChannelStatusMessage::channel_status_size()
const {
938 return channel_status_.size();
940 inline void ChannelStatusMessage::clear_channel_status() {
941 channel_status_.Clear();
943 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& ChannelStatusMessage::channel_status(
int index)
const {
945 return channel_status_.Get(index);
947 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::mutable_channel_status(
int index) {
949 return channel_status_.Mutable(index);
951 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::add_channel_status() {
953 return channel_status_.Add();
955 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
956 ChannelStatusMessage::channel_status()
const {
958 return channel_status_;
960 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
961 ChannelStatusMessage::mutable_channel_status() {
963 return &channel_status_;
982 #endif // GOOGLE_PROTOBUF_VERSION < 2006000
984 #endif // PROTOBUF_channel_2dstatus_2eproto__INCLUDED
Definition: channel-status.pb.h:130
Definition: chrono-sync2013.hpp:31
Definition: channel-status.pb.h:32
Copyright (C) 2014-2016 Regents of the University of California.
Definition: channel-status.pb.h:315
Definition: channel-status.pb.h:44