4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto__INCLUDED     5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto__INCLUDED     9 #include <google/protobuf/stubs/common.h>    11 #if GOOGLE_PROTOBUF_VERSION < 2006000    12 #error This file was generated by a newer version of protoc which is    13 #error incompatible with your Protocol Buffer headers.  Please update    16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION    17 #error This file was generated by an older version of protoc which is    18 #error incompatible with your Protocol Buffer headers.  Please    19 #error regenerate this file with a newer version of protoc.    22 #include <google/protobuf/generated_message_util.h>    23 #include <google/protobuf/message.h>    24 #include <google/protobuf/repeated_field.h>    25 #include <google/protobuf/extension_set.h>    26 #include <google/protobuf/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>    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();
    45 enum GobyMOOSAppConfig_Initializer_Type {
    46   GobyMOOSAppConfig_Initializer_Type_INI_DOUBLE = 1,
    47   GobyMOOSAppConfig_Initializer_Type_INI_STRING = 2
    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;
    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);
    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);
    78   inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
 const {
    79     return _unknown_fields_;
    82   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    83     return &_unknown_fields_;
    86   static const ::google::protobuf::Descriptor* descriptor();
    94   void CopyFrom(const ::google::protobuf::Message& from);
    95   void MergeFrom(const ::google::protobuf::Message& from);
    99   bool IsInitialized() 
const;
   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_; }
   111   void SetCachedSize(
int size) 
const;
   113   ::google::protobuf::Metadata GetMetadata() 
const;
   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);
   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*
   131     return GobyMOOSAppConfig_Initializer_Type_descriptor();
   133   static inline const ::std::string& Type_Name(Type value) {
   134     return GobyMOOSAppConfig_Initializer_Type_Name(value);
   136   static inline bool Type_Parse(const ::std::string& name,
   138     return GobyMOOSAppConfig_Initializer_Type_Parse(name, value);
   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);
   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);
   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);
   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);
   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);
   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);
   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();
   215   ::google::protobuf::UnknownFieldSet _unknown_fields_;
   217   ::google::protobuf::uint32 _has_bits_[1];
   218   mutable int _cached_size_;
   219   ::std::string* moos_var_;
   220   ::std::string* global_cfg_var_;
   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();
   229   void InitAsDefaultInstance();
   246   inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
 const {
   247     return _unknown_fields_;
   250   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
   251     return &_unknown_fields_;
   254   static const ::google::protobuf::Descriptor* descriptor();
   262   void CopyFrom(const ::google::protobuf::Message& from);
   263   void MergeFrom(const ::google::protobuf::Message& from);
   267   bool IsInitialized() 
const;
   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_; }
   279   void SetCachedSize(
int size) 
const;
   281   ::google::protobuf::Metadata GetMetadata() 
