Goby v2
liaison_config.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/common/protobuf/liaison_config.proto
3 
4 #ifndef PROTOBUF_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
33 // @@protoc_insertion_point(includes)
34 
35 namespace goby {
36 namespace common {
37 namespace protobuf {
38 
39 // Internal implementation detail -- do not call these.
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();
43 
44 class LiaisonConfig;
45 
46 // ===================================================================
47 
48 class LiaisonConfig : public ::google::protobuf::Message {
49  public:
50  LiaisonConfig();
51  virtual ~LiaisonConfig();
52 
53  LiaisonConfig(const LiaisonConfig& from);
54 
55  inline LiaisonConfig& operator=(const LiaisonConfig& from) {
56  CopyFrom(from);
57  return *this;
58  }
59 
60  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
61  return _unknown_fields_;
62  }
63 
64  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
65  return &_unknown_fields_;
66  }
67 
68  static const ::google::protobuf::Descriptor* descriptor();
69  static const LiaisonConfig& default_instance();
70 
71  void Swap(LiaisonConfig* other);
72 
73  // implements Message ----------------------------------------------
74 
75  LiaisonConfig* New() const;
76  void CopyFrom(const ::google::protobuf::Message& from);
77  void MergeFrom(const ::google::protobuf::Message& from);
78  void CopyFrom(const LiaisonConfig& from);
79  void MergeFrom(const LiaisonConfig& from);
80  void Clear();
81  bool IsInitialized() const;
82 
83  int ByteSize() 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_; }
90  private:
91  void SharedCtor();
92  void SharedDtor();
93  void SetCachedSize(int size) const;
94  public:
95  ::google::protobuf::Metadata GetMetadata() const;
96 
97  // nested types ----------------------------------------------------
98 
99  // accessors -------------------------------------------------------
100 
101  // optional .AppBaseConfig base = 1;
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();
108  inline void set_allocated_base(::AppBaseConfig* base);
109 
110  // optional string http_address = 2 [default = "localhost"];
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);
121 
122  // optional uint32 http_port = 3 [default = 54321];
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);
128 
129  // optional string docroot = 4 [default = "/usr/share/goby/liaison"];
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);
140 
141  // optional string additional_wt_http_params = 5;
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);
152 
153  // optional float update_freq = 6 [default = 5];
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);
159 
160  // repeated string load_shared_library = 7;
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();
175 
176  // repeated string load_proto_file = 8;
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();
191 
192  // repeated string load_proto_dir = 9;
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();
207 
208  // optional bool start_paused = 10 [default = false];
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);
214 
215  // optional string upper_right_logo = 11;
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);
226 
227  // optional string upper_right_logo_link = 12;
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);
238 
239  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(LiaisonConfig)
240  // @@protoc_insertion_point(class_scope:goby.common.protobuf.LiaisonConfig)
241  private:
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();
260 
261  ::google::protobuf::internal::ExtensionSet _extensions_;
262 
263  ::google::protobuf::UnknownFieldSet _unknown_fields_;
264 
265  ::google::protobuf::uint32 _has_bits_[1];
266  mutable int _cached_size_;
267  ::AppBaseConfig* base_;
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_;
273  float update_freq_;
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_;
280  bool start_paused_;
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();
284 
285  void InitAsDefaultInstance();
286  static LiaisonConfig* default_instance_;
287 };
288 // ===================================================================
289 
290 
291 // ===================================================================
292 
293 // LiaisonConfig
294 
295 // optional .AppBaseConfig base = 1;
296 inline bool LiaisonConfig::has_base() const {
297  return (_has_bits_[0] & 0x00000001u) != 0;
298 }
299 inline void LiaisonConfig::set_has_base() {
300  _has_bits_[0] |= 0x00000001u;
301 }
302 inline void LiaisonConfig::clear_has_base() {
303  _has_bits_[0] &= ~0x00000001u;
304 }
305 inline void LiaisonConfig::clear_base() {
306  if (base_ != NULL) base_->::AppBaseConfig::Clear();
307  clear_has_base();
308 }
309 inline const ::AppBaseConfig& LiaisonConfig::base() const {
310  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.base)
311  return base_ != NULL ? *base_ : *default_instance_->base_;
312 }
313 inline ::AppBaseConfig* LiaisonConfig::mutable_base() {
314  set_has_base();
315  if (base_ == NULL) base_ = new ::AppBaseConfig;
316  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.base)
317  return base_;
318 }
319 inline ::AppBaseConfig* LiaisonConfig::release_base() {
320  clear_has_base();
321  ::AppBaseConfig* temp = base_;
322  base_ = NULL;
323  return temp;
324 }
325 inline void LiaisonConfig::set_allocated_base(::AppBaseConfig* base) {
326  delete base_;
327  base_ = base;
328  if (base) {
329  set_has_base();
330  } else {
331  clear_has_base();
332  }
333  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.LiaisonConfig.base)
334 }
335 
336 // optional string http_address = 2 [default = "localhost"];
337 inline bool LiaisonConfig::has_http_address() const {
338  return (_has_bits_[0] & 0x00000002u) != 0;
339 }
340 inline void LiaisonConfig::set_has_http_address() {
341  _has_bits_[0] |= 0x00000002u;
342 }
343 inline void LiaisonConfig::clear_has_http_address() {
344  _has_bits_[0] &= ~0x00000002u;
345 }
346 inline void LiaisonConfig::clear_http_address() {
347  if (http_address_ != _default_http_address_) {
348  http_address_->assign(*_default_http_address_);
349  }
350  clear_has_http_address();
351 }
352 inline const ::std::string& LiaisonConfig::http_address() const {
353  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.http_address)
354  return *http_address_;
355 }
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;
360  }
361  http_address_->assign(value);
362  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.http_address)
363 }
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;
368  }
369  http_address_->assign(value);
370  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.http_address)
371 }
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;
376  }
377  http_address_->assign(reinterpret_cast<const char*>(value), size);
378  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.http_address)
379 }
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_);
384  }
385  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.http_address)
386  return http_address_;
387 }
388 inline ::std::string* LiaisonConfig::release_http_address() {
389  clear_has_http_address();
390  if (http_address_ == _default_http_address_) {
391  return NULL;
392  } else {
393  ::std::string* temp = http_address_;
394  http_address_ = const_cast< ::std::string*>(_default_http_address_);
395  return temp;
396  }
397 }
398 inline void LiaisonConfig::set_allocated_http_address(::std::string* http_address) {
399  if (http_address_ != _default_http_address_) {
400  delete http_address_;
401  }
402  if (http_address) {
403  set_has_http_address();
404  http_address_ = http_address;
405  } else {
406  clear_has_http_address();
407  http_address_ = const_cast< ::std::string*>(_default_http_address_);
408  }
409  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.LiaisonConfig.http_address)
410 }
411 
412 // optional uint32 http_port = 3 [default = 54321];
413 inline bool LiaisonConfig::has_http_port() const {
414  return (_has_bits_[0] & 0x00000004u) != 0;
415 }
416 inline void LiaisonConfig::set_has_http_port() {
417  _has_bits_[0] |= 0x00000004u;
418 }
419 inline void LiaisonConfig::clear_has_http_port() {
420  _has_bits_[0] &= ~0x00000004u;
421 }
422 inline void LiaisonConfig::clear_http_port() {
423  http_port_ = 54321u;
424  clear_has_http_port();
425 }
426 inline ::google::protobuf::uint32 LiaisonConfig::http_port() const {
427  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.http_port)
428  return http_port_;
429 }
430 inline void LiaisonConfig::set_http_port(::google::protobuf::uint32 value) {
431  set_has_http_port();
432  http_port_ = value;
433  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.http_port)
434 }
435 
436 // optional string docroot = 4 [default = "/usr/share/goby/liaison"];
437 inline bool LiaisonConfig::has_docroot() const {
438  return (_has_bits_[0] & 0x00000008u) != 0;
439 }
440 inline void LiaisonConfig::set_has_docroot() {
441  _has_bits_[0] |= 0x00000008u;
442 }
443 inline void LiaisonConfig::clear_has_docroot() {
444  _has_bits_[0] &= ~0x00000008u;
445 }
446 inline void LiaisonConfig::clear_docroot() {
447  if (docroot_ != _default_docroot_) {
448  docroot_->assign(*_default_docroot_);
449  }
450  clear_has_docroot();
451 }
452 inline const ::std::string& LiaisonConfig::docroot() const {
453  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.docroot)
454  return *docroot_;
455 }
456 inline void LiaisonConfig::set_docroot(const ::std::string& value) {
457  set_has_docroot();
458  if (docroot_ == _default_docroot_) {
459  docroot_ = new ::std::string;
460  }
461  docroot_->assign(value);
462  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.docroot)
463 }
464 inline void LiaisonConfig::set_docroot(const char* value) {
465  set_has_docroot();
466  if (docroot_ == _default_docroot_) {
467  docroot_ = new ::std::string;
468  }
469  docroot_->assign(value);
470  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.docroot)
471 }
472 inline void LiaisonConfig::set_docroot(const char* value, size_t size) {
473  set_has_docroot();
474  if (docroot_ == _default_docroot_) {
475  docroot_ = new ::std::string;
476  }
477  docroot_->assign(reinterpret_cast<const char*>(value), size);
478  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.docroot)
479 }
480 inline ::std::string* LiaisonConfig::mutable_docroot() {
481  set_has_docroot();
482  if (docroot_ == _default_docroot_) {
483  docroot_ = new ::std::string(*_default_docroot_);
484  }
485  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.docroot)
486  return docroot_;
487 }
488 inline ::std::string* LiaisonConfig::release_docroot() {
489  clear_has_docroot();
490  if (docroot_ == _default_docroot_) {
491  return NULL;
492  } else {
493  ::std::string* temp = docroot_;
494  docroot_ = const_cast< ::std::string*>(_default_docroot_);
495  return temp;
496  }
497 }
498 inline void LiaisonConfig::set_allocated_docroot(::std::string* docroot) {
499  if (docroot_ != _default_docroot_) {
500  delete docroot_;
501  }
502  if (docroot) {
503  set_has_docroot();
504  docroot_ = docroot;
505  } else {
506  clear_has_docroot();
507  docroot_ = const_cast< ::std::string*>(_default_docroot_);
508  }
509  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.LiaisonConfig.docroot)
510 }
511 
512 // optional string additional_wt_http_params = 5;
513 inline bool LiaisonConfig::has_additional_wt_http_params() const {
514  return (_has_bits_[0] & 0x00000010u) != 0;
515 }
516 inline void LiaisonConfig::set_has_additional_wt_http_params() {
517  _has_bits_[0] |= 0x00000010u;
518 }
519 inline void LiaisonConfig::clear_has_additional_wt_http_params() {
520  _has_bits_[0] &= ~0x00000010u;
521 }
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();
525  }
526  clear_has_additional_wt_http_params();
527 }
528 inline const ::std::string& LiaisonConfig::additional_wt_http_params() const {
529  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.additional_wt_http_params)
530  return *additional_wt_http_params_;
531 }
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;
536  }
537  additional_wt_http_params_->assign(value);
538  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.additional_wt_http_params)
539 }
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;
544  }
545  additional_wt_http_params_->assign(value);
546  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.additional_wt_http_params)
547 }
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;
552  }
553  additional_wt_http_params_->assign(reinterpret_cast<const char*>(value), size);
554  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.additional_wt_http_params)
555 }
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;
560  }
561  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.additional_wt_http_params)
562  return additional_wt_http_params_;
563 }
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()) {
567  return NULL;
568  } else {
569  ::std::string* temp = additional_wt_http_params_;
570  additional_wt_http_params_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
571  return temp;
572  }
573 }
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_;
577  }
578  if (additional_wt_http_params) {
579  set_has_additional_wt_http_params();
580  additional_wt_http_params_ = additional_wt_http_params;
581  } else {
582  clear_has_additional_wt_http_params();
583  additional_wt_http_params_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
584  }
585  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.LiaisonConfig.additional_wt_http_params)
586 }
587 
588 // optional float update_freq = 6 [default = 5];
589 inline bool LiaisonConfig::has_update_freq() const {
590  return (_has_bits_[0] & 0x00000020u) != 0;
591 }
592 inline void LiaisonConfig::set_has_update_freq() {
593  _has_bits_[0] |= 0x00000020u;
594 }
595 inline void LiaisonConfig::clear_has_update_freq() {
596  _has_bits_[0] &= ~0x00000020u;
597 }
598 inline void LiaisonConfig::clear_update_freq() {
599  update_freq_ = 5;
600  clear_has_update_freq();
601 }
602 inline float LiaisonConfig::update_freq() const {
603  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.update_freq)
604  return update_freq_;
605 }
606 inline void LiaisonConfig::set_update_freq(float value) {
607  set_has_update_freq();
608  update_freq_ = value;
609  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.update_freq)
610 }
611 
612 // repeated string load_shared_library = 7;
613 inline int LiaisonConfig::load_shared_library_size() const {
614  return load_shared_library_.size();
615 }
616 inline void LiaisonConfig::clear_load_shared_library() {
617  load_shared_library_.Clear();
618 }
619 inline const ::std::string& LiaisonConfig::load_shared_library(int index) const {
620  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.load_shared_library)
621  return load_shared_library_.Get(index);
622 }
623 inline ::std::string* LiaisonConfig::mutable_load_shared_library(int index) {
624  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.load_shared_library)
625  return load_shared_library_.Mutable(index);
626 }
627 inline void LiaisonConfig::set_load_shared_library(int index, const ::std::string& value) {
628  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.load_shared_library)
629  load_shared_library_.Mutable(index)->assign(value);
630 }
631 inline void LiaisonConfig::set_load_shared_library(int index, const char* value) {
632  load_shared_library_.Mutable(index)->assign(value);
633  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.load_shared_library)
634 }
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);
638  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.load_shared_library)
639 }
640 inline ::std::string* LiaisonConfig::add_load_shared_library() {
641  return load_shared_library_.Add();
642 }
643 inline void LiaisonConfig::add_load_shared_library(const ::std::string& value) {
644  load_shared_library_.Add()->assign(value);
645  // @@protoc_insertion_point(field_add:goby.common.protobuf.LiaisonConfig.load_shared_library)
646 }
647 inline void LiaisonConfig::add_load_shared_library(const char* value) {
648  load_shared_library_.Add()->assign(value);
649  // @@protoc_insertion_point(field_add_char:goby.common.protobuf.LiaisonConfig.load_shared_library)
650 }
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);
653  // @@protoc_insertion_point(field_add_pointer:goby.common.protobuf.LiaisonConfig.load_shared_library)
654 }
655 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
656 LiaisonConfig::load_shared_library() const {
657  // @@protoc_insertion_point(field_list:goby.common.protobuf.LiaisonConfig.load_shared_library)
658  return load_shared_library_;
659 }
660 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
661 LiaisonConfig::mutable_load_shared_library() {
662  // @@protoc_insertion_point(field_mutable_list:goby.common.protobuf.LiaisonConfig.load_shared_library)
663  return &load_shared_library_;
664 }
665 
666 // repeated string load_proto_file = 8;
667 inline int LiaisonConfig::load_proto_file_size() const {
668  return load_proto_file_.size();
669 }
670 inline void LiaisonConfig::clear_load_proto_file() {
671  load_proto_file_.Clear();
672 }
673 inline const ::std::string& LiaisonConfig::load_proto_file(int index) const {
674  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.load_proto_file)
675  return load_proto_file_.Get(index);
676 }
677 inline ::std::string* LiaisonConfig::mutable_load_proto_file(int index) {
678  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.load_proto_file)
679  return load_proto_file_.Mutable(index);
680 }
681 inline void LiaisonConfig::set_load_proto_file(int index, const ::std::string& value) {
682  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.load_proto_file)
683  load_proto_file_.Mutable(index)->assign(value);
684 }
685 inline void LiaisonConfig::set_load_proto_file(int index, const char* value) {
686  load_proto_file_.Mutable(index)->assign(value);
687  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.load_proto_file)
688 }
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);
692  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.load_proto_file)
693 }
694 inline ::std::string* LiaisonConfig::add_load_proto_file() {
695  return load_proto_file_.Add();
696 }
697 inline void LiaisonConfig::add_load_proto_file(const ::std::string& value) {
698  load_proto_file_.Add()->assign(value);
699  // @@protoc_insertion_point(field_add:goby.common.protobuf.LiaisonConfig.load_proto_file)
700 }
701 inline void LiaisonConfig::add_load_proto_file(const char* value) {
702  load_proto_file_.Add()->assign(value);
703  // @@protoc_insertion_point(field_add_char:goby.common.protobuf.LiaisonConfig.load_proto_file)
704 }
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);
707  // @@protoc_insertion_point(field_add_pointer:goby.common.protobuf.LiaisonConfig.load_proto_file)
708 }
709 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
710 LiaisonConfig::load_proto_file() const {
711  // @@protoc_insertion_point(field_list:goby.common.protobuf.LiaisonConfig.load_proto_file)
712  return load_proto_file_;
713 }
714 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
715 LiaisonConfig::mutable_load_proto_file() {
716  // @@protoc_insertion_point(field_mutable_list:goby.common.protobuf.LiaisonConfig.load_proto_file)
717  return &load_proto_file_;
718 }
719 
720 // repeated string load_proto_dir = 9;
721 inline int LiaisonConfig::load_proto_dir_size() const {
722  return load_proto_dir_.size();
723 }
724 inline void LiaisonConfig::clear_load_proto_dir() {
725  load_proto_dir_.Clear();
726 }
727 inline const ::std::string& LiaisonConfig::load_proto_dir(int index) const {
728  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.load_proto_dir)
729  return load_proto_dir_.Get(index);
730 }
731 inline ::std::string* LiaisonConfig::mutable_load_proto_dir(int index) {
732  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.load_proto_dir)
733  return load_proto_dir_.Mutable(index);
734 }
735 inline void LiaisonConfig::set_load_proto_dir(int index, const ::std::string& value) {
736  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.load_proto_dir)
737  load_proto_dir_.Mutable(index)->assign(value);
738 }
739 inline void LiaisonConfig::set_load_proto_dir(int index, const char* value) {
740  load_proto_dir_.Mutable(index)->assign(value);
741  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.load_proto_dir)
742 }
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);
746  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.load_proto_dir)
747 }
748 inline ::std::string* LiaisonConfig::add_load_proto_dir() {
749  return load_proto_dir_.Add();
750 }
751 inline void LiaisonConfig::add_load_proto_dir(const ::std::string& value) {
752  load_proto_dir_.Add()->assign(value);
753  // @@protoc_insertion_point(field_add:goby.common.protobuf.LiaisonConfig.load_proto_dir)
754 }
755 inline void LiaisonConfig::add_load_proto_dir(const char* value) {
756  load_proto_dir_.Add()->assign(value);
757  // @@protoc_insertion_point(field_add_char:goby.common.protobuf.LiaisonConfig.load_proto_dir)
758 }
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);
761  // @@protoc_insertion_point(field_add_pointer:goby.common.protobuf.LiaisonConfig.load_proto_dir)
762 }
763 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
764 LiaisonConfig::load_proto_dir() const {
765  // @@protoc_insertion_point(field_list:goby.common.protobuf.LiaisonConfig.load_proto_dir)
766  return load_proto_dir_;
767 }
768 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
769 LiaisonConfig::mutable_load_proto_dir() {
770  // @@protoc_insertion_point(field_mutable_list:goby.common.protobuf.LiaisonConfig.load_proto_dir)
771  return &load_proto_dir_;
772 }
773 
774 // optional bool start_paused = 10 [default = false];
775 inline bool LiaisonConfig::has_start_paused() const {
776  return (_has_bits_[0] & 0x00000200u) != 0;
777 }
778 inline void LiaisonConfig::set_has_start_paused() {
779  _has_bits_[0] |= 0x00000200u;
780 }
781 inline void LiaisonConfig::clear_has_start_paused() {
782  _has_bits_[0] &= ~0x00000200u;
783 }
784 inline void LiaisonConfig::clear_start_paused() {
785  start_paused_ = false;
786  clear_has_start_paused();
787 }
788 inline bool LiaisonConfig::start_paused() const {
789  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.start_paused)
790  return start_paused_;
791 }
792 inline void LiaisonConfig::set_start_paused(bool value) {
793  set_has_start_paused();
794  start_paused_ = value;
795  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.start_paused)
796 }
797 
798 // optional string upper_right_logo = 11;
799 inline bool LiaisonConfig::has_upper_right_logo() const {
800  return (_has_bits_[0] & 0x00000400u) != 0;
801 }
802 inline void LiaisonConfig::set_has_upper_right_logo() {
803  _has_bits_[0] |= 0x00000400u;
804 }
805 inline void LiaisonConfig::clear_has_upper_right_logo() {
806  _has_bits_[0] &= ~0x00000400u;
807 }
808 inline void LiaisonConfig::clear_upper_right_logo() {
809  if (upper_right_logo_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
810  upper_right_logo_->clear();
811  }
812  clear_has_upper_right_logo();
813 }
814 inline const ::std::string& LiaisonConfig::upper_right_logo() const {
815  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.upper_right_logo)
816  return *upper_right_logo_;
817 }
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;
822  }
823  upper_right_logo_->assign(value);
824  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.upper_right_logo)
825 }
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;
830  }
831  upper_right_logo_->assign(value);
832  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.upper_right_logo)
833 }
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;
838  }
839  upper_right_logo_->assign(reinterpret_cast<const char*>(value), size);
840  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.upper_right_logo)
841 }
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;
846  }
847  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.upper_right_logo)
848  return upper_right_logo_;
849 }
850 inline ::std::string* LiaisonConfig::release_upper_right_logo() {
851  clear_has_upper_right_logo();
852  if (upper_right_logo_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
853  return NULL;
854  } else {
855  ::std::string* temp = upper_right_logo_;
856  upper_right_logo_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
857  return temp;
858  }
859 }
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_;
863  }
864  if (upper_right_logo) {
865  set_has_upper_right_logo();
866  upper_right_logo_ = upper_right_logo;
867  } else {
868  clear_has_upper_right_logo();
869  upper_right_logo_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
870  }
871  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.LiaisonConfig.upper_right_logo)
872 }
873 
874 // optional string upper_right_logo_link = 12;
875 inline bool LiaisonConfig::has_upper_right_logo_link() const {
876  return (_has_bits_[0] & 0x00000800u) != 0;
877 }
878 inline void LiaisonConfig::set_has_upper_right_logo_link() {
879  _has_bits_[0] |= 0x00000800u;
880 }
881 inline void LiaisonConfig::clear_has_upper_right_logo_link() {
882  _has_bits_[0] &= ~0x00000800u;
883 }
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();
887  }
888  clear_has_upper_right_logo_link();
889 }
890 inline const ::std::string& LiaisonConfig::upper_right_logo_link() const {
891  // @@protoc_insertion_point(field_get:goby.common.protobuf.LiaisonConfig.upper_right_logo_link)
892  return *upper_right_logo_link_;
893 }
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;
898  }
899  upper_right_logo_link_->assign(value);
900  // @@protoc_insertion_point(field_set:goby.common.protobuf.LiaisonConfig.upper_right_logo_link)
901 }
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;
906  }
907  upper_right_logo_link_->assign(value);
908  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.LiaisonConfig.upper_right_logo_link)
909 }
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;
914  }
915  upper_right_logo_link_->assign(reinterpret_cast<const char*>(value), size);
916  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.LiaisonConfig.upper_right_logo_link)
917 }
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;
922  }
923  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.LiaisonConfig.upper_right_logo_link)
924  return upper_right_logo_link_;
925 }
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()) {
929  return NULL;
930  } else {
931  ::std::string* temp = upper_right_logo_link_;
932  upper_right_logo_link_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
933  return temp;
934  }
935 }
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_;
939  }
940  if (upper_right_logo_link) {
941  set_has_upper_right_logo_link();
942  upper_right_logo_link_ = upper_right_logo_link;
943  } else {
944  clear_has_upper_right_logo_link();
945  upper_right_logo_link_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
946  }
947  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.LiaisonConfig.upper_right_logo_link)
948 }
949 
950 
951 // @@protoc_insertion_point(namespace_scope)
952 
953 } // namespace protobuf
954 } // namespace common
955 } // namespace goby
956 
957 #ifndef SWIG
958 namespace google {
959 namespace protobuf {
960 
961 
962 } // namespace google
963 } // namespace protobuf
964 #endif // SWIG
965 
966 // @@protoc_insertion_point(global_scope)
967 
968 #endif // PROTOBUF_goby_2fcommon_2fprotobuf_2fliaison_5fconfig_2eproto__INCLUDED
The global namespace for the Goby project.