Goby v2
goby_moos_app.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/moos/protobuf/goby_moos_app.proto
3 
4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_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/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "goby/common/protobuf/option_extensions.pb.h"
29 #include "goby/common/protobuf/logger.pb.h"
30 #include "goby/moos/protobuf/translator.pb.h"
31 #include <boost/units/quantity.hpp>
32 #include <boost/units/absolute.hpp>
33 #include <boost/units/dimensionless_type.hpp>
34 #include <boost/units/make_scaled_unit.hpp>
35 // @@protoc_insertion_point(includes)
36 
37 // Internal implementation detail -- do not call these.
38 void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
39 void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
40 void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
41 
42 class GobyMOOSAppConfig;
44 
45 enum GobyMOOSAppConfig_Initializer_Type {
46  GobyMOOSAppConfig_Initializer_Type_INI_DOUBLE = 1,
47  GobyMOOSAppConfig_Initializer_Type_INI_STRING = 2
48 };
49 bool GobyMOOSAppConfig_Initializer_Type_IsValid(int value);
50 const GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer_Type_Type_MIN = GobyMOOSAppConfig_Initializer_Type_INI_DOUBLE;
51 const GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer_Type_Type_MAX = GobyMOOSAppConfig_Initializer_Type_INI_STRING;
52 const int GobyMOOSAppConfig_Initializer_Type_Type_ARRAYSIZE = GobyMOOSAppConfig_Initializer_Type_Type_MAX + 1;
53 
54 const ::google::protobuf::EnumDescriptor* GobyMOOSAppConfig_Initializer_Type_descriptor();
55 inline const ::std::string& GobyMOOSAppConfig_Initializer_Type_Name(GobyMOOSAppConfig_Initializer_Type value) {
56  return ::google::protobuf::internal::NameOfEnum(
57  GobyMOOSAppConfig_Initializer_Type_descriptor(), value);
58 }
59 inline bool GobyMOOSAppConfig_Initializer_Type_Parse(
60  const ::std::string& name, GobyMOOSAppConfig_Initializer_Type* value) {
61  return ::google::protobuf::internal::ParseNamedEnum<GobyMOOSAppConfig_Initializer_Type>(
62  GobyMOOSAppConfig_Initializer_Type_descriptor(), name, value);
63 }
64 // ===================================================================
65 
66 class GobyMOOSAppConfig_Initializer : public ::google::protobuf::Message {
67  public:
70 
72 
73  inline GobyMOOSAppConfig_Initializer& operator=(const GobyMOOSAppConfig_Initializer& from) {
74  CopyFrom(from);
75  return *this;
76  }
77 
78  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
79  return _unknown_fields_;
80  }
81 
82  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
83  return &_unknown_fields_;
84  }
85 
86  static const ::google::protobuf::Descriptor* descriptor();
87  static const GobyMOOSAppConfig_Initializer& default_instance();
88 
89  void Swap(GobyMOOSAppConfig_Initializer* other);
90 
91  // implements Message ----------------------------------------------
92 
93  GobyMOOSAppConfig_Initializer* New() const;
94  void CopyFrom(const ::google::protobuf::Message& from);
95  void MergeFrom(const ::google::protobuf::Message& from);
96  void CopyFrom(const GobyMOOSAppConfig_Initializer& from);
97  void MergeFrom(const GobyMOOSAppConfig_Initializer& from);
98  void Clear();
99  bool IsInitialized() const;
100 
101  int ByteSize() const;
102  bool MergePartialFromCodedStream(
103  ::google::protobuf::io::CodedInputStream* input);
104  void SerializeWithCachedSizes(
105  ::google::protobuf::io::CodedOutputStream* output) const;
106  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
107  int GetCachedSize() const { return _cached_size_; }
108  private:
109  void SharedCtor();
110  void SharedDtor();
111  void SetCachedSize(int size) const;
112  public:
113  ::google::protobuf::Metadata GetMetadata() const;
114 
115  // nested types ----------------------------------------------------
116 
117  typedef GobyMOOSAppConfig_Initializer_Type Type;
118  static const Type INI_DOUBLE = GobyMOOSAppConfig_Initializer_Type_INI_DOUBLE;
119  static const Type INI_STRING = GobyMOOSAppConfig_Initializer_Type_INI_STRING;
120  static inline bool Type_IsValid(int value) {
121  return GobyMOOSAppConfig_Initializer_Type_IsValid(value);
122  }
123  static const Type Type_MIN =
124  GobyMOOSAppConfig_Initializer_Type_Type_MIN;
125  static const Type Type_MAX =
126  GobyMOOSAppConfig_Initializer_Type_Type_MAX;
127  static const int Type_ARRAYSIZE =
128  GobyMOOSAppConfig_Initializer_Type_Type_ARRAYSIZE;
129  static inline const ::google::protobuf::EnumDescriptor*
130  Type_descriptor() {
131  return GobyMOOSAppConfig_Initializer_Type_descriptor();
132  }
133  static inline const ::std::string& Type_Name(Type value) {
134  return GobyMOOSAppConfig_Initializer_Type_Name(value);
135  }
136  static inline bool Type_Parse(const ::std::string& name,
137  Type* value) {
138  return GobyMOOSAppConfig_Initializer_Type_Parse(name, value);
139  }
140 
141  // accessors -------------------------------------------------------
142 
143  // required .GobyMOOSAppConfig.Initializer.Type type = 1;
144  inline bool has_type() const;
145  inline void clear_type();
146  static const int kTypeFieldNumber = 1;
147  inline ::GobyMOOSAppConfig_Initializer_Type type() const;
148  inline void set_type(::GobyMOOSAppConfig_Initializer_Type value);
149 
150  // required string moos_var = 2;
151  inline bool has_moos_var() const;
152  inline void clear_moos_var();
153  static const int kMoosVarFieldNumber = 2;
154  inline const ::std::string& moos_var() const;
155  inline void set_moos_var(const ::std::string& value);
156  inline void set_moos_var(const char* value);
157  inline void set_moos_var(const char* value, size_t size);
158  inline ::std::string* mutable_moos_var();
159  inline ::std::string* release_moos_var();
160  inline void set_allocated_moos_var(::std::string* moos_var);
161 
162  // optional string global_cfg_var = 3;
163  inline bool has_global_cfg_var() const;
164  inline void clear_global_cfg_var();
165  static const int kGlobalCfgVarFieldNumber = 3;
166  inline const ::std::string& global_cfg_var() const;
167  inline void set_global_cfg_var(const ::std::string& value);
168  inline void set_global_cfg_var(const char* value);
169  inline void set_global_cfg_var(const char* value, size_t size);
170  inline ::std::string* mutable_global_cfg_var();
171  inline ::std::string* release_global_cfg_var();
172  inline void set_allocated_global_cfg_var(::std::string* global_cfg_var);
173 
174  // optional double dval = 4;
175  inline bool has_dval() const;
176  inline void clear_dval();
177  static const int kDvalFieldNumber = 4;
178  inline double dval() const;
179  inline void set_dval(double value);
180 
181  // optional string sval = 5;
182  inline bool has_sval() const;
183  inline void clear_sval();
184  static const int kSvalFieldNumber = 5;
185  inline const ::std::string& sval() const;
186  inline void set_sval(const ::std::string& value);
187  inline void set_sval(const char* value);
188  inline void set_sval(const char* value, size_t size);
189  inline ::std::string* mutable_sval();
190  inline ::std::string* release_sval();
191  inline void set_allocated_sval(::std::string* sval);
192 
193  // optional bool trim = 6 [default = true];
194  inline bool has_trim() const;
195  inline void clear_trim();
196  static const int kTrimFieldNumber = 6;
197  inline bool trim() const;
198  inline void set_trim(bool value);
199 
200  // @@protoc_insertion_point(class_scope:GobyMOOSAppConfig.Initializer)
201  private:
202  inline void set_has_type();
203  inline void clear_has_type();
204  inline void set_has_moos_var();
205  inline void clear_has_moos_var();
206  inline void set_has_global_cfg_var();
207  inline void clear_has_global_cfg_var();
208  inline void set_has_dval();
209  inline void clear_has_dval();
210  inline void set_has_sval();
211  inline void clear_has_sval();
212  inline void set_has_trim();
213  inline void clear_has_trim();
214 
215  ::google::protobuf::UnknownFieldSet _unknown_fields_;
216 
217  ::google::protobuf::uint32 _has_bits_[1];
218  mutable int _cached_size_;
219  ::std::string* moos_var_;
220  ::std::string* global_cfg_var_;
221  int type_;
222  bool trim_;
223  double dval_;
224  ::std::string* sval_;
225  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
226  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
227  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
228 
229  void InitAsDefaultInstance();
230  static GobyMOOSAppConfig_Initializer* default_instance_;
231 };
232 // -------------------------------------------------------------------
233 
234 class GobyMOOSAppConfig : public ::google::protobuf::Message {
235  public:
237  virtual ~GobyMOOSAppConfig();
238 
240 
241  inline GobyMOOSAppConfig& operator=(const GobyMOOSAppConfig& from) {
242  CopyFrom(from);
243  return *this;
244  }
245 
246  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
247  return _unknown_fields_;
248  }
249 
250  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
251  return &_unknown_fields_;
252  }
253 
254  static const ::google::protobuf::Descriptor* descriptor();
255  static const GobyMOOSAppConfig& default_instance();
256 
257  void Swap(GobyMOOSAppConfig* other);
258 
259  // implements Message ----------------------------------------------
260 
261  GobyMOOSAppConfig* New() const;
262  void CopyFrom(const ::google::protobuf::Message& from);
263  void MergeFrom(const ::google::protobuf::Message& from);
264  void CopyFrom(const GobyMOOSAppConfig& from);
265  void MergeFrom(const GobyMOOSAppConfig& from);
266  void Clear();
267  bool IsInitialized() const;
268 
269  int ByteSize() const;
270  bool MergePartialFromCodedStream(
271  ::google::protobuf::io::CodedInputStream* input);
272  void SerializeWithCachedSizes(
273  ::google::protobuf::io::CodedOutputStream* output) const;
274  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
275  int GetCachedSize() const { return _cached_size_; }
276  private:
277  void SharedCtor();
278  void SharedDtor();
279  void SetCachedSize(int size) const;
280  public:
281  ::google::protobuf::Metadata GetMetadata() const;
282 
283  // nested types ----------------------------------------------------
284 
286 
287  // accessors -------------------------------------------------------
288 
289  // optional bool log = 100 [default = true];
290  inline bool has_log() const;
291  inline void clear_log();
292  static const int kLogFieldNumber = 100;
293  inline bool log() const;
294  inline void set_log(bool value);
295 
296  // optional string log_path = 101 [default = "./"];
297  inline bool has_log_path() const;
298  inline void clear_log_path();
299  static const int kLogPathFieldNumber = 101;
300  inline const ::std::string& log_path() const;
301  inline void set_log_path(const ::std::string& value);
302  inline void set_log_path(const char* value);
303  inline void set_log_path(const char* value, size_t size);
304  inline ::std::string* mutable_log_path();
305  inline ::std::string* release_log_path();
306  inline void set_allocated_log_path(::std::string* log_path);
307 
308  // optional .goby.common.protobuf.GLogConfig.Verbosity log_verbosity = 105 [default = DEBUG2];
309  inline bool has_log_verbosity() const;
310  inline void clear_log_verbosity();
311  static const int kLogVerbosityFieldNumber = 105;
312  inline ::goby::common::protobuf::GLogConfig_Verbosity log_verbosity() const;
313  inline void set_log_verbosity(::goby::common::protobuf::GLogConfig_Verbosity value);
314 
315  // optional string community = 102;
316  inline bool has_community() const;
317  inline void clear_community();
318  static const int kCommunityFieldNumber = 102;
319  inline const ::std::string& community() const;
320  inline void set_community(const ::std::string& value);
321  inline void set_community(const char* value);
322  inline void set_community(const char* value, size_t size);
323  inline ::std::string* mutable_community();
324  inline ::std::string* release_community();
325  inline void set_allocated_community(::std::string* community);
326 
327  // optional double lat_origin = 103;
328  inline bool has_lat_origin() const;
329  inline void clear_lat_origin();
330  static const int kLatOriginFieldNumber = 103;
331  inline double lat_origin() const;
332  inline void set_lat_origin(double value);
333 
334  // optional double lon_origin = 104;
335  inline bool has_lon_origin() const;
336  inline void clear_lon_origin();
337  static const int kLonOriginFieldNumber = 104;
338  inline double lon_origin() const;
339  inline void set_lon_origin(double value);
340 
341  // optional uint32 time_warp_multiplier = 106 [default = 1];
342  inline bool has_time_warp_multiplier() const;
343  inline void clear_time_warp_multiplier();
344  static const int kTimeWarpMultiplierFieldNumber = 106;
345  inline ::google::protobuf::uint32 time_warp_multiplier() const;
346  inline void set_time_warp_multiplier(::google::protobuf::uint32 value);
347 
348  // optional string server_host = 107;
349  inline bool has_server_host() const;
350  inline void clear_server_host();
351  static const int kServerHostFieldNumber = 107;
352  inline const ::std::string& server_host() const;
353  inline void set_server_host(const ::std::string& value);
354  inline void set_server_host(const char* value);
355  inline void set_server_host(const char* value, size_t size);
356  inline ::std::string* mutable_server_host();
357  inline ::std::string* release_server_host();
358  inline void set_allocated_server_host(::std::string* server_host);
359 
360  // optional int32 server_port = 108;
361  inline bool has_server_port() const;
362  inline void clear_server_port();
363  static const int kServerPortFieldNumber = 108;
364  inline ::google::protobuf::int32 server_port() const;
365  inline void set_server_port(::google::protobuf::int32 value);
366 
367  // optional uint32 app_tick = 1 [default = 10];
368  inline bool has_app_tick() const;
369  inline void clear_app_tick();
370  static const int kAppTickFieldNumber = 1;
371  inline ::google::protobuf::uint32 app_tick() const;
372  inline void set_app_tick(::google::protobuf::uint32 value);
373 
374  // optional uint32 comm_tick = 2 [default = 10];
375  inline bool has_comm_tick() const;
376  inline void clear_comm_tick();
377  static const int kCommTickFieldNumber = 2;
378  inline ::google::protobuf::uint32 comm_tick() const;
379  inline void set_comm_tick(::google::protobuf::uint32 value);
380 
381  // optional .goby.common.protobuf.GLogConfig.Verbosity verbosity = 3 [default = VERBOSE];
382  inline bool has_verbosity() const;
383  inline void clear_verbosity();
384  static const int kVerbosityFieldNumber = 3;
385  inline ::goby::common::protobuf::GLogConfig_Verbosity verbosity() const;
386  inline void set_verbosity(::goby::common::protobuf::GLogConfig_Verbosity value);
387 
388  // optional bool show_gui = 4 [default = false];
389  inline bool has_show_gui() const;
390  inline void clear_show_gui();
391  static const int kShowGuiFieldNumber = 4;
392  inline bool show_gui() const;
393  inline void set_show_gui(bool value);
394 
395  // optional bool use_binary_protobuf = 109 [default = false];
396  inline bool has_use_binary_protobuf() const;
397  inline void clear_use_binary_protobuf();
398  static const int kUseBinaryProtobufFieldNumber = 109;
399  inline bool use_binary_protobuf() const;
400  inline void set_use_binary_protobuf(bool value);
401 
402  // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
403  inline bool has_moos_parser_technique() const;
404  inline void clear_moos_parser_technique();
405  static const int kMoosParserTechniqueFieldNumber = 110;
406  inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique moos_parser_technique() const;
407  inline void set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
408 
409  // repeated .GobyMOOSAppConfig.Initializer initializer = 10;
410  inline int initializer_size() const;
411  inline void clear_initializer();
412  static const int kInitializerFieldNumber = 10;
413  inline const ::GobyMOOSAppConfig_Initializer& initializer(int index) const;
414  inline ::GobyMOOSAppConfig_Initializer* mutable_initializer(int index);
415  inline ::GobyMOOSAppConfig_Initializer* add_initializer();
416  inline const ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >&
417  initializer() const;
418  inline ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >*
419  mutable_initializer();
420 
421  // @@protoc_insertion_point(class_scope:GobyMOOSAppConfig)
422  private:
423  inline void set_has_log();
424  inline void clear_has_log();
425  inline void set_has_log_path();
426  inline void clear_has_log_path();
427  inline void set_has_log_verbosity();
428  inline void clear_has_log_verbosity();
429  inline void set_has_community();
430  inline void clear_has_community();
431  inline void set_has_lat_origin();
432  inline void clear_has_lat_origin();
433  inline void set_has_lon_origin();
434  inline void clear_has_lon_origin();
435  inline void set_has_time_warp_multiplier();
436  inline void clear_has_time_warp_multiplier();
437  inline void set_has_server_host();
438  inline void clear_has_server_host();
439  inline void set_has_server_port();
440  inline void clear_has_server_port();
441  inline void set_has_app_tick();
442  inline void clear_has_app_tick();
443  inline void set_has_comm_tick();
444  inline void clear_has_comm_tick();
445  inline void set_has_verbosity();
446  inline void clear_has_verbosity();
447  inline void set_has_show_gui();
448  inline void clear_has_show_gui();
449  inline void set_has_use_binary_protobuf();
450  inline void clear_has_use_binary_protobuf();
451  inline void set_has_moos_parser_technique();
452  inline void clear_has_moos_parser_technique();
453 
454  ::google::protobuf::UnknownFieldSet _unknown_fields_;
455 
456  ::google::protobuf::uint32 _has_bits_[1];
457  mutable int _cached_size_;
458  static ::std::string* _default_log_path_;
459  ::std::string* log_path_;
460  ::std::string* community_;
461  double lat_origin_;
462  int log_verbosity_;
463  ::google::protobuf::uint32 time_warp_multiplier_;
464  double lon_origin_;
465  ::std::string* server_host_;
466  ::google::protobuf::int32 server_port_;
467  bool log_;
468  bool show_gui_;
469  bool use_binary_protobuf_;
470  ::google::protobuf::uint32 app_tick_;
471  ::google::protobuf::uint32 comm_tick_;
472  int verbosity_;
473  int moos_parser_technique_;
474  ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer > initializer_;
475  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
476  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
477  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto();
478 
479  void InitAsDefaultInstance();
480  static GobyMOOSAppConfig* default_instance_;
481 };
482 // ===================================================================
483 
484 
485 // ===================================================================
486 
487 // GobyMOOSAppConfig_Initializer
488 
489 // required .GobyMOOSAppConfig.Initializer.Type type = 1;
490 inline bool GobyMOOSAppConfig_Initializer::has_type() const {
491  return (_has_bits_[0] & 0x00000001u) != 0;
492 }
493 inline void GobyMOOSAppConfig_Initializer::set_has_type() {
494  _has_bits_[0] |= 0x00000001u;
495 }
496 inline void GobyMOOSAppConfig_Initializer::clear_has_type() {
497  _has_bits_[0] &= ~0x00000001u;
498 }
499 inline void GobyMOOSAppConfig_Initializer::clear_type() {
500  type_ = 1;
501  clear_has_type();
502 }
503 inline ::GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer::type() const {
504  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.Initializer.type)
505  return static_cast< ::GobyMOOSAppConfig_Initializer_Type >(type_);
506 }
507 inline void GobyMOOSAppConfig_Initializer::set_type(::GobyMOOSAppConfig_Initializer_Type value) {
508  assert(::GobyMOOSAppConfig_Initializer_Type_IsValid(value));
509  set_has_type();
510  type_ = value;
511  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.Initializer.type)
512 }
513 
514 // required string moos_var = 2;
515 inline bool GobyMOOSAppConfig_Initializer::has_moos_var() const {
516  return (_has_bits_[0] & 0x00000002u) != 0;
517 }
518 inline void GobyMOOSAppConfig_Initializer::set_has_moos_var() {
519  _has_bits_[0] |= 0x00000002u;
520 }
521 inline void GobyMOOSAppConfig_Initializer::clear_has_moos_var() {
522  _has_bits_[0] &= ~0x00000002u;
523 }
524 inline void GobyMOOSAppConfig_Initializer::clear_moos_var() {
525  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
526  moos_var_->clear();
527  }
528  clear_has_moos_var();
529 }
530 inline const ::std::string& GobyMOOSAppConfig_Initializer::moos_var() const {
531  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.Initializer.moos_var)
532  return *moos_var_;
533 }
534 inline void GobyMOOSAppConfig_Initializer::set_moos_var(const ::std::string& value) {
535  set_has_moos_var();
536  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
537  moos_var_ = new ::std::string;
538  }
539  moos_var_->assign(value);
540  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.Initializer.moos_var)
541 }
542 inline void GobyMOOSAppConfig_Initializer::set_moos_var(const char* value) {
543  set_has_moos_var();
544  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
545  moos_var_ = new ::std::string;
546  }
547  moos_var_->assign(value);
548  // @@protoc_insertion_point(field_set_char:GobyMOOSAppConfig.Initializer.moos_var)
549 }
550 inline void GobyMOOSAppConfig_Initializer::set_moos_var(const char* value, size_t size) {
551  set_has_moos_var();
552  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
553  moos_var_ = new ::std::string;
554  }
555  moos_var_->assign(reinterpret_cast<const char*>(value), size);
556  // @@protoc_insertion_point(field_set_pointer:GobyMOOSAppConfig.Initializer.moos_var)
557 }
558 inline ::std::string* GobyMOOSAppConfig_Initializer::mutable_moos_var() {
559  set_has_moos_var();
560  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
561  moos_var_ = new ::std::string;
562  }
563  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.Initializer.moos_var)
564  return moos_var_;
565 }
566 inline ::std::string* GobyMOOSAppConfig_Initializer::release_moos_var() {
567  clear_has_moos_var();
568  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
569  return NULL;
570  } else {
571  ::std::string* temp = moos_var_;
572  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
573  return temp;
574  }
575 }
576 inline void GobyMOOSAppConfig_Initializer::set_allocated_moos_var(::std::string* moos_var) {
577  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
578  delete moos_var_;
579  }
580  if (moos_var) {
581  set_has_moos_var();
582  moos_var_ = moos_var;
583  } else {
584  clear_has_moos_var();
585  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
586  }
587  // @@protoc_insertion_point(field_set_allocated:GobyMOOSAppConfig.Initializer.moos_var)
588 }
589 
590 // optional string global_cfg_var = 3;
591 inline bool GobyMOOSAppConfig_Initializer::has_global_cfg_var() const {
592  return (_has_bits_[0] & 0x00000004u) != 0;
593 }
594 inline void GobyMOOSAppConfig_Initializer::set_has_global_cfg_var() {
595  _has_bits_[0] |= 0x00000004u;
596 }
597 inline void GobyMOOSAppConfig_Initializer::clear_has_global_cfg_var() {
598  _has_bits_[0] &= ~0x00000004u;
599 }
600 inline void GobyMOOSAppConfig_Initializer::clear_global_cfg_var() {
601  if (global_cfg_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
602  global_cfg_var_->clear();
603  }
604  clear_has_global_cfg_var();
605 }
606 inline const ::std::string& GobyMOOSAppConfig_Initializer::global_cfg_var() const {
607  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.Initializer.global_cfg_var)
608  return *global_cfg_var_;
609 }
610 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(const ::std::string& value) {
611  set_has_global_cfg_var();
612  if (global_cfg_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
613  global_cfg_var_ = new ::std::string;
614  }
615  global_cfg_var_->assign(value);
616  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.Initializer.global_cfg_var)
617 }
618 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(const char* value) {
619  set_has_global_cfg_var();
620  if (global_cfg_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
621  global_cfg_var_ = new ::std::string;
622  }
623  global_cfg_var_->assign(value);
624  // @@protoc_insertion_point(field_set_char:GobyMOOSAppConfig.Initializer.global_cfg_var)
625 }
626 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(const char* value, size_t size) {
627  set_has_global_cfg_var();
628  if (global_cfg_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
629  global_cfg_var_ = new ::std::string;
630  }
631  global_cfg_var_->assign(reinterpret_cast<const char*>(value), size);
632  // @@protoc_insertion_point(field_set_pointer:GobyMOOSAppConfig.Initializer.global_cfg_var)
633 }
634 inline ::std::string* GobyMOOSAppConfig_Initializer::mutable_global_cfg_var() {
635  set_has_global_cfg_var();
636  if (global_cfg_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
637  global_cfg_var_ = new ::std::string;
638  }
639  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.Initializer.global_cfg_var)
640  return global_cfg_var_;
641 }
642 inline ::std::string* GobyMOOSAppConfig_Initializer::release_global_cfg_var() {
643  clear_has_global_cfg_var();
644  if (global_cfg_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
645  return NULL;
646  } else {
647  ::std::string* temp = global_cfg_var_;
648  global_cfg_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
649  return temp;
650  }
651 }
652 inline void GobyMOOSAppConfig_Initializer::set_allocated_global_cfg_var(::std::string* global_cfg_var) {
653  if (global_cfg_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
654  delete global_cfg_var_;
655  }
656  if (global_cfg_var) {
657  set_has_global_cfg_var();
658  global_cfg_var_ = global_cfg_var;
659  } else {
660  clear_has_global_cfg_var();
661  global_cfg_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
662  }
663  // @@protoc_insertion_point(field_set_allocated:GobyMOOSAppConfig.Initializer.global_cfg_var)
664 }
665 
666 // optional double dval = 4;
667 inline bool GobyMOOSAppConfig_Initializer::has_dval() const {
668  return (_has_bits_[0] & 0x00000008u) != 0;
669 }
670 inline void GobyMOOSAppConfig_Initializer::set_has_dval() {
671  _has_bits_[0] |= 0x00000008u;
672 }
673 inline void GobyMOOSAppConfig_Initializer::clear_has_dval() {
674  _has_bits_[0] &= ~0x00000008u;
675 }
676 inline void GobyMOOSAppConfig_Initializer::clear_dval() {
677  dval_ = 0;
678  clear_has_dval();
679 }
680 inline double GobyMOOSAppConfig_Initializer::dval() const {
681  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.Initializer.dval)
682  return dval_;
683 }
684 inline void GobyMOOSAppConfig_Initializer::set_dval(double value) {
685  set_has_dval();
686  dval_ = value;
687  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.Initializer.dval)
688 }
689 
690 // optional string sval = 5;
691 inline bool GobyMOOSAppConfig_Initializer::has_sval() const {
692  return (_has_bits_[0] & 0x00000010u) != 0;
693 }
694 inline void GobyMOOSAppConfig_Initializer::set_has_sval() {
695  _has_bits_[0] |= 0x00000010u;
696 }
697 inline void GobyMOOSAppConfig_Initializer::clear_has_sval() {
698  _has_bits_[0] &= ~0x00000010u;
699 }
700 inline void GobyMOOSAppConfig_Initializer::clear_sval() {
701  if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
702  sval_->clear();
703  }
704  clear_has_sval();
705 }
706 inline const ::std::string& GobyMOOSAppConfig_Initializer::sval() const {
707  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.Initializer.sval)
708  return *sval_;
709 }
710 inline void GobyMOOSAppConfig_Initializer::set_sval(const ::std::string& value) {
711  set_has_sval();
712  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
713  sval_ = new ::std::string;
714  }
715  sval_->assign(value);
716  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.Initializer.sval)
717 }
718 inline void GobyMOOSAppConfig_Initializer::set_sval(const char* value) {
719  set_has_sval();
720  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
721  sval_ = new ::std::string;
722  }
723  sval_->assign(value);
724  // @@protoc_insertion_point(field_set_char:GobyMOOSAppConfig.Initializer.sval)
725 }
726 inline void GobyMOOSAppConfig_Initializer::set_sval(const char* value, size_t size) {
727  set_has_sval();
728  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
729  sval_ = new ::std::string;
730  }
731  sval_->assign(reinterpret_cast<const char*>(value), size);
732  // @@protoc_insertion_point(field_set_pointer:GobyMOOSAppConfig.Initializer.sval)
733 }
734 inline ::std::string* GobyMOOSAppConfig_Initializer::mutable_sval() {
735  set_has_sval();
736  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
737  sval_ = new ::std::string;
738  }
739  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.Initializer.sval)
740  return sval_;
741 }
742 inline ::std::string* GobyMOOSAppConfig_Initializer::release_sval() {
743  clear_has_sval();
744  if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
745  return NULL;
746  } else {
747  ::std::string* temp = sval_;
748  sval_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
749  return temp;
750  }
751 }
752 inline void GobyMOOSAppConfig_Initializer::set_allocated_sval(::std::string* sval) {
753  if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
754  delete sval_;
755  }
756  if (sval) {
757  set_has_sval();
758  sval_ = sval;
759  } else {
760  clear_has_sval();
761  sval_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
762  }
763  // @@protoc_insertion_point(field_set_allocated:GobyMOOSAppConfig.Initializer.sval)
764 }
765 
766 // optional bool trim = 6 [default = true];
767 inline bool GobyMOOSAppConfig_Initializer::has_trim() const {
768  return (_has_bits_[0] & 0x00000020u) != 0;
769 }
770 inline void GobyMOOSAppConfig_Initializer::set_has_trim() {
771  _has_bits_[0] |= 0x00000020u;
772 }
773 inline void GobyMOOSAppConfig_Initializer::clear_has_trim() {
774  _has_bits_[0] &= ~0x00000020u;
775 }
776 inline void GobyMOOSAppConfig_Initializer::clear_trim() {
777  trim_ = true;
778  clear_has_trim();
779 }
780 inline bool GobyMOOSAppConfig_Initializer::trim() const {
781  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.Initializer.trim)
782  return trim_;
783 }
784 inline void GobyMOOSAppConfig_Initializer::set_trim(bool value) {
785  set_has_trim();
786  trim_ = value;
787  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.Initializer.trim)
788 }
789 
790 // -------------------------------------------------------------------
791 
792 // GobyMOOSAppConfig
793 
794 // optional bool log = 100 [default = true];
795 inline bool GobyMOOSAppConfig::has_log() const {
796  return (_has_bits_[0] & 0x00000001u) != 0;
797 }
798 inline void GobyMOOSAppConfig::set_has_log() {
799  _has_bits_[0] |= 0x00000001u;
800 }
801 inline void GobyMOOSAppConfig::clear_has_log() {
802  _has_bits_[0] &= ~0x00000001u;
803 }
804 inline void GobyMOOSAppConfig::clear_log() {
805  log_ = true;
806  clear_has_log();
807 }
808 inline bool GobyMOOSAppConfig::log() const {
809  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.log)
810  return log_;
811 }
812 inline void GobyMOOSAppConfig::set_log(bool value) {
813  set_has_log();
814  log_ = value;
815  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.log)
816 }
817 
818 // optional string log_path = 101 [default = "./"];
819 inline bool GobyMOOSAppConfig::has_log_path() const {
820  return (_has_bits_[0] & 0x00000002u) != 0;
821 }
822 inline void GobyMOOSAppConfig::set_has_log_path() {
823  _has_bits_[0] |= 0x00000002u;
824 }
825 inline void GobyMOOSAppConfig::clear_has_log_path() {
826  _has_bits_[0] &= ~0x00000002u;
827 }
828 inline void GobyMOOSAppConfig::clear_log_path() {
829  if (log_path_ != _default_log_path_) {
830  log_path_->assign(*_default_log_path_);
831  }
832  clear_has_log_path();
833 }
834 inline const ::std::string& GobyMOOSAppConfig::log_path() const {
835  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.log_path)
836  return *log_path_;
837 }
838 inline void GobyMOOSAppConfig::set_log_path(const ::std::string& value) {
839  set_has_log_path();
840  if (log_path_ == _default_log_path_) {
841  log_path_ = new ::std::string;
842  }
843  log_path_->assign(value);
844  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.log_path)
845 }
846 inline void GobyMOOSAppConfig::set_log_path(const char* value) {
847  set_has_log_path();
848  if (log_path_ == _default_log_path_) {
849  log_path_ = new ::std::string;
850  }
851  log_path_->assign(value);
852  // @@protoc_insertion_point(field_set_char:GobyMOOSAppConfig.log_path)
853 }
854 inline void GobyMOOSAppConfig::set_log_path(const char* value, size_t size) {
855  set_has_log_path();
856  if (log_path_ == _default_log_path_) {
857  log_path_ = new ::std::string;
858  }
859  log_path_->assign(reinterpret_cast<const char*>(value), size);
860  // @@protoc_insertion_point(field_set_pointer:GobyMOOSAppConfig.log_path)
861 }
862 inline ::std::string* GobyMOOSAppConfig::mutable_log_path() {
863  set_has_log_path();
864  if (log_path_ == _default_log_path_) {
865  log_path_ = new ::std::string(*_default_log_path_);
866  }
867  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.log_path)
868  return log_path_;
869 }
870 inline ::std::string* GobyMOOSAppConfig::release_log_path() {
871  clear_has_log_path();
872  if (log_path_ == _default_log_path_) {
873  return NULL;
874  } else {
875  ::std::string* temp = log_path_;
876  log_path_ = const_cast< ::std::string*>(_default_log_path_);
877  return temp;
878  }
879 }
880 inline void GobyMOOSAppConfig::set_allocated_log_path(::std::string* log_path) {
881  if (log_path_ != _default_log_path_) {
882  delete log_path_;
883  }
884  if (log_path) {
885  set_has_log_path();
886  log_path_ = log_path;
887  } else {
888  clear_has_log_path();
889  log_path_ = const_cast< ::std::string*>(_default_log_path_);
890  }
891  // @@protoc_insertion_point(field_set_allocated:GobyMOOSAppConfig.log_path)
892 }
893 
894 // optional .goby.common.protobuf.GLogConfig.Verbosity log_verbosity = 105 [default = DEBUG2];
895 inline bool GobyMOOSAppConfig::has_log_verbosity() const {
896  return (_has_bits_[0] & 0x00000004u) != 0;
897 }
898 inline void GobyMOOSAppConfig::set_has_log_verbosity() {
899  _has_bits_[0] |= 0x00000004u;
900 }
901 inline void GobyMOOSAppConfig::clear_has_log_verbosity() {
902  _has_bits_[0] &= ~0x00000004u;
903 }
904 inline void GobyMOOSAppConfig::clear_log_verbosity() {
905  log_verbosity_ = 6;
906  clear_has_log_verbosity();
907 }
908 inline ::goby::common::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::log_verbosity() const {
909  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.log_verbosity)
910  return static_cast< ::goby::common::protobuf::GLogConfig_Verbosity >(log_verbosity_);
911 }
912 inline void GobyMOOSAppConfig::set_log_verbosity(::goby::common::protobuf::GLogConfig_Verbosity value) {
913  assert(::goby::common::protobuf::GLogConfig_Verbosity_IsValid(value));
914  set_has_log_verbosity();
915  log_verbosity_ = value;
916  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.log_verbosity)
917 }
918 
919 // optional string community = 102;
920 inline bool GobyMOOSAppConfig::has_community() const {
921  return (_has_bits_[0] & 0x00000008u) != 0;
922 }
923 inline void GobyMOOSAppConfig::set_has_community() {
924  _has_bits_[0] |= 0x00000008u;
925 }
926 inline void GobyMOOSAppConfig::clear_has_community() {
927  _has_bits_[0] &= ~0x00000008u;
928 }
929 inline void GobyMOOSAppConfig::clear_community() {
930  if (community_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
931  community_->clear();
932  }
933  clear_has_community();
934 }
935 inline const ::std::string& GobyMOOSAppConfig::community() const {
936  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.community)
937  return *community_;
938 }
939 inline void GobyMOOSAppConfig::set_community(const ::std::string& value) {
940  set_has_community();
941  if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
942  community_ = new ::std::string;
943  }
944  community_->assign(value);
945  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.community)
946 }
947 inline void GobyMOOSAppConfig::set_community(const char* value) {
948  set_has_community();
949  if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
950  community_ = new ::std::string;
951  }
952  community_->assign(value);
953  // @@protoc_insertion_point(field_set_char:GobyMOOSAppConfig.community)
954 }
955 inline void GobyMOOSAppConfig::set_community(const char* value, size_t size) {
956  set_has_community();
957  if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
958  community_ = new ::std::string;
959  }
960  community_->assign(reinterpret_cast<const char*>(value), size);
961  // @@protoc_insertion_point(field_set_pointer:GobyMOOSAppConfig.community)
962 }
963 inline ::std::string* GobyMOOSAppConfig::mutable_community() {
964  set_has_community();
965  if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
966  community_ = new ::std::string;
967  }
968  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.community)
969  return community_;
970 }
971 inline ::std::string* GobyMOOSAppConfig::release_community() {
972  clear_has_community();
973  if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
974  return NULL;
975  } else {
976  ::std::string* temp = community_;
977  community_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
978  return temp;
979  }
980 }
981 inline void GobyMOOSAppConfig::set_allocated_community(::std::string* community) {
982  if (community_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
983  delete community_;
984  }
985  if (community) {
986  set_has_community();
987  community_ = community;
988  } else {
989  clear_has_community();
990  community_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
991  }
992  // @@protoc_insertion_point(field_set_allocated:GobyMOOSAppConfig.community)
993 }
994 
995 // optional double lat_origin = 103;
996 inline bool GobyMOOSAppConfig::has_lat_origin() const {
997  return (_has_bits_[0] & 0x00000010u) != 0;
998 }
999 inline void GobyMOOSAppConfig::set_has_lat_origin() {
1000  _has_bits_[0] |= 0x00000010u;
1001 }
1002 inline void GobyMOOSAppConfig::clear_has_lat_origin() {
1003  _has_bits_[0] &= ~0x00000010u;
1004 }
1005 inline void GobyMOOSAppConfig::clear_lat_origin() {
1006  lat_origin_ = 0;
1007  clear_has_lat_origin();
1008 }
1009 inline double GobyMOOSAppConfig::lat_origin() const {
1010  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.lat_origin)
1011  return lat_origin_;
1012 }
1013 inline void GobyMOOSAppConfig::set_lat_origin(double value) {
1014  set_has_lat_origin();
1015  lat_origin_ = value;
1016  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.lat_origin)
1017 }
1018 
1019 // optional double lon_origin = 104;
1020 inline bool GobyMOOSAppConfig::has_lon_origin() const {
1021  return (_has_bits_[0] & 0x00000020u) != 0;
1022 }
1023 inline void GobyMOOSAppConfig::set_has_lon_origin() {
1024  _has_bits_[0] |= 0x00000020u;
1025 }
1026 inline void GobyMOOSAppConfig::clear_has_lon_origin() {
1027  _has_bits_[0] &= ~0x00000020u;
1028 }
1029 inline void GobyMOOSAppConfig::clear_lon_origin() {
1030  lon_origin_ = 0;
1031  clear_has_lon_origin();
1032 }
1033 inline double GobyMOOSAppConfig::lon_origin() const {
1034  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.lon_origin)
1035  return lon_origin_;
1036 }
1037 inline void GobyMOOSAppConfig::set_lon_origin(double value) {
1038  set_has_lon_origin();
1039  lon_origin_ = value;
1040  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.lon_origin)
1041 }
1042 
1043 // optional uint32 time_warp_multiplier = 106 [default = 1];
1044 inline bool GobyMOOSAppConfig::has_time_warp_multiplier() const {
1045  return (_has_bits_[0] & 0x00000040u) != 0;
1046 }
1047 inline void GobyMOOSAppConfig::set_has_time_warp_multiplier() {
1048  _has_bits_[0] |= 0x00000040u;
1049 }
1050 inline void GobyMOOSAppConfig::clear_has_time_warp_multiplier() {
1051  _has_bits_[0] &= ~0x00000040u;
1052 }
1053 inline void GobyMOOSAppConfig::clear_time_warp_multiplier() {
1054  time_warp_multiplier_ = 1u;
1055  clear_has_time_warp_multiplier();
1056 }
1057 inline ::google::protobuf::uint32 GobyMOOSAppConfig::time_warp_multiplier() const {
1058  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.time_warp_multiplier)
1059  return time_warp_multiplier_;
1060 }
1061 inline void GobyMOOSAppConfig::set_time_warp_multiplier(::google::protobuf::uint32 value) {
1062  set_has_time_warp_multiplier();
1063  time_warp_multiplier_ = value;
1064  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.time_warp_multiplier)
1065 }
1066 
1067 // optional string server_host = 107;
1068 inline bool GobyMOOSAppConfig::has_server_host() const {
1069  return (_has_bits_[0] & 0x00000080u) != 0;
1070 }
1071 inline void GobyMOOSAppConfig::set_has_server_host() {
1072  _has_bits_[0] |= 0x00000080u;
1073 }
1074 inline void GobyMOOSAppConfig::clear_has_server_host() {
1075  _has_bits_[0] &= ~0x00000080u;
1076 }
1077 inline void GobyMOOSAppConfig::clear_server_host() {
1078  if (server_host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1079  server_host_->clear();
1080  }
1081  clear_has_server_host();
1082 }
1083 inline const ::std::string& GobyMOOSAppConfig::server_host() const {
1084  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.server_host)
1085  return *server_host_;
1086 }
1087 inline void GobyMOOSAppConfig::set_server_host(const ::std::string& value) {
1088  set_has_server_host();
1089  if (server_host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1090  server_host_ = new ::std::string;
1091  }
1092  server_host_->assign(value);
1093  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.server_host)
1094 }
1095 inline void GobyMOOSAppConfig::set_server_host(const char* value) {
1096  set_has_server_host();
1097  if (server_host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1098  server_host_ = new ::std::string;
1099  }
1100  server_host_->assign(value);
1101  // @@protoc_insertion_point(field_set_char:GobyMOOSAppConfig.server_host)
1102 }
1103 inline void GobyMOOSAppConfig::set_server_host(const char* value, size_t size) {
1104  set_has_server_host();
1105  if (server_host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1106  server_host_ = new ::std::string;
1107  }
1108  server_host_->assign(reinterpret_cast<const char*>(value), size);
1109  // @@protoc_insertion_point(field_set_pointer:GobyMOOSAppConfig.server_host)
1110 }
1111 inline ::std::string* GobyMOOSAppConfig::mutable_server_host() {
1112  set_has_server_host();
1113  if (server_host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1114  server_host_ = new ::std::string;
1115  }
1116  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.server_host)
1117  return server_host_;
1118 }
1119 inline ::std::string* GobyMOOSAppConfig::release_server_host() {
1120  clear_has_server_host();
1121  if (server_host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1122  return NULL;
1123  } else {
1124  ::std::string* temp = server_host_;
1125  server_host_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1126  return temp;
1127  }
1128 }
1129 inline void GobyMOOSAppConfig::set_allocated_server_host(::std::string* server_host) {
1130  if (server_host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1131  delete server_host_;
1132  }
1133  if (server_host) {
1134  set_has_server_host();
1135  server_host_ = server_host;
1136  } else {
1137  clear_has_server_host();
1138  server_host_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1139  }
1140  // @@protoc_insertion_point(field_set_allocated:GobyMOOSAppConfig.server_host)
1141 }
1142 
1143 // optional int32 server_port = 108;
1144 inline bool GobyMOOSAppConfig::has_server_port() const {
1145  return (_has_bits_[0] & 0x00000100u) != 0;
1146 }
1147 inline void GobyMOOSAppConfig::set_has_server_port() {
1148  _has_bits_[0] |= 0x00000100u;
1149 }
1150 inline void GobyMOOSAppConfig::clear_has_server_port() {
1151  _has_bits_[0] &= ~0x00000100u;
1152 }
1153 inline void GobyMOOSAppConfig::clear_server_port() {
1154  server_port_ = 0;
1155  clear_has_server_port();
1156 }
1157 inline ::google::protobuf::int32 GobyMOOSAppConfig::server_port() const {
1158  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.server_port)
1159  return server_port_;
1160 }
1161 inline void GobyMOOSAppConfig::set_server_port(::google::protobuf::int32 value) {
1162  set_has_server_port();
1163  server_port_ = value;
1164  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.server_port)
1165 }
1166 
1167 // optional uint32 app_tick = 1 [default = 10];
1168 inline bool GobyMOOSAppConfig::has_app_tick() const {
1169  return (_has_bits_[0] & 0x00000200u) != 0;
1170 }
1171 inline void GobyMOOSAppConfig::set_has_app_tick() {
1172  _has_bits_[0] |= 0x00000200u;
1173 }
1174 inline void GobyMOOSAppConfig::clear_has_app_tick() {
1175  _has_bits_[0] &= ~0x00000200u;
1176 }
1177 inline void GobyMOOSAppConfig::clear_app_tick() {
1178  app_tick_ = 10u;
1179  clear_has_app_tick();
1180 }
1181 inline ::google::protobuf::uint32 GobyMOOSAppConfig::app_tick() const {
1182  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.app_tick)
1183  return app_tick_;
1184 }
1185 inline void GobyMOOSAppConfig::set_app_tick(::google::protobuf::uint32 value) {
1186  set_has_app_tick();
1187  app_tick_ = value;
1188  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.app_tick)
1189 }
1190 
1191 // optional uint32 comm_tick = 2 [default = 10];
1192 inline bool GobyMOOSAppConfig::has_comm_tick() const {
1193  return (_has_bits_[0] & 0x00000400u) != 0;
1194 }
1195 inline void GobyMOOSAppConfig::set_has_comm_tick() {
1196  _has_bits_[0] |= 0x00000400u;
1197 }
1198 inline void GobyMOOSAppConfig::clear_has_comm_tick() {
1199  _has_bits_[0] &= ~0x00000400u;
1200 }
1201 inline void GobyMOOSAppConfig::clear_comm_tick() {
1202  comm_tick_ = 10u;
1203  clear_has_comm_tick();
1204 }
1205 inline ::google::protobuf::uint32 GobyMOOSAppConfig::comm_tick() const {
1206  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.comm_tick)
1207  return comm_tick_;
1208 }
1209 inline void GobyMOOSAppConfig::set_comm_tick(::google::protobuf::uint32 value) {
1210  set_has_comm_tick();
1211  comm_tick_ = value;
1212  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.comm_tick)
1213 }
1214 
1215 // optional .goby.common.protobuf.GLogConfig.Verbosity verbosity = 3 [default = VERBOSE];
1216 inline bool GobyMOOSAppConfig::has_verbosity() const {
1217  return (_has_bits_[0] & 0x00000800u) != 0;
1218 }
1219 inline void GobyMOOSAppConfig::set_has_verbosity() {
1220  _has_bits_[0] |= 0x00000800u;
1221 }
1222 inline void GobyMOOSAppConfig::clear_has_verbosity() {
1223  _has_bits_[0] &= ~0x00000800u;
1224 }
1225 inline void GobyMOOSAppConfig::clear_verbosity() {
1226  verbosity_ = 3;
1227  clear_has_verbosity();
1228 }
1229 inline ::goby::common::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::verbosity() const {
1230  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.verbosity)
1231  return static_cast< ::goby::common::protobuf::GLogConfig_Verbosity >(verbosity_);
1232 }
1233 inline void GobyMOOSAppConfig::set_verbosity(::goby::common::protobuf::GLogConfig_Verbosity value) {
1234  assert(::goby::common::protobuf::GLogConfig_Verbosity_IsValid(value));
1235  set_has_verbosity();
1236  verbosity_ = value;
1237  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.verbosity)
1238 }
1239 
1240 // optional bool show_gui = 4 [default = false];
1241 inline bool GobyMOOSAppConfig::has_show_gui() const {
1242  return (_has_bits_[0] & 0x00001000u) != 0;
1243 }
1244 inline void GobyMOOSAppConfig::set_has_show_gui() {
1245  _has_bits_[0] |= 0x00001000u;
1246 }
1247 inline void GobyMOOSAppConfig::clear_has_show_gui() {
1248  _has_bits_[0] &= ~0x00001000u;
1249 }
1250 inline void GobyMOOSAppConfig::clear_show_gui() {
1251  show_gui_ = false;
1252  clear_has_show_gui();
1253 }
1254 inline bool GobyMOOSAppConfig::show_gui() const {
1255  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.show_gui)
1256  return show_gui_;
1257 }
1258 inline void GobyMOOSAppConfig::set_show_gui(bool value) {
1259  set_has_show_gui();
1260  show_gui_ = value;
1261  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.show_gui)
1262 }
1263 
1264 // optional bool use_binary_protobuf = 109 [default = false];
1265 inline bool GobyMOOSAppConfig::has_use_binary_protobuf() const {
1266  return (_has_bits_[0] & 0x00002000u) != 0;
1267 }
1268 inline void GobyMOOSAppConfig::set_has_use_binary_protobuf() {
1269  _has_bits_[0] |= 0x00002000u;
1270 }
1271 inline void GobyMOOSAppConfig::clear_has_use_binary_protobuf() {
1272  _has_bits_[0] &= ~0x00002000u;
1273 }
1274 inline void GobyMOOSAppConfig::clear_use_binary_protobuf() {
1275  use_binary_protobuf_ = false;
1276  clear_has_use_binary_protobuf();
1277 }
1278 inline bool GobyMOOSAppConfig::use_binary_protobuf() const {
1279  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.use_binary_protobuf)
1280  return use_binary_protobuf_;
1281 }
1282 inline void GobyMOOSAppConfig::set_use_binary_protobuf(bool value) {
1283  set_has_use_binary_protobuf();
1284  use_binary_protobuf_ = value;
1285  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.use_binary_protobuf)
1286 }
1287 
1288 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT];
1289 inline bool GobyMOOSAppConfig::has_moos_parser_technique() const {
1290  return (_has_bits_[0] & 0x00004000u) != 0;
1291 }
1292 inline void GobyMOOSAppConfig::set_has_moos_parser_technique() {
1293  _has_bits_[0] |= 0x00004000u;
1294 }
1295 inline void GobyMOOSAppConfig::clear_has_moos_parser_technique() {
1296  _has_bits_[0] &= ~0x00004000u;
1297 }
1298 inline void GobyMOOSAppConfig::clear_moos_parser_technique() {
1299  moos_parser_technique_ = 5;
1300  clear_has_moos_parser_technique();
1301 }
1302 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSAppConfig::moos_parser_technique() const {
1303  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.moos_parser_technique)
1304  return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(moos_parser_technique_);
1305 }
1306 inline void GobyMOOSAppConfig::set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1307  assert(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique_IsValid(value));
1308  set_has_moos_parser_technique();
1309  moos_parser_technique_ = value;
1310  // @@protoc_insertion_point(field_set:GobyMOOSAppConfig.moos_parser_technique)
1311 }
1312 
1313 // repeated .GobyMOOSAppConfig.Initializer initializer = 10;
1314 inline int GobyMOOSAppConfig::initializer_size() const {
1315  return initializer_.size();
1316 }
1317 inline void GobyMOOSAppConfig::clear_initializer() {
1318  initializer_.Clear();
1319 }
1320 inline const ::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::initializer(int index) const {
1321  // @@protoc_insertion_point(field_get:GobyMOOSAppConfig.initializer)
1322  return initializer_.Get(index);
1323 }
1324 inline ::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::mutable_initializer(int index) {
1325  // @@protoc_insertion_point(field_mutable:GobyMOOSAppConfig.initializer)
1326  return initializer_.Mutable(index);
1327 }
1328 inline ::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::add_initializer() {
1329  // @@protoc_insertion_point(field_add:GobyMOOSAppConfig.initializer)
1330  return initializer_.Add();
1331 }
1332 inline const ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >&
1333 GobyMOOSAppConfig::initializer() const {
1334  // @@protoc_insertion_point(field_list:GobyMOOSAppConfig.initializer)
1335  return initializer_;
1336 }
1337 inline ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >*
1338 GobyMOOSAppConfig::mutable_initializer() {
1339  // @@protoc_insertion_point(field_mutable_list:GobyMOOSAppConfig.initializer)
1340  return &initializer_;
1341 }
1342 
1343 
1344 // @@protoc_insertion_point(namespace_scope)
1345 
1346 #ifndef SWIG
1347 namespace google {
1348 namespace protobuf {
1349 
1350 template <> struct is_proto_enum< ::GobyMOOSAppConfig_Initializer_Type> : ::google::protobuf::internal::true_type {};
1351 template <>
1352 inline const EnumDescriptor* GetEnumDescriptor< ::GobyMOOSAppConfig_Initializer_Type>() {
1353  return ::GobyMOOSAppConfig_Initializer_Type_descriptor();
1354 }
1355 
1356 } // namespace google
1357 } // namespace protobuf
1358 #endif // SWIG
1359 
1360 // @@protoc_insertion_point(global_scope)
1361 
1362 #endif // PROTOBUF_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto__INCLUDED