const;
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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);
   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 >&
   418   inline ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >*
   419       mutable_initializer();
   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();
   454   ::google::protobuf::UnknownFieldSet _unknown_fields_;
   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_;
   463   ::google::protobuf::uint32 time_warp_multiplier_;
   465   ::std::string* server_host_;
   466   ::google::protobuf::int32 server_port_;
   469   bool use_binary_protobuf_;
   470   ::google::protobuf::uint32 app_tick_;
   471   ::google::protobuf::uint32 comm_tick_;
   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();
   479   void InitAsDefaultInstance();
   490 inline bool GobyMOOSAppConfig_Initializer::has_type()
 const {
   491   return (_has_bits_[0] & 0x00000001u) != 0;
   493 inline void GobyMOOSAppConfig_Initializer::set_has_type() {
   494   _has_bits_[0] |= 0x00000001u;
   496 inline void GobyMOOSAppConfig_Initializer::clear_has_type() {
   497   _has_bits_[0] &= ~0x00000001u;
   499 inline void GobyMOOSAppConfig_Initializer::clear_type() {
   503 inline ::GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer::type()
 const {
   505   return static_cast< ::GobyMOOSAppConfig_Initializer_Type 
>(type_);
   507 inline void GobyMOOSAppConfig_Initializer::set_type(::GobyMOOSAppConfig_Initializer_Type value) {
   508   assert(::GobyMOOSAppConfig_Initializer_Type_IsValid(value));
   515 inline bool GobyMOOSAppConfig_Initializer::has_moos_var()
 const {
   516   return (_has_bits_[0] & 0x00000002u) != 0;
   518 inline void GobyMOOSAppConfig_Initializer::set_has_moos_var() {
   519   _has_bits_[0] |= 0x00000002u;
   521 inline void GobyMOOSAppConfig_Initializer::clear_has_moos_var() {
   522   _has_bits_[0] &= ~0x00000002u;
   524 inline void GobyMOOSAppConfig_Initializer::clear_moos_var() {
   525   if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   528   clear_has_moos_var();
   530 inline const ::std::string& GobyMOOSAppConfig_Initializer::moos_var()
 const {
   534 inline void GobyMOOSAppConfig_Initializer::set_moos_var(const ::std::string& value) {
   536   if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   537     moos_var_ = new ::std::string;
   539   moos_var_->assign(value);
   542 inline void GobyMOOSAppConfig_Initializer::set_moos_var(
const char* value) {
   544   if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   545     moos_var_ = new ::std::string;
   547   moos_var_->assign(value);
   550 inline void GobyMOOSAppConfig_Initializer::set_moos_var(
const char* value, 
size_t size) {
   552   if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   553     moos_var_ = new ::std::string;
   555   moos_var_->assign(reinterpret_cast<const char*>(value), size);
   558 inline ::std::string* GobyMOOSAppConfig_Initializer::mutable_moos_var() {
   560   if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   561     moos_var_ = new ::std::string;
   566 inline ::std::string* GobyMOOSAppConfig_Initializer::release_moos_var() {
   567   clear_has_moos_var();
   568   if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   571     ::std::string* temp = moos_var_;
   572     moos_var_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   576 inline void GobyMOOSAppConfig_Initializer::set_allocated_moos_var(::std::string* moos_var) {
   577   if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   582     moos_var_ = moos_var;
   584     clear_has_moos_var();
   585     moos_var_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   591 inline bool GobyMOOSAppConfig_Initializer::has_global_cfg_var()
 const {
   592   return (_has_bits_[0] & 0x00000004u) != 0;
   594 inline void GobyMOOSAppConfig_Initializer::set_has_global_cfg_var() {
   595   _has_bits_[0] |= 0x00000004u;
   597 inline void GobyMOOSAppConfig_Initializer::clear_has_global_cfg_var() {
   598   _has_bits_[0] &= ~0x00000004u;
   600 inline void GobyMOOSAppConfig_Initializer::clear_global_cfg_var() {
   601   if (global_cfg_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   602     global_cfg_var_->clear();
   604   clear_has_global_cfg_var();
   606 inline const ::std::string& GobyMOOSAppConfig_Initializer::global_cfg_var()
 const {
   608   return *global_cfg_var_;
   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;
   615   global_cfg_var_->assign(value);
   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;
   623   global_cfg_var_->assign(value);
   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;
   631   global_cfg_var_->assign(reinterpret_cast<const char*>(value), size);
   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;
   640   return global_cfg_var_;
   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()) {
   647     ::std::string* temp = global_cfg_var_;
   648     global_cfg_var_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   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_;
   656   if (global_cfg_var) {
   657     set_has_global_cfg_var();
   658     global_cfg_var_ = global_cfg_var;
   660     clear_has_global_cfg_var();
   661     global_cfg_var_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   667 inline bool GobyMOOSAppConfig_Initializer::has_dval()
 const {
   668   return (_has_bits_[0] & 0x00000008u) != 0;
   670 inline void GobyMOOSAppConfig_Initializer::set_has_dval() {
   671   _has_bits_[0] |= 0x00000008u;
   673 inline void GobyMOOSAppConfig_Initializer::clear_has_dval() {
   674   _has_bits_[0] &= ~0x00000008u;
   676 inline void GobyMOOSAppConfig_Initializer::clear_dval() {
   680 inline double GobyMOOSAppConfig_Initializer::dval()
 const {
   684 inline void GobyMOOSAppConfig_Initializer::set_dval(
double value) {
   691 inline bool GobyMOOSAppConfig_Initializer::has_sval()
 const {
   692   return (_has_bits_[0] & 0x00000010u) != 0;
   694 inline void GobyMOOSAppConfig_Initializer::set_has_sval() {
   695   _has_bits_[0] |= 0x00000010u;
   697 inline void GobyMOOSAppConfig_Initializer::clear_has_sval() {
   698   _has_bits_[0] &= ~0x00000010u;
   700 inline void GobyMOOSAppConfig_Initializer::clear_sval() {
   701   if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   706 inline const ::std::string& GobyMOOSAppConfig_Initializer::sval()
 const {
   710 inline void GobyMOOSAppConfig_Initializer::set_sval(const ::std::string& value) {
   712   if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   713     sval_ = new ::std::string;
   715   sval_->assign(value);
   718 inline void GobyMOOSAppConfig_Initializer::set_sval(
const char* value) {
   720   if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   721     sval_ = new ::std::string;
   723   sval_->assign(value);
   726 inline void GobyMOOSAppConfig_Initializer::set_sval(
const char* value, 
size_t size) {
   728   if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   729     sval_ = new ::std::string;
   731   sval_->assign(reinterpret_cast<const char*>(value), size);
   734 inline ::std::string* GobyMOOSAppConfig_Initializer::mutable_sval() {
   736   if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   737     sval_ = new ::std::string;
   742 inline ::std::string* GobyMOOSAppConfig_Initializer::release_sval() {
   744   if (sval_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   747     ::std::string* temp = sval_;
   748     sval_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   752 inline void GobyMOOSAppConfig_Initializer::set_allocated_sval(::std::string* sval) {
   753   if (sval_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   761     sval_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   767 inline bool GobyMOOSAppConfig_Initializer::has_trim()
 const {
   768   return (_has_bits_[0] & 0x00000020u) != 0;
   770 inline void GobyMOOSAppConfig_Initializer::set_has_trim() {
   771   _has_bits_[0] |= 0x00000020u;
   773 inline void GobyMOOSAppConfig_Initializer::clear_has_trim() {
   774   _has_bits_[0] &= ~0x00000020u;
   776 inline void GobyMOOSAppConfig_Initializer::clear_trim() {
   780 inline bool GobyMOOSAppConfig_Initializer::trim()
 const {
   784 inline void GobyMOOSAppConfig_Initializer::set_trim(
bool value) {
   795 inline bool GobyMOOSAppConfig::has_log()
 const {
   796   return (_has_bits_[0] & 0x00000001u) != 0;
   798 inline void GobyMOOSAppConfig::set_has_log() {
   799   _has_bits_[0] |= 0x00000001u;
   801 inline void GobyMOOSAppConfig::clear_has_log() {
   802   _has_bits_[0] &= ~0x00000001u;
   804 inline void GobyMOOSAppConfig::clear_log() {
   808 inline bool GobyMOOSAppConfig::log()
 const {
   812 inline void GobyMOOSAppConfig::set_log(
bool value) {
   819 inline bool GobyMOOSAppConfig::has_log_path()
 const {
   820   return (_has_bits_[0] & 0x00000002u) != 0;
   822 inline void GobyMOOSAppConfig::set_has_log_path() {
   823   _has_bits_[0] |= 0x00000002u;
   825 inline void GobyMOOSAppConfig::clear_has_log_path() {
   826   _has_bits_[0] &= ~0x00000002u;
   828 inline void GobyMOOSAppConfig::clear_log_path() {
   829   if (log_path_ != _default_log_path_) {
   830     log_path_->assign(*_default_log_path_);
   832   clear_has_log_path();
   834 inline const ::std::string& GobyMOOSAppConfig::log_path()
 const {
   838 inline void GobyMOOSAppConfig::set_log_path(const ::std::string& value) {
   840   if (log_path_ == _default_log_path_) {
   841     log_path_ = new ::std::string;
   843   log_path_->assign(value);
   846 inline void GobyMOOSAppConfig::set_log_path(
const char* value) {
   848   if (log_path_ == _default_log_path_) {
   849     log_path_ = new ::std::string;
   851   log_path_->assign(value);
   854 inline void GobyMOOSAppConfig::set_log_path(
const char* value, 
size_t size) {
   856   if (log_path_ == _default_log_path_) {
   857     log_path_ = new ::std::string;
   859   log_path_->assign(reinterpret_cast<const char*>(value), size);
   862 inline ::std::string* GobyMOOSAppConfig::mutable_log_path() {
   864   if (log_path_ == _default_log_path_) {
   865     log_path_ = new ::std::string(*_default_log_path_);
   870 inline ::std::string* GobyMOOSAppConfig::release_log_path() {
   871   clear_has_log_path();
   872   if (log_path_ == _default_log_path_) {
   875     ::std::string* temp = log_path_;
   876     log_path_ = 
const_cast< ::std::string*
>(_default_log_path_);
   880 inline void GobyMOOSAppConfig::set_allocated_log_path(::std::string* log_path) {
   881   if (log_path_ != _default_log_path_) {
   886     log_path_ = log_path;
   888     clear_has_log_path();
   889     log_path_ = 
const_cast< ::std::string*
>(_default_log_path_);
   895 inline bool GobyMOOSAppConfig::has_log_verbosity()
 const {
   896   return (_has_bits_[0] & 0x00000004u) != 0;
   898 inline void GobyMOOSAppConfig::set_has_log_verbosity() {
   899   _has_bits_[0] |= 0x00000004u;
   901 inline void GobyMOOSAppConfig::clear_has_log_verbosity() {
   902   _has_bits_[0] &= ~0x00000004u;
   904 inline void GobyMOOSAppConfig::clear_log_verbosity() {
   906   clear_has_log_verbosity();
   908 inline ::goby::common::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::log_verbosity()
 const {
   910   return static_cast< ::goby::common::protobuf::GLogConfig_Verbosity 
>(log_verbosity_);
   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;
   920 inline bool GobyMOOSAppConfig::has_community()
 const {
   921   return (_has_bits_[0] & 0x00000008u) != 0;
   923 inline void GobyMOOSAppConfig::set_has_community() {
   924   _has_bits_[0] |= 0x00000008u;
   926 inline void GobyMOOSAppConfig::clear_has_community() {
   927   _has_bits_[0] &= ~0x00000008u;
   929 inline void GobyMOOSAppConfig::clear_community() {
   930   if (community_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   933   clear_has_community();
   935 inline const ::std::string& GobyMOOSAppConfig::community()
 const {
   939 inline void GobyMOOSAppConfig::set_community(const ::std::string& value) {
   941   if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   942     community_ = new ::std::string;
   944   community_->assign(value);
   947 inline void GobyMOOSAppConfig::set_community(
const char* value) {
   949   if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   950     community_ = new ::std::string;
   952   community_->assign(value);
   955 inline void GobyMOOSAppConfig::set_community(
const char* value, 
size_t size) {
   957   if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   958     community_ = new ::std::string;
   960   community_->assign(reinterpret_cast<const char*>(value), size);
   963 inline ::std::string* GobyMOOSAppConfig::mutable_community() {
   965   if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   966     community_ = new ::std::string;
   971 inline ::std::string* GobyMOOSAppConfig::release_community() {
   972   clear_has_community();
   973   if (community_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   976     ::std::string* temp = community_;
   977     community_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   981 inline void GobyMOOSAppConfig::set_allocated_community(::std::string* community) {
   982   if (community_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
   987     community_ = community;
   989     clear_has_community();
   990     community_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   996 inline bool GobyMOOSAppConfig::has_lat_origin()
 const {
   997   return (_has_bits_[0] & 0x00000010u) != 0;
   999 inline void GobyMOOSAppConfig::set_has_lat_origin() {
  1000   _has_bits_[0] |= 0x00000010u;
  1002 inline void GobyMOOSAppConfig::clear_has_lat_origin() {
  1003   _has_bits_[0] &= ~0x00000010u;
  1005 inline void GobyMOOSAppConfig::clear_lat_origin() {
  1007   clear_has_lat_origin();
  1009 inline double GobyMOOSAppConfig::lat_origin()
 const {
  1013 inline void GobyMOOSAppConfig::set_lat_origin(
double value) {
  1014   set_has_lat_origin();
  1015   lat_origin_ = value;
  1020 inline bool GobyMOOSAppConfig::has_lon_origin()
 const {
  1021   return (_has_bits_[0] & 0x00000020u) != 0;
  1023 inline void GobyMOOSAppConfig::set_has_lon_origin() {
  1024   _has_bits_[0] |= 0x00000020u;
  1026 inline void GobyMOOSAppConfig::clear_has_lon_origin() {
  1027   _has_bits_[0] &= ~0x00000020u;
  1029 inline void GobyMOOSAppConfig::clear_lon_origin() {
  1031   clear_has_lon_origin();
  1033 inline double GobyMOOSAppConfig::lon_origin()
 const {
  1037 inline void GobyMOOSAppConfig::set_lon_origin(
double value) {
  1038   set_has_lon_origin();
  1039   lon_origin_ = value;
  1044 inline bool GobyMOOSAppConfig::has_time_warp_multiplier()
 const {
  1045   return (_has_bits_[0] & 0x00000040u) != 0;
  1047 inline void GobyMOOSAppConfig::set_has_time_warp_multiplier() {
  1048   _has_bits_[0] |= 0x00000040u;
  1050 inline void GobyMOOSAppConfig::clear_has_time_warp_multiplier() {
  1051   _has_bits_[0] &= ~0x00000040u;
  1053 inline void GobyMOOSAppConfig::clear_time_warp_multiplier() {
  1054   time_warp_multiplier_ = 1u;
  1055   clear_has_time_warp_multiplier();
  1057 inline ::google::protobuf::uint32 GobyMOOSAppConfig::time_warp_multiplier()
 const {
  1059   return time_warp_multiplier_;
  1061 inline void GobyMOOSAppConfig::set_time_warp_multiplier(::google::protobuf::uint32 value) {
  1062   set_has_time_warp_multiplier();
  1063   time_warp_multiplier_ = value;
  1068 inline bool GobyMOOSAppConfig::has_server_host()
 const {
  1069   return (_has_bits_[0] & 0x00000080u) != 0;
  1071 inline void GobyMOOSAppConfig::set_has_server_host() {
  1072   _has_bits_[0] |= 0x00000080u;
  1074 inline void GobyMOOSAppConfig::clear_has_server_host() {
  1075   _has_bits_[0] &= ~0x00000080u;
  1077 inline void GobyMOOSAppConfig::clear_server_host() {
  1078   if (server_host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  1079     server_host_->clear();
  1081   clear_has_server_host();
  1083 inline const ::std::string& GobyMOOSAppConfig::server_host()
 const {
  1085   return *server_host_;
  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;
  1092   server_host_->assign(value);
  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;
  1100   server_host_->assign(value);
  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;
  1108   server_host_->assign(reinterpret_cast<const char*>(value), size);
  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;
  1117   return server_host_;
  1119 inline ::std::string* GobyMOOSAppConfig::release_server_host() {
  1120   clear_has_server_host();
  1121   if (server_host_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  1124     ::std::string* temp = server_host_;
  1125     server_host_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1129 inline void GobyMOOSAppConfig::set_allocated_server_host(::std::string* server_host) {
  1130   if (server_host_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
  1131     delete server_host_;
  1134     set_has_server_host();
  1135     server_host_ = server_host;
  1137     clear_has_server_host();
  1138     server_host_ = 
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  1144 inline bool GobyMOOSAppConfig::has_server_port()
 const {
  1145   return (_has_bits_[0] & 0x00000100u) != 0;
  1147 inline void GobyMOOSAppConfig::set_has_server_port() {
  1148   _has_bits_[0] |= 0x00000100u;
  1150 inline void GobyMOOSAppConfig::clear_has_server_port() {
  1151   _has_bits_[0] &= ~0x00000100u;
  1153 inline void GobyMOOSAppConfig::clear_server_port() {
  1155   clear_has_server_port();
  1157 inline ::google::protobuf::int32 GobyMOOSAppConfig::server_port()
 const {
  1159   return server_port_;
  1161 inline void GobyMOOSAppConfig::set_server_port(::google::protobuf::int32 value) {
  1162   set_has_server_port();
  1163   server_port_ = value;
  1168 inline bool GobyMOOSAppConfig::has_app_tick()
 const {
  1169   return (_has_bits_[0] & 0x00000200u) != 0;
  1171 inline void GobyMOOSAppConfig::set_has_app_tick() {
  1172   _has_bits_[0] |= 0x00000200u;
  1174 inline void GobyMOOSAppConfig::clear_has_app_tick() {
  1175   _has_bits_[0] &= ~0x00000200u;
  1177 inline void GobyMOOSAppConfig::clear_app_tick() {
  1179   clear_has_app_tick();
  1181 inline ::google::protobuf::uint32 GobyMOOSAppConfig::app_tick()
 const {
  1185 inline void GobyMOOSAppConfig::set_app_tick(::google::protobuf::uint32 value) {
  1192 inline bool GobyMOOSAppConfig::has_comm_tick()
 const {
  1193   return (_has_bits_[0] & 0x00000400u) != 0;
  1195 inline void GobyMOOSAppConfig::set_has_comm_tick() {
  1196   _has_bits_[0] |= 0x00000400u;
  1198 inline void GobyMOOSAppConfig::clear_has_comm_tick() {
  1199   _has_bits_[0] &= ~0x00000400u;
  1201 inline void GobyMOOSAppConfig::clear_comm_tick() {
  1203   clear_has_comm_tick();
  1205 inline ::google::protobuf::uint32 GobyMOOSAppConfig::comm_tick()
 const {
  1209 inline void GobyMOOSAppConfig::set_comm_tick(::google::protobuf::uint32 value) {
  1210   set_has_comm_tick();
  1216 inline bool GobyMOOSAppConfig::has_verbosity()
 const {
  1217   return (_has_bits_[0] & 0x00000800u) != 0;
  1219 inline void GobyMOOSAppConfig::set_has_verbosity() {
  1220   _has_bits_[0] |= 0x00000800u;
  1222 inline void GobyMOOSAppConfig::clear_has_verbosity() {
  1223   _has_bits_[0] &= ~0x00000800u;
  1225 inline void GobyMOOSAppConfig::clear_verbosity() {
  1227   clear_has_verbosity();
  1229 inline ::goby::common::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::verbosity()
 const {
  1231   return static_cast< ::goby::common::protobuf::GLogConfig_Verbosity 
>(verbosity_);
  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();
  1241 inline bool GobyMOOSAppConfig::has_show_gui()
 const {
  1242   return (_has_bits_[0] & 0x00001000u) != 0;
  1244 inline void GobyMOOSAppConfig::set_has_show_gui() {
  1245   _has_bits_[0] |= 0x00001000u;
  1247 inline void GobyMOOSAppConfig::clear_has_show_gui() {
  1248   _has_bits_[0] &= ~0x00001000u;
  1250 inline void GobyMOOSAppConfig::clear_show_gui() {
  1252   clear_has_show_gui();
  1254 inline bool GobyMOOSAppConfig::show_gui()
 const {
  1258 inline void GobyMOOSAppConfig::set_show_gui(
bool value) {
  1265 inline bool GobyMOOSAppConfig::has_use_binary_protobuf()
 const {
  1266   return (_has_bits_[0] & 0x00002000u) != 0;
  1268 inline void GobyMOOSAppConfig::set_has_use_binary_protobuf() {
  1269   _has_bits_[0] |= 0x00002000u;
  1271 inline void GobyMOOSAppConfig::clear_has_use_binary_protobuf() {
  1272   _has_bits_[0] &= ~0x00002000u;
  1274 inline void GobyMOOSAppConfig::clear_use_binary_protobuf() {
  1275   use_binary_protobuf_ = 
false;
  1276   clear_has_use_binary_protobuf();
  1278 inline bool GobyMOOSAppConfig::use_binary_protobuf()
 const {
  1280   return use_binary_protobuf_;
  1282 inline void GobyMOOSAppConfig::set_use_binary_protobuf(
bool value) {
  1283   set_has_use_binary_protobuf();
  1284   use_binary_protobuf_ = value;
  1289 inline bool GobyMOOSAppConfig::has_moos_parser_technique()
 const {
  1290   return (_has_bits_[0] & 0x00004000u) != 0;
  1292 inline void GobyMOOSAppConfig::set_has_moos_parser_technique() {
  1293   _has_bits_[0] |= 0x00004000u;
  1295 inline void GobyMOOSAppConfig::clear_has_moos_parser_technique() {
  1296   _has_bits_[0] &= ~0x00004000u;
  1298 inline void GobyMOOSAppConfig::clear_moos_parser_technique() {
  1299   moos_parser_technique_ = 5;
  1300   clear_has_moos_parser_technique();
  1302 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSAppConfig::moos_parser_technique()
 const {
  1304   return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique 
>(moos_parser_technique_);
  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;
  1314 inline int GobyMOOSAppConfig::initializer_size()
 const {
  1315   return initializer_.size();
  1317 inline void GobyMOOSAppConfig::clear_initializer() {
  1318   initializer_.Clear();
  1320 inline const ::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::initializer(
int index)
 const {
  1322   return initializer_.Get(index);
  1324 inline ::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::mutable_initializer(
int index) {
  1326   return initializer_.Mutable(index);
  1328 inline ::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::add_initializer() {
  1330   return initializer_.Add();
  1332 inline const ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >&
  1333 GobyMOOSAppConfig::initializer()
 const {
  1335   return initializer_;
  1337 inline ::google::protobuf::RepeatedPtrField< ::GobyMOOSAppConfig_Initializer >*
  1338 GobyMOOSAppConfig::mutable_initializer() {
  1340   return &initializer_;
  1348 namespace protobuf {
  1350 template <> 
struct is_proto_enum< ::GobyMOOSAppConfig_Initializer_Type> : ::google::protobuf::internal::true_type {};
  1352 inline const EnumDescriptor* GetEnumDescriptor< ::GobyMOOSAppConfig_Initializer_Type>() {
  1353   return ::GobyMOOSAppConfig_Initializer_Type_descriptor();
  1362 #endif  // PROTOBUF_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto__INCLUDED