channel-status.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: channel-status.proto
3 
4 #ifndef PROTOBUF_channel_2dstatus_2eproto__INCLUDED
5 #define PROTOBUF_channel_2dstatus_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 // For backwards compatibility with systems that install an older Protobuf (e.g. Ubuntu)),
12 // include the older output from protoc so that the sample program compiles.
13 #if GOOGLE_PROTOBUF_VERSION < 2005000
14 
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
18 #error your headers.
19 #endif
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.
24 #endif
25 
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>
30 // @@protoc_insertion_point(includes)
31 
32 namespace ndn_message {
33 
34 // Internal implementation detail -- do not call these.
35 void protobuf_AddDesc_channel_2dstatus_2eproto();
36 void protobuf_AssignDesc_channel_2dstatus_2eproto();
37 void protobuf_ShutdownFile_channel_2dstatus_2eproto();
38 
39 class ChannelStatusMessage;
40 class ChannelStatusMessage_ChannelStatus;
41 
42 // ===================================================================
43 
44 class ChannelStatusMessage_ChannelStatus : public ::google::protobuf::Message {
45  public:
48 
50 
52  CopyFrom(from);
53  return *this;
54  }
55 
56  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
57  return _unknown_fields_;
58  }
59 
60  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
61  return &_unknown_fields_;
62  }
63 
64  static const ::google::protobuf::Descriptor* descriptor();
65  static const ChannelStatusMessage_ChannelStatus& default_instance();
66 
67  void Swap(ChannelStatusMessage_ChannelStatus* other);
68 
69  // implements Message ----------------------------------------------
70 
72  void CopyFrom(const ::google::protobuf::Message& from);
73  void MergeFrom(const ::google::protobuf::Message& from);
74  void CopyFrom(const ChannelStatusMessage_ChannelStatus& from);
75  void MergeFrom(const ChannelStatusMessage_ChannelStatus& from);
76  void Clear();
77  bool IsInitialized() const;
78 
79  int ByteSize() 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_; }
86  private:
87  void SharedCtor();
88  void SharedDtor();
89  void SetCachedSize(int size) const;
90  public:
91 
92  ::google::protobuf::Metadata GetMetadata() const;
93 
94  // nested types ----------------------------------------------------
95 
96  // accessors -------------------------------------------------------
97 
98  // required string local_uri = 129;
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();
108 
109  // @@protoc_insertion_point(class_scope:ndn_message.ChannelStatusMessage.ChannelStatus)
110  private:
111  inline void set_has_local_uri();
112  inline void clear_has_local_uri();
113 
114  ::google::protobuf::UnknownFieldSet _unknown_fields_;
115 
116  ::std::string* local_uri_;
117 
118  mutable int _cached_size_;
119  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
120 
121  friend void protobuf_AddDesc_channel_2dstatus_2eproto();
122  friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
123  friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
124 
125  void InitAsDefaultInstance();
126  static ChannelStatusMessage_ChannelStatus* default_instance_;
127 };
128 // -------------------------------------------------------------------
129 
130 class ChannelStatusMessage : public ::google::protobuf::Message {
131  public:
133  virtual ~ChannelStatusMessage();
134 
136 
137  inline ChannelStatusMessage& operator=(const ChannelStatusMessage& from) {
138  CopyFrom(from);
139  return *this;
140  }
141 
142  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
143  return _unknown_fields_;
144  }
145 
146  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
147  return &_unknown_fields_;
148  }
149 
150  static const ::google::protobuf::Descriptor* descriptor();
151  static const ChannelStatusMessage& default_instance();
152 
153  void Swap(ChannelStatusMessage* other);
154 
155  // implements Message ----------------------------------------------
156 
157  ChannelStatusMessage* New() const;
158  void CopyFrom(const ::google::protobuf::Message& from);
159  void MergeFrom(const ::google::protobuf::Message& from);
160  void CopyFrom(const ChannelStatusMessage& from);
161  void MergeFrom(const ChannelStatusMessage& from);
162  void Clear();
163  bool IsInitialized() const;
164 
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_; }
172  private:
173  void SharedCtor();
174  void SharedDtor();
175  void SetCachedSize(int size) const;
176  public:
177 
178  ::google::protobuf::Metadata GetMetadata() const;
179 
180  // nested types ----------------------------------------------------
181 
183 
184  // accessors -------------------------------------------------------
185 
186  // repeated .ndn_message.ChannelStatusMessage.ChannelStatus channel_status = 130;
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();
197 
198  // @@protoc_insertion_point(class_scope:ndn_message.ChannelStatusMessage)
199  private:
200 
201  ::google::protobuf::UnknownFieldSet _unknown_fields_;
202 
204 
205  mutable int _cached_size_;
206  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
207 
208  friend void protobuf_AddDesc_channel_2dstatus_2eproto();
209  friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
210  friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
211 
212  void InitAsDefaultInstance();
213  static ChannelStatusMessage* default_instance_;
214 };
215 // ===================================================================
216 
217 
218 // ===================================================================
219 
220 // ChannelStatusMessage_ChannelStatus
221 
222 // required string local_uri = 129;
223 inline bool ChannelStatusMessage_ChannelStatus::has_local_uri() const {
224  return (_has_bits_[0] & 0x00000001u) != 0;
225 }
226 inline void ChannelStatusMessage_ChannelStatus::set_has_local_uri() {
227  _has_bits_[0] |= 0x00000001u;
228 }
229 inline void ChannelStatusMessage_ChannelStatus::clear_has_local_uri() {
230  _has_bits_[0] &= ~0x00000001u;
231 }
232 inline void ChannelStatusMessage_ChannelStatus::clear_local_uri() {
233  if (local_uri_ != &::google::protobuf::internal::kEmptyString) {
234  local_uri_->clear();
235  }
236  clear_has_local_uri();
237 }
238 inline const ::std::string& ChannelStatusMessage_ChannelStatus::local_uri() const {
239  return *local_uri_;
240 }
241 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const ::std::string& value) {
242  set_has_local_uri();
243  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
244  local_uri_ = new ::std::string;
245  }
246  local_uri_->assign(value);
247 }
248 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const char* value) {
249  set_has_local_uri();
250  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
251  local_uri_ = new ::std::string;
252  }
253  local_uri_->assign(value);
254 }
255 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const char* value, size_t size) {
256  set_has_local_uri();
257  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
258  local_uri_ = new ::std::string;
259  }
260  local_uri_->assign(reinterpret_cast<const char*>(value), size);
261 }
262 inline ::std::string* ChannelStatusMessage_ChannelStatus::mutable_local_uri() {
263  set_has_local_uri();
264  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
265  local_uri_ = new ::std::string;
266  }
267  return local_uri_;
268 }
269 inline ::std::string* ChannelStatusMessage_ChannelStatus::release_local_uri() {
270  clear_has_local_uri();
271  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
272  return NULL;
273  } else {
274  ::std::string* temp = local_uri_;
275  local_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
276  return temp;
277  }
278 }
279 
280 // -------------------------------------------------------------------
281 
282 // ChannelStatusMessage
283 
284 // repeated .ndn_message.ChannelStatusMessage.ChannelStatus channel_status = 130;
285 inline int ChannelStatusMessage::channel_status_size() const {
286  return channel_status_.size();
287 }
288 inline void ChannelStatusMessage::clear_channel_status() {
289  channel_status_.Clear();
290 }
291 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& ChannelStatusMessage::channel_status(int index) const {
292  return channel_status_.Get(index);
293 }
294 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::mutable_channel_status(int index) {
295  return channel_status_.Mutable(index);
296 }
297 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::add_channel_status() {
298  return channel_status_.Add();
299 }
300 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
301 ChannelStatusMessage::channel_status() const {
302  return channel_status_;
303 }
304 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
305 ChannelStatusMessage::mutable_channel_status() {
306  return &channel_status_;
307 }
308 
309 
310 // @@protoc_insertion_point(namespace_scope)
311 
312 } // namespace ndn_message
313 
314 #ifndef SWIG
315 namespace google {
316 namespace protobuf {
317 
318 
319 } // namespace google
320 } // namespace protobuf
321 #endif // SWIG
322 
323 // @@protoc_insertion_point(global_scope)
324 
325 #elif GOOGLE_PROTOBUF_VERSION < 2006000
326 
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
330 #error your headers.
331 #endif
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.
336 #endif
337 
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>
343 // @@protoc_insertion_point(includes)
344 
345 namespace ndn_message {
346 
347 // Internal implementation detail -- do not call these.
348 void protobuf_AddDesc_channel_2dstatus_2eproto();
349 void protobuf_AssignDesc_channel_2dstatus_2eproto();
350 void protobuf_ShutdownFile_channel_2dstatus_2eproto();
351 
352 class ChannelStatusMessage;
353 class ChannelStatusMessage_ChannelStatus;
354 
355 // ===================================================================
356 
357 class ChannelStatusMessage_ChannelStatus : public ::google::protobuf::Message {
358  public:
359  ChannelStatusMessage_ChannelStatus();
360  virtual ~ChannelStatusMessage_ChannelStatus();
361 
362  ChannelStatusMessage_ChannelStatus(const ChannelStatusMessage_ChannelStatus& from);
363 
364  inline ChannelStatusMessage_ChannelStatus& operator=(const ChannelStatusMessage_ChannelStatus& from) {
365  CopyFrom(from);
366  return *this;
367  }
368 
369  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
370  return _unknown_fields_;
371  }
372 
373  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
374  return &_unknown_fields_;
375  }
376 
377  static const ::google::protobuf::Descriptor* descriptor();
378  static const ChannelStatusMessage_ChannelStatus& default_instance();
379 
380  void Swap(ChannelStatusMessage_ChannelStatus* other);
381 
382  // implements Message ----------------------------------------------
383 
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);
389  void Clear();
390  bool IsInitialized() const;
391 
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_; }
399  private:
400  void SharedCtor();
401  void SharedDtor();
402  void SetCachedSize(int size) const;
403  public:
404 
405  ::google::protobuf::Metadata GetMetadata() const;
406 
407  // nested types ----------------------------------------------------
408 
409  // accessors -------------------------------------------------------
410 
411  // required string local_uri = 129;
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);
422 
423  // @@protoc_insertion_point(class_scope:ndn_message.ChannelStatusMessage.ChannelStatus)
424  private:
425  inline void set_has_local_uri();
426  inline void clear_has_local_uri();
427 
428  ::google::protobuf::UnknownFieldSet _unknown_fields_;
429 
430  ::std::string* local_uri_;
431 
432  mutable int _cached_size_;
433  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
434 
435  friend void protobuf_AddDesc_channel_2dstatus_2eproto();
436  friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
437  friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
438 
439  void InitAsDefaultInstance();
440  static ChannelStatusMessage_ChannelStatus* default_instance_;
441 };
442 // -------------------------------------------------------------------
443 
444 class ChannelStatusMessage : public ::google::protobuf::Message {
445  public:
446  ChannelStatusMessage();
447  virtual ~ChannelStatusMessage();
448 
449  ChannelStatusMessage(const ChannelStatusMessage& from);
450 
451  inline ChannelStatusMessage& operator=(const ChannelStatusMessage& from) {
452  CopyFrom(from);
453  return *this;
454  }
455 
456  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
457  return _unknown_fields_;
458  }
459 
460  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
461  return &_unknown_fields_;
462  }
463 
464  static const ::google::protobuf::Descriptor* descriptor();
465  static const ChannelStatusMessage& default_instance();
466 
467  void Swap(ChannelStatusMessage* other);
468 
469  // implements Message ----------------------------------------------
470 
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);
476  void Clear();
477  bool IsInitialized() const;
478 
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_; }
486  private:
487  void SharedCtor();
488  void SharedDtor();
489  void SetCachedSize(int size) const;
490  public:
491 
492  ::google::protobuf::Metadata GetMetadata() const;
493 
494  // nested types ----------------------------------------------------
495 
496  typedef ChannelStatusMessage_ChannelStatus ChannelStatus;
497 
498  // accessors -------------------------------------------------------
499 
500  // repeated .ndn_message.ChannelStatusMessage.ChannelStatus channel_status = 130;
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();
511 
512  // @@protoc_insertion_point(class_scope:ndn_message.ChannelStatusMessage)
513  private:
514 
515  ::google::protobuf::UnknownFieldSet _unknown_fields_;
516 
518 
519  mutable int _cached_size_;
520  ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
521 
522  friend void protobuf_AddDesc_channel_2dstatus_2eproto();
523  friend void protobuf_AssignDesc_channel_2dstatus_2eproto();
524  friend void protobuf_ShutdownFile_channel_2dstatus_2eproto();
525 
526  void InitAsDefaultInstance();
527  static ChannelStatusMessage* default_instance_;
528 };
529 // ===================================================================
530 
531 
532 // ===================================================================
533 
534 // ChannelStatusMessage_ChannelStatus
535 
536 // required string local_uri = 129;
537 inline bool ChannelStatusMessage_ChannelStatus::has_local_uri() const {
538  return (_has_bits_[0] & 0x00000001u) != 0;
539 }
540 inline void ChannelStatusMessage_ChannelStatus::set_has_local_uri() {
541  _has_bits_[0] |= 0x00000001u;
542 }
543 inline void ChannelStatusMessage_ChannelStatus::clear_has_local_uri() {
544  _has_bits_[0] &= ~0x00000001u;
545 }
546 inline void ChannelStatusMessage_ChannelStatus::clear_local_uri() {
547  if (local_uri_ != &::google::protobuf::internal::kEmptyString) {
548  local_uri_->clear();
549  }
550  clear_has_local_uri();
551 }
552 inline const ::std::string& ChannelStatusMessage_ChannelStatus::local_uri() const {
553  return *local_uri_;
554 }
555 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const ::std::string& value) {
556  set_has_local_uri();
557  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
558  local_uri_ = new ::std::string;
559  }
560  local_uri_->assign(value);
561 }
562 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const char* value) {
563  set_has_local_uri();
564  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
565  local_uri_ = new ::std::string;
566  }
567  local_uri_->assign(value);
568 }
569 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const char* value, size_t size) {
570  set_has_local_uri();
571  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
572  local_uri_ = new ::std::string;
573  }
574  local_uri_->assign(reinterpret_cast<const char*>(value), size);
575 }
576 inline ::std::string* ChannelStatusMessage_ChannelStatus::mutable_local_uri() {
577  set_has_local_uri();
578  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
579  local_uri_ = new ::std::string;
580  }
581  return local_uri_;
582 }
583 inline ::std::string* ChannelStatusMessage_ChannelStatus::release_local_uri() {
584  clear_has_local_uri();
585  if (local_uri_ == &::google::protobuf::internal::kEmptyString) {
586  return NULL;
587  } else {
588  ::std::string* temp = local_uri_;
589  local_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
590  return temp;
591  }
592 }
593 inline void ChannelStatusMessage_ChannelStatus::set_allocated_local_uri(::std::string* local_uri) {
594  if (local_uri_ != &::google::protobuf::internal::kEmptyString) {
595  delete local_uri_;
596  }
597  if (local_uri) {
598  set_has_local_uri();
599  local_uri_ = local_uri;
600  } else {
601  clear_has_local_uri();
602  local_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
603  }
604 }
605 
606 // -------------------------------------------------------------------
607 
608 // ChannelStatusMessage
609 
610 // repeated .ndn_message.ChannelStatusMessage.ChannelStatus channel_status = 130;
611 inline int ChannelStatusMessage::channel_status_size() const {
612  return channel_status_.size();
613 }
614 inline void ChannelStatusMessage::clear_channel_status() {
615  channel_status_.Clear();
616 }
617 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& ChannelStatusMessage::channel_status(int index) const {
618  return channel_status_.Get(index);
619 }
620 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::mutable_channel_status(int index) {
621  return channel_status_.Mutable(index);
622 }
623 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::add_channel_status() {
624  return channel_status_.Add();
625 }
626 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
627 ChannelStatusMessage::channel_status() const {
628  return channel_status_;
629 }
630 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
631 ChannelStatusMessage::mutable_channel_status() {
632  return &channel_status_;
633 }
634 
635 
636 // @@protoc_insertion_point(namespace_scope)
637 
638 } // namespace ndn_message
639 
640 #ifndef SWIG
641 namespace google {
642 namespace protobuf {
643 
644 
645 } // namespace google
646 } // namespace protobuf
647 #endif // SWIG
648 
649 // @@protoc_insertion_point(global_scope)
650 
651 #else // GOOGLE_PROTOBUF_VERSION < 2006000
652 
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
656 #error your headers.
657 #endif
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.
662 #endif
663 
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>
669 // @@protoc_insertion_point(includes)
670 
671 namespace ndn_message {
672 
673 // Internal implementation detail -- do not call these.
674 void protobuf_AddDesc_channel_2dstatus_2eproto();
675 void protobuf_AssignDesc_channel_2dstatus_2eproto();
676 void protobuf_ShutdownFile_channel_2dstatus_2eproto();
677 
678 class ChannelStatusMessage;
679 class ChannelStatusMessage_ChannelStatus;
680 
681 // ===================================================================
682 
683 class ChannelStatusMessage_ChannelStatus : public ::google::protobuf::Message {
684  public:
685  ChannelStatusMessage_ChannelStatus();
686  virtual ~ChannelStatusMessage_ChannelStatus();
687 
688  ChannelStatusMessage_ChannelStatus(const ChannelStatusMessage_ChannelStatus& from);
689 
690  inline ChannelStatusMessage_ChannelStatus& operator=(const ChannelStatusMessage_ChannelStatus& from) {
691  CopyFrom(from);
692  return *this;
693  }
694 
695  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
696  return _unknown_fields_;
697  }
698 
699  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
700  return &_unknown_fields_;
701  }
702 
703  static const ::google::protobuf::Descriptor* descriptor();
704  static const ChannelStatusMessage_ChannelStatus& default_instance();
705 
706  void Swap(ChannelStatusMessage_ChannelStatus* other);
707 
708  // implements Message ----------------------------------------------
709 
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);
715  void Clear();
716  bool IsInitialized() const;
717 
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_; }
725  private:
726  void SharedCtor();
727  void SharedDtor();
728  void SetCachedSize(int size) const;
729  public:
730  ::google::protobuf::Metadata GetMetadata() const;
731 
732  // nested types ----------------------------------------------------
733 
734  // accessors -------------------------------------------------------
735 
736  // required string local_uri = 129;
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);
747 
748  // @@protoc_insertion_point(class_scope:ndn_message.ChannelStatusMessage.ChannelStatus)
749  private:
750  inline void set_has_local_uri();
751  inline void clear_has_local_uri();
752 
753  ::google::protobuf::UnknownFieldSet _unknown_fields_;
754 
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();
761 
762  void InitAsDefaultInstance();
763  static ChannelStatusMessage_ChannelStatus* default_instance_;
764 };
765 // -------------------------------------------------------------------
766 
767 class ChannelStatusMessage : public ::google::protobuf::Message {
768  public:
769  ChannelStatusMessage();
770  virtual ~ChannelStatusMessage();
771 
772  ChannelStatusMessage(const ChannelStatusMessage& from);
773 
774  inline ChannelStatusMessage& operator=(const ChannelStatusMessage& from) {
775  CopyFrom(from);
776  return *this;
777  }
778 
779  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
780  return _unknown_fields_;
781  }
782 
783  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
784  return &_unknown_fields_;
785  }
786 
787  static const ::google::protobuf::Descriptor* descriptor();
788  static const ChannelStatusMessage& default_instance();
789 
790  void Swap(ChannelStatusMessage* other);
791 
792  // implements Message ----------------------------------------------
793 
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);
799  void Clear();
800  bool IsInitialized() const;
801 
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_; }
809  private:
810  void SharedCtor();
811  void SharedDtor();
812  void SetCachedSize(int size) const;
813  public:
814  ::google::protobuf::Metadata GetMetadata() const;
815 
816  // nested types ----------------------------------------------------
817 
818  typedef ChannelStatusMessage_ChannelStatus ChannelStatus;
819 
820  // accessors -------------------------------------------------------
821 
822  // repeated .ndn_message.ChannelStatusMessage.ChannelStatus channel_status = 130;
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();
833 
834  // @@protoc_insertion_point(class_scope:ndn_message.ChannelStatusMessage)
835  private:
836 
837  ::google::protobuf::UnknownFieldSet _unknown_fields_;
838 
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();
845 
846  void InitAsDefaultInstance();
847  static ChannelStatusMessage* default_instance_;
848 };
849 // ===================================================================
850 
851 
852 // ===================================================================
853 
854 // ChannelStatusMessage_ChannelStatus
855 
856 // required string local_uri = 129;
857 inline bool ChannelStatusMessage_ChannelStatus::has_local_uri() const {
858  return (_has_bits_[0] & 0x00000001u) != 0;
859 }
860 inline void ChannelStatusMessage_ChannelStatus::set_has_local_uri() {
861  _has_bits_[0] |= 0x00000001u;
862 }
863 inline void ChannelStatusMessage_ChannelStatus::clear_has_local_uri() {
864  _has_bits_[0] &= ~0x00000001u;
865 }
866 inline void ChannelStatusMessage_ChannelStatus::clear_local_uri() {
867  if (local_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
868  local_uri_->clear();
869  }
870  clear_has_local_uri();
871 }
872 inline const ::std::string& ChannelStatusMessage_ChannelStatus::local_uri() const {
873  // @@protoc_insertion_point(field_get:ndn_message.ChannelStatusMessage.ChannelStatus.local_uri)
874  return *local_uri_;
875 }
876 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const ::std::string& value) {
877  set_has_local_uri();
878  if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
879  local_uri_ = new ::std::string;
880  }
881  local_uri_->assign(value);
882  // @@protoc_insertion_point(field_set:ndn_message.ChannelStatusMessage.ChannelStatus.local_uri)
883 }
884 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const char* value) {
885  set_has_local_uri();
886  if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
887  local_uri_ = new ::std::string;
888  }
889  local_uri_->assign(value);
890  // @@protoc_insertion_point(field_set_char:ndn_message.ChannelStatusMessage.ChannelStatus.local_uri)
891 }
892 inline void ChannelStatusMessage_ChannelStatus::set_local_uri(const char* value, size_t size) {
893  set_has_local_uri();
894  if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
895  local_uri_ = new ::std::string;
896  }
897  local_uri_->assign(reinterpret_cast<const char*>(value), size);
898  // @@protoc_insertion_point(field_set_pointer:ndn_message.ChannelStatusMessage.ChannelStatus.local_uri)
899 }
900 inline ::std::string* ChannelStatusMessage_ChannelStatus::mutable_local_uri() {
901  set_has_local_uri();
902  if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
903  local_uri_ = new ::std::string;
904  }
905  // @@protoc_insertion_point(field_mutable:ndn_message.ChannelStatusMessage.ChannelStatus.local_uri)
906  return local_uri_;
907 }
908 inline ::std::string* ChannelStatusMessage_ChannelStatus::release_local_uri() {
909  clear_has_local_uri();
910  if (local_uri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
911  return NULL;
912  } else {
913  ::std::string* temp = local_uri_;
914  local_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
915  return temp;
916  }
917 }
918 inline void ChannelStatusMessage_ChannelStatus::set_allocated_local_uri(::std::string* local_uri) {
919  if (local_uri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
920  delete local_uri_;
921  }
922  if (local_uri) {
923  set_has_local_uri();
924  local_uri_ = local_uri;
925  } else {
926  clear_has_local_uri();
927  local_uri_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
928  }
929  // @@protoc_insertion_point(field_set_allocated:ndn_message.ChannelStatusMessage.ChannelStatus.local_uri)
930 }
931 
932 // -------------------------------------------------------------------
933 
934 // ChannelStatusMessage
935 
936 // repeated .ndn_message.ChannelStatusMessage.ChannelStatus channel_status = 130;
937 inline int ChannelStatusMessage::channel_status_size() const {
938  return channel_status_.size();
939 }
940 inline void ChannelStatusMessage::clear_channel_status() {
941  channel_status_.Clear();
942 }
943 inline const ::ndn_message::ChannelStatusMessage_ChannelStatus& ChannelStatusMessage::channel_status(int index) const {
944  // @@protoc_insertion_point(field_get:ndn_message.ChannelStatusMessage.channel_status)
945  return channel_status_.Get(index);
946 }
947 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::mutable_channel_status(int index) {
948  // @@protoc_insertion_point(field_mutable:ndn_message.ChannelStatusMessage.channel_status)
949  return channel_status_.Mutable(index);
950 }
951 inline ::ndn_message::ChannelStatusMessage_ChannelStatus* ChannelStatusMessage::add_channel_status() {
952  // @@protoc_insertion_point(field_add:ndn_message.ChannelStatusMessage.channel_status)
953  return channel_status_.Add();
954 }
955 inline const ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >&
956 ChannelStatusMessage::channel_status() const {
957  // @@protoc_insertion_point(field_list:ndn_message.ChannelStatusMessage.channel_status)
958  return channel_status_;
959 }
960 inline ::google::protobuf::RepeatedPtrField< ::ndn_message::ChannelStatusMessage_ChannelStatus >*
961 ChannelStatusMessage::mutable_channel_status() {
962  // @@protoc_insertion_point(field_mutable_list:ndn_message.ChannelStatusMessage.channel_status)
963  return &channel_status_;
964 }
965 
966 
967 // @@protoc_insertion_point(namespace_scope)
968 
969 } // namespace ndn_message
970 
971 #ifndef SWIG
972 namespace google {
973 namespace protobuf {
974 
975 
976 } // namespace google
977 } // namespace protobuf
978 #endif // SWIG
979 
980 // @@protoc_insertion_point(global_scope)
981 
982 #endif // GOOGLE_PROTOBUF_VERSION < 2006000
983 
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