4 #ifndef PROTOBUF_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/generated_message_util.h> 23 #include <google/protobuf/message.h> 24 #include <google/protobuf/repeated_field.h> 25 #include <google/protobuf/extension_set.h> 26 #include <google/protobuf/unknown_field_set.h> 27 #include "goby/common/protobuf/option_extensions.pb.h" 28 #include "goby/common/protobuf/app_base_config.pb.h" 29 #include <boost/units/quantity.hpp> 30 #include <boost/units/absolute.hpp> 31 #include <boost/units/dimensionless_type.hpp> 32 #include <boost/units/make_scaled_unit.hpp> 40 void protobuf_AddDesc_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto();
41 void protobuf_AssignDesc_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto();
42 void protobuf_ShutdownFile_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto();
60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
61 return _unknown_fields_;
64 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65 return &_unknown_fields_;
68 static const ::google::protobuf::Descriptor* descriptor();
76 void CopyFrom(const ::google::protobuf::Message& from);
77 void MergeFrom(const ::google::protobuf::Message& from);
81 bool IsInitialized()
const;
84 bool MergePartialFromCodedStream(
85 ::google::protobuf::io::CodedInputStream* input);
86 void SerializeWithCachedSizes(
87 ::google::protobuf::io::CodedOutputStream* output)
const;
88 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
89 int GetCachedSize()
const {
return _cached_size_; }
93 void SetCachedSize(
int size)
const;
95 ::google::protobuf::Metadata GetMetadata()
const;
102 inline bool has_base()
const;
103 inline void clear_base();
104 static const int kBaseFieldNumber = 1;
105 inline const ::AppBaseConfig& base()
const;
106 inline ::AppBaseConfig* mutable_base();
107 inline ::AppBaseConfig* release_base();
111 inline bool has_http_address()
const;
112 inline void clear_http_address();
113 static const int kHttpAddressFieldNumber = 2;
114 inline const ::std::string& http_address()
const;
115 inline void set_http_address(const ::std::string& value);
116 inline void set_http_address(
const char* value);
117 inline void set_http_address(
const char* value,
size_t size);
118 inline ::std::string* mutable_http_address();
119 inline ::std::string* release_http_address();
120 inline void set_allocated_http_address(::std::string* http_address);
123 inline bool has_http_port()
const;
124 inline void clear_http_port();
125 static const int kHttpPortFieldNumber = 3;
126 inline ::google::protobuf::uint32 http_port()
const;
127 inline void set_http_port(::google::protobuf::uint32 value);
130 inline bool has_docroot()
const;
131 inline void clear_docroot();
132 static const int kDocrootFieldNumber = 4;
133 inline const ::std::string& docroot()
const;
134 inline void set_docroot(const ::std::string& value);
135 inline void set_docroot(
const char* value);
136 inline void set_docroot(
const char* value,
size_t size);
137 inline ::std::string* mutable_docroot();
138 inline ::std::string* release_docroot();
139 inline void set_allocated_docroot(::std::string* docroot);
142 inline bool has_additional_wt_http_params()
const;
143 inline void clear_additional_wt_http_params();
144 static const int kAdditionalWtHttpParamsFieldNumber = 5;
145 inline const ::std::string& additional_wt_http_params()
const;
146 inline void set_additional_wt_http_params(const ::std::string& value);
147 inline void set_additional_wt_http_params(
const char* value);
148 inline void set_additional_wt_http_params(
const char* value,
size_t size);
149 inline ::std::string* mutable_additional_wt_http_params();
150 inline ::std::string* release_additional_wt_http_params();
151 inline void set_allocated_additional_wt_http_params(::std::string* additional_wt_http_params);
154 inline bool has_update_freq()
const;
155 inline void clear_update_freq();
156 static const int kUpdateFreqFieldNumber = 6;
157 inline float update_freq()
const;
158 inline void set_update_freq(
float value);
161 inline int load_shared_library_size()
const;
162 inline void clear_load_shared_library();
163 static const int kLoadSharedLibraryFieldNumber = 7;
164 inline const ::std::string& load_shared_library(
int index)
const;
165 inline ::std::string* mutable_load_shared_library(
int index);
166 inline void set_load_shared_library(
int index, const ::std::string& value);
167 inline void set_load_shared_library(
int index,
const char* value);
168 inline void set_load_shared_library(
int index,
const char* value,
size_t size);
169 inline ::std::string* add_load_shared_library();
170 inline void add_load_shared_library(const ::std::string& value);
171 inline void add_load_shared_library(
const char* value);
172 inline void add_load_shared_library(
const char* value,
size_t size);
173 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_shared_library()
const;
174 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_shared_library();
177 inline int load_proto_file_size()
const;
178 inline void clear_load_proto_file();
179 static const int kLoadProtoFileFieldNumber = 8;
180 inline const ::std::string& load_proto_file(
int index)
const;
181 inline ::std::string* mutable_load_proto_file(
int index);
182 inline void set_load_proto_file(
int index, const ::std::string& value);
183 inline void set_load_proto_file(
int index,
const char* value);
184 inline void set_load_proto_file(
int index,
const char* value,
size_t size);
185 inline ::std::string* add_load_proto_file();
186 inline void add_load_proto_file(const ::std::string& value);
187 inline void add_load_proto_file(
const char* value);
188 inline void add_load_proto_file(
const char* value,
size_t size);
189 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_proto_file()
const;
190 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_proto_file();
193 inline int load_proto_dir_size()
const;
194 inline void clear_load_proto_dir();
195 static const int kLoadProtoDirFieldNumber = 9;
196 inline const ::std::string& load_proto_dir(
int index)
const;
197 inline ::std::string* mutable_load_proto_dir(
int index);
198 inline void set_load_proto_dir(
int index, const ::std::string& value);
199 inline void set_load_proto_dir(
int index,
const char* value);
200 inline void set_load_proto_dir(
int index,
const char* value,
size_t size);
201 inline ::std::string* add_load_proto_dir();
202 inline void add_load_proto_dir(const ::std::string& value);
203 inline void add_load_proto_dir(
const char* value);
204 inline void add_load_proto_dir(
const char* value,
size_t size);
205 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_proto_dir()
const;
206 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_proto_dir();
209 inline bool has_start_paused()
const;
210 inline void clear_start_paused();
211 static const int kStartPausedFieldNumber = 10;
212 inline bool start_paused()
const;
213 inline void set_start_paused(
bool value);
216 inline bool has_upper_right_logo()
const;
217 inline void clear_upper_right_logo();
218 static const int kUpperRightLogoFieldNumber = 11;
219 inline const ::std::string& upper_right_logo()
const;
220 inline void set_upper_right_logo(const ::std::string& value);
221 inline void set_upper_right_logo(
const char* value);
222 inline void set_upper_right_logo(
const char* value,
size_t size);
223 inline ::std::string* mutable_upper_right_logo();
224 inline ::std::string* release_upper_right_logo();
225 inline void set_allocated_upper_right_logo(::std::string* upper_right_logo);
228 inline bool has_upper_right_logo_link()
const;
229 inline void clear_upper_right_logo_link();
230 static const int kUpperRightLogoLinkFieldNumber = 12;
231 inline const ::std::string& upper_right_logo_link()
const;
232 inline void set_upper_right_logo_link(const ::std::string& value);
233 inline void set_upper_right_logo_link(
const char* value);
234 inline void set_upper_right_logo_link(
const char* value,
size_t size);
235 inline ::std::string* mutable_upper_right_logo_link();
236 inline ::std::string* release_upper_right_logo_link();
237 inline void set_allocated_upper_right_logo_link(::std::string* upper_right_logo_link);
242 inline void set_has_base();
243 inline void clear_has_base();
244 inline void set_has_http_address();
245 inline void clear_has_http_address();
246 inline void set_has_http_port();
247 inline void clear_has_http_port();
248 inline void set_has_docroot();
249 inline void clear_has_docroot();
250 inline void set_has_additional_wt_http_params();
251 inline void clear_has_additional_wt_http_params();
252 inline void set_has_update_freq();
253 inline void clear_has_update_freq();
254 inline void set_has_start_paused();
255 inline void clear_has_start_paused();
256 inline void set_has_upper_right_logo();
257 inline void clear_has_upper_right_logo();
258 inline void set_has_upper_right_logo_link();
259 inline void clear_has_upper_right_logo_link();
261 ::google::protobuf::internal::ExtensionSet _extensions_;
263 ::google::protobuf::UnknownFieldSet _unknown_fields_;
265 ::google::protobuf::uint32 _has_bits_[1];
266 mutable int _cached_size_;
268 static ::std::string* _default_http_address_;
269 ::std::string* http_address_;
270 static ::std::string* _default_docroot_;
271 ::std::string* docroot_;
272 ::google::protobuf::uint32 http_port_;
274 ::std::string* additional_wt_http_params_;
275 ::google::protobuf::RepeatedPtrField< ::std::string> load_shared_library_;
276 ::google::protobuf::RepeatedPtrField< ::std::string> load_proto_file_;
277 ::google::protobuf::RepeatedPtrField< ::std::string> load_proto_dir_;
278 ::std::string* upper_right_logo_;
279 ::std::string* upper_right_logo_link_;
281 friend void protobuf_AddDesc_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto();
282 friend void protobuf_AssignDesc_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto();
283 friend void protobuf_ShutdownFile_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto();
285 void InitAsDefaultInstance();
296 inline bool LiaisonConfig::has_base()
const {
297 return (_has_bits_[0] & 0x00000001u) != 0;
299 inline void LiaisonConfig::set_has_base() {
300 _has_bits_[0] |= 0x00000001u;
302 inline void LiaisonConfig::clear_has_base() {
303 _has_bits_[0] &= ~0x00000001u;
305 inline void LiaisonConfig::clear_base() {
306 if (base_ != NULL) base_->::AppBaseConfig::Clear();
309 inline const ::AppBaseConfig& LiaisonConfig::base()
const {
311 return base_ != NULL ? *base_ : *default_instance_->base_;
313 inline ::AppBaseConfig* LiaisonConfig::mutable_base() {
315 if (base_ == NULL) base_ = new ::AppBaseConfig;
319 inline ::AppBaseConfig* LiaisonConfig::release_base() {
325 inline void LiaisonConfig::set_allocated_base(::
AppBaseConfig* base) {
337 inline bool LiaisonConfig::has_http_address()
const {
338 return (_has_bits_[0] & 0x00000002u) != 0;
340 inline void LiaisonConfig::set_has_http_address() {
341 _has_bits_[0] |= 0x00000002u;
343 inline void LiaisonConfig::clear_has_http_address() {
344 _has_bits_[0] &= ~0x00000002u;
346 inline void LiaisonConfig::clear_http_address() {
347 if (http_address_ != _default_http_address_) {
348 http_address_->assign(*_default_http_address_);
350 clear_has_http_address();
352 inline const ::std::string& LiaisonConfig::http_address()
const {
354 return *http_address_;
356 inline void LiaisonConfig::set_http_address(const ::std::string& value) {
357 set_has_http_address();
358 if (http_address_ == _default_http_address_) {
359 http_address_ = new ::std::string;
361 http_address_->assign(value);
364 inline void LiaisonConfig::set_http_address(
const char* value) {
365 set_has_http_address();
366 if (http_address_ == _default_http_address_) {
367 http_address_ = new ::std::string;
369 http_address_->assign(value);
372 inline void LiaisonConfig::set_http_address(
const char* value,
size_t size) {
373 set_has_http_address();
374 if (http_address_ == _default_http_address_) {
375 http_address_ = new ::std::string;
377 http_address_->assign(reinterpret_cast<const char*>(value), size);
380 inline ::std::string* LiaisonConfig::mutable_http_address() {
381 set_has_http_address();
382 if (http_address_ == _default_http_address_) {
383 http_address_ = new ::std::string(*_default_http_address_);
386 return http_address_;
388 inline ::std::string* LiaisonConfig::release_http_address() {
389 clear_has_http_address();
390 if (http_address_ == _default_http_address_) {
393 ::std::string* temp = http_address_;
394 http_address_ =
const_cast< ::std::string*
>(_default_http_address_);
398 inline void LiaisonConfig::set_allocated_http_address(::std::string* http_address) {
399 if (http_address_ != _default_http_address_) {
400 delete http_address_;
403 set_has_http_address();
404 http_address_ = http_address;
406 clear_has_http_address();
407 http_address_ =
const_cast< ::std::string*
>(_default_http_address_);
413 inline bool LiaisonConfig::has_http_port()
const {
414 return (_has_bits_[0] & 0x00000004u) != 0;
416 inline void LiaisonConfig::set_has_http_port() {
417 _has_bits_[0] |= 0x00000004u;
419 inline void LiaisonConfig::clear_has_http_port() {
420 _has_bits_[0] &= ~0x00000004u;
422 inline void LiaisonConfig::clear_http_port() {
424 clear_has_http_port();
426 inline ::google::protobuf::uint32 LiaisonConfig::http_port()
const {
430 inline void LiaisonConfig::set_http_port(::google::protobuf::uint32 value) {
437 inline bool LiaisonConfig::has_docroot()
const {
438 return (_has_bits_[0] & 0x00000008u) != 0;
440 inline void LiaisonConfig::set_has_docroot() {
441 _has_bits_[0] |= 0x00000008u;
443 inline void LiaisonConfig::clear_has_docroot() {
444 _has_bits_[0] &= ~0x00000008u;
446 inline void LiaisonConfig::clear_docroot() {
447 if (docroot_ != _default_docroot_) {
448 docroot_->assign(*_default_docroot_);
452 inline const ::std::string& LiaisonConfig::docroot()
const {
456 inline void LiaisonConfig::set_docroot(const ::std::string& value) {
458 if (docroot_ == _default_docroot_) {
459 docroot_ = new ::std::string;
461 docroot_->assign(value);
464 inline void LiaisonConfig::set_docroot(
const char* value) {
466 if (docroot_ == _default_docroot_) {
467 docroot_ = new ::std::string;
469 docroot_->assign(value);
472 inline void LiaisonConfig::set_docroot(
const char* value,
size_t size) {
474 if (docroot_ == _default_docroot_) {
475 docroot_ = new ::std::string;
477 docroot_->assign(reinterpret_cast<const char*>(value), size);
480 inline ::std::string* LiaisonConfig::mutable_docroot() {
482 if (docroot_ == _default_docroot_) {
483 docroot_ = new ::std::string(*_default_docroot_);
488 inline ::std::string* LiaisonConfig::release_docroot() {
490 if (docroot_ == _default_docroot_) {
493 ::std::string* temp = docroot_;
494 docroot_ =
const_cast< ::std::string*
>(_default_docroot_);
498 inline void LiaisonConfig::set_allocated_docroot(::std::string* docroot) {
499 if (docroot_ != _default_docroot_) {
507 docroot_ =
const_cast< ::std::string*
>(_default_docroot_);
513 inline bool LiaisonConfig::has_additional_wt_http_params()
const {
514 return (_has_bits_[0] & 0x00000010u) != 0;
516 inline void LiaisonConfig::set_has_additional_wt_http_params() {
517 _has_bits_[0] |= 0x00000010u;
519 inline void LiaisonConfig::clear_has_additional_wt_http_params() {
520 _has_bits_[0] &= ~0x00000010u;
522 inline void LiaisonConfig::clear_additional_wt_http_params() {
523 if (additional_wt_http_params_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
524 additional_wt_http_params_->clear();
526 clear_has_additional_wt_http_params();
528 inline const ::std::string& LiaisonConfig::additional_wt_http_params()
const {
530 return *additional_wt_http_params_;
532 inline void LiaisonConfig::set_additional_wt_http_params(const ::std::string& value) {
533 set_has_additional_wt_http_params();
534 if (additional_wt_http_params_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
535 additional_wt_http_params_ = new ::std::string;
537 additional_wt_http_params_->assign(value);
540 inline void LiaisonConfig::set_additional_wt_http_params(
const char* value) {
541 set_has_additional_wt_http_params();
542 if (additional_wt_http_params_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
543 additional_wt_http_params_ = new ::std::string;
545 additional_wt_http_params_->assign(value);
548 inline void LiaisonConfig::set_additional_wt_http_params(
const char* value,
size_t size) {
549 set_has_additional_wt_http_params();
550 if (additional_wt_http_params_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
551 additional_wt_http_params_ = new ::std::string;
553 additional_wt_http_params_->assign(reinterpret_cast<const char*>(value), size);
556 inline ::std::string* LiaisonConfig::mutable_additional_wt_http_params() {
557 set_has_additional_wt_http_params();
558 if (additional_wt_http_params_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
559 additional_wt_http_params_ = new ::std::string;
562 return additional_wt_http_params_;
564 inline ::std::string* LiaisonConfig::release_additional_wt_http_params() {
565 clear_has_additional_wt_http_params();
566 if (additional_wt_http_params_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
569 ::std::string* temp = additional_wt_http_params_;
570 additional_wt_http_params_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
574 inline void LiaisonConfig::set_allocated_additional_wt_http_params(::std::string* additional_wt_http_params) {
575 if (additional_wt_http_params_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
576 delete additional_wt_http_params_;
578 if (additional_wt_http_params) {
579 set_has_additional_wt_http_params();
580 additional_wt_http_params_ = additional_wt_http_params;
582 clear_has_additional_wt_http_params();
583 additional_wt_http_params_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
589 inline bool LiaisonConfig::has_update_freq()
const {
590 return (_has_bits_[0] & 0x00000020u) != 0;
592 inline void LiaisonConfig::set_has_update_freq() {
593 _has_bits_[0] |= 0x00000020u;
595 inline void LiaisonConfig::clear_has_update_freq() {
596 _has_bits_[0] &= ~0x00000020u;
598 inline void LiaisonConfig::clear_update_freq() {
600 clear_has_update_freq();
602 inline float LiaisonConfig::update_freq()
const {
606 inline void LiaisonConfig::set_update_freq(
float value) {
607 set_has_update_freq();
608 update_freq_ = value;
613 inline int LiaisonConfig::load_shared_library_size()
const {
614 return load_shared_library_.size();
616 inline void LiaisonConfig::clear_load_shared_library() {
617 load_shared_library_.Clear();
619 inline const ::std::string& LiaisonConfig::load_shared_library(
int index)
const {
621 return load_shared_library_.Get(index);
623 inline ::std::string* LiaisonConfig::mutable_load_shared_library(
int index) {
625 return load_shared_library_.Mutable(index);
627 inline void LiaisonConfig::set_load_shared_library(
int index, const ::std::string& value) {
629 load_shared_library_.Mutable(index)->assign(value);
631 inline void LiaisonConfig::set_load_shared_library(
int index,
const char* value) {
632 load_shared_library_.Mutable(index)->assign(value);
635 inline void LiaisonConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
636 load_shared_library_.Mutable(index)->assign(
637 reinterpret_cast<const char*>(value), size);
640 inline ::std::string* LiaisonConfig::add_load_shared_library() {
641 return load_shared_library_.Add();
643 inline void LiaisonConfig::add_load_shared_library(const ::std::string& value) {
644 load_shared_library_.Add()->assign(value);
647 inline void LiaisonConfig::add_load_shared_library(
const char* value) {
648 load_shared_library_.Add()->assign(value);
651 inline void LiaisonConfig::add_load_shared_library(
const char* value,
size_t size) {
652 load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
655 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
656 LiaisonConfig::load_shared_library()
const {
658 return load_shared_library_;
660 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
661 LiaisonConfig::mutable_load_shared_library() {
663 return &load_shared_library_;
667 inline int LiaisonConfig::load_proto_file_size()
const {
668 return load_proto_file_.size();
670 inline void LiaisonConfig::clear_load_proto_file() {
671 load_proto_file_.Clear();
673 inline const ::std::string& LiaisonConfig::load_proto_file(
int index)
const {
675 return load_proto_file_.Get(index);
677 inline ::std::string* LiaisonConfig::mutable_load_proto_file(
int index) {
679 return load_proto_file_.Mutable(index);
681 inline void LiaisonConfig::set_load_proto_file(
int index, const ::std::string& value) {
683 load_proto_file_.Mutable(index)->assign(value);
685 inline void LiaisonConfig::set_load_proto_file(
int index,
const char* value) {
686 load_proto_file_.Mutable(index)->assign(value);
689 inline void LiaisonConfig::set_load_proto_file(
int index,
const char* value,
size_t size) {
690 load_proto_file_.Mutable(index)->assign(
691 reinterpret_cast<const char*>(value), size);
694 inline ::std::string* LiaisonConfig::add_load_proto_file() {
695 return load_proto_file_.Add();
697 inline void LiaisonConfig::add_load_proto_file(const ::std::string& value) {
698 load_proto_file_.Add()->assign(value);
701 inline void LiaisonConfig::add_load_proto_file(
const char* value) {
702 load_proto_file_.Add()->assign(value);
705 inline void LiaisonConfig::add_load_proto_file(
const char* value,
size_t size) {
706 load_proto_file_.Add()->assign(reinterpret_cast<const char*>(value), size);
709 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
710 LiaisonConfig::load_proto_file()
const {
712 return load_proto_file_;
714 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
715 LiaisonConfig::mutable_load_proto_file() {
717 return &load_proto_file_;
721 inline int LiaisonConfig::load_proto_dir_size()
const {
722 return load_proto_dir_.size();
724 inline void LiaisonConfig::clear_load_proto_dir() {
725 load_proto_dir_.Clear();
727 inline const ::std::string& LiaisonConfig::load_proto_dir(
int index)
const {
729 return load_proto_dir_.Get(index);
731 inline ::std::string* LiaisonConfig::mutable_load_proto_dir(
int index) {
733 return load_proto_dir_.Mutable(index);
735 inline void LiaisonConfig::set_load_proto_dir(
int index, const ::std::string& value) {
737 load_proto_dir_.Mutable(index)->assign(value);
739 inline void LiaisonConfig::set_load_proto_dir(
int index,
const char* value) {
740 load_proto_dir_.Mutable(index)->assign(value);
743 inline void LiaisonConfig::set_load_proto_dir(
int index,
const char* value,
size_t size) {
744 load_proto_dir_.Mutable(index)->assign(
745 reinterpret_cast<const char*>(value), size);
748 inline ::std::string* LiaisonConfig::add_load_proto_dir() {
749 return load_proto_dir_.Add();
751 inline void LiaisonConfig::add_load_proto_dir(const ::std::string& value) {
752 load_proto_dir_.Add()->assign(value);
755 inline void LiaisonConfig::add_load_proto_dir(
const char* value) {
756 load_proto_dir_.Add()->assign(value);
759 inline void LiaisonConfig::add_load_proto_dir(
const char* value,
size_t size) {
760 load_proto_dir_.Add()->assign(reinterpret_cast<const char*>(value), size);
763 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
764 LiaisonConfig::load_proto_dir()
const {
766 return load_proto_dir_;
768 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
769 LiaisonConfig::mutable_load_proto_dir() {
771 return &load_proto_dir_;
775 inline bool LiaisonConfig::has_start_paused()
const {
776 return (_has_bits_[0] & 0x00000200u) != 0;
778 inline void LiaisonConfig::set_has_start_paused() {
779 _has_bits_[0] |= 0x00000200u;
781 inline void LiaisonConfig::clear_has_start_paused() {
782 _has_bits_[0] &= ~0x00000200u;
784 inline void LiaisonConfig::clear_start_paused() {
785 start_paused_ =
false;
786 clear_has_start_paused();
788 inline bool LiaisonConfig::start_paused()
const {
790 return start_paused_;
792 inline void LiaisonConfig::set_start_paused(
bool value) {
793 set_has_start_paused();
794 start_paused_ = value;
799 inline bool LiaisonConfig::has_upper_right_logo()
const {
800 return (_has_bits_[0] & 0x00000400u) != 0;
802 inline void LiaisonConfig::set_has_upper_right_logo() {
803 _has_bits_[0] |= 0x00000400u;
805 inline void LiaisonConfig::clear_has_upper_right_logo() {
806 _has_bits_[0] &= ~0x00000400u;
808 inline void LiaisonConfig::clear_upper_right_logo() {
809 if (upper_right_logo_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
810 upper_right_logo_->clear();
812 clear_has_upper_right_logo();
814 inline const ::std::string& LiaisonConfig::upper_right_logo()
const {
816 return *upper_right_logo_;
818 inline void LiaisonConfig::set_upper_right_logo(const ::std::string& value) {
819 set_has_upper_right_logo();
820 if (upper_right_logo_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
821 upper_right_logo_ = new ::std::string;
823 upper_right_logo_->assign(value);
826 inline void LiaisonConfig::set_upper_right_logo(
const char* value) {
827 set_has_upper_right_logo();
828 if (upper_right_logo_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
829 upper_right_logo_ = new ::std::string;
831 upper_right_logo_->assign(value);
834 inline void LiaisonConfig::set_upper_right_logo(
const char* value,
size_t size) {
835 set_has_upper_right_logo();
836 if (upper_right_logo_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
837 upper_right_logo_ = new ::std::string;
839 upper_right_logo_->assign(reinterpret_cast<const char*>(value), size);
842 inline ::std::string* LiaisonConfig::mutable_upper_right_logo() {
843 set_has_upper_right_logo();
844 if (upper_right_logo_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
845 upper_right_logo_ = new ::std::string;
848 return upper_right_logo_;
850 inline ::std::string* LiaisonConfig::release_upper_right_logo() {
851 clear_has_upper_right_logo();
852 if (upper_right_logo_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
855 ::std::string* temp = upper_right_logo_;
856 upper_right_logo_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
860 inline void LiaisonConfig::set_allocated_upper_right_logo(::std::string* upper_right_logo) {
861 if (upper_right_logo_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
862 delete upper_right_logo_;
864 if (upper_right_logo) {
865 set_has_upper_right_logo();
866 upper_right_logo_ = upper_right_logo;
868 clear_has_upper_right_logo();
869 upper_right_logo_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
875 inline bool LiaisonConfig::has_upper_right_logo_link()
const {
876 return (_has_bits_[0] & 0x00000800u) != 0;
878 inline void LiaisonConfig::set_has_upper_right_logo_link() {
879 _has_bits_[0] |= 0x00000800u;
881 inline void LiaisonConfig::clear_has_upper_right_logo_link() {
882 _has_bits_[0] &= ~0x00000800u;
884 inline void LiaisonConfig::clear_upper_right_logo_link() {
885 if (upper_right_logo_link_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
886 upper_right_logo_link_->clear();
888 clear_has_upper_right_logo_link();
890 inline const ::std::string& LiaisonConfig::upper_right_logo_link()
const {
892 return *upper_right_logo_link_;
894 inline void LiaisonConfig::set_upper_right_logo_link(const ::std::string& value) {
895 set_has_upper_right_logo_link();
896 if (upper_right_logo_link_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
897 upper_right_logo_link_ = new ::std::string;
899 upper_right_logo_link_->assign(value);
902 inline void LiaisonConfig::set_upper_right_logo_link(
const char* value) {
903 set_has_upper_right_logo_link();
904 if (upper_right_logo_link_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
905 upper_right_logo_link_ = new ::std::string;
907 upper_right_logo_link_->assign(value);
910 inline void LiaisonConfig::set_upper_right_logo_link(
const char* value,
size_t size) {
911 set_has_upper_right_logo_link();
912 if (upper_right_logo_link_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
913 upper_right_logo_link_ = new ::std::string;
915 upper_right_logo_link_->assign(reinterpret_cast<const char*>(value), size);
918 inline ::std::string* LiaisonConfig::mutable_upper_right_logo_link() {
919 set_has_upper_right_logo_link();
920 if (upper_right_logo_link_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
921 upper_right_logo_link_ = new ::std::string;
924 return upper_right_logo_link_;
926 inline ::std::string* LiaisonConfig::release_upper_right_logo_link() {
927 clear_has_upper_right_logo_link();
928 if (upper_right_logo_link_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
931 ::std::string* temp = upper_right_logo_link_;
932 upper_right_logo_link_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
936 inline void LiaisonConfig::set_allocated_upper_right_logo_link(::std::string* upper_right_logo_link) {
937 if (upper_right_logo_link_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
938 delete upper_right_logo_link_;
940 if (upper_right_logo_link) {
941 set_has_upper_right_logo_link();
942 upper_right_logo_link_ = upper_right_logo_link;
944 clear_has_upper_right_logo_link();
945 upper_right_logo_link_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
968 #endif // PROTOBUF_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto__INCLUDED
The global namespace for the Goby project.