17 #ifndef PROTOBUF_Event_2eproto__INCLUDED
18 #define PROTOBUF_Event_2eproto__INCLUDED
22 #include <google/protobuf/stubs/common.h>
24 #if GOOGLE_PROTOBUF_VERSION < 2006000
25 #error This file was generated by a newer version of protoc which is
26 #error incompatible with your Protocol Buffer headers. Please update
29 #if 2006000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
30 #error This file was generated by an older version of protoc which is
31 #error incompatible with your Protocol Buffer headers. Please
32 #error regenerate this file with a newer version of protoc.
35 #include <google/protobuf/generated_message_util.h>
36 #include <google/protobuf/message.h>
37 #include <google/protobuf/repeated_field.h>
38 #include <google/protobuf/extension_set.h>
39 #include <google/protobuf/generated_enum_reflection.h>
40 #include <google/protobuf/unknown_field_set.h>
48 void protobuf_AddDesc_Event_2eproto();
49 void protobuf_AssignDesc_Event_2eproto();
50 void protobuf_ShutdownFile_Event_2eproto();
52 class RegistrationEvent;
62 bool Implementation_IsValid(
int value);
63 const Implementation Implementation_MIN = JAVA;
64 const Implementation Implementation_MAX = PYTHON;
65 const int Implementation_ARRAYSIZE = Implementation_MAX + 1;
67 const ::google::protobuf::EnumDescriptor* Implementation_descriptor();
68 inline const ::std::string& Implementation_Name(Implementation value) {
69 return ::google::protobuf::internal::NameOfEnum(
70 Implementation_descriptor(), value);
72 inline bool Implementation_Parse(
73 const ::std::string& name, Implementation* value) {
74 return ::google::protobuf::internal::ParseNamedEnum<Implementation>(
75 Implementation_descriptor(), name, value);
77 enum RegistrationType {
81 bool RegistrationType_IsValid(
int value);
82 const RegistrationType RegistrationType_MIN = REGISTER;
83 const RegistrationType RegistrationType_MAX = UNREGISTER;
84 const int RegistrationType_ARRAYSIZE = RegistrationType_MAX + 1;
86 const ::google::protobuf::EnumDescriptor* RegistrationType_descriptor();
87 inline const ::std::string& RegistrationType_Name(RegistrationType value) {
88 return ::google::protobuf::internal::NameOfEnum(
89 RegistrationType_descriptor(), value);
91 inline bool RegistrationType_Parse(
92 const ::std::string& name, RegistrationType* value) {
93 return ::google::protobuf::internal::ParseNamedEnum<RegistrationType>(
94 RegistrationType_descriptor(), name, value);
110 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
111 return _unknown_fields_;
114 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
115 return &_unknown_fields_;
118 static const ::google::protobuf::Descriptor* descriptor();
126 void CopyFrom(const ::google::protobuf::Message& from);
127 void MergeFrom(const ::google::protobuf::Message& from);
131 bool IsInitialized()
const;
133 int ByteSize()
const;
134 bool MergePartialFromCodedStream(
135 ::google::protobuf::io::CodedInputStream* input);
136 void SerializeWithCachedSizes(
137 ::google::protobuf::io::CodedOutputStream* output)
const;
138 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
139 int GetCachedSize()
const {
return _cached_size_; }
143 void SetCachedSize(
int size)
const;
145 ::google::protobuf::Metadata GetMetadata()
const;
152 inline bool has_serviceid()
const;
153 inline void clear_serviceid();
154 static const int kServiceIdFieldNumber = 1;
155 inline const ::std::string& serviceid()
const;
156 inline void set_serviceid(const ::std::string& value);
157 inline void set_serviceid(
const char* value);
158 inline void set_serviceid(
const char* value,
size_t size);
159 inline ::std::string* mutable_serviceid();
160 inline ::std::string* release_serviceid();
161 inline void set_allocated_serviceid(::std::string* serviceid);
164 inline bool has_queuename()
const;
165 inline void clear_queuename();
166 static const int kQueueNameFieldNumber = 2;
167 inline const ::std::string& queuename()
const;
168 inline void set_queuename(const ::std::string& value);
169 inline void set_queuename(
const char* value);
170 inline void set_queuename(
const char* value,
size_t size);
171 inline ::std::string* mutable_queuename();
172 inline ::std::string* release_queuename();
173 inline void set_allocated_queuename(::std::string* queuename);
176 inline bool has_provides()
const;
177 inline void clear_provides();
178 static const int kProvidesFieldNumber = 3;
179 inline const ::std::string& provides()
const;
180 inline void set_provides(const ::std::string& value);
181 inline void set_provides(
const char* value);
182 inline void set_provides(
const char* value,
size_t size);
183 inline ::std::string* mutable_provides();
184 inline ::std::string* release_provides();
185 inline void set_allocated_provides(::std::string* provides);
188 inline bool has_requires()
const;
189 inline void clear_requires();
190 static const int kRequiresFieldNumber = 4;
191 inline const ::std::string& requires()
const;
192 inline void set_requires(const ::std::string& value);
193 inline void set_requires(
const char* value);
194 inline void set_requires(
const char* value,
size_t size);
195 inline ::std::string* mutable_requires();
196 inline ::std::string* release_requires();
197 inline void set_allocated_requires(::std::string* requires);
200 inline bool has_language()
const;
201 inline void clear_language();
202 static const int kLanguageFieldNumber = 5;
203 inline ::mico::event::model::Implementation language()
const;
204 inline void set_language(::mico::event::model::Implementation value);
207 inline bool has_type()
const;
208 inline void clear_type();
209 static const int kTypeFieldNumber = 6;
210 inline ::mico::event::model::RegistrationType type()
const;
211 inline void set_type(::mico::event::model::RegistrationType value);
215 inline void set_has_serviceid();
216 inline void clear_has_serviceid();
217 inline void set_has_queuename();
218 inline void clear_has_queuename();
219 inline void set_has_provides();
220 inline void clear_has_provides();
221 inline void set_has_requires();
222 inline void clear_has_requires();
223 inline void set_has_language();
224 inline void clear_has_language();
225 inline void set_has_type();
226 inline void clear_has_type();
228 ::google::protobuf::UnknownFieldSet _unknown_fields_;
230 ::google::protobuf::uint32 _has_bits_[1];
231 mutable int _cached_size_;
232 ::std::string* serviceid_;
233 ::std::string* queuename_;
234 ::std::string* provides_;
235 ::std::string* requires_;
238 friend void protobuf_AddDesc_Event_2eproto();
239 friend void protobuf_AssignDesc_Event_2eproto();
240 friend void protobuf_ShutdownFile_Event_2eproto();
242 void InitAsDefaultInstance();
259 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
260 return _unknown_fields_;
263 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
264 return &_unknown_fields_;
267 static const ::google::protobuf::Descriptor* descriptor();
275 void CopyFrom(const ::google::protobuf::Message& from);
276 void MergeFrom(const ::google::protobuf::Message& from);
280 bool IsInitialized()
const;
282 int ByteSize()
const;
283 bool MergePartialFromCodedStream(
284 ::google::protobuf::io::CodedInputStream* input);
285 void SerializeWithCachedSizes(
286 ::google::protobuf::io::CodedOutputStream* output)
const;
287 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
288 int GetCachedSize()
const {
return _cached_size_; }
292 void SetCachedSize(
int size)
const;
294 ::google::protobuf::Metadata GetMetadata()
const;
301 inline bool has_serviceid()
const;
302 inline void clear_serviceid();
303 static const int kServiceIdFieldNumber = 1;
304 inline const ::std::string& serviceid()
const;
305 inline void set_serviceid(const ::std::string& value);
306 inline void set_serviceid(
const char* value);
307 inline void set_serviceid(
const char* value,
size_t size);
308 inline ::std::string* mutable_serviceid();
309 inline ::std::string* release_serviceid();
310 inline void set_allocated_serviceid(::std::string* serviceid);
313 inline bool has_contentitemuri()
const;
314 inline void clear_contentitemuri();
315 static const int kContentItemUriFieldNumber = 2;
316 inline const ::std::string& contentitemuri()
const;
317 inline void set_contentitemuri(const ::std::string& value);
318 inline void set_contentitemuri(
const char* value);
319 inline void set_contentitemuri(
const char* value,
size_t size);
320 inline ::std::string* mutable_contentitemuri();
321 inline ::std::string* release_contentitemuri();
322 inline void set_allocated_contentitemuri(::std::string* contentitemuri);
325 inline bool has_objecturi()
const;
326 inline void clear_objecturi();
327 static const int kObjectUriFieldNumber = 3;
328 inline const ::std::string& objecturi()
const;
329 inline void set_objecturi(const ::std::string& value);
330 inline void set_objecturi(
const char* value);
331 inline void set_objecturi(
const char* value,
size_t size);
332 inline ::std::string* mutable_objecturi();
333 inline ::std::string* release_objecturi();
334 inline void set_allocated_objecturi(::std::string* objecturi);
338 inline void set_has_serviceid();
339 inline void clear_has_serviceid();
340 inline void set_has_contentitemuri();
341 inline void clear_has_contentitemuri();
342 inline void set_has_objecturi();
343 inline void clear_has_objecturi();
345 ::google::protobuf::UnknownFieldSet _unknown_fields_;
347 ::google::protobuf::uint32 _has_bits_[1];
348 mutable int _cached_size_;
349 ::std::string* serviceid_;
350 ::std::string* contentitemuri_;
351 ::std::string* objecturi_;
352 friend void protobuf_AddDesc_Event_2eproto();
353 friend void protobuf_AssignDesc_Event_2eproto();
354 friend void protobuf_ShutdownFile_Event_2eproto();
356 void InitAsDefaultInstance();
373 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
374 return _unknown_fields_;
377 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
378 return &_unknown_fields_;
381 static const ::google::protobuf::Descriptor* descriptor();
389 void CopyFrom(const ::google::protobuf::Message& from);
390 void MergeFrom(const ::google::protobuf::Message& from);
394 bool IsInitialized()
const;
396 int ByteSize()
const;
397 bool MergePartialFromCodedStream(
398 ::google::protobuf::io::CodedInputStream* input);
399 void SerializeWithCachedSizes(
400 ::google::protobuf::io::CodedOutputStream* output)
const;
401 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
402 int GetCachedSize()
const {
return _cached_size_; }
406 void SetCachedSize(
int size)
const;
408 ::google::protobuf::Metadata GetMetadata()
const;
415 inline bool has_contentitemuri()
const;
416 inline void clear_contentitemuri();
417 static const int kContentItemUriFieldNumber = 1;
418 inline const ::std::string& contentitemuri()
const;
419 inline void set_contentitemuri(const ::std::string& value);
420 inline void set_contentitemuri(
const char* value);
421 inline void set_contentitemuri(
const char* value,
size_t size);
422 inline ::std::string* mutable_contentitemuri();
423 inline ::std::string* release_contentitemuri();
424 inline void set_allocated_contentitemuri(::std::string* contentitemuri);
428 inline void set_has_contentitemuri();
429 inline void clear_has_contentitemuri();
431 ::google::protobuf::UnknownFieldSet _unknown_fields_;
433 ::google::protobuf::uint32 _has_bits_[1];
434 mutable int _cached_size_;
435 ::std::string* contentitemuri_;
436 friend void protobuf_AddDesc_Event_2eproto();
437 friend void protobuf_AssignDesc_Event_2eproto();
438 friend void protobuf_ShutdownFile_Event_2eproto();
440 void InitAsDefaultInstance();
457 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
458 return _unknown_fields_;
461 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
462 return &_unknown_fields_;
465 static const ::google::protobuf::Descriptor* descriptor();
473 void CopyFrom(const ::google::protobuf::Message& from);
474 void MergeFrom(const ::google::protobuf::Message& from);
478 bool IsInitialized()
const;
480 int ByteSize()
const;
481 bool MergePartialFromCodedStream(
482 ::google::protobuf::io::CodedInputStream* input);
483 void SerializeWithCachedSizes(
484 ::google::protobuf::io::CodedOutputStream* output)
const;
485 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
486 int GetCachedSize()
const {
return _cached_size_; }
490 void SetCachedSize(
int size)
const;
492 ::google::protobuf::Metadata GetMetadata()
const;
501 ::google::protobuf::UnknownFieldSet _unknown_fields_;
503 ::google::protobuf::uint32 _has_bits_[1];
504 mutable int _cached_size_;
505 friend void protobuf_AddDesc_Event_2eproto();
506 friend void protobuf_AssignDesc_Event_2eproto();
507 friend void protobuf_ShutdownFile_Event_2eproto();
509 void InitAsDefaultInstance();
520 inline bool RegistrationEvent::has_serviceid()
const {
521 return (_has_bits_[0] & 0x00000001u) != 0;
523 inline void RegistrationEvent::set_has_serviceid() {
524 _has_bits_[0] |= 0x00000001u;
526 inline void RegistrationEvent::clear_has_serviceid() {
527 _has_bits_[0] &= ~0x00000001u;
529 inline void RegistrationEvent::clear_serviceid() {
530 if (serviceid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
533 clear_has_serviceid();
535 inline const ::std::string& RegistrationEvent::serviceid()
const {
539 inline void RegistrationEvent::set_serviceid(const ::std::string& value) {
541 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
542 serviceid_ = new ::std::string;
544 serviceid_->assign(value);
547 inline void RegistrationEvent::set_serviceid(
const char* value) {
549 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
550 serviceid_ = new ::std::string;
552 serviceid_->assign(value);
555 inline void RegistrationEvent::set_serviceid(
const char* value,
size_t size) {
557 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
558 serviceid_ = new ::std::string;
560 serviceid_->assign(reinterpret_cast<const char*>(value), size);
563 inline ::std::string* RegistrationEvent::mutable_serviceid() {
565 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
566 serviceid_ = new ::std::string;
571 inline ::std::string* RegistrationEvent::release_serviceid() {
572 clear_has_serviceid();
573 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
576 ::std::string* temp = serviceid_;
577 serviceid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
581 inline void RegistrationEvent::set_allocated_serviceid(::std::string* serviceid) {
582 if (serviceid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
587 serviceid_ = serviceid;
589 clear_has_serviceid();
590 serviceid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
596 inline bool RegistrationEvent::has_queuename()
const {
597 return (_has_bits_[0] & 0x00000002u) != 0;
599 inline void RegistrationEvent::set_has_queuename() {
600 _has_bits_[0] |= 0x00000002u;
602 inline void RegistrationEvent::clear_has_queuename() {
603 _has_bits_[0] &= ~0x00000002u;
605 inline void RegistrationEvent::clear_queuename() {
606 if (queuename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
609 clear_has_queuename();
611 inline const ::std::string& RegistrationEvent::queuename()
const {
615 inline void RegistrationEvent::set_queuename(const ::std::string& value) {
617 if (queuename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
618 queuename_ = new ::std::string;
620 queuename_->assign(value);
623 inline void RegistrationEvent::set_queuename(
const char* value) {
625 if (queuename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
626 queuename_ = new ::std::string;
628 queuename_->assign(value);
631 inline void RegistrationEvent::set_queuename(
const char* value,
size_t size) {
633 if (queuename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
634 queuename_ = new ::std::string;
636 queuename_->assign(reinterpret_cast<const char*>(value), size);
639 inline ::std::string* RegistrationEvent::mutable_queuename() {
641 if (queuename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
642 queuename_ = new ::std::string;
647 inline ::std::string* RegistrationEvent::release_queuename() {
648 clear_has_queuename();
649 if (queuename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
652 ::std::string* temp = queuename_;
653 queuename_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
657 inline void RegistrationEvent::set_allocated_queuename(::std::string* queuename) {
658 if (queuename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
663 queuename_ = queuename;
665 clear_has_queuename();
666 queuename_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
672 inline bool RegistrationEvent::has_provides()
const {
673 return (_has_bits_[0] & 0x00000004u) != 0;
675 inline void RegistrationEvent::set_has_provides() {
676 _has_bits_[0] |= 0x00000004u;
678 inline void RegistrationEvent::clear_has_provides() {
679 _has_bits_[0] &= ~0x00000004u;
681 inline void RegistrationEvent::clear_provides() {
682 if (provides_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
685 clear_has_provides();
687 inline const ::std::string& RegistrationEvent::provides()
const {
691 inline void RegistrationEvent::set_provides(const ::std::string& value) {
693 if (provides_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
694 provides_ = new ::std::string;
696 provides_->assign(value);
699 inline void RegistrationEvent::set_provides(
const char* value) {
701 if (provides_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
702 provides_ = new ::std::string;
704 provides_->assign(value);
707 inline void RegistrationEvent::set_provides(
const char* value,
size_t size) {
709 if (provides_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
710 provides_ = new ::std::string;
712 provides_->assign(reinterpret_cast<const char*>(value), size);
715 inline ::std::string* RegistrationEvent::mutable_provides() {
717 if (provides_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
718 provides_ = new ::std::string;
723 inline ::std::string* RegistrationEvent::release_provides() {
724 clear_has_provides();
725 if (provides_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
728 ::std::string* temp = provides_;
729 provides_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
733 inline void RegistrationEvent::set_allocated_provides(::std::string* provides) {
734 if (provides_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
739 provides_ = provides;
741 clear_has_provides();
742 provides_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
748 inline bool RegistrationEvent::has_requires()
const {
749 return (_has_bits_[0] & 0x00000008u) != 0;
751 inline void RegistrationEvent::set_has_requires() {
752 _has_bits_[0] |= 0x00000008u;
754 inline void RegistrationEvent::clear_has_requires() {
755 _has_bits_[0] &= ~0x00000008u;
757 inline void RegistrationEvent::clear_requires() {
758 if (requires_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
761 clear_has_requires();
763 inline const ::std::string& RegistrationEvent::requires()
const {
767 inline void RegistrationEvent::set_requires(const ::std::string& value) {
769 if (requires_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
770 requires_ = new ::std::string;
772 requires_->assign(value);
775 inline void RegistrationEvent::set_requires(
const char* value) {
777 if (requires_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
778 requires_ = new ::std::string;
780 requires_->assign(value);
783 inline void RegistrationEvent::set_requires(
const char* value,
size_t size) {
785 if (requires_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
786 requires_ = new ::std::string;
788 requires_->assign(reinterpret_cast<const char*>(value), size);
791 inline ::std::string* RegistrationEvent::mutable_requires() {
793 if (requires_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
794 requires_ = new ::std::string;
799 inline ::std::string* RegistrationEvent::release_requires() {
800 clear_has_requires();
801 if (requires_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
804 ::std::string* temp = requires_;
805 requires_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
809 inline void RegistrationEvent::set_allocated_requires(::std::string* requires) {
810 if (requires_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
815 requires_ = requires;
817 clear_has_requires();
818 requires_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
824 inline bool RegistrationEvent::has_language()
const {
825 return (_has_bits_[0] & 0x00000010u) != 0;
827 inline void RegistrationEvent::set_has_language() {
828 _has_bits_[0] |= 0x00000010u;
830 inline void RegistrationEvent::clear_has_language() {
831 _has_bits_[0] &= ~0x00000010u;
833 inline void RegistrationEvent::clear_language() {
835 clear_has_language();
837 inline ::mico::event::model::Implementation RegistrationEvent::language()
const {
839 return static_cast< ::mico::event::model::Implementation
>(language_);
841 inline void RegistrationEvent::set_language(::mico::event::model::Implementation value) {
842 assert(::mico::event::model::Implementation_IsValid(value));
849 inline bool RegistrationEvent::has_type()
const {
850 return (_has_bits_[0] & 0x00000020u) != 0;
852 inline void RegistrationEvent::set_has_type() {
853 _has_bits_[0] |= 0x00000020u;
855 inline void RegistrationEvent::clear_has_type() {
856 _has_bits_[0] &= ~0x00000020u;
858 inline void RegistrationEvent::clear_type() {
862 inline ::mico::event::model::RegistrationType RegistrationEvent::type()
const {
864 return static_cast< ::mico::event::model::RegistrationType
>(type_);
866 inline void RegistrationEvent::set_type(::mico::event::model::RegistrationType value) {
867 assert(::mico::event::model::RegistrationType_IsValid(value));
878 inline bool AnalysisEvent::has_serviceid()
const {
879 return (_has_bits_[0] & 0x00000001u) != 0;
881 inline void AnalysisEvent::set_has_serviceid() {
882 _has_bits_[0] |= 0x00000001u;
884 inline void AnalysisEvent::clear_has_serviceid() {
885 _has_bits_[0] &= ~0x00000001u;
887 inline void AnalysisEvent::clear_serviceid() {
888 if (serviceid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
891 clear_has_serviceid();
893 inline const ::std::string& AnalysisEvent::serviceid()
const {
897 inline void AnalysisEvent::set_serviceid(const ::std::string& value) {
899 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
900 serviceid_ = new ::std::string;
902 serviceid_->assign(value);
905 inline void AnalysisEvent::set_serviceid(
const char* value) {
907 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
908 serviceid_ = new ::std::string;
910 serviceid_->assign(value);
913 inline void AnalysisEvent::set_serviceid(
const char* value,
size_t size) {
915 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
916 serviceid_ = new ::std::string;
918 serviceid_->assign(reinterpret_cast<const char*>(value), size);
921 inline ::std::string* AnalysisEvent::mutable_serviceid() {
923 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
924 serviceid_ = new ::std::string;
929 inline ::std::string* AnalysisEvent::release_serviceid() {
930 clear_has_serviceid();
931 if (serviceid_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
934 ::std::string* temp = serviceid_;
935 serviceid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
939 inline void AnalysisEvent::set_allocated_serviceid(::std::string* serviceid) {
940 if (serviceid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
945 serviceid_ = serviceid;
947 clear_has_serviceid();
948 serviceid_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
954 inline bool AnalysisEvent::has_contentitemuri()
const {
955 return (_has_bits_[0] & 0x00000002u) != 0;
957 inline void AnalysisEvent::set_has_contentitemuri() {
958 _has_bits_[0] |= 0x00000002u;
960 inline void AnalysisEvent::clear_has_contentitemuri() {
961 _has_bits_[0] &= ~0x00000002u;
963 inline void AnalysisEvent::clear_contentitemuri() {
964 if (contentitemuri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
965 contentitemuri_->clear();
967 clear_has_contentitemuri();
969 inline const ::std::string& AnalysisEvent::contentitemuri()
const {
971 return *contentitemuri_;
973 inline void AnalysisEvent::set_contentitemuri(const ::std::string& value) {
974 set_has_contentitemuri();
975 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
976 contentitemuri_ = new ::std::string;
978 contentitemuri_->assign(value);
981 inline void AnalysisEvent::set_contentitemuri(
const char* value) {
982 set_has_contentitemuri();
983 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
984 contentitemuri_ = new ::std::string;
986 contentitemuri_->assign(value);
989 inline void AnalysisEvent::set_contentitemuri(
const char* value,
size_t size) {
990 set_has_contentitemuri();
991 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
992 contentitemuri_ = new ::std::string;
994 contentitemuri_->assign(reinterpret_cast<const char*>(value), size);
997 inline ::std::string* AnalysisEvent::mutable_contentitemuri() {
998 set_has_contentitemuri();
999 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1000 contentitemuri_ = new ::std::string;
1003 return contentitemuri_;
1005 inline ::std::string* AnalysisEvent::release_contentitemuri() {
1006 clear_has_contentitemuri();
1007 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1010 ::std::string* temp = contentitemuri_;
1011 contentitemuri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1015 inline void AnalysisEvent::set_allocated_contentitemuri(::std::string* contentitemuri) {
1016 if (contentitemuri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1017 delete contentitemuri_;
1019 if (contentitemuri) {
1020 set_has_contentitemuri();
1021 contentitemuri_ = contentitemuri;
1023 clear_has_contentitemuri();
1024 contentitemuri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1030 inline bool AnalysisEvent::has_objecturi()
const {
1031 return (_has_bits_[0] & 0x00000004u) != 0;
1033 inline void AnalysisEvent::set_has_objecturi() {
1034 _has_bits_[0] |= 0x00000004u;
1036 inline void AnalysisEvent::clear_has_objecturi() {
1037 _has_bits_[0] &= ~0x00000004u;
1039 inline void AnalysisEvent::clear_objecturi() {
1040 if (objecturi_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1041 objecturi_->clear();
1043 clear_has_objecturi();
1045 inline const ::std::string& AnalysisEvent::objecturi()
const {
1049 inline void AnalysisEvent::set_objecturi(const ::std::string& value) {
1050 set_has_objecturi();
1051 if (objecturi_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1052 objecturi_ = new ::std::string;
1054 objecturi_->assign(value);
1057 inline void AnalysisEvent::set_objecturi(
const char* value) {
1058 set_has_objecturi();
1059 if (objecturi_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1060 objecturi_ = new ::std::string;
1062 objecturi_->assign(value);
1065 inline void AnalysisEvent::set_objecturi(
const char* value,
size_t size) {
1066 set_has_objecturi();
1067 if (objecturi_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1068 objecturi_ = new ::std::string;
1070 objecturi_->assign(reinterpret_cast<const char*>(value), size);
1073 inline ::std::string* AnalysisEvent::mutable_objecturi() {
1074 set_has_objecturi();
1075 if (objecturi_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1076 objecturi_ = new ::std::string;
1081 inline ::std::string* AnalysisEvent::release_objecturi() {
1082 clear_has_objecturi();
1083 if (objecturi_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1086 ::std::string* temp = objecturi_;
1087 objecturi_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1091 inline void AnalysisEvent::set_allocated_objecturi(::std::string* objecturi) {
1092 if (objecturi_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1096 set_has_objecturi();
1097 objecturi_ = objecturi;
1099 clear_has_objecturi();
1100 objecturi_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1110 inline bool ContentEvent::has_contentitemuri()
const {
1111 return (_has_bits_[0] & 0x00000001u) != 0;
1113 inline void ContentEvent::set_has_contentitemuri() {
1114 _has_bits_[0] |= 0x00000001u;
1116 inline void ContentEvent::clear_has_contentitemuri() {
1117 _has_bits_[0] &= ~0x00000001u;
1119 inline void ContentEvent::clear_contentitemuri() {
1120 if (contentitemuri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1121 contentitemuri_->clear();
1123 clear_has_contentitemuri();
1125 inline const ::std::string& ContentEvent::contentitemuri()
const {
1127 return *contentitemuri_;
1129 inline void ContentEvent::set_contentitemuri(const ::std::string& value) {
1130 set_has_contentitemuri();
1131 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1132 contentitemuri_ = new ::std::string;
1134 contentitemuri_->assign(value);
1137 inline void ContentEvent::set_contentitemuri(
const char* value) {
1138 set_has_contentitemuri();
1139 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1140 contentitemuri_ = new ::std::string;
1142 contentitemuri_->assign(value);
1145 inline void ContentEvent::set_contentitemuri(
const char* value,
size_t size) {
1146 set_has_contentitemuri();
1147 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1148 contentitemuri_ = new ::std::string;
1150 contentitemuri_->assign(reinterpret_cast<const char*>(value), size);
1153 inline ::std::string* ContentEvent::mutable_contentitemuri() {
1154 set_has_contentitemuri();
1155 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1156 contentitemuri_ = new ::std::string;
1159 return contentitemuri_;
1161 inline ::std::string* ContentEvent::release_contentitemuri() {
1162 clear_has_contentitemuri();
1163 if (contentitemuri_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1166 ::std::string* temp = contentitemuri_;
1167 contentitemuri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1171 inline void ContentEvent::set_allocated_contentitemuri(::std::string* contentitemuri) {
1172 if (contentitemuri_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1173 delete contentitemuri_;
1175 if (contentitemuri) {
1176 set_has_contentitemuri();
1177 contentitemuri_ = contentitemuri;
1179 clear_has_contentitemuri();
1180 contentitemuri_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1198 namespace protobuf {
1200 template <>
struct is_proto_enum< ::mico::event::model::Implementation> : ::google::protobuf::internal::true_type {};
1202 inline const EnumDescriptor* GetEnumDescriptor< ::mico::event::model::Implementation>() {
1203 return ::mico::event::model::Implementation_descriptor();
1205 template <>
struct is_proto_enum< ::mico::event::model::RegistrationType> : ::google::protobuf::internal::true_type {};
1207 inline const EnumDescriptor* GetEnumDescriptor< ::mico::event::model::RegistrationType>() {
1208 return ::mico::event::model::RegistrationType_descriptor();
1217 #endif // PROTOBUF_Event_2eproto__INCLUDED
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition: http_client.cpp:23
Definition: Event.pb.h:247
Definition: Event.pb.h:98
Definition: Event.pb.h:445
Definition: Event.pb.h:1197
Definition: Event.pb.h:361