Wiselib
|
00001 // Generated by the protocol buffer compiler. DO NOT EDIT! 00002 // source: Messages.proto 00003 00004 #ifndef PROTOBUF_Messages_2eproto__INCLUDED 00005 #define PROTOBUF_Messages_2eproto__INCLUDED 00006 00007 #include <string> 00008 00009 #include <google/protobuf/stubs/common.h> 00010 00011 #if GOOGLE_PROTOBUF_VERSION < 2003000 00012 #error This file was generated by a newer version of protoc which is 00013 #error incompatible with your Protocol Buffer headers. Please update 00014 #error your headers. 00015 #endif 00016 #if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 00017 #error This file was generated by an older version of protoc which is 00018 #error incompatible with your Protocol Buffer headers. Please 00019 #error regenerate this file with a newer version of protoc. 00020 #endif 00021 00022 #include <google/protobuf/generated_message_util.h> 00023 #include <google/protobuf/repeated_field.h> 00024 #include <google/protobuf/extension_set.h> 00025 #include <google/protobuf/generated_message_reflection.h> 00026 // @@protoc_insertion_point(includes) 00027 00028 namespace de { 00029 namespace uniluebeck { 00030 namespace itm { 00031 namespace gtr { 00032 namespace messaging { 00033 00034 // Internal implementation detail -- do not call these. 00035 void protobuf_AddDesc_Messages_2eproto(); 00036 void protobuf_AssignDesc_Messages_2eproto(); 00037 void protobuf_ShutdownFile_Messages_2eproto(); 00038 00039 class Msg; 00040 class SingleRequestMultipleResponseRequest; 00041 class SingleRequestMultipleResponseResponse; 00042 00043 // =================================================================== 00044 00045 class Msg : public ::google::protobuf::Message { 00046 public: 00047 Msg(); 00048 virtual ~Msg(); 00049 00050 Msg(const Msg& from); 00051 00052 inline Msg& operator=(const Msg& from) { 00053 CopyFrom(from); 00054 return *this; 00055 } 00056 00057 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00058 return _unknown_fields_; 00059 } 00060 00061 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00062 return &_unknown_fields_; 00063 } 00064 00065 static const ::google::protobuf::Descriptor* descriptor(); 00066 static const Msg& default_instance(); 00067 00068 void Swap(Msg* other); 00069 00070 // implements Message ---------------------------------------------- 00071 00072 Msg* New() const; 00073 void CopyFrom(const ::google::protobuf::Message& from); 00074 void MergeFrom(const ::google::protobuf::Message& from); 00075 void CopyFrom(const Msg& from); 00076 void MergeFrom(const Msg& from); 00077 void Clear(); 00078 bool IsInitialized() const; 00079 00080 int ByteSize() const; 00081 bool MergePartialFromCodedStream( 00082 ::google::protobuf::io::CodedInputStream* input); 00083 void SerializeWithCachedSizes( 00084 ::google::protobuf::io::CodedOutputStream* output) const; 00085 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00086 int GetCachedSize() const { return _cached_size_; } 00087 private: 00088 void SharedCtor(); 00089 void SharedDtor(); 00090 void SetCachedSize(int size) const; 00091 public: 00092 00093 ::google::protobuf::Metadata GetMetadata() const; 00094 00095 // nested types ---------------------------------------------------- 00096 00097 // accessors ------------------------------------------------------- 00098 00099 // required string to = 1; 00100 inline bool has_to() const; 00101 inline void clear_to(); 00102 static const int kToFieldNumber = 1; 00103 inline const ::std::string& to() const; 00104 inline void set_to(const ::std::string& value); 00105 inline void set_to(const char* value); 00106 inline void set_to(const char* value, size_t size); 00107 inline ::std::string* mutable_to(); 00108 00109 // required string from = 2; 00110 inline bool has_from() const; 00111 inline void clear_from(); 00112 static const int kFromFieldNumber = 2; 00113 inline const ::std::string& from() const; 00114 inline void set_from(const ::std::string& value); 00115 inline void set_from(const char* value); 00116 inline void set_from(const char* value, size_t size); 00117 inline ::std::string* mutable_from(); 00118 00119 // required string msgType = 3; 00120 inline bool has_msgtype() const; 00121 inline void clear_msgtype(); 00122 static const int kMsgTypeFieldNumber = 3; 00123 inline const ::std::string& msgtype() const; 00124 inline void set_msgtype(const ::std::string& value); 00125 inline void set_msgtype(const char* value); 00126 inline void set_msgtype(const char* value, size_t size); 00127 inline ::std::string* mutable_msgtype(); 00128 00129 // required uint32 priority = 4; 00130 inline bool has_priority() const; 00131 inline void clear_priority(); 00132 static const int kPriorityFieldNumber = 4; 00133 inline ::google::protobuf::uint32 priority() const; 00134 inline void set_priority(::google::protobuf::uint32 value); 00135 00136 // required uint64 validUntil = 5; 00137 inline bool has_validuntil() const; 00138 inline void clear_validuntil(); 00139 static const int kValidUntilFieldNumber = 5; 00140 inline ::google::protobuf::uint64 validuntil() const; 00141 inline void set_validuntil(::google::protobuf::uint64 value); 00142 00143 // optional bytes payload = 6; 00144 inline bool has_payload() const; 00145 inline void clear_payload(); 00146 static const int kPayloadFieldNumber = 6; 00147 inline const ::std::string& payload() const; 00148 inline void set_payload(const ::std::string& value); 00149 inline void set_payload(const char* value); 00150 inline void set_payload(const void* value, size_t size); 00151 inline ::std::string* mutable_payload(); 00152 00153 // optional string replyWith = 7; 00154 inline bool has_replywith() const; 00155 inline void clear_replywith(); 00156 static const int kReplyWithFieldNumber = 7; 00157 inline const ::std::string& replywith() const; 00158 inline void set_replywith(const ::std::string& value); 00159 inline void set_replywith(const char* value); 00160 inline void set_replywith(const char* value, size_t size); 00161 inline ::std::string* mutable_replywith(); 00162 00163 // optional string replyTo = 8; 00164 inline bool has_replyto() const; 00165 inline void clear_replyto(); 00166 static const int kReplyToFieldNumber = 8; 00167 inline const ::std::string& replyto() const; 00168 inline void set_replyto(const ::std::string& value); 00169 inline void set_replyto(const char* value); 00170 inline void set_replyto(const char* value, size_t size); 00171 inline ::std::string* mutable_replyto(); 00172 00173 // @@protoc_insertion_point(class_scope:de.uniluebeck.itm.gtr.messaging.Msg) 00174 private: 00175 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00176 mutable int _cached_size_; 00177 00178 ::std::string* to_; 00179 static const ::std::string _default_to_; 00180 ::std::string* from_; 00181 static const ::std::string _default_from_; 00182 ::std::string* msgtype_; 00183 static const ::std::string _default_msgtype_; 00184 ::google::protobuf::uint32 priority_; 00185 ::google::protobuf::uint64 validuntil_; 00186 ::std::string* payload_; 00187 static const ::std::string _default_payload_; 00188 ::std::string* replywith_; 00189 static const ::std::string _default_replywith_; 00190 ::std::string* replyto_; 00191 static const ::std::string _default_replyto_; 00192 friend void protobuf_AddDesc_Messages_2eproto(); 00193 friend void protobuf_AssignDesc_Messages_2eproto(); 00194 friend void protobuf_ShutdownFile_Messages_2eproto(); 00195 00196 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; 00197 00198 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00199 inline bool _has_bit(int index) const { 00200 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00201 } 00202 inline void _set_bit(int index) { 00203 _has_bits_[index / 32] |= (1u << (index % 32)); 00204 } 00205 inline void _clear_bit(int index) { 00206 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00207 } 00208 00209 void InitAsDefaultInstance(); 00210 static Msg* default_instance_; 00211 }; 00212 // ------------------------------------------------------------------- 00213 00214 class SingleRequestMultipleResponseRequest : public ::google::protobuf::Message { 00215 public: 00216 SingleRequestMultipleResponseRequest(); 00217 virtual ~SingleRequestMultipleResponseRequest(); 00218 00219 SingleRequestMultipleResponseRequest(const SingleRequestMultipleResponseRequest& from); 00220 00221 inline SingleRequestMultipleResponseRequest& operator=(const SingleRequestMultipleResponseRequest& from) { 00222 CopyFrom(from); 00223 return *this; 00224 } 00225 00226 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00227 return _unknown_fields_; 00228 } 00229 00230 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00231 return &_unknown_fields_; 00232 } 00233 00234 static const ::google::protobuf::Descriptor* descriptor(); 00235 static const SingleRequestMultipleResponseRequest& default_instance(); 00236 00237 void Swap(SingleRequestMultipleResponseRequest* other); 00238 00239 // implements Message ---------------------------------------------- 00240 00241 SingleRequestMultipleResponseRequest* New() const; 00242 void CopyFrom(const ::google::protobuf::Message& from); 00243 void MergeFrom(const ::google::protobuf::Message& from); 00244 void CopyFrom(const SingleRequestMultipleResponseRequest& from); 00245 void MergeFrom(const SingleRequestMultipleResponseRequest& from); 00246 void Clear(); 00247 bool IsInitialized() const; 00248 00249 int ByteSize() const; 00250 bool MergePartialFromCodedStream( 00251 ::google::protobuf::io::CodedInputStream* input); 00252 void SerializeWithCachedSizes( 00253 ::google::protobuf::io::CodedOutputStream* output) const; 00254 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00255 int GetCachedSize() const { return _cached_size_; } 00256 private: 00257 void SharedCtor(); 00258 void SharedDtor(); 00259 void SetCachedSize(int size) const; 00260 public: 00261 00262 ::google::protobuf::Metadata GetMetadata() const; 00263 00264 // nested types ---------------------------------------------------- 00265 00266 // accessors ------------------------------------------------------- 00267 00268 // required string requestId = 1; 00269 inline bool has_requestid() const; 00270 inline void clear_requestid(); 00271 static const int kRequestIdFieldNumber = 1; 00272 inline const ::std::string& requestid() const; 00273 inline void set_requestid(const ::std::string& value); 00274 inline void set_requestid(const char* value); 00275 inline void set_requestid(const char* value, size_t size); 00276 inline ::std::string* mutable_requestid(); 00277 00278 // required bool reliableRequest = 2; 00279 inline bool has_reliablerequest() const; 00280 inline void clear_reliablerequest(); 00281 static const int kReliableRequestFieldNumber = 2; 00282 inline bool reliablerequest() const; 00283 inline void set_reliablerequest(bool value); 00284 00285 // required bool reliableResponses = 3; 00286 inline bool has_reliableresponses() const; 00287 inline void clear_reliableresponses(); 00288 static const int kReliableResponsesFieldNumber = 3; 00289 inline bool reliableresponses() const; 00290 inline void set_reliableresponses(bool value); 00291 00292 // required bytes payload = 4; 00293 inline bool has_payload() const; 00294 inline void clear_payload(); 00295 static const int kPayloadFieldNumber = 4; 00296 inline const ::std::string& payload() const; 00297 inline void set_payload(const ::std::string& value); 00298 inline void set_payload(const char* value); 00299 inline void set_payload(const void* value, size_t size); 00300 inline ::std::string* mutable_payload(); 00301 00302 // @@protoc_insertion_point(class_scope:de.uniluebeck.itm.gtr.messaging.SingleRequestMultipleResponseRequest) 00303 private: 00304 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00305 mutable int _cached_size_; 00306 00307 ::std::string* requestid_; 00308 static const ::std::string _default_requestid_; 00309 bool reliablerequest_; 00310 bool reliableresponses_; 00311 ::std::string* payload_; 00312 static const ::std::string _default_payload_; 00313 friend void protobuf_AddDesc_Messages_2eproto(); 00314 friend void protobuf_AssignDesc_Messages_2eproto(); 00315 friend void protobuf_ShutdownFile_Messages_2eproto(); 00316 00317 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 00318 00319 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00320 inline bool _has_bit(int index) const { 00321 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00322 } 00323 inline void _set_bit(int index) { 00324 _has_bits_[index / 32] |= (1u << (index % 32)); 00325 } 00326 inline void _clear_bit(int index) { 00327 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00328 } 00329 00330 void InitAsDefaultInstance(); 00331 static SingleRequestMultipleResponseRequest* default_instance_; 00332 }; 00333 // ------------------------------------------------------------------- 00334 00335 class SingleRequestMultipleResponseResponse : public ::google::protobuf::Message { 00336 public: 00337 SingleRequestMultipleResponseResponse(); 00338 virtual ~SingleRequestMultipleResponseResponse(); 00339 00340 SingleRequestMultipleResponseResponse(const SingleRequestMultipleResponseResponse& from); 00341 00342 inline SingleRequestMultipleResponseResponse& operator=(const SingleRequestMultipleResponseResponse& from) { 00343 CopyFrom(from); 00344 return *this; 00345 } 00346 00347 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00348 return _unknown_fields_; 00349 } 00350 00351 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00352 return &_unknown_fields_; 00353 } 00354 00355 static const ::google::protobuf::Descriptor* descriptor(); 00356 static const SingleRequestMultipleResponseResponse& default_instance(); 00357 00358 void Swap(SingleRequestMultipleResponseResponse* other); 00359 00360 // implements Message ---------------------------------------------- 00361 00362 SingleRequestMultipleResponseResponse* New() const; 00363 void CopyFrom(const ::google::protobuf::Message& from); 00364 void MergeFrom(const ::google::protobuf::Message& from); 00365 void CopyFrom(const SingleRequestMultipleResponseResponse& from); 00366 void MergeFrom(const SingleRequestMultipleResponseResponse& from); 00367 void Clear(); 00368 bool IsInitialized() const; 00369 00370 int ByteSize() const; 00371 bool MergePartialFromCodedStream( 00372 ::google::protobuf::io::CodedInputStream* input); 00373 void SerializeWithCachedSizes( 00374 ::google::protobuf::io::CodedOutputStream* output) const; 00375 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00376 int GetCachedSize() const { return _cached_size_; } 00377 private: 00378 void SharedCtor(); 00379 void SharedDtor(); 00380 void SetCachedSize(int size) const; 00381 public: 00382 00383 ::google::protobuf::Metadata GetMetadata() const; 00384 00385 // nested types ---------------------------------------------------- 00386 00387 // accessors ------------------------------------------------------- 00388 00389 // required string requestId = 1; 00390 inline bool has_requestid() const; 00391 inline void clear_requestid(); 00392 static const int kRequestIdFieldNumber = 1; 00393 inline const ::std::string& requestid() const; 00394 inline void set_requestid(const ::std::string& value); 00395 inline void set_requestid(const char* value); 00396 inline void set_requestid(const char* value, size_t size); 00397 inline ::std::string* mutable_requestid(); 00398 00399 // required bytes payload = 2; 00400 inline bool has_payload() const; 00401 inline void clear_payload(); 00402 static const int kPayloadFieldNumber = 2; 00403 inline const ::std::string& payload() const; 00404 inline void set_payload(const ::std::string& value); 00405 inline void set_payload(const char* value); 00406 inline void set_payload(const void* value, size_t size); 00407 inline ::std::string* mutable_payload(); 00408 00409 // @@protoc_insertion_point(class_scope:de.uniluebeck.itm.gtr.messaging.SingleRequestMultipleResponseResponse) 00410 private: 00411 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00412 mutable int _cached_size_; 00413 00414 ::std::string* requestid_; 00415 static const ::std::string _default_requestid_; 00416 ::std::string* payload_; 00417 static const ::std::string _default_payload_; 00418 friend void protobuf_AddDesc_Messages_2eproto(); 00419 friend void protobuf_AssignDesc_Messages_2eproto(); 00420 friend void protobuf_ShutdownFile_Messages_2eproto(); 00421 00422 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; 00423 00424 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00425 inline bool _has_bit(int index) const { 00426 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00427 } 00428 inline void _set_bit(int index) { 00429 _has_bits_[index / 32] |= (1u << (index % 32)); 00430 } 00431 inline void _clear_bit(int index) { 00432 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00433 } 00434 00435 void InitAsDefaultInstance(); 00436 static SingleRequestMultipleResponseResponse* default_instance_; 00437 }; 00438 // =================================================================== 00439 00440 00441 // =================================================================== 00442 00443 // Msg 00444 00445 // required string to = 1; 00446 inline bool Msg::has_to() const { 00447 return _has_bit(0); 00448 } 00449 inline void Msg::clear_to() { 00450 if (to_ != &_default_to_) { 00451 to_->clear(); 00452 } 00453 _clear_bit(0); 00454 } 00455 inline const ::std::string& Msg::to() const { 00456 return *to_; 00457 } 00458 inline void Msg::set_to(const ::std::string& value) { 00459 _set_bit(0); 00460 if (to_ == &_default_to_) { 00461 to_ = new ::std::string; 00462 } 00463 to_->assign(value); 00464 } 00465 inline void Msg::set_to(const char* value) { 00466 _set_bit(0); 00467 if (to_ == &_default_to_) { 00468 to_ = new ::std::string; 00469 } 00470 to_->assign(value); 00471 } 00472 inline void Msg::set_to(const char* value, size_t size) { 00473 _set_bit(0); 00474 if (to_ == &_default_to_) { 00475 to_ = new ::std::string; 00476 } 00477 to_->assign(reinterpret_cast<const char*>(value), size); 00478 } 00479 inline ::std::string* Msg::mutable_to() { 00480 _set_bit(0); 00481 if (to_ == &_default_to_) { 00482 to_ = new ::std::string; 00483 } 00484 return to_; 00485 } 00486 00487 // required string from = 2; 00488 inline bool Msg::has_from() const { 00489 return _has_bit(1); 00490 } 00491 inline void Msg::clear_from() { 00492 if (from_ != &_default_from_) { 00493 from_->clear(); 00494 } 00495 _clear_bit(1); 00496 } 00497 inline const ::std::string& Msg::from() const { 00498 return *from_; 00499 } 00500 inline void Msg::set_from(const ::std::string& value) { 00501 _set_bit(1); 00502 if (from_ == &_default_from_) { 00503 from_ = new ::std::string; 00504 } 00505 from_->assign(value); 00506 } 00507 inline void Msg::set_from(const char* value) { 00508 _set_bit(1); 00509 if (from_ == &_default_from_) { 00510 from_ = new ::std::string; 00511 } 00512 from_->assign(value); 00513 } 00514 inline void Msg::set_from(const char* value, size_t size) { 00515 _set_bit(1); 00516 if (from_ == &_default_from_) { 00517 from_ = new ::std::string; 00518 } 00519 from_->assign(reinterpret_cast<const char*>(value), size); 00520 } 00521 inline ::std::string* Msg::mutable_from() { 00522 _set_bit(1); 00523 if (from_ == &_default_from_) { 00524 from_ = new ::std::string; 00525 } 00526 return from_; 00527 } 00528 00529 // required string msgType = 3; 00530 inline bool Msg::has_msgtype() const { 00531 return _has_bit(2); 00532 } 00533 inline void Msg::clear_msgtype() { 00534 if (msgtype_ != &_default_msgtype_) { 00535 msgtype_->clear(); 00536 } 00537 _clear_bit(2); 00538 } 00539 inline const ::std::string& Msg::msgtype() const { 00540 return *msgtype_; 00541 } 00542 inline void Msg::set_msgtype(const ::std::string& value) { 00543 _set_bit(2); 00544 if (msgtype_ == &_default_msgtype_) { 00545 msgtype_ = new ::std::string; 00546 } 00547 msgtype_->assign(value); 00548 } 00549 inline void Msg::set_msgtype(const char* value) { 00550 _set_bit(2); 00551 if (msgtype_ == &_default_msgtype_) { 00552 msgtype_ = new ::std::string; 00553 } 00554 msgtype_->assign(value); 00555 } 00556 inline void Msg::set_msgtype(const char* value, size_t size) { 00557 _set_bit(2); 00558 if (msgtype_ == &_default_msgtype_) { 00559 msgtype_ = new ::std::string; 00560 } 00561 msgtype_->assign(reinterpret_cast<const char*>(value), size); 00562 } 00563 inline ::std::string* Msg::mutable_msgtype() { 00564 _set_bit(2); 00565 if (msgtype_ == &_default_msgtype_) { 00566 msgtype_ = new ::std::string; 00567 } 00568 return msgtype_; 00569 } 00570 00571 // required uint32 priority = 4; 00572 inline bool Msg::has_priority() const { 00573 return _has_bit(3); 00574 } 00575 inline void Msg::clear_priority() { 00576 priority_ = 0u; 00577 _clear_bit(3); 00578 } 00579 inline ::google::protobuf::uint32 Msg::priority() const { 00580 return priority_; 00581 } 00582 inline void Msg::set_priority(::google::protobuf::uint32 value) { 00583 _set_bit(3); 00584 priority_ = value; 00585 } 00586 00587 // required uint64 validUntil = 5; 00588 inline bool Msg::has_validuntil() const { 00589 return _has_bit(4); 00590 } 00591 inline void Msg::clear_validuntil() { 00592 validuntil_ = GOOGLE_ULONGLONG(0); 00593 _clear_bit(4); 00594 } 00595 inline ::google::protobuf::uint64 Msg::validuntil() const { 00596 return validuntil_; 00597 } 00598 inline void Msg::set_validuntil(::google::protobuf::uint64 value) { 00599 _set_bit(4); 00600 validuntil_ = value; 00601 } 00602 00603 // optional bytes payload = 6; 00604 inline bool Msg::has_payload() const { 00605 return _has_bit(5); 00606 } 00607 inline void Msg::clear_payload() { 00608 if (payload_ != &_default_payload_) { 00609 payload_->clear(); 00610 } 00611 _clear_bit(5); 00612 } 00613 inline const ::std::string& Msg::payload() const { 00614 return *payload_; 00615 } 00616 inline void Msg::set_payload(const ::std::string& value) { 00617 _set_bit(5); 00618 if (payload_ == &_default_payload_) { 00619 payload_ = new ::std::string; 00620 } 00621 payload_->assign(value); 00622 } 00623 inline void Msg::set_payload(const char* value) { 00624 _set_bit(5); 00625 if (payload_ == &_default_payload_) { 00626 payload_ = new ::std::string; 00627 } 00628 payload_->assign(value); 00629 } 00630 inline void Msg::set_payload(const void* value, size_t size) { 00631 _set_bit(5); 00632 if (payload_ == &_default_payload_) { 00633 payload_ = new ::std::string; 00634 } 00635 payload_->assign(reinterpret_cast<const char*>(value), size); 00636 } 00637 inline ::std::string* Msg::mutable_payload() { 00638 _set_bit(5); 00639 if (payload_ == &_default_payload_) { 00640 payload_ = new ::std::string; 00641 } 00642 return payload_; 00643 } 00644 00645 // optional string replyWith = 7; 00646 inline bool Msg::has_replywith() const { 00647 return _has_bit(6); 00648 } 00649 inline void Msg::clear_replywith() { 00650 if (replywith_ != &_default_replywith_) { 00651 replywith_->clear(); 00652 } 00653 _clear_bit(6); 00654 } 00655 inline const ::std::string& Msg::replywith() const { 00656 return *replywith_; 00657 } 00658 inline void Msg::set_replywith(const ::std::string& value) { 00659 _set_bit(6); 00660 if (replywith_ == &_default_replywith_) { 00661 replywith_ = new ::std::string; 00662 } 00663 replywith_->assign(value); 00664 } 00665 inline void Msg::set_replywith(const char* value) { 00666 _set_bit(6); 00667 if (replywith_ == &_default_replywith_) { 00668 replywith_ = new ::std::string; 00669 } 00670 replywith_->assign(value); 00671 } 00672 inline void Msg::set_replywith(const char* value, size_t size) { 00673 _set_bit(6); 00674 if (replywith_ == &_default_replywith_) { 00675 replywith_ = new ::std::string; 00676 } 00677 replywith_->assign(reinterpret_cast<const char*>(value), size); 00678 } 00679 inline ::std::string* Msg::mutable_replywith() { 00680 _set_bit(6); 00681 if (replywith_ == &_default_replywith_) { 00682 replywith_ = new ::std::string; 00683 } 00684 return replywith_; 00685 } 00686 00687 // optional string replyTo = 8; 00688 inline bool Msg::has_replyto() const { 00689 return _has_bit(7); 00690 } 00691 inline void Msg::clear_replyto() { 00692 if (replyto_ != &_default_replyto_) { 00693 replyto_->clear(); 00694 } 00695 _clear_bit(7); 00696 } 00697 inline const ::std::string& Msg::replyto() const { 00698 return *replyto_; 00699 } 00700 inline void Msg::set_replyto(const ::std::string& value) { 00701 _set_bit(7); 00702 if (replyto_ == &_default_replyto_) { 00703 replyto_ = new ::std::string; 00704 } 00705 replyto_->assign(value); 00706 } 00707 inline void Msg::set_replyto(const char* value) { 00708 _set_bit(7); 00709 if (replyto_ == &_default_replyto_) { 00710 replyto_ = new ::std::string; 00711 } 00712 replyto_->assign(value); 00713 } 00714 inline void Msg::set_replyto(const char* value, size_t size) { 00715 _set_bit(7); 00716 if (replyto_ == &_default_replyto_) { 00717 replyto_ = new ::std::string; 00718 } 00719 replyto_->assign(reinterpret_cast<const char*>(value), size); 00720 } 00721 inline ::std::string* Msg::mutable_replyto() { 00722 _set_bit(7); 00723 if (replyto_ == &_default_replyto_) { 00724 replyto_ = new ::std::string; 00725 } 00726 return replyto_; 00727 } 00728 00729 // ------------------------------------------------------------------- 00730 00731 // SingleRequestMultipleResponseRequest 00732 00733 // required string requestId = 1; 00734 inline bool SingleRequestMultipleResponseRequest::has_requestid() const { 00735 return _has_bit(0); 00736 } 00737 inline void SingleRequestMultipleResponseRequest::clear_requestid() { 00738 if (requestid_ != &_default_requestid_) { 00739 requestid_->clear(); 00740 } 00741 _clear_bit(0); 00742 } 00743 inline const ::std::string& SingleRequestMultipleResponseRequest::requestid() const { 00744 return *requestid_; 00745 } 00746 inline void SingleRequestMultipleResponseRequest::set_requestid(const ::std::string& value) { 00747 _set_bit(0); 00748 if (requestid_ == &_default_requestid_) { 00749 requestid_ = new ::std::string; 00750 } 00751 requestid_->assign(value); 00752 } 00753 inline void SingleRequestMultipleResponseRequest::set_requestid(const char* value) { 00754 _set_bit(0); 00755 if (requestid_ == &_default_requestid_) { 00756 requestid_ = new ::std::string; 00757 } 00758 requestid_->assign(value); 00759 } 00760 inline void SingleRequestMultipleResponseRequest::set_requestid(const char* value, size_t size) { 00761 _set_bit(0); 00762 if (requestid_ == &_default_requestid_) { 00763 requestid_ = new ::std::string; 00764 } 00765 requestid_->assign(reinterpret_cast<const char*>(value), size); 00766 } 00767 inline ::std::string* SingleRequestMultipleResponseRequest::mutable_requestid() { 00768 _set_bit(0); 00769 if (requestid_ == &_default_requestid_) { 00770 requestid_ = new ::std::string; 00771 } 00772 return requestid_; 00773 } 00774 00775 // required bool reliableRequest = 2; 00776 inline bool SingleRequestMultipleResponseRequest::has_reliablerequest() const { 00777 return _has_bit(1); 00778 } 00779 inline void SingleRequestMultipleResponseRequest::clear_reliablerequest() { 00780 reliablerequest_ = false; 00781 _clear_bit(1); 00782 } 00783 inline bool SingleRequestMultipleResponseRequest::reliablerequest() const { 00784 return reliablerequest_; 00785 } 00786 inline void SingleRequestMultipleResponseRequest::set_reliablerequest(bool value) { 00787 _set_bit(1); 00788 reliablerequest_ = value; 00789 } 00790 00791 // required bool reliableResponses = 3; 00792 inline bool SingleRequestMultipleResponseRequest::has_reliableresponses() const { 00793 return _has_bit(2); 00794 } 00795 inline void SingleRequestMultipleResponseRequest::clear_reliableresponses() { 00796 reliableresponses_ = false; 00797 _clear_bit(2); 00798 } 00799 inline bool SingleRequestMultipleResponseRequest::reliableresponses() const { 00800 return reliableresponses_; 00801 } 00802 inline void SingleRequestMultipleResponseRequest::set_reliableresponses(bool value) { 00803 _set_bit(2); 00804 reliableresponses_ = value; 00805 } 00806 00807 // required bytes payload = 4; 00808 inline bool SingleRequestMultipleResponseRequest::has_payload() const { 00809 return _has_bit(3); 00810 } 00811 inline void SingleRequestMultipleResponseRequest::clear_payload() { 00812 if (payload_ != &_default_payload_) { 00813 payload_->clear(); 00814 } 00815 _clear_bit(3); 00816 } 00817 inline const ::std::string& SingleRequestMultipleResponseRequest::payload() const { 00818 return *payload_; 00819 } 00820 inline void SingleRequestMultipleResponseRequest::set_payload(const ::std::string& value) { 00821 _set_bit(3); 00822 if (payload_ == &_default_payload_) { 00823 payload_ = new ::std::string; 00824 } 00825 payload_->assign(value); 00826 } 00827 inline void SingleRequestMultipleResponseRequest::set_payload(const char* value) { 00828 _set_bit(3); 00829 if (payload_ == &_default_payload_) { 00830 payload_ = new ::std::string; 00831 } 00832 payload_->assign(value); 00833 } 00834 inline void SingleRequestMultipleResponseRequest::set_payload(const void* value, size_t size) { 00835 _set_bit(3); 00836 if (payload_ == &_default_payload_) { 00837 payload_ = new ::std::string; 00838 } 00839 payload_->assign(reinterpret_cast<const char*>(value), size); 00840 } 00841 inline ::std::string* SingleRequestMultipleResponseRequest::mutable_payload() { 00842 _set_bit(3); 00843 if (payload_ == &_default_payload_) { 00844 payload_ = new ::std::string; 00845 } 00846 return payload_; 00847 } 00848 00849 // ------------------------------------------------------------------- 00850 00851 // SingleRequestMultipleResponseResponse 00852 00853 // required string requestId = 1; 00854 inline bool SingleRequestMultipleResponseResponse::has_requestid() const { 00855 return _has_bit(0); 00856 } 00857 inline void SingleRequestMultipleResponseResponse::clear_requestid() { 00858 if (requestid_ != &_default_requestid_) { 00859 requestid_->clear(); 00860 } 00861 _clear_bit(0); 00862 } 00863 inline const ::std::string& SingleRequestMultipleResponseResponse::requestid() const { 00864 return *requestid_; 00865 } 00866 inline void SingleRequestMultipleResponseResponse::set_requestid(const ::std::string& value) { 00867 _set_bit(0); 00868 if (requestid_ == &_default_requestid_) { 00869 requestid_ = new ::std::string; 00870 } 00871 requestid_->assign(value); 00872 } 00873 inline void SingleRequestMultipleResponseResponse::set_requestid(const char* value) { 00874 _set_bit(0); 00875 if (requestid_ == &_default_requestid_) { 00876 requestid_ = new ::std::string; 00877 } 00878 requestid_->assign(value); 00879 } 00880 inline void SingleRequestMultipleResponseResponse::set_requestid(const char* value, size_t size) { 00881 _set_bit(0); 00882 if (requestid_ == &_default_requestid_) { 00883 requestid_ = new ::std::string; 00884 } 00885 requestid_->assign(reinterpret_cast<const char*>(value), size); 00886 } 00887 inline ::std::string* SingleRequestMultipleResponseResponse::mutable_requestid() { 00888 _set_bit(0); 00889 if (requestid_ == &_default_requestid_) { 00890 requestid_ = new ::std::string; 00891 } 00892 return requestid_; 00893 } 00894 00895 // required bytes payload = 2; 00896 inline bool SingleRequestMultipleResponseResponse::has_payload() const { 00897 return _has_bit(1); 00898 } 00899 inline void SingleRequestMultipleResponseResponse::clear_payload() { 00900 if (payload_ != &_default_payload_) { 00901 payload_->clear(); 00902 } 00903 _clear_bit(1); 00904 } 00905 inline const ::std::string& SingleRequestMultipleResponseResponse::payload() const { 00906 return *payload_; 00907 } 00908 inline void SingleRequestMultipleResponseResponse::set_payload(const ::std::string& value) { 00909 _set_bit(1); 00910 if (payload_ == &_default_payload_) { 00911 payload_ = new ::std::string; 00912 } 00913 payload_->assign(value); 00914 } 00915 inline void SingleRequestMultipleResponseResponse::set_payload(const char* value) { 00916 _set_bit(1); 00917 if (payload_ == &_default_payload_) { 00918 payload_ = new ::std::string; 00919 } 00920 payload_->assign(value); 00921 } 00922 inline void SingleRequestMultipleResponseResponse::set_payload(const void* value, size_t size) { 00923 _set_bit(1); 00924 if (payload_ == &_default_payload_) { 00925 payload_ = new ::std::string; 00926 } 00927 payload_->assign(reinterpret_cast<const char*>(value), size); 00928 } 00929 inline ::std::string* SingleRequestMultipleResponseResponse::mutable_payload() { 00930 _set_bit(1); 00931 if (payload_ == &_default_payload_) { 00932 payload_ = new ::std::string; 00933 } 00934 return payload_; 00935 } 00936 00937 00938 // @@protoc_insertion_point(namespace_scope) 00939 00940 } // namespace messaging 00941 } // namespace gtr 00942 } // namespace itm 00943 } // namespace uniluebeck 00944 } // namespace de 00945 00946 #ifndef SWIG 00947 namespace google { 00948 namespace protobuf { 00949 00950 00951 } // namespace google 00952 } // namespace protobuf 00953 #endif // SWIG 00954 00955 // @@protoc_insertion_point(global_scope) 00956 00957 #endif // PROTOBUF_Messages_2eproto__INCLUDED