4 #ifndef PROTOBUF_repo_2dcommand_2dparameter_2eproto__INCLUDED
5 #define PROTOBUF_repo_2dcommand_2dparameter_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_repo_2dcommand_2dparameter_2eproto();
36 void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
37 void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
39 class RepoCommandParameterMessage;
40 class RepoCommandParameterMessage_Name;
41 class RepoCommandParameterMessage_Selectors;
42 class RepoCommandParameterMessage_RepoCommandParameter;
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_repo_2dcommand_2dparameter_2eproto();
127 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
128 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_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_min_suffix_components()
const;
191 inline void clear_min_suffix_components();
192 static const int kMinSuffixComponentsFieldNumber = 13;
193 inline ::google::protobuf::uint32 min_suffix_components()
const;
194 inline void set_min_suffix_components(::google::protobuf::uint32 value);
197 inline bool has_max_suffix_components()
const;
198 inline void clear_max_suffix_components();
199 static const int kMaxSuffixComponentsFieldNumber = 14;
200 inline ::google::protobuf::uint32 max_suffix_components()
const;
201 inline void set_max_suffix_components(::google::protobuf::uint32 value);
204 inline bool has_publisher_public_key_locator()
const;
205 inline void clear_publisher_public_key_locator();
206 static const int kPublisherPublicKeyLocatorFieldNumber = 15;
207 inline const ::std::string& publisher_public_key_locator()
const;
208 inline void set_publisher_public_key_locator(const ::std::string& value);
209 inline void set_publisher_public_key_locator(
const char* value);
210 inline void set_publisher_public_key_locator(
const void* value,
size_t size);
211 inline ::std::string* mutable_publisher_public_key_locator();
212 inline ::std::string* release_publisher_public_key_locator();
215 inline bool has_child_selector()
const;
216 inline void clear_child_selector();
217 static const int kChildSelectorFieldNumber = 17;
218 inline ::google::protobuf::uint32 child_selector()
const;
219 inline void set_child_selector(::google::protobuf::uint32 value);
223 inline void set_has_min_suffix_components();
224 inline void clear_has_min_suffix_components();
225 inline void set_has_max_suffix_components();
226 inline void clear_has_max_suffix_components();
227 inline void set_has_publisher_public_key_locator();
228 inline void clear_has_publisher_public_key_locator();
229 inline void set_has_child_selector();
230 inline void clear_has_child_selector();
232 ::google::protobuf::UnknownFieldSet _unknown_fields_;
234 ::google::protobuf::uint32 min_suffix_components_;
235 ::google::protobuf::uint32 max_suffix_components_;
236 ::std::string* publisher_public_key_locator_;
237 ::google::protobuf::uint32 child_selector_;
239 mutable int _cached_size_;
240 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
242 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
243 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
244 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
246 void InitAsDefaultInstance();
263 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
264 return _unknown_fields_;
267 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
268 return &_unknown_fields_;
271 static const ::google::protobuf::Descriptor* descriptor();
279 void CopyFrom(const ::google::protobuf::Message& from);
280 void MergeFrom(const ::google::protobuf::Message& from);
284 bool IsInitialized()
const;
286 int ByteSize()
const;
287 bool MergePartialFromCodedStream(
288 ::google::protobuf::io::CodedInputStream* input);
289 void SerializeWithCachedSizes(
290 ::google::protobuf::io::CodedOutputStream* output)
const;
291 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
292 int GetCachedSize()
const {
return _cached_size_; }
296 void SetCachedSize(
int size)
const;
299 ::google::protobuf::Metadata GetMetadata()
const;
306 inline bool has_name()
const;
307 inline void clear_name();
308 static const int kNameFieldNumber = 7;
309 inline const ::ndn_message::RepoCommandParameterMessage_Name& name()
const;
310 inline ::ndn_message::RepoCommandParameterMessage_Name* mutable_name();
311 inline ::ndn_message::RepoCommandParameterMessage_Name* release_name();
314 inline bool has_selectors()
const;
315 inline void clear_selectors();
316 static const int kSelectorsFieldNumber = 9;
317 inline const ::ndn_message::RepoCommandParameterMessage_Selectors& selectors()
const;
318 inline ::ndn_message::RepoCommandParameterMessage_Selectors* mutable_selectors();
319 inline ::ndn_message::RepoCommandParameterMessage_Selectors* release_selectors();
322 inline bool has_start_block_id()
const;
323 inline void clear_start_block_id();
324 static const int kStartBlockIdFieldNumber = 204;
325 inline ::google::protobuf::uint64 start_block_id()
const;
326 inline void set_start_block_id(::google::protobuf::uint64 value);
329 inline bool has_end_block_id()
const;
330 inline void clear_end_block_id();
331 static const int kEndBlockIdFieldNumber = 205;
332 inline ::google::protobuf::uint64 end_block_id()
const;
333 inline void set_end_block_id(::google::protobuf::uint64 value);
336 inline bool has_process_id()
const;
337 inline void clear_process_id();
338 static const int kProcessIdFieldNumber = 206;
339 inline ::google::protobuf::uint64 process_id()
const;
340 inline void set_process_id(::google::protobuf::uint64 value);
343 inline bool has_max_interest_num()
const;
344 inline void clear_max_interest_num();
345 static const int kMaxInterestNumFieldNumber = 211;
346 inline ::google::protobuf::uint64 max_interest_num()
const;
347 inline void set_max_interest_num(::google::protobuf::uint64 value);
350 inline bool has_watch_timeout()
const;
351 inline void clear_watch_timeout();
352 static const int kWatchTimeoutFieldNumber = 212;
353 inline ::google::protobuf::uint64 watch_timeout()
const;
354 inline void set_watch_timeout(::google::protobuf::uint64 value);
357 inline bool has_watch_status()
const;
358 inline void clear_watch_status();
359 static const int kWatchStatusFieldNumber = 213;
360 inline ::google::protobuf::uint64 watch_status()
const;
361 inline void set_watch_status(::google::protobuf::uint64 value);
364 inline bool has_interest_lifetime()
const;
365 inline void clear_interest_lifetime();
366 static const int kInterestLifetimeFieldNumber = 214;
367 inline ::google::protobuf::uint64 interest_lifetime()
const;
368 inline void set_interest_lifetime(::google::protobuf::uint64 value);
372 inline void set_has_name();
373 inline void clear_has_name();
374 inline void set_has_selectors();
375 inline void clear_has_selectors();
376 inline void set_has_start_block_id();
377 inline void clear_has_start_block_id();
378 inline void set_has_end_block_id();
379 inline void clear_has_end_block_id();
380 inline void set_has_process_id();
381 inline void clear_has_process_id();
382 inline void set_has_max_interest_num();
383 inline void clear_has_max_interest_num();
384 inline void set_has_watch_timeout();
385 inline void clear_has_watch_timeout();
386 inline void set_has_watch_status();
387 inline void clear_has_watch_status();
388 inline void set_has_interest_lifetime();
389 inline void clear_has_interest_lifetime();
391 ::google::protobuf::UnknownFieldSet _unknown_fields_;
395 ::google::protobuf::uint64 start_block_id_;
396 ::google::protobuf::uint64 end_block_id_;
397 ::google::protobuf::uint64 process_id_;
398 ::google::protobuf::uint64 max_interest_num_;
399 ::google::protobuf::uint64 watch_timeout_;
400 ::google::protobuf::uint64 watch_status_;
401 ::google::protobuf::uint64 interest_lifetime_;
403 mutable int _cached_size_;
404 ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
406 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
407 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
408 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
410 void InitAsDefaultInstance();
427 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
428 return _unknown_fields_;
431 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
432 return &_unknown_fields_;
435 static const ::google::protobuf::Descriptor* descriptor();
443 void CopyFrom(const ::google::protobuf::Message& from);
444 void MergeFrom(const ::google::protobuf::Message& from);
448 bool IsInitialized()
const;
450 int ByteSize()
const;
451 bool MergePartialFromCodedStream(
452 ::google::protobuf::io::CodedInputStream* input);
453 void SerializeWithCachedSizes(
454 ::google::protobuf::io::CodedOutputStream* output)
const;
455 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
456 int GetCachedSize()
const {
return _cached_size_; }
460 void SetCachedSize(
int size)
const;
463 ::google::protobuf::Metadata GetMetadata()
const;
474 inline bool has_repo_command_parameter()
const;
475 inline void clear_repo_command_parameter();
476 static const int kRepoCommandParameterFieldNumber = 201;
477 inline const ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter& repo_command_parameter()
const;
478 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* mutable_repo_command_parameter();
479 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* release_repo_command_parameter();
483 inline void set_has_repo_command_parameter();
484 inline void clear_has_repo_command_parameter();
486 ::google::protobuf::UnknownFieldSet _unknown_fields_;
490 mutable int _cached_size_;
491 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
493 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
494 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
495 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
497 void InitAsDefaultInstance();
508 inline int RepoCommandParameterMessage_Name::component_size()
const {
509 return component_.size();
511 inline void RepoCommandParameterMessage_Name::clear_component() {
514 inline const ::std::string& RepoCommandParameterMessage_Name::component(
int index)
const {
515 return component_.Get(index);
517 inline ::std::string* RepoCommandParameterMessage_Name::mutable_component(
int index) {
518 return component_.Mutable(index);
520 inline void RepoCommandParameterMessage_Name::set_component(
int index, const ::std::string& value) {
521 component_.Mutable(index)->assign(value);
523 inline void RepoCommandParameterMessage_Name::set_component(
int index,
const char* value) {
524 component_.Mutable(index)->assign(value);
526 inline void RepoCommandParameterMessage_Name::set_component(
int index,
const void* value,
size_t size) {
527 component_.Mutable(index)->assign(
528 reinterpret_cast<const char*>(value), size);
530 inline ::std::string* RepoCommandParameterMessage_Name::add_component() {
531 return component_.Add();
533 inline void RepoCommandParameterMessage_Name::add_component(const ::std::string& value) {
534 component_.Add()->assign(value);
536 inline void RepoCommandParameterMessage_Name::add_component(
const char* value) {
537 component_.Add()->assign(value);
539 inline void RepoCommandParameterMessage_Name::add_component(
const void* value,
size_t size) {
540 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
542 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
543 RepoCommandParameterMessage_Name::component()
const {
546 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
547 RepoCommandParameterMessage_Name::mutable_component() {
556 inline bool RepoCommandParameterMessage_Selectors::has_min_suffix_components()
const {
557 return (_has_bits_[0] & 0x00000001u) != 0;
559 inline void RepoCommandParameterMessage_Selectors::set_has_min_suffix_components() {
560 _has_bits_[0] |= 0x00000001u;
562 inline void RepoCommandParameterMessage_Selectors::clear_has_min_suffix_components() {
563 _has_bits_[0] &= ~0x00000001u;
565 inline void RepoCommandParameterMessage_Selectors::clear_min_suffix_components() {
566 min_suffix_components_ = 0u;
567 clear_has_min_suffix_components();
569 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::min_suffix_components()
const {
570 return min_suffix_components_;
572 inline void RepoCommandParameterMessage_Selectors::set_min_suffix_components(::google::protobuf::uint32 value) {
573 set_has_min_suffix_components();
574 min_suffix_components_ = value;
578 inline bool RepoCommandParameterMessage_Selectors::has_max_suffix_components()
const {
579 return (_has_bits_[0] & 0x00000002u) != 0;
581 inline void RepoCommandParameterMessage_Selectors::set_has_max_suffix_components() {
582 _has_bits_[0] |= 0x00000002u;
584 inline void RepoCommandParameterMessage_Selectors::clear_has_max_suffix_components() {
585 _has_bits_[0] &= ~0x00000002u;
587 inline void RepoCommandParameterMessage_Selectors::clear_max_suffix_components() {
588 max_suffix_components_ = 0u;
589 clear_has_max_suffix_components();
591 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::max_suffix_components()
const {
592 return max_suffix_components_;
594 inline void RepoCommandParameterMessage_Selectors::set_max_suffix_components(::google::protobuf::uint32 value) {
595 set_has_max_suffix_components();
596 max_suffix_components_ = value;
600 inline bool RepoCommandParameterMessage_Selectors::has_publisher_public_key_locator()
const {
601 return (_has_bits_[0] & 0x00000004u) != 0;
603 inline void RepoCommandParameterMessage_Selectors::set_has_publisher_public_key_locator() {
604 _has_bits_[0] |= 0x00000004u;
606 inline void RepoCommandParameterMessage_Selectors::clear_has_publisher_public_key_locator() {
607 _has_bits_[0] &= ~0x00000004u;
609 inline void RepoCommandParameterMessage_Selectors::clear_publisher_public_key_locator() {
610 if (publisher_public_key_locator_ != &::google::protobuf::internal::kEmptyString) {
611 publisher_public_key_locator_->clear();
613 clear_has_publisher_public_key_locator();
615 inline const ::std::string& RepoCommandParameterMessage_Selectors::publisher_public_key_locator()
const {
616 return *publisher_public_key_locator_;
618 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(const ::std::string& value) {
619 set_has_publisher_public_key_locator();
620 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
621 publisher_public_key_locator_ = new ::std::string;
623 publisher_public_key_locator_->assign(value);
625 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(
const char* value) {
626 set_has_publisher_public_key_locator();
627 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
628 publisher_public_key_locator_ = new ::std::string;
630 publisher_public_key_locator_->assign(value);
632 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(
const void* value,
size_t size) {
633 set_has_publisher_public_key_locator();
634 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
635 publisher_public_key_locator_ = new ::std::string;
637 publisher_public_key_locator_->assign(reinterpret_cast<const char*>(value), size);
639 inline ::std::string* RepoCommandParameterMessage_Selectors::mutable_publisher_public_key_locator() {
640 set_has_publisher_public_key_locator();
641 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
642 publisher_public_key_locator_ = new ::std::string;
644 return publisher_public_key_locator_;
646 inline ::std::string* RepoCommandParameterMessage_Selectors::release_publisher_public_key_locator() {
647 clear_has_publisher_public_key_locator();
648 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
651 ::std::string* temp = publisher_public_key_locator_;
652 publisher_public_key_locator_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
658 inline bool RepoCommandParameterMessage_Selectors::has_child_selector()
const {
659 return (_has_bits_[0] & 0x00000008u) != 0;
661 inline void RepoCommandParameterMessage_Selectors::set_has_child_selector() {
662 _has_bits_[0] |= 0x00000008u;
664 inline void RepoCommandParameterMessage_Selectors::clear_has_child_selector() {
665 _has_bits_[0] &= ~0x00000008u;
667 inline void RepoCommandParameterMessage_Selectors::clear_child_selector() {
668 child_selector_ = 0u;
669 clear_has_child_selector();
671 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::child_selector()
const {
672 return child_selector_;
674 inline void RepoCommandParameterMessage_Selectors::set_child_selector(::google::protobuf::uint32 value) {
675 set_has_child_selector();
676 child_selector_ = value;
684 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_name()
const {
685 return (_has_bits_[0] & 0x00000001u) != 0;
687 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_name() {
688 _has_bits_[0] |= 0x00000001u;
690 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_name() {
691 _has_bits_[0] &= ~0x00000001u;
693 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_name() {
694 if (name_ != NULL) name_->::ndn_message::RepoCommandParameterMessage_Name::Clear();
697 inline const ::ndn_message::RepoCommandParameterMessage_Name& RepoCommandParameterMessage_RepoCommandParameter::name()
const {
698 return name_ != NULL ? *name_ : *default_instance_->name_;
700 inline ::ndn_message::RepoCommandParameterMessage_Name* RepoCommandParameterMessage_RepoCommandParameter::mutable_name() {
702 if (name_ == NULL) name_ = new ::ndn_message::RepoCommandParameterMessage_Name;
705 inline ::ndn_message::RepoCommandParameterMessage_Name* RepoCommandParameterMessage_RepoCommandParameter::release_name() {
713 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_selectors()
const {
714 return (_has_bits_[0] & 0x00000002u) != 0;
716 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_selectors() {
717 _has_bits_[0] |= 0x00000002u;
719 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_selectors() {
720 _has_bits_[0] &= ~0x00000002u;
722 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_selectors() {
723 if (selectors_ != NULL) selectors_->::ndn_message::RepoCommandParameterMessage_Selectors::Clear();
724 clear_has_selectors();
726 inline const ::ndn_message::RepoCommandParameterMessage_Selectors& RepoCommandParameterMessage_RepoCommandParameter::selectors()
const {
727 return selectors_ != NULL ? *selectors_ : *default_instance_->selectors_;
729 inline ::ndn_message::RepoCommandParameterMessage_Selectors* RepoCommandParameterMessage_RepoCommandParameter::mutable_selectors() {
731 if (selectors_ == NULL) selectors_ = new ::ndn_message::RepoCommandParameterMessage_Selectors;
734 inline ::ndn_message::RepoCommandParameterMessage_Selectors* RepoCommandParameterMessage_RepoCommandParameter::release_selectors() {
735 clear_has_selectors();
742 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_start_block_id()
const {
743 return (_has_bits_[0] & 0x00000004u) != 0;
745 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_start_block_id() {
746 _has_bits_[0] |= 0x00000004u;
748 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_start_block_id() {
749 _has_bits_[0] &= ~0x00000004u;
751 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_start_block_id() {
752 start_block_id_ = GOOGLE_ULONGLONG(0);
753 clear_has_start_block_id();
755 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::start_block_id()
const {
756 return start_block_id_;
758 inline void RepoCommandParameterMessage_RepoCommandParameter::set_start_block_id(::google::protobuf::uint64 value) {
759 set_has_start_block_id();
760 start_block_id_ = value;
764 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_end_block_id()
const {
765 return (_has_bits_[0] & 0x00000008u) != 0;
767 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_end_block_id() {
768 _has_bits_[0] |= 0x00000008u;
770 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_end_block_id() {
771 _has_bits_[0] &= ~0x00000008u;
773 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_end_block_id() {
774 end_block_id_ = GOOGLE_ULONGLONG(0);
775 clear_has_end_block_id();
777 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::end_block_id()
const {
778 return end_block_id_;
780 inline void RepoCommandParameterMessage_RepoCommandParameter::set_end_block_id(::google::protobuf::uint64 value) {
781 set_has_end_block_id();
782 end_block_id_ = value;
786 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_process_id()
const {
787 return (_has_bits_[0] & 0x00000010u) != 0;
789 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_process_id() {
790 _has_bits_[0] |= 0x00000010u;
792 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_process_id() {
793 _has_bits_[0] &= ~0x00000010u;
795 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_process_id() {
796 process_id_ = GOOGLE_ULONGLONG(0);
797 clear_has_process_id();
799 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::process_id()
const {
802 inline void RepoCommandParameterMessage_RepoCommandParameter::set_process_id(::google::protobuf::uint64 value) {
803 set_has_process_id();
808 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_max_interest_num()
const {
809 return (_has_bits_[0] & 0x00000020u) != 0;
811 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_max_interest_num() {
812 _has_bits_[0] |= 0x00000020u;
814 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_max_interest_num() {
815 _has_bits_[0] &= ~0x00000020u;
817 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_max_interest_num() {
818 max_interest_num_ = GOOGLE_ULONGLONG(0);
819 clear_has_max_interest_num();
821 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::max_interest_num()
const {
822 return max_interest_num_;
824 inline void RepoCommandParameterMessage_RepoCommandParameter::set_max_interest_num(::google::protobuf::uint64 value) {
825 set_has_max_interest_num();
826 max_interest_num_ = value;
830 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_watch_timeout()
const {
831 return (_has_bits_[0] & 0x00000040u) != 0;
833 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_watch_timeout() {
834 _has_bits_[0] |= 0x00000040u;
836 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_watch_timeout() {
837 _has_bits_[0] &= ~0x00000040u;
839 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_watch_timeout() {
840 watch_timeout_ = GOOGLE_ULONGLONG(0);
841 clear_has_watch_timeout();
843 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::watch_timeout()
const {
844 return watch_timeout_;
846 inline void RepoCommandParameterMessage_RepoCommandParameter::set_watch_timeout(::google::protobuf::uint64 value) {
847 set_has_watch_timeout();
848 watch_timeout_ = value;
852 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_watch_status()
const {
853 return (_has_bits_[0] & 0x00000080u) != 0;
855 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_watch_status() {
856 _has_bits_[0] |= 0x00000080u;
858 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_watch_status() {
859 _has_bits_[0] &= ~0x00000080u;
861 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_watch_status() {
862 watch_status_ = GOOGLE_ULONGLONG(0);
863 clear_has_watch_status();
865 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::watch_status()
const {
866 return watch_status_;
868 inline void RepoCommandParameterMessage_RepoCommandParameter::set_watch_status(::google::protobuf::uint64 value) {
869 set_has_watch_status();
870 watch_status_ = value;
874 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_interest_lifetime()
const {
875 return (_has_bits_[0] & 0x00000100u) != 0;
877 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_interest_lifetime() {
878 _has_bits_[0] |= 0x00000100u;
880 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_interest_lifetime() {
881 _has_bits_[0] &= ~0x00000100u;
883 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_interest_lifetime() {
884 interest_lifetime_ = GOOGLE_ULONGLONG(0);
885 clear_has_interest_lifetime();
887 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::interest_lifetime()
const {
888 return interest_lifetime_;
890 inline void RepoCommandParameterMessage_RepoCommandParameter::set_interest_lifetime(::google::protobuf::uint64 value) {
891 set_has_interest_lifetime();
892 interest_lifetime_ = value;
900 inline bool RepoCommandParameterMessage::has_repo_command_parameter()
const {
901 return (_has_bits_[0] & 0x00000001u) != 0;
903 inline void RepoCommandParameterMessage::set_has_repo_command_parameter() {
904 _has_bits_[0] |= 0x00000001u;
906 inline void RepoCommandParameterMessage::clear_has_repo_command_parameter() {
907 _has_bits_[0] &= ~0x00000001u;
909 inline void RepoCommandParameterMessage::clear_repo_command_parameter() {
910 if (repo_command_parameter_ != NULL) repo_command_parameter_->::ndn_message::RepoCommandParameterMessage_RepoCommandParameter::Clear();
911 clear_has_repo_command_parameter();
913 inline const ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter& RepoCommandParameterMessage::repo_command_parameter()
const {
914 return repo_command_parameter_ != NULL ? *repo_command_parameter_ : *default_instance_->repo_command_parameter_;
916 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* RepoCommandParameterMessage::mutable_repo_command_parameter() {
917 set_has_repo_command_parameter();
918 if (repo_command_parameter_ == NULL) repo_command_parameter_ = new ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter;
919 return repo_command_parameter_;
921 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* RepoCommandParameterMessage::release_repo_command_parameter() {
922 clear_has_repo_command_parameter();
924 repo_command_parameter_ = NULL;
944 #elif GOOGLE_PROTOBUF_VERSION < 2006000
946 #if GOOGLE_PROTOBUF_VERSION < 2005000
947 #error This file was generated by a newer version of protoc which is
948 #error incompatible with your Protocol Buffer headers. Please update
951 #if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
952 #error This file was generated by an older version of protoc which is
953 #error incompatible with your Protocol Buffer headers. Please
954 #error regenerate this file with a newer version of protoc.
957 #include <google/protobuf/generated_message_util.h>
958 #include <google/protobuf/message.h>
959 #include <google/protobuf/repeated_field.h>
960 #include <google/protobuf/extension_set.h>
961 #include <google/protobuf/unknown_field_set.h>
967 void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
968 void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
969 void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
971 class RepoCommandParameterMessage;
972 class RepoCommandParameterMessage_Name;
973 class RepoCommandParameterMessage_Selectors;
974 class RepoCommandParameterMessage_RepoCommandParameter;
978 class RepoCommandParameterMessage_Name :
public ::google::protobuf::Message {
980 RepoCommandParameterMessage_Name();
981 virtual ~RepoCommandParameterMessage_Name();
983 RepoCommandParameterMessage_Name(
const RepoCommandParameterMessage_Name& from);
985 inline RepoCommandParameterMessage_Name& operator=(
const RepoCommandParameterMessage_Name& from) {
990 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
991 return _unknown_fields_;
994 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
995 return &_unknown_fields_;
998 static const ::google::protobuf::Descriptor* descriptor();
999 static const RepoCommandParameterMessage_Name& default_instance();
1001 void Swap(RepoCommandParameterMessage_Name* other);
1005 RepoCommandParameterMessage_Name* New()
const;
1006 void CopyFrom(const ::google::protobuf::Message& from);
1007 void MergeFrom(const ::google::protobuf::Message& from);
1008 void CopyFrom(
const RepoCommandParameterMessage_Name& from);
1009 void MergeFrom(
const RepoCommandParameterMessage_Name& from);
1011 bool IsInitialized()
const;
1013 int ByteSize()
const;
1014 bool MergePartialFromCodedStream(
1015 ::google::protobuf::io::CodedInputStream* input);
1016 void SerializeWithCachedSizes(
1017 ::google::protobuf::io::CodedOutputStream* output)
const;
1018 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1019 int GetCachedSize()
const {
return _cached_size_; }
1023 void SetCachedSize(
int size)
const;
1026 ::google::protobuf::Metadata GetMetadata()
const;
1033 inline int component_size()
const;
1034 inline void clear_component();
1035 static const int kComponentFieldNumber = 8;
1036 inline const ::std::string& component(
int index)
const;
1037 inline ::std::string* mutable_component(
int index);
1038 inline void set_component(
int index, const ::std::string& value);
1039 inline void set_component(
int index,
const char* value);
1040 inline void set_component(
int index,
const void* value,
size_t size);
1041 inline ::std::string* add_component();
1042 inline void add_component(const ::std::string& value);
1043 inline void add_component(
const char* value);
1044 inline void add_component(
const void* value,
size_t size);
1045 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
1046 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
1051 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1055 mutable int _cached_size_;
1056 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1058 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
1059 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
1060 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
1062 void InitAsDefaultInstance();
1063 static RepoCommandParameterMessage_Name* default_instance_;
1067 class RepoCommandParameterMessage_Selectors :
public ::google::protobuf::Message {
1069 RepoCommandParameterMessage_Selectors();
1070 virtual ~RepoCommandParameterMessage_Selectors();
1072 RepoCommandParameterMessage_Selectors(
const RepoCommandParameterMessage_Selectors& from);
1074 inline RepoCommandParameterMessage_Selectors& operator=(
const RepoCommandParameterMessage_Selectors& from) {
1079 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1080 return _unknown_fields_;
1083 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1084 return &_unknown_fields_;
1087 static const ::google::protobuf::Descriptor* descriptor();
1088 static const RepoCommandParameterMessage_Selectors& default_instance();
1090 void Swap(RepoCommandParameterMessage_Selectors* other);
1094 RepoCommandParameterMessage_Selectors* New()
const;
1095 void CopyFrom(const ::google::protobuf::Message& from);
1096 void MergeFrom(const ::google::protobuf::Message& from);
1097 void CopyFrom(
const RepoCommandParameterMessage_Selectors& from);
1098 void MergeFrom(
const RepoCommandParameterMessage_Selectors& from);
1100 bool IsInitialized()
const;
1102 int ByteSize()
const;
1103 bool MergePartialFromCodedStream(
1104 ::google::protobuf::io::CodedInputStream* input);
1105 void SerializeWithCachedSizes(
1106 ::google::protobuf::io::CodedOutputStream* output)
const;
1107 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1108 int GetCachedSize()
const {
return _cached_size_; }
1112 void SetCachedSize(
int size)
const;
1115 ::google::protobuf::Metadata GetMetadata()
const;
1122 inline bool has_min_suffix_components()
const;
1123 inline void clear_min_suffix_components();
1124 static const int kMinSuffixComponentsFieldNumber = 13;
1125 inline ::google::protobuf::uint32 min_suffix_components()
const;
1126 inline void set_min_suffix_components(::google::protobuf::uint32 value);
1129 inline bool has_max_suffix_components()
const;
1130 inline void clear_max_suffix_components();
1131 static const int kMaxSuffixComponentsFieldNumber = 14;
1132 inline ::google::protobuf::uint32 max_suffix_components()
const;
1133 inline void set_max_suffix_components(::google::protobuf::uint32 value);
1136 inline bool has_publisher_public_key_locator()
const;
1137 inline void clear_publisher_public_key_locator();
1138 static const int kPublisherPublicKeyLocatorFieldNumber = 15;
1139 inline const ::std::string& publisher_public_key_locator()
const;
1140 inline void set_publisher_public_key_locator(const ::std::string& value);
1141 inline void set_publisher_public_key_locator(
const char* value);
1142 inline void set_publisher_public_key_locator(
const void* value,
size_t size);
1143 inline ::std::string* mutable_publisher_public_key_locator();
1144 inline ::std::string* release_publisher_public_key_locator();
1145 inline void set_allocated_publisher_public_key_locator(::std::string* publisher_public_key_locator);
1148 inline bool has_child_selector()
const;
1149 inline void clear_child_selector();
1150 static const int kChildSelectorFieldNumber = 17;
1151 inline ::google::protobuf::uint32 child_selector()
const;
1152 inline void set_child_selector(::google::protobuf::uint32 value);
1156 inline void set_has_min_suffix_components();
1157 inline void clear_has_min_suffix_components();
1158 inline void set_has_max_suffix_components();
1159 inline void clear_has_max_suffix_components();
1160 inline void set_has_publisher_public_key_locator();
1161 inline void clear_has_publisher_public_key_locator();
1162 inline void set_has_child_selector();
1163 inline void clear_has_child_selector();
1165 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1167 ::google::protobuf::uint32 min_suffix_components_;
1168 ::google::protobuf::uint32 max_suffix_components_;
1169 ::std::string* publisher_public_key_locator_;
1170 ::google::protobuf::uint32 child_selector_;
1172 mutable int _cached_size_;
1173 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
1175 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
1176 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
1177 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
1179 void InitAsDefaultInstance();
1180 static RepoCommandParameterMessage_Selectors* default_instance_;
1184 class RepoCommandParameterMessage_RepoCommandParameter :
public ::google::protobuf::Message {
1186 RepoCommandParameterMessage_RepoCommandParameter();
1187 virtual ~RepoCommandParameterMessage_RepoCommandParameter();
1189 RepoCommandParameterMessage_RepoCommandParameter(
const RepoCommandParameterMessage_RepoCommandParameter& from);
1191 inline RepoCommandParameterMessage_RepoCommandParameter& operator=(
const RepoCommandParameterMessage_RepoCommandParameter& from) {
1196 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1197 return _unknown_fields_;
1200 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1201 return &_unknown_fields_;
1204 static const ::google::protobuf::Descriptor* descriptor();
1205 static const RepoCommandParameterMessage_RepoCommandParameter& default_instance();
1207 void Swap(RepoCommandParameterMessage_RepoCommandParameter* other);
1211 RepoCommandParameterMessage_RepoCommandParameter* New()
const;
1212 void CopyFrom(const ::google::protobuf::Message& from);
1213 void MergeFrom(const ::google::protobuf::Message& from);
1214 void CopyFrom(
const RepoCommandParameterMessage_RepoCommandParameter& from);
1215 void MergeFrom(
const RepoCommandParameterMessage_RepoCommandParameter& from);
1217 bool IsInitialized()
const;
1219 int ByteSize()
const;
1220 bool MergePartialFromCodedStream(
1221 ::google::protobuf::io::CodedInputStream* input);
1222 void SerializeWithCachedSizes(
1223 ::google::protobuf::io::CodedOutputStream* output)
const;
1224 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1225 int GetCachedSize()
const {
return _cached_size_; }
1229 void SetCachedSize(
int size)
const;
1232 ::google::protobuf::Metadata GetMetadata()
const;
1239 inline bool has_name()
const;
1240 inline void clear_name();
1241 static const int kNameFieldNumber = 7;
1242 inline const ::ndn_message::RepoCommandParameterMessage_Name& name()
const;
1243 inline ::ndn_message::RepoCommandParameterMessage_Name* mutable_name();
1244 inline ::ndn_message::RepoCommandParameterMessage_Name* release_name();
1248 inline bool has_selectors()
const;
1249 inline void clear_selectors();
1250 static const int kSelectorsFieldNumber = 9;
1251 inline const ::ndn_message::RepoCommandParameterMessage_Selectors& selectors()
const;
1252 inline ::ndn_message::RepoCommandParameterMessage_Selectors* mutable_selectors();
1253 inline ::ndn_message::RepoCommandParameterMessage_Selectors* release_selectors();
1257 inline bool has_start_block_id()
const;
1258 inline void clear_start_block_id();
1259 static const int kStartBlockIdFieldNumber = 204;
1260 inline ::google::protobuf::uint64 start_block_id()
const;
1261 inline void set_start_block_id(::google::protobuf::uint64 value);
1264 inline bool has_end_block_id()
const;
1265 inline void clear_end_block_id();
1266 static const int kEndBlockIdFieldNumber = 205;
1267 inline ::google::protobuf::uint64 end_block_id()
const;
1268 inline void set_end_block_id(::google::protobuf::uint64 value);
1271 inline bool has_process_id()
const;
1272 inline void clear_process_id();
1273 static const int kProcessIdFieldNumber = 206;
1274 inline ::google::protobuf::uint64 process_id()
const;
1275 inline void set_process_id(::google::protobuf::uint64 value);
1278 inline bool has_max_interest_num()
const;
1279 inline void clear_max_interest_num();
1280 static const int kMaxInterestNumFieldNumber = 211;
1281 inline ::google::protobuf::uint64 max_interest_num()
const;
1282 inline void set_max_interest_num(::google::protobuf::uint64 value);
1285 inline bool has_watch_timeout()
const;
1286 inline void clear_watch_timeout();
1287 static const int kWatchTimeoutFieldNumber = 212;
1288 inline ::google::protobuf::uint64 watch_timeout()
const;
1289 inline void set_watch_timeout(::google::protobuf::uint64 value);
1292 inline bool has_watch_status()
const;
1293 inline void clear_watch_status();
1294 static const int kWatchStatusFieldNumber = 213;
1295 inline ::google::protobuf::uint64 watch_status()
const;
1296 inline void set_watch_status(::google::protobuf::uint64 value);
1299 inline bool has_interest_lifetime()
const;
1300 inline void clear_interest_lifetime();
1301 static const int kInterestLifetimeFieldNumber = 214;
1302 inline ::google::protobuf::uint64 interest_lifetime()
const;
1303 inline void set_interest_lifetime(::google::protobuf::uint64 value);
1307 inline void set_has_name();
1308 inline void clear_has_name();
1309 inline void set_has_selectors();
1310 inline void clear_has_selectors();
1311 inline void set_has_start_block_id();
1312 inline void clear_has_start_block_id();
1313 inline void set_has_end_block_id();
1314 inline void clear_has_end_block_id();
1315 inline void set_has_process_id();
1316 inline void clear_has_process_id();
1317 inline void set_has_max_interest_num();
1318 inline void clear_has_max_interest_num();
1319 inline void set_has_watch_timeout();
1320 inline void clear_has_watch_timeout();
1321 inline void set_has_watch_status();
1322 inline void clear_has_watch_status();
1323 inline void set_has_interest_lifetime();
1324 inline void clear_has_interest_lifetime();
1326 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1330 ::google::protobuf::uint64 start_block_id_;
1331 ::google::protobuf::uint64 end_block_id_;
1332 ::google::protobuf::uint64 process_id_;
1333 ::google::protobuf::uint64 max_interest_num_;
1334 ::google::protobuf::uint64 watch_timeout_;
1335 ::google::protobuf::uint64 watch_status_;
1336 ::google::protobuf::uint64 interest_lifetime_;
1338 mutable int _cached_size_;
1339 ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
1341 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
1342 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
1343 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
1345 void InitAsDefaultInstance();
1346 static RepoCommandParameterMessage_RepoCommandParameter* default_instance_;
1350 class RepoCommandParameterMessage :
public ::google::protobuf::Message {
1352 RepoCommandParameterMessage();
1353 virtual ~RepoCommandParameterMessage();
1355 RepoCommandParameterMessage(
const RepoCommandParameterMessage& from);
1357 inline RepoCommandParameterMessage& operator=(
const RepoCommandParameterMessage& from) {
1362 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1363 return _unknown_fields_;
1366 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1367 return &_unknown_fields_;
1370 static const ::google::protobuf::Descriptor* descriptor();
1371 static const RepoCommandParameterMessage& default_instance();
1373 void Swap(RepoCommandParameterMessage* other);
1377 RepoCommandParameterMessage* New()
const;
1378 void CopyFrom(const ::google::protobuf::Message& from);
1379 void MergeFrom(const ::google::protobuf::Message& from);
1380 void CopyFrom(
const RepoCommandParameterMessage& from);
1381 void MergeFrom(
const RepoCommandParameterMessage& from);
1383 bool IsInitialized()
const;
1385 int ByteSize()
const;
1386 bool MergePartialFromCodedStream(
1387 ::google::protobuf::io::CodedInputStream* input);
1388 void SerializeWithCachedSizes(
1389 ::google::protobuf::io::CodedOutputStream* output)
const;
1390 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1391 int GetCachedSize()
const {
return _cached_size_; }
1395 void SetCachedSize(
int size)
const;
1398 ::google::protobuf::Metadata GetMetadata()
const;
1402 typedef RepoCommandParameterMessage_Name Name;
1403 typedef RepoCommandParameterMessage_Selectors Selectors;
1404 typedef RepoCommandParameterMessage_RepoCommandParameter RepoCommandParameter;
1409 inline bool has_repo_command_parameter()
const;
1410 inline void clear_repo_command_parameter();
1411 static const int kRepoCommandParameterFieldNumber = 201;
1412 inline const ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter& repo_command_parameter()
const;
1413 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* mutable_repo_command_parameter();
1414 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* release_repo_command_parameter();
1419 inline void set_has_repo_command_parameter();
1420 inline void clear_has_repo_command_parameter();
1422 ::google::protobuf::UnknownFieldSet _unknown_fields_;
1426 mutable int _cached_size_;
1427 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
1429 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
1430 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
1431 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
1433 void InitAsDefaultInstance();
1434 static RepoCommandParameterMessage* default_instance_;
1444 inline int RepoCommandParameterMessage_Name::component_size()
const {
1445 return component_.size();
1447 inline void RepoCommandParameterMessage_Name::clear_component() {
1450 inline const ::std::string& RepoCommandParameterMessage_Name::component(
int index)
const {
1451 return component_.Get(index);
1453 inline ::std::string* RepoCommandParameterMessage_Name::mutable_component(
int index) {
1454 return component_.Mutable(index);
1456 inline void RepoCommandParameterMessage_Name::set_component(
int index, const ::std::string& value) {
1457 component_.Mutable(index)->assign(value);
1459 inline void RepoCommandParameterMessage_Name::set_component(
int index,
const char* value) {
1460 component_.Mutable(index)->assign(value);
1462 inline void RepoCommandParameterMessage_Name::set_component(
int index,
const void* value,
size_t size) {
1463 component_.Mutable(index)->assign(
1464 reinterpret_cast<const char*>(value), size);
1466 inline ::std::string* RepoCommandParameterMessage_Name::add_component() {
1467 return component_.Add();
1469 inline void RepoCommandParameterMessage_Name::add_component(const ::std::string& value) {
1470 component_.Add()->assign(value);
1472 inline void RepoCommandParameterMessage_Name::add_component(
const char* value) {
1473 component_.Add()->assign(value);
1475 inline void RepoCommandParameterMessage_Name::add_component(
const void* value,
size_t size) {
1476 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
1478 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1479 RepoCommandParameterMessage_Name::component()
const {
1482 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1483 RepoCommandParameterMessage_Name::mutable_component() {
1492 inline bool RepoCommandParameterMessage_Selectors::has_min_suffix_components()
const {
1493 return (_has_bits_[0] & 0x00000001u) != 0;
1495 inline void RepoCommandParameterMessage_Selectors::set_has_min_suffix_components() {
1496 _has_bits_[0] |= 0x00000001u;
1498 inline void RepoCommandParameterMessage_Selectors::clear_has_min_suffix_components() {
1499 _has_bits_[0] &= ~0x00000001u;
1501 inline void RepoCommandParameterMessage_Selectors::clear_min_suffix_components() {
1502 min_suffix_components_ = 0u;
1503 clear_has_min_suffix_components();
1505 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::min_suffix_components()
const {
1506 return min_suffix_components_;
1508 inline void RepoCommandParameterMessage_Selectors::set_min_suffix_components(::google::protobuf::uint32 value) {
1509 set_has_min_suffix_components();
1510 min_suffix_components_ = value;
1514 inline bool RepoCommandParameterMessage_Selectors::has_max_suffix_components()
const {
1515 return (_has_bits_[0] & 0x00000002u) != 0;
1517 inline void RepoCommandParameterMessage_Selectors::set_has_max_suffix_components() {
1518 _has_bits_[0] |= 0x00000002u;
1520 inline void RepoCommandParameterMessage_Selectors::clear_has_max_suffix_components() {
1521 _has_bits_[0] &= ~0x00000002u;
1523 inline void RepoCommandParameterMessage_Selectors::clear_max_suffix_components() {
1524 max_suffix_components_ = 0u;
1525 clear_has_max_suffix_components();
1527 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::max_suffix_components()
const {
1528 return max_suffix_components_;
1530 inline void RepoCommandParameterMessage_Selectors::set_max_suffix_components(::google::protobuf::uint32 value) {
1531 set_has_max_suffix_components();
1532 max_suffix_components_ = value;
1536 inline bool RepoCommandParameterMessage_Selectors::has_publisher_public_key_locator()
const {
1537 return (_has_bits_[0] & 0x00000004u) != 0;
1539 inline void RepoCommandParameterMessage_Selectors::set_has_publisher_public_key_locator() {
1540 _has_bits_[0] |= 0x00000004u;
1542 inline void RepoCommandParameterMessage_Selectors::clear_has_publisher_public_key_locator() {
1543 _has_bits_[0] &= ~0x00000004u;
1545 inline void RepoCommandParameterMessage_Selectors::clear_publisher_public_key_locator() {
1546 if (publisher_public_key_locator_ != &::google::protobuf::internal::kEmptyString) {
1547 publisher_public_key_locator_->clear();
1549 clear_has_publisher_public_key_locator();
1551 inline const ::std::string& RepoCommandParameterMessage_Selectors::publisher_public_key_locator()
const {
1552 return *publisher_public_key_locator_;
1554 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(const ::std::string& value) {
1555 set_has_publisher_public_key_locator();
1556 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
1557 publisher_public_key_locator_ = new ::std::string;
1559 publisher_public_key_locator_->assign(value);
1561 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(
const char* value) {
1562 set_has_publisher_public_key_locator();
1563 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
1564 publisher_public_key_locator_ = new ::std::string;
1566 publisher_public_key_locator_->assign(value);
1568 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(
const void* value,
size_t size) {
1569 set_has_publisher_public_key_locator();
1570 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
1571 publisher_public_key_locator_ = new ::std::string;
1573 publisher_public_key_locator_->assign(reinterpret_cast<const char*>(value), size);
1575 inline ::std::string* RepoCommandParameterMessage_Selectors::mutable_publisher_public_key_locator() {
1576 set_has_publisher_public_key_locator();
1577 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
1578 publisher_public_key_locator_ = new ::std::string;
1580 return publisher_public_key_locator_;
1582 inline ::std::string* RepoCommandParameterMessage_Selectors::release_publisher_public_key_locator() {
1583 clear_has_publisher_public_key_locator();
1584 if (publisher_public_key_locator_ == &::google::protobuf::internal::kEmptyString) {
1587 ::std::string* temp = publisher_public_key_locator_;
1588 publisher_public_key_locator_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1592 inline void RepoCommandParameterMessage_Selectors::set_allocated_publisher_public_key_locator(::std::string* publisher_public_key_locator) {
1593 if (publisher_public_key_locator_ != &::google::protobuf::internal::kEmptyString) {
1594 delete publisher_public_key_locator_;
1596 if (publisher_public_key_locator) {
1597 set_has_publisher_public_key_locator();
1598 publisher_public_key_locator_ = publisher_public_key_locator;
1600 clear_has_publisher_public_key_locator();
1601 publisher_public_key_locator_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
1606 inline bool RepoCommandParameterMessage_Selectors::has_child_selector()
const {
1607 return (_has_bits_[0] & 0x00000008u) != 0;
1609 inline void RepoCommandParameterMessage_Selectors::set_has_child_selector() {
1610 _has_bits_[0] |= 0x00000008u;
1612 inline void RepoCommandParameterMessage_Selectors::clear_has_child_selector() {
1613 _has_bits_[0] &= ~0x00000008u;
1615 inline void RepoCommandParameterMessage_Selectors::clear_child_selector() {
1616 child_selector_ = 0u;
1617 clear_has_child_selector();
1619 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::child_selector()
const {
1620 return child_selector_;
1622 inline void RepoCommandParameterMessage_Selectors::set_child_selector(::google::protobuf::uint32 value) {
1623 set_has_child_selector();
1624 child_selector_ = value;
1632 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_name()
const {
1633 return (_has_bits_[0] & 0x00000001u) != 0;
1635 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_name() {
1636 _has_bits_[0] |= 0x00000001u;
1638 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_name() {
1639 _has_bits_[0] &= ~0x00000001u;
1641 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_name() {
1642 if (name_ != NULL) name_->::ndn_message::RepoCommandParameterMessage_Name::Clear();
1645 inline const ::ndn_message::RepoCommandParameterMessage_Name& RepoCommandParameterMessage_RepoCommandParameter::name()
const {
1646 return name_ != NULL ? *name_ : *default_instance_->name_;
1648 inline ::ndn_message::RepoCommandParameterMessage_Name* RepoCommandParameterMessage_RepoCommandParameter::mutable_name() {
1650 if (name_ == NULL) name_ = new ::ndn_message::RepoCommandParameterMessage_Name;
1653 inline ::ndn_message::RepoCommandParameterMessage_Name* RepoCommandParameterMessage_RepoCommandParameter::release_name() {
1670 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_selectors()
const {
1671 return (_has_bits_[0] & 0x00000002u) != 0;
1673 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_selectors() {
1674 _has_bits_[0] |= 0x00000002u;
1676 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_selectors() {
1677 _has_bits_[0] &= ~0x00000002u;
1679 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_selectors() {
1680 if (selectors_ != NULL) selectors_->::ndn_message::RepoCommandParameterMessage_Selectors::Clear();
1681 clear_has_selectors();
1683 inline const ::ndn_message::RepoCommandParameterMessage_Selectors& RepoCommandParameterMessage_RepoCommandParameter::selectors()
const {
1684 return selectors_ != NULL ? *selectors_ : *default_instance_->selectors_;
1686 inline ::ndn_message::RepoCommandParameterMessage_Selectors* RepoCommandParameterMessage_RepoCommandParameter::mutable_selectors() {
1687 set_has_selectors();
1688 if (selectors_ == NULL) selectors_ = new ::ndn_message::RepoCommandParameterMessage_Selectors;
1691 inline ::ndn_message::RepoCommandParameterMessage_Selectors* RepoCommandParameterMessage_RepoCommandParameter::release_selectors() {
1692 clear_has_selectors();
1699 selectors_ = selectors;
1701 set_has_selectors();
1703 clear_has_selectors();
1708 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_start_block_id()
const {
1709 return (_has_bits_[0] & 0x00000004u) != 0;
1711 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_start_block_id() {
1712 _has_bits_[0] |= 0x00000004u;
1714 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_start_block_id() {
1715 _has_bits_[0] &= ~0x00000004u;
1717 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_start_block_id() {
1718 start_block_id_ = GOOGLE_ULONGLONG(0);
1719 clear_has_start_block_id();
1721 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::start_block_id()
const {
1722 return start_block_id_;
1724 inline void RepoCommandParameterMessage_RepoCommandParameter::set_start_block_id(::google::protobuf::uint64 value) {
1725 set_has_start_block_id();
1726 start_block_id_ = value;
1730 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_end_block_id()
const {
1731 return (_has_bits_[0] & 0x00000008u) != 0;
1733 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_end_block_id() {
1734 _has_bits_[0] |= 0x00000008u;
1736 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_end_block_id() {
1737 _has_bits_[0] &= ~0x00000008u;
1739 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_end_block_id() {
1740 end_block_id_ = GOOGLE_ULONGLONG(0);
1741 clear_has_end_block_id();
1743 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::end_block_id()
const {
1744 return end_block_id_;
1746 inline void RepoCommandParameterMessage_RepoCommandParameter::set_end_block_id(::google::protobuf::uint64 value) {
1747 set_has_end_block_id();
1748 end_block_id_ = value;
1752 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_process_id()
const {
1753 return (_has_bits_[0] & 0x00000010u) != 0;
1755 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_process_id() {
1756 _has_bits_[0] |= 0x00000010u;
1758 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_process_id() {
1759 _has_bits_[0] &= ~0x00000010u;
1761 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_process_id() {
1762 process_id_ = GOOGLE_ULONGLONG(0);
1763 clear_has_process_id();
1765 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::process_id()
const {
1768 inline void RepoCommandParameterMessage_RepoCommandParameter::set_process_id(::google::protobuf::uint64 value) {
1769 set_has_process_id();
1770 process_id_ = value;
1774 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_max_interest_num()
const {
1775 return (_has_bits_[0] & 0x00000020u) != 0;
1777 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_max_interest_num() {
1778 _has_bits_[0] |= 0x00000020u;
1780 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_max_interest_num() {
1781 _has_bits_[0] &= ~0x00000020u;
1783 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_max_interest_num() {
1784 max_interest_num_ = GOOGLE_ULONGLONG(0);
1785 clear_has_max_interest_num();
1787 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::max_interest_num()
const {
1788 return max_interest_num_;
1790 inline void RepoCommandParameterMessage_RepoCommandParameter::set_max_interest_num(::google::protobuf::uint64 value) {
1791 set_has_max_interest_num();
1792 max_interest_num_ = value;
1796 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_watch_timeout()
const {
1797 return (_has_bits_[0] & 0x00000040u) != 0;
1799 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_watch_timeout() {
1800 _has_bits_[0] |= 0x00000040u;
1802 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_watch_timeout() {
1803 _has_bits_[0] &= ~0x00000040u;
1805 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_watch_timeout() {
1806 watch_timeout_ = GOOGLE_ULONGLONG(0);
1807 clear_has_watch_timeout();
1809 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::watch_timeout()
const {
1810 return watch_timeout_;
1812 inline void RepoCommandParameterMessage_RepoCommandParameter::set_watch_timeout(::google::protobuf::uint64 value) {
1813 set_has_watch_timeout();
1814 watch_timeout_ = value;
1818 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_watch_status()
const {
1819 return (_has_bits_[0] & 0x00000080u) != 0;
1821 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_watch_status() {
1822 _has_bits_[0] |= 0x00000080u;
1824 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_watch_status() {
1825 _has_bits_[0] &= ~0x00000080u;
1827 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_watch_status() {
1828 watch_status_ = GOOGLE_ULONGLONG(0);
1829 clear_has_watch_status();
1831 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::watch_status()
const {
1832 return watch_status_;
1834 inline void RepoCommandParameterMessage_RepoCommandParameter::set_watch_status(::google::protobuf::uint64 value) {
1835 set_has_watch_status();
1836 watch_status_ = value;
1840 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_interest_lifetime()
const {
1841 return (_has_bits_[0] & 0x00000100u) != 0;
1843 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_interest_lifetime() {
1844 _has_bits_[0] |= 0x00000100u;
1846 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_interest_lifetime() {
1847 _has_bits_[0] &= ~0x00000100u;
1849 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_interest_lifetime() {
1850 interest_lifetime_ = GOOGLE_ULONGLONG(0);
1851 clear_has_interest_lifetime();
1853 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::interest_lifetime()
const {
1854 return interest_lifetime_;
1856 inline void RepoCommandParameterMessage_RepoCommandParameter::set_interest_lifetime(::google::protobuf::uint64 value) {
1857 set_has_interest_lifetime();
1858 interest_lifetime_ = value;
1866 inline bool RepoCommandParameterMessage::has_repo_command_parameter()
const {
1867 return (_has_bits_[0] & 0x00000001u) != 0;
1869 inline void RepoCommandParameterMessage::set_has_repo_command_parameter() {
1870 _has_bits_[0] |= 0x00000001u;
1872 inline void RepoCommandParameterMessage::clear_has_repo_command_parameter() {
1873 _has_bits_[0] &= ~0x00000001u;
1875 inline void RepoCommandParameterMessage::clear_repo_command_parameter() {
1876 if (repo_command_parameter_ != NULL) repo_command_parameter_->::ndn_message::RepoCommandParameterMessage_RepoCommandParameter::Clear();
1877 clear_has_repo_command_parameter();
1879 inline const ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter& RepoCommandParameterMessage::repo_command_parameter()
const {
1880 return repo_command_parameter_ != NULL ? *repo_command_parameter_ : *default_instance_->repo_command_parameter_;
1882 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* RepoCommandParameterMessage::mutable_repo_command_parameter() {
1883 set_has_repo_command_parameter();
1884 if (repo_command_parameter_ == NULL) repo_command_parameter_ = new ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter;
1885 return repo_command_parameter_;
1887 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* RepoCommandParameterMessage::release_repo_command_parameter() {
1888 clear_has_repo_command_parameter();
1890 repo_command_parameter_ = NULL;
1894 delete repo_command_parameter_;
1895 repo_command_parameter_ = repo_command_parameter;
1896 if (repo_command_parameter) {
1897 set_has_repo_command_parameter();
1899 clear_has_repo_command_parameter();
1910 namespace protobuf {
1919 #else // GOOGLE_PROTOBUF_VERSION < 2006000
1921 #if GOOGLE_PROTOBUF_VERSION < 2006000
1922 #error This file was generated by a newer version of protoc which is
1923 #error incompatible with your Protocol Buffer headers. Please update
1924 #error your headers.
1926 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
1927 #error This file was generated by an older version of protoc which is
1928 #error incompatible with your Protocol Buffer headers. Please
1929 #error regenerate this file with a newer version of protoc.
1932 #include <google/protobuf/generated_message_util.h>
1933 #include <google/protobuf/message.h>
1934 #include <google/protobuf/repeated_field.h>
1935 #include <google/protobuf/extension_set.h>
1936 #include <google/protobuf/unknown_field_set.h>
1942 void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
1943 void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
1944 void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
1946 class RepoCommandParameterMessage;
1947 class RepoCommandParameterMessage_Name;
1948 class RepoCommandParameterMessage_Selectors;
1949 class RepoCommandParameterMessage_RepoCommandParameter;
1953 class RepoCommandParameterMessage_Name :
public ::google::protobuf::Message {
1955 RepoCommandParameterMessage_Name();
1956 virtual ~RepoCommandParameterMessage_Name();
1958 RepoCommandParameterMessage_Name(
const RepoCommandParameterMessage_Name& from);
1960 inline RepoCommandParameterMessage_Name& operator=(
const RepoCommandParameterMessage_Name& from) {
1965 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
1966 return _unknown_fields_;
1969 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1970 return &_unknown_fields_;
1973 static const ::google::protobuf::Descriptor* descriptor();
1974 static const RepoCommandParameterMessage_Name& default_instance();
1976 void Swap(RepoCommandParameterMessage_Name* other);
1980 RepoCommandParameterMessage_Name* New()
const;
1981 void CopyFrom(const ::google::protobuf::Message& from);
1982 void MergeFrom(const ::google::protobuf::Message& from);
1983 void CopyFrom(
const RepoCommandParameterMessage_Name& from);
1984 void MergeFrom(
const RepoCommandParameterMessage_Name& from);
1986 bool IsInitialized()
const;
1988 int ByteSize()
const;
1989 bool MergePartialFromCodedStream(
1990 ::google::protobuf::io::CodedInputStream* input);
1991 void SerializeWithCachedSizes(
1992 ::google::protobuf::io::CodedOutputStream* output)
const;
1993 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
1994 int GetCachedSize()
const {
return _cached_size_; }
1998 void SetCachedSize(
int size)
const;
2000 ::google::protobuf::Metadata GetMetadata()
const;
2007 inline int component_size()
const;
2008 inline void clear_component();
2009 static const int kComponentFieldNumber = 8;
2010 inline const ::std::string& component(
int index)
const;
2011 inline ::std::string* mutable_component(
int index);
2012 inline void set_component(
int index, const ::std::string& value);
2013 inline void set_component(
int index,
const char* value);
2014 inline void set_component(
int index,
const void* value,
size_t size);
2015 inline ::std::string* add_component();
2016 inline void add_component(const ::std::string& value);
2017 inline void add_component(
const char* value);
2018 inline void add_component(
const void* value,
size_t size);
2019 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& component()
const;
2020 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_component();
2025 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2027 ::google::protobuf::uint32 _has_bits_[1];
2028 mutable int _cached_size_;
2030 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
2031 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
2032 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
2034 void InitAsDefaultInstance();
2035 static RepoCommandParameterMessage_Name* default_instance_;
2039 class RepoCommandParameterMessage_Selectors :
public ::google::protobuf::Message {
2041 RepoCommandParameterMessage_Selectors();
2042 virtual ~RepoCommandParameterMessage_Selectors();
2044 RepoCommandParameterMessage_Selectors(
const RepoCommandParameterMessage_Selectors& from);
2046 inline RepoCommandParameterMessage_Selectors& operator=(
const RepoCommandParameterMessage_Selectors& from) {
2051 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2052 return _unknown_fields_;
2055 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2056 return &_unknown_fields_;
2059 static const ::google::protobuf::Descriptor* descriptor();
2060 static const RepoCommandParameterMessage_Selectors& default_instance();
2062 void Swap(RepoCommandParameterMessage_Selectors* other);
2066 RepoCommandParameterMessage_Selectors* New()
const;
2067 void CopyFrom(const ::google::protobuf::Message& from);
2068 void MergeFrom(const ::google::protobuf::Message& from);
2069 void CopyFrom(
const RepoCommandParameterMessage_Selectors& from);
2070 void MergeFrom(
const RepoCommandParameterMessage_Selectors& from);
2072 bool IsInitialized()
const;
2074 int ByteSize()
const;
2075 bool MergePartialFromCodedStream(
2076 ::google::protobuf::io::CodedInputStream* input);
2077 void SerializeWithCachedSizes(
2078 ::google::protobuf::io::CodedOutputStream* output)
const;
2079 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2080 int GetCachedSize()
const {
return _cached_size_; }
2084 void SetCachedSize(
int size)
const;
2086 ::google::protobuf::Metadata GetMetadata()
const;
2093 inline bool has_min_suffix_components()
const;
2094 inline void clear_min_suffix_components();
2095 static const int kMinSuffixComponentsFieldNumber = 13;
2096 inline ::google::protobuf::uint32 min_suffix_components()
const;
2097 inline void set_min_suffix_components(::google::protobuf::uint32 value);
2100 inline bool has_max_suffix_components()
const;
2101 inline void clear_max_suffix_components();
2102 static const int kMaxSuffixComponentsFieldNumber = 14;
2103 inline ::google::protobuf::uint32 max_suffix_components()
const;
2104 inline void set_max_suffix_components(::google::protobuf::uint32 value);
2107 inline bool has_publisher_public_key_locator()
const;
2108 inline void clear_publisher_public_key_locator();
2109 static const int kPublisherPublicKeyLocatorFieldNumber = 15;
2110 inline const ::std::string& publisher_public_key_locator()
const;
2111 inline void set_publisher_public_key_locator(const ::std::string& value);
2112 inline void set_publisher_public_key_locator(
const char* value);
2113 inline void set_publisher_public_key_locator(
const void* value,
size_t size);
2114 inline ::std::string* mutable_publisher_public_key_locator();
2115 inline ::std::string* release_publisher_public_key_locator();
2116 inline void set_allocated_publisher_public_key_locator(::std::string* publisher_public_key_locator);
2119 inline bool has_child_selector()
const;
2120 inline void clear_child_selector();
2121 static const int kChildSelectorFieldNumber = 17;
2122 inline ::google::protobuf::uint32 child_selector()
const;
2123 inline void set_child_selector(::google::protobuf::uint32 value);
2127 inline void set_has_min_suffix_components();
2128 inline void clear_has_min_suffix_components();
2129 inline void set_has_max_suffix_components();
2130 inline void clear_has_max_suffix_components();
2131 inline void set_has_publisher_public_key_locator();
2132 inline void clear_has_publisher_public_key_locator();
2133 inline void set_has_child_selector();
2134 inline void clear_has_child_selector();
2136 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2138 ::google::protobuf::uint32 _has_bits_[1];
2139 mutable int _cached_size_;
2140 ::google::protobuf::uint32 min_suffix_components_;
2141 ::google::protobuf::uint32 max_suffix_components_;
2142 ::std::string* publisher_public_key_locator_;
2143 ::google::protobuf::uint32 child_selector_;
2144 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
2145 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
2146 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
2148 void InitAsDefaultInstance();
2149 static RepoCommandParameterMessage_Selectors* default_instance_;
2153 class RepoCommandParameterMessage_RepoCommandParameter :
public ::google::protobuf::Message {
2155 RepoCommandParameterMessage_RepoCommandParameter();
2156 virtual ~RepoCommandParameterMessage_RepoCommandParameter();
2158 RepoCommandParameterMessage_RepoCommandParameter(
const RepoCommandParameterMessage_RepoCommandParameter& from);
2160 inline RepoCommandParameterMessage_RepoCommandParameter& operator=(
const RepoCommandParameterMessage_RepoCommandParameter& from) {
2165 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2166 return _unknown_fields_;
2169 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2170 return &_unknown_fields_;
2173 static const ::google::protobuf::Descriptor* descriptor();
2174 static const RepoCommandParameterMessage_RepoCommandParameter& default_instance();
2176 void Swap(RepoCommandParameterMessage_RepoCommandParameter* other);
2180 RepoCommandParameterMessage_RepoCommandParameter* New()
const;
2181 void CopyFrom(const ::google::protobuf::Message& from);
2182 void MergeFrom(const ::google::protobuf::Message& from);
2183 void CopyFrom(
const RepoCommandParameterMessage_RepoCommandParameter& from);
2184 void MergeFrom(
const RepoCommandParameterMessage_RepoCommandParameter& from);
2186 bool IsInitialized()
const;
2188 int ByteSize()
const;
2189 bool MergePartialFromCodedStream(
2190 ::google::protobuf::io::CodedInputStream* input);
2191 void SerializeWithCachedSizes(
2192 ::google::protobuf::io::CodedOutputStream* output)
const;
2193 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2194 int GetCachedSize()
const {
return _cached_size_; }
2198 void SetCachedSize(
int size)
const;
2200 ::google::protobuf::Metadata GetMetadata()
const;
2207 inline bool has_name()
const;
2208 inline void clear_name();
2209 static const int kNameFieldNumber = 7;
2210 inline const ::ndn_message::RepoCommandParameterMessage_Name& name()
const;
2211 inline ::ndn_message::RepoCommandParameterMessage_Name* mutable_name();
2212 inline ::ndn_message::RepoCommandParameterMessage_Name* release_name();
2216 inline bool has_selectors()
const;
2217 inline void clear_selectors();
2218 static const int kSelectorsFieldNumber = 9;
2219 inline const ::ndn_message::RepoCommandParameterMessage_Selectors& selectors()
const;
2220 inline ::ndn_message::RepoCommandParameterMessage_Selectors* mutable_selectors();
2221 inline ::ndn_message::RepoCommandParameterMessage_Selectors* release_selectors();
2225 inline bool has_start_block_id()
const;
2226 inline void clear_start_block_id();
2227 static const int kStartBlockIdFieldNumber = 204;
2228 inline ::google::protobuf::uint64 start_block_id()
const;
2229 inline void set_start_block_id(::google::protobuf::uint64 value);
2232 inline bool has_end_block_id()
const;
2233 inline void clear_end_block_id();
2234 static const int kEndBlockIdFieldNumber = 205;
2235 inline ::google::protobuf::uint64 end_block_id()
const;
2236 inline void set_end_block_id(::google::protobuf::uint64 value);
2239 inline bool has_process_id()
const;
2240 inline void clear_process_id();
2241 static const int kProcessIdFieldNumber = 206;
2242 inline ::google::protobuf::uint64 process_id()
const;
2243 inline void set_process_id(::google::protobuf::uint64 value);
2246 inline bool has_max_interest_num()
const;
2247 inline void clear_max_interest_num();
2248 static const int kMaxInterestNumFieldNumber = 211;
2249 inline ::google::protobuf::uint64 max_interest_num()
const;
2250 inline void set_max_interest_num(::google::protobuf::uint64 value);
2253 inline bool has_watch_timeout()
const;
2254 inline void clear_watch_timeout();
2255 static const int kWatchTimeoutFieldNumber = 212;
2256 inline ::google::protobuf::uint64 watch_timeout()
const;
2257 inline void set_watch_timeout(::google::protobuf::uint64 value);
2260 inline bool has_watch_status()
const;
2261 inline void clear_watch_status();
2262 static const int kWatchStatusFieldNumber = 213;
2263 inline ::google::protobuf::uint64 watch_status()
const;
2264 inline void set_watch_status(::google::protobuf::uint64 value);
2267 inline bool has_interest_lifetime()
const;
2268 inline void clear_interest_lifetime();
2269 static const int kInterestLifetimeFieldNumber = 214;
2270 inline ::google::protobuf::uint64 interest_lifetime()
const;
2271 inline void set_interest_lifetime(::google::protobuf::uint64 value);
2275 inline void set_has_name();
2276 inline void clear_has_name();
2277 inline void set_has_selectors();
2278 inline void clear_has_selectors();
2279 inline void set_has_start_block_id();
2280 inline void clear_has_start_block_id();
2281 inline void set_has_end_block_id();
2282 inline void clear_has_end_block_id();
2283 inline void set_has_process_id();
2284 inline void clear_has_process_id();
2285 inline void set_has_max_interest_num();
2286 inline void clear_has_max_interest_num();
2287 inline void set_has_watch_timeout();
2288 inline void clear_has_watch_timeout();
2289 inline void set_has_watch_status();
2290 inline void clear_has_watch_status();
2291 inline void set_has_interest_lifetime();
2292 inline void clear_has_interest_lifetime();
2294 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2296 ::google::protobuf::uint32 _has_bits_[1];
2297 mutable int _cached_size_;
2300 ::google::protobuf::uint64 start_block_id_;
2301 ::google::protobuf::uint64 end_block_id_;
2302 ::google::protobuf::uint64 process_id_;
2303 ::google::protobuf::uint64 max_interest_num_;
2304 ::google::protobuf::uint64 watch_timeout_;
2305 ::google::protobuf::uint64 watch_status_;
2306 ::google::protobuf::uint64 interest_lifetime_;
2307 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
2308 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
2309 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
2311 void InitAsDefaultInstance();
2312 static RepoCommandParameterMessage_RepoCommandParameter* default_instance_;
2316 class RepoCommandParameterMessage :
public ::google::protobuf::Message {
2318 RepoCommandParameterMessage();
2319 virtual ~RepoCommandParameterMessage();
2321 RepoCommandParameterMessage(
const RepoCommandParameterMessage& from);
2323 inline RepoCommandParameterMessage& operator=(
const RepoCommandParameterMessage& from) {
2328 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
2329 return _unknown_fields_;
2332 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2333 return &_unknown_fields_;
2336 static const ::google::protobuf::Descriptor* descriptor();
2337 static const RepoCommandParameterMessage& default_instance();
2339 void Swap(RepoCommandParameterMessage* other);
2343 RepoCommandParameterMessage* New()
const;
2344 void CopyFrom(const ::google::protobuf::Message& from);
2345 void MergeFrom(const ::google::protobuf::Message& from);
2346 void CopyFrom(
const RepoCommandParameterMessage& from);
2347 void MergeFrom(
const RepoCommandParameterMessage& from);
2349 bool IsInitialized()
const;
2351 int ByteSize()
const;
2352 bool MergePartialFromCodedStream(
2353 ::google::protobuf::io::CodedInputStream* input);
2354 void SerializeWithCachedSizes(
2355 ::google::protobuf::io::CodedOutputStream* output)
const;
2356 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
2357 int GetCachedSize()
const {
return _cached_size_; }
2361 void SetCachedSize(
int size)
const;
2363 ::google::protobuf::Metadata GetMetadata()
const;
2367 typedef RepoCommandParameterMessage_Name Name;
2368 typedef RepoCommandParameterMessage_Selectors Selectors;
2369 typedef RepoCommandParameterMessage_RepoCommandParameter RepoCommandParameter;
2374 inline bool has_repo_command_parameter()
const;
2375 inline void clear_repo_command_parameter();
2376 static const int kRepoCommandParameterFieldNumber = 201;
2377 inline const ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter& repo_command_parameter()
const;
2378 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* mutable_repo_command_parameter();
2379 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* release_repo_command_parameter();
2384 inline void set_has_repo_command_parameter();
2385 inline void clear_has_repo_command_parameter();
2387 ::google::protobuf::UnknownFieldSet _unknown_fields_;
2389 ::google::protobuf::uint32 _has_bits_[1];
2390 mutable int _cached_size_;
2392 friend void protobuf_AddDesc_repo_2dcommand_2dparameter_2eproto();
2393 friend void protobuf_AssignDesc_repo_2dcommand_2dparameter_2eproto();
2394 friend void protobuf_ShutdownFile_repo_2dcommand_2dparameter_2eproto();
2396 void InitAsDefaultInstance();
2397 static RepoCommandParameterMessage* default_instance_;
2407 inline int RepoCommandParameterMessage_Name::component_size()
const {
2408 return component_.size();
2410 inline void RepoCommandParameterMessage_Name::clear_component() {
2413 inline const ::std::string& RepoCommandParameterMessage_Name::component(
int index)
const {
2415 return component_.Get(index);
2417 inline ::std::string* RepoCommandParameterMessage_Name::mutable_component(
int index) {
2419 return component_.Mutable(index);
2421 inline void RepoCommandParameterMessage_Name::set_component(
int index, const ::std::string& value) {
2423 component_.Mutable(index)->assign(value);
2425 inline void RepoCommandParameterMessage_Name::set_component(
int index,
const char* value) {
2426 component_.Mutable(index)->assign(value);
2429 inline void RepoCommandParameterMessage_Name::set_component(
int index,
const void* value,
size_t size) {
2430 component_.Mutable(index)->assign(
2431 reinterpret_cast<const char*>(value), size);
2434 inline ::std::string* RepoCommandParameterMessage_Name::add_component() {
2435 return component_.Add();
2437 inline void RepoCommandParameterMessage_Name::add_component(const ::std::string& value) {
2438 component_.Add()->assign(value);
2441 inline void RepoCommandParameterMessage_Name::add_component(
const char* value) {
2442 component_.Add()->assign(value);
2445 inline void RepoCommandParameterMessage_Name::add_component(
const void* value,
size_t size) {
2446 component_.Add()->assign(reinterpret_cast<const char*>(value), size);
2449 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2450 RepoCommandParameterMessage_Name::component()
const {
2454 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2455 RepoCommandParameterMessage_Name::mutable_component() {
2465 inline bool RepoCommandParameterMessage_Selectors::has_min_suffix_components()
const {
2466 return (_has_bits_[0] & 0x00000001u) != 0;
2468 inline void RepoCommandParameterMessage_Selectors::set_has_min_suffix_components() {
2469 _has_bits_[0] |= 0x00000001u;
2471 inline void RepoCommandParameterMessage_Selectors::clear_has_min_suffix_components() {
2472 _has_bits_[0] &= ~0x00000001u;
2474 inline void RepoCommandParameterMessage_Selectors::clear_min_suffix_components() {
2475 min_suffix_components_ = 0u;
2476 clear_has_min_suffix_components();
2478 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::min_suffix_components()
const {
2480 return min_suffix_components_;
2482 inline void RepoCommandParameterMessage_Selectors::set_min_suffix_components(::google::protobuf::uint32 value) {
2483 set_has_min_suffix_components();
2484 min_suffix_components_ = value;
2489 inline bool RepoCommandParameterMessage_Selectors::has_max_suffix_components()
const {
2490 return (_has_bits_[0] & 0x00000002u) != 0;
2492 inline void RepoCommandParameterMessage_Selectors::set_has_max_suffix_components() {
2493 _has_bits_[0] |= 0x00000002u;
2495 inline void RepoCommandParameterMessage_Selectors::clear_has_max_suffix_components() {
2496 _has_bits_[0] &= ~0x00000002u;
2498 inline void RepoCommandParameterMessage_Selectors::clear_max_suffix_components() {
2499 max_suffix_components_ = 0u;
2500 clear_has_max_suffix_components();
2502 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::max_suffix_components()
const {
2504 return max_suffix_components_;
2506 inline void RepoCommandParameterMessage_Selectors::set_max_suffix_components(::google::protobuf::uint32 value) {
2507 set_has_max_suffix_components();
2508 max_suffix_components_ = value;
2513 inline bool RepoCommandParameterMessage_Selectors::has_publisher_public_key_locator()
const {
2514 return (_has_bits_[0] & 0x00000004u) != 0;
2516 inline void RepoCommandParameterMessage_Selectors::set_has_publisher_public_key_locator() {
2517 _has_bits_[0] |= 0x00000004u;
2519 inline void RepoCommandParameterMessage_Selectors::clear_has_publisher_public_key_locator() {
2520 _has_bits_[0] &= ~0x00000004u;
2522 inline void RepoCommandParameterMessage_Selectors::clear_publisher_public_key_locator() {
2523 if (publisher_public_key_locator_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2524 publisher_public_key_locator_->clear();
2526 clear_has_publisher_public_key_locator();
2528 inline const ::std::string& RepoCommandParameterMessage_Selectors::publisher_public_key_locator()
const {
2530 return *publisher_public_key_locator_;
2532 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(const ::std::string& value) {
2533 set_has_publisher_public_key_locator();
2534 if (publisher_public_key_locator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2535 publisher_public_key_locator_ = new ::std::string;
2537 publisher_public_key_locator_->assign(value);
2540 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(
const char* value) {
2541 set_has_publisher_public_key_locator();
2542 if (publisher_public_key_locator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2543 publisher_public_key_locator_ = new ::std::string;
2545 publisher_public_key_locator_->assign(value);
2548 inline void RepoCommandParameterMessage_Selectors::set_publisher_public_key_locator(
const void* value,
size_t size) {
2549 set_has_publisher_public_key_locator();
2550 if (publisher_public_key_locator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2551 publisher_public_key_locator_ = new ::std::string;
2553 publisher_public_key_locator_->assign(reinterpret_cast<const char*>(value), size);
2556 inline ::std::string* RepoCommandParameterMessage_Selectors::mutable_publisher_public_key_locator() {
2557 set_has_publisher_public_key_locator();
2558 if (publisher_public_key_locator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2559 publisher_public_key_locator_ = new ::std::string;
2562 return publisher_public_key_locator_;
2564 inline ::std::string* RepoCommandParameterMessage_Selectors::release_publisher_public_key_locator() {
2565 clear_has_publisher_public_key_locator();
2566 if (publisher_public_key_locator_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2569 ::std::string* temp = publisher_public_key_locator_;
2570 publisher_public_key_locator_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2574 inline void RepoCommandParameterMessage_Selectors::set_allocated_publisher_public_key_locator(::std::string* publisher_public_key_locator) {
2575 if (publisher_public_key_locator_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2576 delete publisher_public_key_locator_;
2578 if (publisher_public_key_locator) {
2579 set_has_publisher_public_key_locator();
2580 publisher_public_key_locator_ = publisher_public_key_locator;
2582 clear_has_publisher_public_key_locator();
2583 publisher_public_key_locator_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2589 inline bool RepoCommandParameterMessage_Selectors::has_child_selector()
const {
2590 return (_has_bits_[0] & 0x00000008u) != 0;
2592 inline void RepoCommandParameterMessage_Selectors::set_has_child_selector() {
2593 _has_bits_[0] |= 0x00000008u;
2595 inline void RepoCommandParameterMessage_Selectors::clear_has_child_selector() {
2596 _has_bits_[0] &= ~0x00000008u;
2598 inline void RepoCommandParameterMessage_Selectors::clear_child_selector() {
2599 child_selector_ = 0u;
2600 clear_has_child_selector();
2602 inline ::google::protobuf::uint32 RepoCommandParameterMessage_Selectors::child_selector()
const {
2604 return child_selector_;
2606 inline void RepoCommandParameterMessage_Selectors::set_child_selector(::google::protobuf::uint32 value) {
2607 set_has_child_selector();
2608 child_selector_ = value;
2617 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_name()
const {
2618 return (_has_bits_[0] & 0x00000001u) != 0;
2620 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_name() {
2621 _has_bits_[0] |= 0x00000001u;
2623 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_name() {
2624 _has_bits_[0] &= ~0x00000001u;
2626 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_name() {
2627 if (name_ != NULL) name_->::ndn_message::RepoCommandParameterMessage_Name::Clear();
2630 inline const ::ndn_message::RepoCommandParameterMessage_Name& RepoCommandParameterMessage_RepoCommandParameter::name()
const {
2632 return name_ != NULL ? *name_ : *default_instance_->name_;
2634 inline ::ndn_message::RepoCommandParameterMessage_Name* RepoCommandParameterMessage_RepoCommandParameter::mutable_name() {
2636 if (name_ == NULL) name_ = new ::ndn_message::RepoCommandParameterMessage_Name;
2640 inline ::ndn_message::RepoCommandParameterMessage_Name* RepoCommandParameterMessage_RepoCommandParameter::release_name() {
2658 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_selectors()
const {
2659 return (_has_bits_[0] & 0x00000002u) != 0;
2661 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_selectors() {
2662 _has_bits_[0] |= 0x00000002u;
2664 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_selectors() {
2665 _has_bits_[0] &= ~0x00000002u;
2667 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_selectors() {
2668 if (selectors_ != NULL) selectors_->::ndn_message::RepoCommandParameterMessage_Selectors::Clear();
2669 clear_has_selectors();
2671 inline const ::ndn_message::RepoCommandParameterMessage_Selectors& RepoCommandParameterMessage_RepoCommandParameter::selectors()
const {
2673 return selectors_ != NULL ? *selectors_ : *default_instance_->selectors_;
2675 inline ::ndn_message::RepoCommandParameterMessage_Selectors* RepoCommandParameterMessage_RepoCommandParameter::mutable_selectors() {
2676 set_has_selectors();
2677 if (selectors_ == NULL) selectors_ = new ::ndn_message::RepoCommandParameterMessage_Selectors;
2681 inline ::ndn_message::RepoCommandParameterMessage_Selectors* RepoCommandParameterMessage_RepoCommandParameter::release_selectors() {
2682 clear_has_selectors();
2689 selectors_ = selectors;
2691 set_has_selectors();
2693 clear_has_selectors();
2699 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_start_block_id()
const {
2700 return (_has_bits_[0] & 0x00000004u) != 0;
2702 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_start_block_id() {
2703 _has_bits_[0] |= 0x00000004u;
2705 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_start_block_id() {
2706 _has_bits_[0] &= ~0x00000004u;
2708 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_start_block_id() {
2709 start_block_id_ = GOOGLE_ULONGLONG(0);
2710 clear_has_start_block_id();
2712 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::start_block_id()
const {
2714 return start_block_id_;
2716 inline void RepoCommandParameterMessage_RepoCommandParameter::set_start_block_id(::google::protobuf::uint64 value) {
2717 set_has_start_block_id();
2718 start_block_id_ = value;
2723 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_end_block_id()
const {
2724 return (_has_bits_[0] & 0x00000008u) != 0;
2726 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_end_block_id() {
2727 _has_bits_[0] |= 0x00000008u;
2729 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_end_block_id() {
2730 _has_bits_[0] &= ~0x00000008u;
2732 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_end_block_id() {
2733 end_block_id_ = GOOGLE_ULONGLONG(0);
2734 clear_has_end_block_id();
2736 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::end_block_id()
const {
2738 return end_block_id_;
2740 inline void RepoCommandParameterMessage_RepoCommandParameter::set_end_block_id(::google::protobuf::uint64 value) {
2741 set_has_end_block_id();
2742 end_block_id_ = value;
2747 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_process_id()
const {
2748 return (_has_bits_[0] & 0x00000010u) != 0;
2750 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_process_id() {
2751 _has_bits_[0] |= 0x00000010u;
2753 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_process_id() {
2754 _has_bits_[0] &= ~0x00000010u;
2756 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_process_id() {
2757 process_id_ = GOOGLE_ULONGLONG(0);
2758 clear_has_process_id();
2760 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::process_id()
const {
2764 inline void RepoCommandParameterMessage_RepoCommandParameter::set_process_id(::google::protobuf::uint64 value) {
2765 set_has_process_id();
2766 process_id_ = value;
2771 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_max_interest_num()
const {
2772 return (_has_bits_[0] & 0x00000020u) != 0;
2774 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_max_interest_num() {
2775 _has_bits_[0] |= 0x00000020u;
2777 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_max_interest_num() {
2778 _has_bits_[0] &= ~0x00000020u;
2780 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_max_interest_num() {
2781 max_interest_num_ = GOOGLE_ULONGLONG(0);
2782 clear_has_max_interest_num();
2784 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::max_interest_num()
const {
2786 return max_interest_num_;
2788 inline void RepoCommandParameterMessage_RepoCommandParameter::set_max_interest_num(::google::protobuf::uint64 value) {
2789 set_has_max_interest_num();
2790 max_interest_num_ = value;
2795 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_watch_timeout()
const {
2796 return (_has_bits_[0] & 0x00000040u) != 0;
2798 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_watch_timeout() {
2799 _has_bits_[0] |= 0x00000040u;
2801 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_watch_timeout() {
2802 _has_bits_[0] &= ~0x00000040u;
2804 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_watch_timeout() {
2805 watch_timeout_ = GOOGLE_ULONGLONG(0);
2806 clear_has_watch_timeout();
2808 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::watch_timeout()
const {
2810 return watch_timeout_;
2812 inline void RepoCommandParameterMessage_RepoCommandParameter::set_watch_timeout(::google::protobuf::uint64 value) {
2813 set_has_watch_timeout();
2814 watch_timeout_ = value;
2819 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_watch_status()
const {
2820 return (_has_bits_[0] & 0x00000080u) != 0;
2822 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_watch_status() {
2823 _has_bits_[0] |= 0x00000080u;
2825 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_watch_status() {
2826 _has_bits_[0] &= ~0x00000080u;
2828 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_watch_status() {
2829 watch_status_ = GOOGLE_ULONGLONG(0);
2830 clear_has_watch_status();
2832 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::watch_status()
const {
2834 return watch_status_;
2836 inline void RepoCommandParameterMessage_RepoCommandParameter::set_watch_status(::google::protobuf::uint64 value) {
2837 set_has_watch_status();
2838 watch_status_ = value;
2843 inline bool RepoCommandParameterMessage_RepoCommandParameter::has_interest_lifetime()
const {
2844 return (_has_bits_[0] & 0x00000100u) != 0;
2846 inline void RepoCommandParameterMessage_RepoCommandParameter::set_has_interest_lifetime() {
2847 _has_bits_[0] |= 0x00000100u;
2849 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_has_interest_lifetime() {
2850 _has_bits_[0] &= ~0x00000100u;
2852 inline void RepoCommandParameterMessage_RepoCommandParameter::clear_interest_lifetime() {
2853 interest_lifetime_ = GOOGLE_ULONGLONG(0);
2854 clear_has_interest_lifetime();
2856 inline ::google::protobuf::uint64 RepoCommandParameterMessage_RepoCommandParameter::interest_lifetime()
const {
2858 return interest_lifetime_;
2860 inline void RepoCommandParameterMessage_RepoCommandParameter::set_interest_lifetime(::google::protobuf::uint64 value) {
2861 set_has_interest_lifetime();
2862 interest_lifetime_ = value;
2871 inline bool RepoCommandParameterMessage::has_repo_command_parameter()
const {
2872 return (_has_bits_[0] & 0x00000001u) != 0;
2874 inline void RepoCommandParameterMessage::set_has_repo_command_parameter() {
2875 _has_bits_[0] |= 0x00000001u;
2877 inline void RepoCommandParameterMessage::clear_has_repo_command_parameter() {
2878 _has_bits_[0] &= ~0x00000001u;
2880 inline void RepoCommandParameterMessage::clear_repo_command_parameter() {
2881 if (repo_command_parameter_ != NULL) repo_command_parameter_->::ndn_message::RepoCommandParameterMessage_RepoCommandParameter::Clear();
2882 clear_has_repo_command_parameter();
2884 inline const ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter& RepoCommandParameterMessage::repo_command_parameter()
const {
2886 return repo_command_parameter_ != NULL ? *repo_command_parameter_ : *default_instance_->repo_command_parameter_;
2888 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* RepoCommandParameterMessage::mutable_repo_command_parameter() {
2889 set_has_repo_command_parameter();
2890 if (repo_command_parameter_ == NULL) repo_command_parameter_ = new ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter;
2892 return repo_command_parameter_;
2894 inline ::ndn_message::RepoCommandParameterMessage_RepoCommandParameter* RepoCommandParameterMessage::release_repo_command_parameter() {
2895 clear_has_repo_command_parameter();
2897 repo_command_parameter_ = NULL;
2901 delete repo_command_parameter_;
2902 repo_command_parameter_ = repo_command_parameter;
2903 if (repo_command_parameter) {
2904 set_has_repo_command_parameter();
2906 clear_has_repo_command_parameter();
2918 namespace protobuf {
2927 #endif // GOOGLE_PROTOBUF_VERSION < 2006000
2929 #endif // PROTOBUF_repo_2dcommand_2dparameter_2eproto__INCLUDED
Definition: repo-command-parameter.pb.h:46
Definition: repo-command-parameter.pb.h:135
Definition: repo-command-parameter.pb.h:251
Definition: channel-status.pb.h:32
Copyright (C) 2014-2016 Regents of the University of California.
Definition: channel-status.pb.h:315
Definition: repo-command-parameter.pb.h:415