Goby v2
config.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/pb/protobuf/config.proto
3 
4 #ifndef PROTOBUF_goby_2fpb_2fprotobuf_2fconfig_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fpb_2fprotobuf_2fconfig_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/app_base_config.pb.h"
30 #include <boost/units/quantity.hpp>
31 #include <boost/units/absolute.hpp>
32 #include <boost/units/dimensionless_type.hpp>
33 #include <boost/units/make_scaled_unit.hpp>
34 // @@protoc_insertion_point(includes)
35 
36 namespace goby {
37 namespace core {
38 namespace proto {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
42 void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
43 void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
44 
45 class Platform;
46 class Platform_SerialInfo;
47 class Platform_AcousticModemInfo;
48 class Platform_EthernetInfo;
49 class LogConfig;
50 class LogConfig_SQLiteInfo;
51 class LocalCartesianDatum;
52 class Config;
53 
54 enum LogConfig_SQLBackend {
55  LogConfig_SQLBackend_SQLITE = 1
56 };
57 bool LogConfig_SQLBackend_IsValid(int value);
58 const LogConfig_SQLBackend LogConfig_SQLBackend_SQLBackend_MIN = LogConfig_SQLBackend_SQLITE;
59 const LogConfig_SQLBackend LogConfig_SQLBackend_SQLBackend_MAX = LogConfig_SQLBackend_SQLITE;
60 const int LogConfig_SQLBackend_SQLBackend_ARRAYSIZE = LogConfig_SQLBackend_SQLBackend_MAX + 1;
61 
62 const ::google::protobuf::EnumDescriptor* LogConfig_SQLBackend_descriptor();
63 inline const ::std::string& LogConfig_SQLBackend_Name(LogConfig_SQLBackend value) {
64  return ::google::protobuf::internal::NameOfEnum(
65  LogConfig_SQLBackend_descriptor(), value);
66 }
67 inline bool LogConfig_SQLBackend_Parse(
68  const ::std::string& name, LogConfig_SQLBackend* value) {
69  return ::google::protobuf::internal::ParseNamedEnum<LogConfig_SQLBackend>(
70  LogConfig_SQLBackend_descriptor(), name, value);
71 }
72 enum VehicleType {
73  AUV = 1,
74  USV = 2,
75  SHIP = 3,
76  GLIDER = 4,
77  TARGET = 5,
78  BUOY = 6,
79  OTHER = 7
80 };
81 bool VehicleType_IsValid(int value);
82 const VehicleType VehicleType_MIN = AUV;
83 const VehicleType VehicleType_MAX = OTHER;
84 const int VehicleType_ARRAYSIZE = VehicleType_MAX + 1;
85 
86 const ::google::protobuf::EnumDescriptor* VehicleType_descriptor();
87 inline const ::std::string& VehicleType_Name(VehicleType value) {
88  return ::google::protobuf::internal::NameOfEnum(
89  VehicleType_descriptor(), value);
90 }
91 inline bool VehicleType_Parse(
92  const ::std::string& name, VehicleType* value) {
93  return ::google::protobuf::internal::ParseNamedEnum<VehicleType>(
94  VehicleType_descriptor(), name, value);
95 }
96 // ===================================================================
97 
98 class Platform_SerialInfo : public ::google::protobuf::Message {
99  public:
101  virtual ~Platform_SerialInfo();
102 
104 
105  inline Platform_SerialInfo& operator=(const Platform_SerialInfo& from) {
106  CopyFrom(from);
107  return *this;
108  }
109 
110  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
111  return _unknown_fields_;
112  }
113 
114  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
115  return &_unknown_fields_;
116  }
117 
118  static const ::google::protobuf::Descriptor* descriptor();
119  static const Platform_SerialInfo& default_instance();
120 
121  void Swap(Platform_SerialInfo* other);
122 
123  // implements Message ----------------------------------------------
124 
125  Platform_SerialInfo* New() const;
126  void CopyFrom(const ::google::protobuf::Message& from);
127  void MergeFrom(const ::google::protobuf::Message& from);
128  void CopyFrom(const Platform_SerialInfo& from);
129  void MergeFrom(const Platform_SerialInfo& from);
130  void Clear();
131  bool IsInitialized() const;
132 
133  int ByteSize() const;
134  bool MergePartialFromCodedStream(
135  ::google::protobuf::io::CodedInputStream* input);
136  void SerializeWithCachedSizes(
137  ::google::protobuf::io::CodedOutputStream* output) const;
138  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
139  int GetCachedSize() const { return _cached_size_; }
140  private:
141  void SharedCtor();
142  void SharedDtor();
143  void SetCachedSize(int size) const;
144  public:
145  ::google::protobuf::Metadata GetMetadata() const;
146 
147  // nested types ----------------------------------------------------
148 
149  // accessors -------------------------------------------------------
150 
151  // required string port = 1;
152  inline bool has_port() const;
153  inline void clear_port();
154  static const int kPortFieldNumber = 1;
155  inline const ::std::string& port() const;
156  inline void set_port(const ::std::string& value);
157  inline void set_port(const char* value);
158  inline void set_port(const char* value, size_t size);
159  inline ::std::string* mutable_port();
160  inline ::std::string* release_port();
161  inline void set_allocated_port(::std::string* port);
162 
163  // required uint32 baud = 2;
164  inline bool has_baud() const;
165  inline void clear_baud();
166  static const int kBaudFieldNumber = 2;
167  inline ::google::protobuf::uint32 baud() const;
168  inline void set_baud(::google::protobuf::uint32 value);
169 
170  // @@protoc_insertion_point(class_scope:goby.core.proto.Platform.SerialInfo)
171  private:
172  inline void set_has_port();
173  inline void clear_has_port();
174  inline void set_has_baud();
175  inline void clear_has_baud();
176 
177  ::google::protobuf::UnknownFieldSet _unknown_fields_;
178 
179  ::google::protobuf::uint32 _has_bits_[1];
180  mutable int _cached_size_;
181  ::std::string* port_;
182  ::google::protobuf::uint32 baud_;
183  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
184  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
185  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
186 
187  void InitAsDefaultInstance();
188  static Platform_SerialInfo* default_instance_;
189 };
190 // -------------------------------------------------------------------
191 
192 class Platform_AcousticModemInfo : public ::google::protobuf::Message {
193  public:
195  virtual ~Platform_AcousticModemInfo();
196 
198 
199  inline Platform_AcousticModemInfo& operator=(const Platform_AcousticModemInfo& from) {
200  CopyFrom(from);
201  return *this;
202  }
203 
204  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
205  return _unknown_fields_;
206  }
207 
208  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
209  return &_unknown_fields_;
210  }
211 
212  static const ::google::protobuf::Descriptor* descriptor();
213  static const Platform_AcousticModemInfo& default_instance();
214 
215  void Swap(Platform_AcousticModemInfo* other);
216 
217  // implements Message ----------------------------------------------
218 
219  Platform_AcousticModemInfo* New() const;
220  void CopyFrom(const ::google::protobuf::Message& from);
221  void MergeFrom(const ::google::protobuf::Message& from);
222  void CopyFrom(const Platform_AcousticModemInfo& from);
223  void MergeFrom(const Platform_AcousticModemInfo& from);
224  void Clear();
225  bool IsInitialized() const;
226 
227  int ByteSize() const;
228  bool MergePartialFromCodedStream(
229  ::google::protobuf::io::CodedInputStream* input);
230  void SerializeWithCachedSizes(
231  ::google::protobuf::io::CodedOutputStream* output) const;
232  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
233  int GetCachedSize() const { return _cached_size_; }
234  private:
235  void SharedCtor();
236  void SharedDtor();
237  void SetCachedSize(int size) const;
238  public:
239  ::google::protobuf::Metadata GetMetadata() const;
240 
241  // nested types ----------------------------------------------------
242 
243  // accessors -------------------------------------------------------
244 
245  // required uint32 modem_id = 1;
246  inline bool has_modem_id() const;
247  inline void clear_modem_id();
248  static const int kModemIdFieldNumber = 1;
249  inline ::google::protobuf::uint32 modem_id() const;
250  inline void set_modem_id(::google::protobuf::uint32 value);
251 
252  // required .goby.core.proto.Platform.SerialInfo modem_serial = 2;
253  inline bool has_modem_serial() const;
254  inline void clear_modem_serial();
255  static const int kModemSerialFieldNumber = 2;
256  inline const ::goby::core::proto::Platform_SerialInfo& modem_serial() const;
257  inline ::goby::core::proto::Platform_SerialInfo* mutable_modem_serial();
258  inline ::goby::core::proto::Platform_SerialInfo* release_modem_serial();
259  inline void set_allocated_modem_serial(::goby::core::proto::Platform_SerialInfo* modem_serial);
260 
261  // optional bool has_coproc = 3 [default = true];
262  inline bool has_has_coproc() const;
263  inline void clear_has_coproc();
264  static const int kHasCoprocFieldNumber = 3;
265  inline bool has_coproc() const;
266  inline void set_has_coproc(bool value);
267 
268  // @@protoc_insertion_point(class_scope:goby.core.proto.Platform.AcousticModemInfo)
269  private:
270  inline void set_has_modem_id();
271  inline void clear_has_modem_id();
272  inline void set_has_modem_serial();
273  inline void clear_has_modem_serial();
274  inline void set_has_has_coproc();
275  inline void clear_has_has_coproc();
276 
277  ::google::protobuf::UnknownFieldSet _unknown_fields_;
278 
279  ::google::protobuf::uint32 _has_bits_[1];
280  mutable int _cached_size_;
282  ::google::protobuf::uint32 modem_id_;
283  bool has_coproc_;
284  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
285  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
286  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
287 
288  void InitAsDefaultInstance();
289  static Platform_AcousticModemInfo* default_instance_;
290 };
291 // -------------------------------------------------------------------
292 
293 class Platform_EthernetInfo : public ::google::protobuf::Message {
294  public:
296  virtual ~Platform_EthernetInfo();
297 
299 
300  inline Platform_EthernetInfo& operator=(const Platform_EthernetInfo& from) {
301  CopyFrom(from);
302  return *this;
303  }
304 
305  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
306  return _unknown_fields_;
307  }
308 
309  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
310  return &_unknown_fields_;
311  }
312 
313  static const ::google::protobuf::Descriptor* descriptor();
314  static const Platform_EthernetInfo& default_instance();
315 
316  void Swap(Platform_EthernetInfo* other);
317 
318  // implements Message ----------------------------------------------
319 
320  Platform_EthernetInfo* New() const;
321  void CopyFrom(const ::google::protobuf::Message& from);
322  void MergeFrom(const ::google::protobuf::Message& from);
323  void CopyFrom(const Platform_EthernetInfo& from);
324  void MergeFrom(const Platform_EthernetInfo& from);
325  void Clear();
326  bool IsInitialized() const;
327 
328  int ByteSize() const;
329  bool MergePartialFromCodedStream(
330  ::google::protobuf::io::CodedInputStream* input);
331  void SerializeWithCachedSizes(
332  ::google::protobuf::io::CodedOutputStream* output) const;
333  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
334  int GetCachedSize() const { return _cached_size_; }
335  private:
336  void SharedCtor();
337  void SharedDtor();
338  void SetCachedSize(int size) const;
339  public:
340  ::google::protobuf::Metadata GetMetadata() const;
341 
342  // nested types ----------------------------------------------------
343 
344  // accessors -------------------------------------------------------
345 
346  // required string ipv4_addr = 1;
347  inline bool has_ipv4_addr() const;
348  inline void clear_ipv4_addr();
349  static const int kIpv4AddrFieldNumber = 1;
350  inline const ::std::string& ipv4_addr() const;
351  inline void set_ipv4_addr(const ::std::string& value);
352  inline void set_ipv4_addr(const char* value);
353  inline void set_ipv4_addr(const char* value, size_t size);
354  inline ::std::string* mutable_ipv4_addr();
355  inline ::std::string* release_ipv4_addr();
356  inline void set_allocated_ipv4_addr(::std::string* ipv4_addr);
357 
358  // required uint32 ipv4_port = 2;
359  inline bool has_ipv4_port() const;
360  inline void clear_ipv4_port();
361  static const int kIpv4PortFieldNumber = 2;
362  inline ::google::protobuf::uint32 ipv4_port() const;
363  inline void set_ipv4_port(::google::protobuf::uint32 value);
364 
365  // @@protoc_insertion_point(class_scope:goby.core.proto.Platform.EthernetInfo)
366  private:
367  inline void set_has_ipv4_addr();
368  inline void clear_has_ipv4_addr();
369  inline void set_has_ipv4_port();
370  inline void clear_has_ipv4_port();
371 
372  ::google::protobuf::UnknownFieldSet _unknown_fields_;
373 
374  ::google::protobuf::uint32 _has_bits_[1];
375  mutable int _cached_size_;
376  ::std::string* ipv4_addr_;
377  ::google::protobuf::uint32 ipv4_port_;
378  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
379  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
380  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
381 
382  void InitAsDefaultInstance();
383  static Platform_EthernetInfo* default_instance_;
384 };
385 // -------------------------------------------------------------------
386 
387 class Platform : public ::google::protobuf::Message {
388  public:
389  Platform();
390  virtual ~Platform();
391 
392  Platform(const Platform& from);
393 
394  inline Platform& operator=(const Platform& from) {
395  CopyFrom(from);
396  return *this;
397  }
398 
399  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
400  return _unknown_fields_;
401  }
402 
403  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
404  return &_unknown_fields_;
405  }
406 
407  static const ::google::protobuf::Descriptor* descriptor();
408  static const Platform& default_instance();
409 
410  void Swap(Platform* other);
411 
412  // implements Message ----------------------------------------------
413 
414  Platform* New() const;
415  void CopyFrom(const ::google::protobuf::Message& from);
416  void MergeFrom(const ::google::protobuf::Message& from);
417  void CopyFrom(const Platform& from);
418  void MergeFrom(const Platform& from);
419  void Clear();
420  bool IsInitialized() const;
421 
422  int ByteSize() const;
423  bool MergePartialFromCodedStream(
424  ::google::protobuf::io::CodedInputStream* input);
425  void SerializeWithCachedSizes(
426  ::google::protobuf::io::CodedOutputStream* output) const;
427  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
428  int GetCachedSize() const { return _cached_size_; }
429  private:
430  void SharedCtor();
431  void SharedDtor();
432  void SetCachedSize(int size) const;
433  public:
434  ::google::protobuf::Metadata GetMetadata() const;
435 
436  // nested types ----------------------------------------------------
437 
441 
442  // accessors -------------------------------------------------------
443 
444  // required string name = 1;
445  inline bool has_name() const;
446  inline void clear_name();
447  static const int kNameFieldNumber = 1;
448  inline const ::std::string& name() const;
449  inline void set_name(const ::std::string& value);
450  inline void set_name(const char* value);
451  inline void set_name(const char* value, size_t size);
452  inline ::std::string* mutable_name();
453  inline ::std::string* release_name();
454  inline void set_allocated_name(::std::string* name);
455 
456  // optional .goby.core.proto.VehicleType type = 2 [default = AUV];
457  inline bool has_type() const;
458  inline void clear_type();
459  static const int kTypeFieldNumber = 2;
460  inline ::goby::core::proto::VehicleType type() const;
461  inline void set_type(::goby::core::proto::VehicleType value);
462 
463  // optional .goby.core.proto.Platform.AcousticModemInfo acomms = 3;
464  inline bool has_acomms() const;
465  inline void clear_acomms();
466  static const int kAcommsFieldNumber = 3;
467  inline const ::goby::core::proto::Platform_AcousticModemInfo& acomms() const;
468  inline ::goby::core::proto::Platform_AcousticModemInfo* mutable_acomms();
469  inline ::goby::core::proto::Platform_AcousticModemInfo* release_acomms();
470  inline void set_allocated_acomms(::goby::core::proto::Platform_AcousticModemInfo* acomms);
471 
472  // optional .goby.core.proto.Platform.EthernetInfo ether = 4;
473  inline bool has_ether() const;
474  inline void clear_ether();
475  static const int kEtherFieldNumber = 4;
476  inline const ::goby::core::proto::Platform_EthernetInfo& ether() const;
477  inline ::goby::core::proto::Platform_EthernetInfo* mutable_ether();
478  inline ::goby::core::proto::Platform_EthernetInfo* release_ether();
479  inline void set_allocated_ether(::goby::core::proto::Platform_EthernetInfo* ether);
480 
481  // optional .goby.core.proto.Platform.SerialInfo serial = 5;
482  inline bool has_serial() const;
483  inline void clear_serial();
484  static const int kSerialFieldNumber = 5;
485  inline const ::goby::core::proto::Platform_SerialInfo& serial() const;
486  inline ::goby::core::proto::Platform_SerialInfo* mutable_serial();
487  inline ::goby::core::proto::Platform_SerialInfo* release_serial();
488  inline void set_allocated_serial(::goby::core::proto::Platform_SerialInfo* serial);
489 
490  // @@protoc_insertion_point(class_scope:goby.core.proto.Platform)
491  private:
492  inline void set_has_name();
493  inline void clear_has_name();
494  inline void set_has_type();
495  inline void clear_has_type();
496  inline void set_has_acomms();
497  inline void clear_has_acomms();
498  inline void set_has_ether();
499  inline void clear_has_ether();
500  inline void set_has_serial();
501  inline void clear_has_serial();
502 
503  ::google::protobuf::UnknownFieldSet _unknown_fields_;
504 
505  ::google::protobuf::uint32 _has_bits_[1];
506  mutable int _cached_size_;
507  ::std::string* name_;
511  int type_;
512  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
513  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
514  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
515 
516  void InitAsDefaultInstance();
517  static Platform* default_instance_;
518 };
519 // -------------------------------------------------------------------
520 
521 class LogConfig_SQLiteInfo : public ::google::protobuf::Message {
522  public:
524  virtual ~LogConfig_SQLiteInfo();
525 
527 
528  inline LogConfig_SQLiteInfo& operator=(const LogConfig_SQLiteInfo& from) {
529  CopyFrom(from);
530  return *this;
531  }
532 
533  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
534  return _unknown_fields_;
535  }
536 
537  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
538  return &_unknown_fields_;
539  }
540 
541  static const ::google::protobuf::Descriptor* descriptor();
542  static const LogConfig_SQLiteInfo& default_instance();
543 
544  void Swap(LogConfig_SQLiteInfo* other);
545 
546  // implements Message ----------------------------------------------
547 
548  LogConfig_SQLiteInfo* New() const;
549  void CopyFrom(const ::google::protobuf::Message& from);
550  void MergeFrom(const ::google::protobuf::Message& from);
551  void CopyFrom(const LogConfig_SQLiteInfo& from);
552  void MergeFrom(const LogConfig_SQLiteInfo& from);
553  void Clear();
554  bool IsInitialized() const;
555 
556  int ByteSize() const;
557  bool MergePartialFromCodedStream(
558  ::google::protobuf::io::CodedInputStream* input);
559  void SerializeWithCachedSizes(
560  ::google::protobuf::io::CodedOutputStream* output) const;
561  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
562  int GetCachedSize() const { return _cached_size_; }
563  private:
564  void SharedCtor();
565  void SharedDtor();
566  void SetCachedSize(int size) const;
567  public:
568  ::google::protobuf::Metadata GetMetadata() const;
569 
570  // nested types ----------------------------------------------------
571 
572  // accessors -------------------------------------------------------
573 
574  // optional string path = 2 [default = "./%1%_%2%_goby.db"];
575  inline bool has_path() const;
576  inline void clear_path();
577  static const int kPathFieldNumber = 2;
578  inline const ::std::string& path() const;
579  inline void set_path(const ::std::string& value);
580  inline void set_path(const char* value);
581  inline void set_path(const char* value, size_t size);
582  inline ::std::string* mutable_path();
583  inline ::std::string* release_path();
584  inline void set_allocated_path(::std::string* path);
585 
586  // @@protoc_insertion_point(class_scope:goby.core.proto.LogConfig.SQLiteInfo)
587  private:
588  inline void set_has_path();
589  inline void clear_has_path();
590 
591  ::google::protobuf::UnknownFieldSet _unknown_fields_;
592 
593  ::google::protobuf::uint32 _has_bits_[1];
594  mutable int _cached_size_;
595  static ::std::string* _default_path_;
596  ::std::string* path_;
597  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
598  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
599  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
600 
601  void InitAsDefaultInstance();
602  static LogConfig_SQLiteInfo* default_instance_;
603 };
604 // -------------------------------------------------------------------
605 
606 class LogConfig : public ::google::protobuf::Message {
607  public:
608  LogConfig();
609  virtual ~LogConfig();
610 
611  LogConfig(const LogConfig& from);
612 
613  inline LogConfig& operator=(const LogConfig& from) {
614  CopyFrom(from);
615  return *this;
616  }
617 
618  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
619  return _unknown_fields_;
620  }
621 
622  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
623  return &_unknown_fields_;
624  }
625 
626  static const ::google::protobuf::Descriptor* descriptor();
627  static const LogConfig& default_instance();
628 
629  void Swap(LogConfig* other);
630 
631  // implements Message ----------------------------------------------
632 
633  LogConfig* New() const;
634  void CopyFrom(const ::google::protobuf::Message& from);
635  void MergeFrom(const ::google::protobuf::Message& from);
636  void CopyFrom(const LogConfig& from);
637  void MergeFrom(const LogConfig& from);
638  void Clear();
639  bool IsInitialized() const;
640 
641  int ByteSize() const;
642  bool MergePartialFromCodedStream(
643  ::google::protobuf::io::CodedInputStream* input);
644  void SerializeWithCachedSizes(
645  ::google::protobuf::io::CodedOutputStream* output) const;
646  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
647  int GetCachedSize() const { return _cached_size_; }
648  private:
649  void SharedCtor();
650  void SharedDtor();
651  void SetCachedSize(int size) const;
652  public:
653  ::google::protobuf::Metadata GetMetadata() const;
654 
655  // nested types ----------------------------------------------------
656 
658 
659  typedef LogConfig_SQLBackend SQLBackend;
660  static const SQLBackend SQLITE = LogConfig_SQLBackend_SQLITE;
661  static inline bool SQLBackend_IsValid(int value) {
662  return LogConfig_SQLBackend_IsValid(value);
663  }
664  static const SQLBackend SQLBackend_MIN =
665  LogConfig_SQLBackend_SQLBackend_MIN;
666  static const SQLBackend SQLBackend_MAX =
667  LogConfig_SQLBackend_SQLBackend_MAX;
668  static const int SQLBackend_ARRAYSIZE =
669  LogConfig_SQLBackend_SQLBackend_ARRAYSIZE;
670  static inline const ::google::protobuf::EnumDescriptor*
671  SQLBackend_descriptor() {
672  return LogConfig_SQLBackend_descriptor();
673  }
674  static inline const ::std::string& SQLBackend_Name(SQLBackend value) {
675  return LogConfig_SQLBackend_Name(value);
676  }
677  static inline bool SQLBackend_Parse(const ::std::string& name,
678  SQLBackend* value) {
679  return LogConfig_SQLBackend_Parse(name, value);
680  }
681 
682  // accessors -------------------------------------------------------
683 
684  // optional .goby.core.proto.LogConfig.SQLBackend backend = 1 [default = SQLITE];
685  inline bool has_backend() const;
686  inline void clear_backend();
687  static const int kBackendFieldNumber = 1;
688  inline ::goby::core::proto::LogConfig_SQLBackend backend() const;
689  inline void set_backend(::goby::core::proto::LogConfig_SQLBackend value);
690 
691  // optional .goby.core.proto.LogConfig.SQLiteInfo sqlite = 2;
692  inline bool has_sqlite() const;
693  inline void clear_sqlite();
694  static const int kSqliteFieldNumber = 2;
695  inline const ::goby::core::proto::LogConfig_SQLiteInfo& sqlite() const;
696  inline ::goby::core::proto::LogConfig_SQLiteInfo* mutable_sqlite();
697  inline ::goby::core::proto::LogConfig_SQLiteInfo* release_sqlite();
698  inline void set_allocated_sqlite(::goby::core::proto::LogConfig_SQLiteInfo* sqlite);
699 
700  // @@protoc_insertion_point(class_scope:goby.core.proto.LogConfig)
701  private:
702  inline void set_has_backend();
703  inline void clear_has_backend();
704  inline void set_has_sqlite();
705  inline void clear_has_sqlite();
706 
707  ::google::protobuf::UnknownFieldSet _unknown_fields_;
708 
709  ::google::protobuf::uint32 _has_bits_[1];
710  mutable int _cached_size_;
712  int backend_;
713  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
714  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
715  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
716 
717  void InitAsDefaultInstance();
718  static LogConfig* default_instance_;
719 };
720 // -------------------------------------------------------------------
721 
722 class LocalCartesianDatum : public ::google::protobuf::Message {
723  public:
725  virtual ~LocalCartesianDatum();
726 
728 
729  inline LocalCartesianDatum& operator=(const LocalCartesianDatum& from) {
730  CopyFrom(from);
731  return *this;
732  }
733 
734  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
735  return _unknown_fields_;
736  }
737 
738  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
739  return &_unknown_fields_;
740  }
741 
742  static const ::google::protobuf::Descriptor* descriptor();
743  static const LocalCartesianDatum& default_instance();
744 
745  void Swap(LocalCartesianDatum* other);
746 
747  // implements Message ----------------------------------------------
748 
749  LocalCartesianDatum* New() const;
750  void CopyFrom(const ::google::protobuf::Message& from);
751  void MergeFrom(const ::google::protobuf::Message& from);
752  void CopyFrom(const LocalCartesianDatum& from);
753  void MergeFrom(const LocalCartesianDatum& from);
754  void Clear();
755  bool IsInitialized() const;
756 
757  int ByteSize() const;
758  bool MergePartialFromCodedStream(
759  ::google::protobuf::io::CodedInputStream* input);
760  void SerializeWithCachedSizes(
761  ::google::protobuf::io::CodedOutputStream* output) const;
762  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
763  int GetCachedSize() const { return _cached_size_; }
764  private:
765  void SharedCtor();
766  void SharedDtor();
767  void SetCachedSize(int size) const;
768  public:
769  ::google::protobuf::Metadata GetMetadata() const;
770 
771  // nested types ----------------------------------------------------
772 
773  // accessors -------------------------------------------------------
774 
775  // required double lat = 1;
776  inline bool has_lat() const;
777  inline void clear_lat();
778  static const int kLatFieldNumber = 1;
779  inline double lat() const;
780  inline void set_lat(double value);
781 
782  // required double lon = 2;
783  inline bool has_lon() const;
784  inline void clear_lon();
785  static const int kLonFieldNumber = 2;
786  inline double lon() const;
787  inline void set_lon(double value);
788 
789  // optional double depth = 3 [default = 0];
790  inline bool has_depth() const;
791  inline void clear_depth();
792  static const int kDepthFieldNumber = 3;
793  inline double depth() const;
794  inline void set_depth(double value);
795 
796  // @@protoc_insertion_point(class_scope:goby.core.proto.LocalCartesianDatum)
797  private:
798  inline void set_has_lat();
799  inline void clear_has_lat();
800  inline void set_has_lon();
801  inline void clear_has_lon();
802  inline void set_has_depth();
803  inline void clear_has_depth();
804 
805  ::google::protobuf::UnknownFieldSet _unknown_fields_;
806 
807  ::google::protobuf::uint32 _has_bits_[1];
808  mutable int _cached_size_;
809  double lat_;
810  double lon_;
811  double depth_;
812  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
813  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
814  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
815 
816  void InitAsDefaultInstance();
817  static LocalCartesianDatum* default_instance_;
818 };
819 // -------------------------------------------------------------------
820 
821 class Config : public ::google::protobuf::Message {
822  public:
823  Config();
824  virtual ~Config();
825 
826  Config(const Config& from);
827 
828  inline Config& operator=(const Config& from) {
829  CopyFrom(from);
830  return *this;
831  }
832 
833  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
834  return _unknown_fields_;
835  }
836 
837  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
838  return &_unknown_fields_;
839  }
840 
841  static const ::google::protobuf::Descriptor* descriptor();
842  static const Config& default_instance();
843 
844  void Swap(Config* other);
845 
846  // implements Message ----------------------------------------------
847 
848  Config* New() const;
849  void CopyFrom(const ::google::protobuf::Message& from);
850  void MergeFrom(const ::google::protobuf::Message& from);
851  void CopyFrom(const Config& from);
852  void MergeFrom(const Config& from);
853  void Clear();
854  bool IsInitialized() const;
855 
856  int ByteSize() const;
857  bool MergePartialFromCodedStream(
858  ::google::protobuf::io::CodedInputStream* input);
859  void SerializeWithCachedSizes(
860  ::google::protobuf::io::CodedOutputStream* output) const;
861  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
862  int GetCachedSize() const { return _cached_size_; }
863  private:
864  void SharedCtor();
865  void SharedDtor();
866  void SetCachedSize(int size) const;
867  public:
868  ::google::protobuf::Metadata GetMetadata() const;
869 
870  // nested types ----------------------------------------------------
871 
872  // accessors -------------------------------------------------------
873 
874  // optional .AppBaseConfig base = 1;
875  inline bool has_base() const;
876  inline void clear_base();
877  static const int kBaseFieldNumber = 1;
878  inline const ::AppBaseConfig& base() const;
879  inline ::AppBaseConfig* mutable_base();
880  inline ::AppBaseConfig* release_base();
881  inline void set_allocated_base(::AppBaseConfig* base);
882 
883  // optional .goby.core.proto.Platform self = 2;
884  inline bool has_self() const;
885  inline void clear_self();
886  static const int kSelfFieldNumber = 2;
887  inline const ::goby::core::proto::Platform& self() const;
888  inline ::goby::core::proto::Platform* mutable_self();
889  inline ::goby::core::proto::Platform* release_self();
890  inline void set_allocated_self(::goby::core::proto::Platform* self);
891 
892  // repeated .goby.core.proto.Platform other = 3;
893  inline int other_size() const;
894  inline void clear_other();
895  static const int kOtherFieldNumber = 3;
896  inline const ::goby::core::proto::Platform& other(int index) const;
897  inline ::goby::core::proto::Platform* mutable_other(int index);
898  inline ::goby::core::proto::Platform* add_other();
899  inline const ::google::protobuf::RepeatedPtrField< ::goby::core::proto::Platform >&
900  other() const;
901  inline ::google::protobuf::RepeatedPtrField< ::goby::core::proto::Platform >*
902  mutable_other();
903 
904  // optional .goby.core.proto.LocalCartesianDatum origin = 5;
905  inline bool has_origin() const;
906  inline void clear_origin();
907  static const int kOriginFieldNumber = 5;
908  inline const ::goby::core::proto::LocalCartesianDatum& origin() const;
909  inline ::goby::core::proto::LocalCartesianDatum* mutable_origin();
910  inline ::goby::core::proto::LocalCartesianDatum* release_origin();
911  inline void set_allocated_origin(::goby::core::proto::LocalCartesianDatum* origin);
912 
913  // @@protoc_insertion_point(class_scope:goby.core.proto.Config)
914  private:
915  inline void set_has_base();
916  inline void clear_has_base();
917  inline void set_has_self();
918  inline void clear_has_self();
919  inline void set_has_origin();
920  inline void clear_has_origin();
921 
922  ::google::protobuf::UnknownFieldSet _unknown_fields_;
923 
924  ::google::protobuf::uint32 _has_bits_[1];
925  mutable int _cached_size_;
926  ::AppBaseConfig* base_;
928  ::google::protobuf::RepeatedPtrField< ::goby::core::proto::Platform > other_;
930  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
931  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2fconfig_2eproto();
932  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2fconfig_2eproto();
933 
934  void InitAsDefaultInstance();
935  static Config* default_instance_;
936 };
937 // ===================================================================
938 
939 
940 // ===================================================================
941 
942 // Platform_SerialInfo
943 
944 // required string port = 1;
945 inline bool Platform_SerialInfo::has_port() const {
946  return (_has_bits_[0] & 0x00000001u) != 0;
947 }
948 inline void Platform_SerialInfo::set_has_port() {
949  _has_bits_[0] |= 0x00000001u;
950 }
951 inline void Platform_SerialInfo::clear_has_port() {
952  _has_bits_[0] &= ~0x00000001u;
953 }
954 inline void Platform_SerialInfo::clear_port() {
955  if (port_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
956  port_->clear();
957  }
958  clear_has_port();
959 }
960 inline const ::std::string& Platform_SerialInfo::port() const {
961  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.SerialInfo.port)
962  return *port_;
963 }
964 inline void Platform_SerialInfo::set_port(const ::std::string& value) {
965  set_has_port();
966  if (port_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
967  port_ = new ::std::string;
968  }
969  port_->assign(value);
970  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.SerialInfo.port)
971 }
972 inline void Platform_SerialInfo::set_port(const char* value) {
973  set_has_port();
974  if (port_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
975  port_ = new ::std::string;
976  }
977  port_->assign(value);
978  // @@protoc_insertion_point(field_set_char:goby.core.proto.Platform.SerialInfo.port)
979 }
980 inline void Platform_SerialInfo::set_port(const char* value, size_t size) {
981  set_has_port();
982  if (port_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
983  port_ = new ::std::string;
984  }
985  port_->assign(reinterpret_cast<const char*>(value), size);
986  // @@protoc_insertion_point(field_set_pointer:goby.core.proto.Platform.SerialInfo.port)
987 }
988 inline ::std::string* Platform_SerialInfo::mutable_port() {
989  set_has_port();
990  if (port_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
991  port_ = new ::std::string;
992  }
993  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.SerialInfo.port)
994  return port_;
995 }
996 inline ::std::string* Platform_SerialInfo::release_port() {
997  clear_has_port();
998  if (port_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
999  return NULL;
1000  } else {
1001  ::std::string* temp = port_;
1002  port_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1003  return temp;
1004  }
1005 }
1006 inline void Platform_SerialInfo::set_allocated_port(::std::string* port) {
1007  if (port_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1008  delete port_;
1009  }
1010  if (port) {
1011  set_has_port();
1012  port_ = port;
1013  } else {
1014  clear_has_port();
1015  port_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1016  }
1017  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.SerialInfo.port)
1018 }
1019 
1020 // required uint32 baud = 2;
1021 inline bool Platform_SerialInfo::has_baud() const {
1022  return (_has_bits_[0] & 0x00000002u) != 0;
1023 }
1024 inline void Platform_SerialInfo::set_has_baud() {
1025  _has_bits_[0] |= 0x00000002u;
1026 }
1027 inline void Platform_SerialInfo::clear_has_baud() {
1028  _has_bits_[0] &= ~0x00000002u;
1029 }
1030 inline void Platform_SerialInfo::clear_baud() {
1031  baud_ = 0u;
1032  clear_has_baud();
1033 }
1034 inline ::google::protobuf::uint32 Platform_SerialInfo::baud() const {
1035  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.SerialInfo.baud)
1036  return baud_;
1037 }
1038 inline void Platform_SerialInfo::set_baud(::google::protobuf::uint32 value) {
1039  set_has_baud();
1040  baud_ = value;
1041  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.SerialInfo.baud)
1042 }
1043 
1044 // -------------------------------------------------------------------
1045 
1046 // Platform_AcousticModemInfo
1047 
1048 // required uint32 modem_id = 1;
1049 inline bool Platform_AcousticModemInfo::has_modem_id() const {
1050  return (_has_bits_[0] & 0x00000001u) != 0;
1051 }
1052 inline void Platform_AcousticModemInfo::set_has_modem_id() {
1053  _has_bits_[0] |= 0x00000001u;
1054 }
1055 inline void Platform_AcousticModemInfo::clear_has_modem_id() {
1056  _has_bits_[0] &= ~0x00000001u;
1057 }
1058 inline void Platform_AcousticModemInfo::clear_modem_id() {
1059  modem_id_ = 0u;
1060  clear_has_modem_id();
1061 }
1062 inline ::google::protobuf::uint32 Platform_AcousticModemInfo::modem_id() const {
1063  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.AcousticModemInfo.modem_id)
1064  return modem_id_;
1065 }
1066 inline void Platform_AcousticModemInfo::set_modem_id(::google::protobuf::uint32 value) {
1067  set_has_modem_id();
1068  modem_id_ = value;
1069  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.AcousticModemInfo.modem_id)
1070 }
1071 
1072 // required .goby.core.proto.Platform.SerialInfo modem_serial = 2;
1073 inline bool Platform_AcousticModemInfo::has_modem_serial() const {
1074  return (_has_bits_[0] & 0x00000002u) != 0;
1075 }
1076 inline void Platform_AcousticModemInfo::set_has_modem_serial() {
1077  _has_bits_[0] |= 0x00000002u;
1078 }
1079 inline void Platform_AcousticModemInfo::clear_has_modem_serial() {
1080  _has_bits_[0] &= ~0x00000002u;
1081 }
1082 inline void Platform_AcousticModemInfo::clear_modem_serial() {
1083  if (modem_serial_ != NULL) modem_serial_->::goby::core::proto::Platform_SerialInfo::Clear();
1084  clear_has_modem_serial();
1085 }
1086 inline const ::goby::core::proto::Platform_SerialInfo& Platform_AcousticModemInfo::modem_serial() const {
1087  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.AcousticModemInfo.modem_serial)
1088  return modem_serial_ != NULL ? *modem_serial_ : *default_instance_->modem_serial_;
1089 }
1090 inline ::goby::core::proto::Platform_SerialInfo* Platform_AcousticModemInfo::mutable_modem_serial() {
1091  set_has_modem_serial();
1092  if (modem_serial_ == NULL) modem_serial_ = new ::goby::core::proto::Platform_SerialInfo;
1093  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.AcousticModemInfo.modem_serial)
1094  return modem_serial_;
1095 }
1096 inline ::goby::core::proto::Platform_SerialInfo* Platform_AcousticModemInfo::release_modem_serial() {
1097  clear_has_modem_serial();
1098  ::goby::core::proto::Platform_SerialInfo* temp = modem_serial_;
1099  modem_serial_ = NULL;
1100  return temp;
1101 }
1102 inline void Platform_AcousticModemInfo::set_allocated_modem_serial(::goby::core::proto::Platform_SerialInfo* modem_serial) {
1103  delete modem_serial_;
1104  modem_serial_ = modem_serial;
1105  if (modem_serial) {
1106  set_has_modem_serial();
1107  } else {
1108  clear_has_modem_serial();
1109  }
1110  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.AcousticModemInfo.modem_serial)
1111 }
1112 
1113 // optional bool has_coproc = 3 [default = true];
1114 inline bool Platform_AcousticModemInfo::has_has_coproc() const {
1115  return (_has_bits_[0] & 0x00000004u) != 0;
1116 }
1117 inline void Platform_AcousticModemInfo::set_has_has_coproc() {
1118  _has_bits_[0] |= 0x00000004u;
1119 }
1120 inline void Platform_AcousticModemInfo::clear_has_has_coproc() {
1121  _has_bits_[0] &= ~0x00000004u;
1122 }
1123 inline void Platform_AcousticModemInfo::clear_has_coproc() {
1124  has_coproc_ = true;
1125  clear_has_has_coproc();
1126 }
1127 inline bool Platform_AcousticModemInfo::has_coproc() const {
1128  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.AcousticModemInfo.has_coproc)
1129  return has_coproc_;
1130 }
1131 inline void Platform_AcousticModemInfo::set_has_coproc(bool value) {
1132  set_has_has_coproc();
1133  has_coproc_ = value;
1134  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.AcousticModemInfo.has_coproc)
1135 }
1136 
1137 // -------------------------------------------------------------------
1138 
1139 // Platform_EthernetInfo
1140 
1141 // required string ipv4_addr = 1;
1142 inline bool Platform_EthernetInfo::has_ipv4_addr() const {
1143  return (_has_bits_[0] & 0x00000001u) != 0;
1144 }
1145 inline void Platform_EthernetInfo::set_has_ipv4_addr() {
1146  _has_bits_[0] |= 0x00000001u;
1147 }
1148 inline void Platform_EthernetInfo::clear_has_ipv4_addr() {
1149  _has_bits_[0] &= ~0x00000001u;
1150 }
1151 inline void Platform_EthernetInfo::clear_ipv4_addr() {
1152  if (ipv4_addr_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1153  ipv4_addr_->clear();
1154  }
1155  clear_has_ipv4_addr();
1156 }
1157 inline const ::std::string& Platform_EthernetInfo::ipv4_addr() const {
1158  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.EthernetInfo.ipv4_addr)
1159  return *ipv4_addr_;
1160 }
1161 inline void Platform_EthernetInfo::set_ipv4_addr(const ::std::string& value) {
1162  set_has_ipv4_addr();
1163  if (ipv4_addr_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1164  ipv4_addr_ = new ::std::string;
1165  }
1166  ipv4_addr_->assign(value);
1167  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.EthernetInfo.ipv4_addr)
1168 }
1169 inline void Platform_EthernetInfo::set_ipv4_addr(const char* value) {
1170  set_has_ipv4_addr();
1171  if (ipv4_addr_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1172  ipv4_addr_ = new ::std::string;
1173  }
1174  ipv4_addr_->assign(value);
1175  // @@protoc_insertion_point(field_set_char:goby.core.proto.Platform.EthernetInfo.ipv4_addr)
1176 }
1177 inline void Platform_EthernetInfo::set_ipv4_addr(const char* value, size_t size) {
1178  set_has_ipv4_addr();
1179  if (ipv4_addr_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1180  ipv4_addr_ = new ::std::string;
1181  }
1182  ipv4_addr_->assign(reinterpret_cast<const char*>(value), size);
1183  // @@protoc_insertion_point(field_set_pointer:goby.core.proto.Platform.EthernetInfo.ipv4_addr)
1184 }
1185 inline ::std::string* Platform_EthernetInfo::mutable_ipv4_addr() {
1186  set_has_ipv4_addr();
1187  if (ipv4_addr_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1188  ipv4_addr_ = new ::std::string;
1189  }
1190  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.EthernetInfo.ipv4_addr)
1191  return ipv4_addr_;
1192 }
1193 inline ::std::string* Platform_EthernetInfo::release_ipv4_addr() {
1194  clear_has_ipv4_addr();
1195  if (ipv4_addr_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1196  return NULL;
1197  } else {
1198  ::std::string* temp = ipv4_addr_;
1199  ipv4_addr_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1200  return temp;
1201  }
1202 }
1203 inline void Platform_EthernetInfo::set_allocated_ipv4_addr(::std::string* ipv4_addr) {
1204  if (ipv4_addr_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1205  delete ipv4_addr_;
1206  }
1207  if (ipv4_addr) {
1208  set_has_ipv4_addr();
1209  ipv4_addr_ = ipv4_addr;
1210  } else {
1211  clear_has_ipv4_addr();
1212  ipv4_addr_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1213  }
1214  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.EthernetInfo.ipv4_addr)
1215 }
1216 
1217 // required uint32 ipv4_port = 2;
1218 inline bool Platform_EthernetInfo::has_ipv4_port() const {
1219  return (_has_bits_[0] & 0x00000002u) != 0;
1220 }
1221 inline void Platform_EthernetInfo::set_has_ipv4_port() {
1222  _has_bits_[0] |= 0x00000002u;
1223 }
1224 inline void Platform_EthernetInfo::clear_has_ipv4_port() {
1225  _has_bits_[0] &= ~0x00000002u;
1226 }
1227 inline void Platform_EthernetInfo::clear_ipv4_port() {
1228  ipv4_port_ = 0u;
1229  clear_has_ipv4_port();
1230 }
1231 inline ::google::protobuf::uint32 Platform_EthernetInfo::ipv4_port() const {
1232  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.EthernetInfo.ipv4_port)
1233  return ipv4_port_;
1234 }
1235 inline void Platform_EthernetInfo::set_ipv4_port(::google::protobuf::uint32 value) {
1236  set_has_ipv4_port();
1237  ipv4_port_ = value;
1238  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.EthernetInfo.ipv4_port)
1239 }
1240 
1241 // -------------------------------------------------------------------
1242 
1243 // Platform
1244 
1245 // required string name = 1;
1246 inline bool Platform::has_name() const {
1247  return (_has_bits_[0] & 0x00000001u) != 0;
1248 }
1249 inline void Platform::set_has_name() {
1250  _has_bits_[0] |= 0x00000001u;
1251 }
1252 inline void Platform::clear_has_name() {
1253  _has_bits_[0] &= ~0x00000001u;
1254 }
1255 inline void Platform::clear_name() {
1256  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1257  name_->clear();
1258  }
1259  clear_has_name();
1260 }
1261 inline const ::std::string& Platform::name() const {
1262  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.name)
1263  return *name_;
1264 }
1265 inline void Platform::set_name(const ::std::string& value) {
1266  set_has_name();
1267  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1268  name_ = new ::std::string;
1269  }
1270  name_->assign(value);
1271  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.name)
1272 }
1273 inline void Platform::set_name(const char* value) {
1274  set_has_name();
1275  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1276  name_ = new ::std::string;
1277  }
1278  name_->assign(value);
1279  // @@protoc_insertion_point(field_set_char:goby.core.proto.Platform.name)
1280 }
1281 inline void Platform::set_name(const char* value, size_t size) {
1282  set_has_name();
1283  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1284  name_ = new ::std::string;
1285  }
1286  name_->assign(reinterpret_cast<const char*>(value), size);
1287  // @@protoc_insertion_point(field_set_pointer:goby.core.proto.Platform.name)
1288 }
1289 inline ::std::string* Platform::mutable_name() {
1290  set_has_name();
1291  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1292  name_ = new ::std::string;
1293  }
1294  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.name)
1295  return name_;
1296 }
1297 inline ::std::string* Platform::release_name() {
1298  clear_has_name();
1299  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1300  return NULL;
1301  } else {
1302  ::std::string* temp = name_;
1303  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1304  return temp;
1305  }
1306 }
1307 inline void Platform::set_allocated_name(::std::string* name) {
1308  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1309  delete name_;
1310  }
1311  if (name) {
1312  set_has_name();
1313  name_ = name;
1314  } else {
1315  clear_has_name();
1316  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1317  }
1318  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.name)
1319 }
1320 
1321 // optional .goby.core.proto.VehicleType type = 2 [default = AUV];
1322 inline bool Platform::has_type() const {
1323  return (_has_bits_[0] & 0x00000002u) != 0;
1324 }
1325 inline void Platform::set_has_type() {
1326  _has_bits_[0] |= 0x00000002u;
1327 }
1328 inline void Platform::clear_has_type() {
1329  _has_bits_[0] &= ~0x00000002u;
1330 }
1331 inline void Platform::clear_type() {
1332  type_ = 1;
1333  clear_has_type();
1334 }
1335 inline ::goby::core::proto::VehicleType Platform::type() const {
1336  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.type)
1337  return static_cast< ::goby::core::proto::VehicleType >(type_);
1338 }
1339 inline void Platform::set_type(::goby::core::proto::VehicleType value) {
1340  assert(::goby::core::proto::VehicleType_IsValid(value));
1341  set_has_type();
1342  type_ = value;
1343  // @@protoc_insertion_point(field_set:goby.core.proto.Platform.type)
1344 }
1345 
1346 // optional .goby.core.proto.Platform.AcousticModemInfo acomms = 3;
1347 inline bool Platform::has_acomms() const {
1348  return (_has_bits_[0] & 0x00000004u) != 0;
1349 }
1350 inline void Platform::set_has_acomms() {
1351  _has_bits_[0] |= 0x00000004u;
1352 }
1353 inline void Platform::clear_has_acomms() {
1354  _has_bits_[0] &= ~0x00000004u;
1355 }
1356 inline void Platform::clear_acomms() {
1357  if (acomms_ != NULL) acomms_->::goby::core::proto::Platform_AcousticModemInfo::Clear();
1358  clear_has_acomms();
1359 }
1360 inline const ::goby::core::proto::Platform_AcousticModemInfo& Platform::acomms() const {
1361  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.acomms)
1362  return acomms_ != NULL ? *acomms_ : *default_instance_->acomms_;
1363 }
1364 inline ::goby::core::proto::Platform_AcousticModemInfo* Platform::mutable_acomms() {
1365  set_has_acomms();
1366  if (acomms_ == NULL) acomms_ = new ::goby::core::proto::Platform_AcousticModemInfo;
1367  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.acomms)
1368  return acomms_;
1369 }
1370 inline ::goby::core::proto::Platform_AcousticModemInfo* Platform::release_acomms() {
1371  clear_has_acomms();
1373  acomms_ = NULL;
1374  return temp;
1375 }
1376 inline void Platform::set_allocated_acomms(::goby::core::proto::Platform_AcousticModemInfo* acomms) {
1377  delete acomms_;
1378  acomms_ = acomms;
1379  if (acomms) {
1380  set_has_acomms();
1381  } else {
1382  clear_has_acomms();
1383  }
1384  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.acomms)
1385 }
1386 
1387 // optional .goby.core.proto.Platform.EthernetInfo ether = 4;
1388 inline bool Platform::has_ether() const {
1389  return (_has_bits_[0] & 0x00000008u) != 0;
1390 }
1391 inline void Platform::set_has_ether() {
1392  _has_bits_[0] |= 0x00000008u;
1393 }
1394 inline void Platform::clear_has_ether() {
1395  _has_bits_[0] &= ~0x00000008u;
1396 }
1397 inline void Platform::clear_ether() {
1398  if (ether_ != NULL) ether_->::goby::core::proto::Platform_EthernetInfo::Clear();
1399  clear_has_ether();
1400 }
1401 inline const ::goby::core::proto::Platform_EthernetInfo& Platform::ether() const {
1402  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.ether)
1403  return ether_ != NULL ? *ether_ : *default_instance_->ether_;
1404 }
1405 inline ::goby::core::proto::Platform_EthernetInfo* Platform::mutable_ether() {
1406  set_has_ether();
1407  if (ether_ == NULL) ether_ = new ::goby::core::proto::Platform_EthernetInfo;
1408  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.ether)
1409  return ether_;
1410 }
1411 inline ::goby::core::proto::Platform_EthernetInfo* Platform::release_ether() {
1412  clear_has_ether();
1414  ether_ = NULL;
1415  return temp;
1416 }
1417 inline void Platform::set_allocated_ether(::goby::core::proto::Platform_EthernetInfo* ether) {
1418  delete ether_;
1419  ether_ = ether;
1420  if (ether) {
1421  set_has_ether();
1422  } else {
1423  clear_has_ether();
1424  }
1425  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.ether)
1426 }
1427 
1428 // optional .goby.core.proto.Platform.SerialInfo serial = 5;
1429 inline bool Platform::has_serial() const {
1430  return (_has_bits_[0] & 0x00000010u) != 0;
1431 }
1432 inline void Platform::set_has_serial() {
1433  _has_bits_[0] |= 0x00000010u;
1434 }
1435 inline void Platform::clear_has_serial() {
1436  _has_bits_[0] &= ~0x00000010u;
1437 }
1438 inline void Platform::clear_serial() {
1439  if (serial_ != NULL) serial_->::goby::core::proto::Platform_SerialInfo::Clear();
1440  clear_has_serial();
1441 }
1442 inline const ::goby::core::proto::Platform_SerialInfo& Platform::serial() const {
1443  // @@protoc_insertion_point(field_get:goby.core.proto.Platform.serial)
1444  return serial_ != NULL ? *serial_ : *default_instance_->serial_;
1445 }
1446 inline ::goby::core::proto::Platform_SerialInfo* Platform::mutable_serial() {
1447  set_has_serial();
1448  if (serial_ == NULL) serial_ = new ::goby::core::proto::Platform_SerialInfo;
1449  // @@protoc_insertion_point(field_mutable:goby.core.proto.Platform.serial)
1450  return serial_;
1451 }
1452 inline ::goby::core::proto::Platform_SerialInfo* Platform::release_serial() {
1453  clear_has_serial();
1455  serial_ = NULL;
1456  return temp;
1457 }
1458 inline void Platform::set_allocated_serial(::goby::core::proto::Platform_SerialInfo* serial) {
1459  delete serial_;
1460  serial_ = serial;
1461  if (serial) {
1462  set_has_serial();
1463  } else {
1464  clear_has_serial();
1465  }
1466  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Platform.serial)
1467 }
1468 
1469 // -------------------------------------------------------------------
1470 
1471 // LogConfig_SQLiteInfo
1472 
1473 // optional string path = 2 [default = "./%1%_%2%_goby.db"];
1474 inline bool LogConfig_SQLiteInfo::has_path() const {
1475  return (_has_bits_[0] & 0x00000001u) != 0;
1476 }
1477 inline void LogConfig_SQLiteInfo::set_has_path() {
1478  _has_bits_[0] |= 0x00000001u;
1479 }
1480 inline void LogConfig_SQLiteInfo::clear_has_path() {
1481  _has_bits_[0] &= ~0x00000001u;
1482 }
1483 inline void LogConfig_SQLiteInfo::clear_path() {
1484  if (path_ != _default_path_) {
1485  path_->assign(*_default_path_);
1486  }
1487  clear_has_path();
1488 }
1489 inline const ::std::string& LogConfig_SQLiteInfo::path() const {
1490  // @@protoc_insertion_point(field_get:goby.core.proto.LogConfig.SQLiteInfo.path)
1491  return *path_;
1492 }
1493 inline void LogConfig_SQLiteInfo::set_path(const ::std::string& value) {
1494  set_has_path();
1495  if (path_ == _default_path_) {
1496  path_ = new ::std::string;
1497  }
1498  path_->assign(value);
1499  // @@protoc_insertion_point(field_set:goby.core.proto.LogConfig.SQLiteInfo.path)
1500 }
1501 inline void LogConfig_SQLiteInfo::set_path(const char* value) {
1502  set_has_path();
1503  if (path_ == _default_path_) {
1504  path_ = new ::std::string;
1505  }
1506  path_->assign(value);
1507  // @@protoc_insertion_point(field_set_char:goby.core.proto.LogConfig.SQLiteInfo.path)
1508 }
1509 inline void LogConfig_SQLiteInfo::set_path(const char* value, size_t size) {
1510  set_has_path();
1511  if (path_ == _default_path_) {
1512  path_ = new ::std::string;
1513  }
1514  path_->assign(reinterpret_cast<const char*>(value), size);
1515  // @@protoc_insertion_point(field_set_pointer:goby.core.proto.LogConfig.SQLiteInfo.path)
1516 }
1517 inline ::std::string* LogConfig_SQLiteInfo::mutable_path() {
1518  set_has_path();
1519  if (path_ == _default_path_) {
1520  path_ = new ::std::string(*_default_path_);
1521  }
1522  // @@protoc_insertion_point(field_mutable:goby.core.proto.LogConfig.SQLiteInfo.path)
1523  return path_;
1524 }
1525 inline ::std::string* LogConfig_SQLiteInfo::release_path() {
1526  clear_has_path();
1527  if (path_ == _default_path_) {
1528  return NULL;
1529  } else {
1530  ::std::string* temp = path_;
1531  path_ = const_cast< ::std::string*>(_default_path_);
1532  return temp;
1533  }
1534 }
1535 inline void LogConfig_SQLiteInfo::set_allocated_path(::std::string* path) {
1536  if (path_ != _default_path_) {
1537  delete path_;
1538  }
1539  if (path) {
1540  set_has_path();
1541  path_ = path;
1542  } else {
1543  clear_has_path();
1544  path_ = const_cast< ::std::string*>(_default_path_);
1545  }
1546  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.LogConfig.SQLiteInfo.path)
1547 }
1548 
1549 // -------------------------------------------------------------------
1550 
1551 // LogConfig
1552 
1553 // optional .goby.core.proto.LogConfig.SQLBackend backend = 1 [default = SQLITE];
1554 inline bool LogConfig::has_backend() const {
1555  return (_has_bits_[0] & 0x00000001u) != 0;
1556 }
1557 inline void LogConfig::set_has_backend() {
1558  _has_bits_[0] |= 0x00000001u;
1559 }
1560 inline void LogConfig::clear_has_backend() {
1561  _has_bits_[0] &= ~0x00000001u;
1562 }
1563 inline void LogConfig::clear_backend() {
1564  backend_ = 1;
1565  clear_has_backend();
1566 }
1567 inline ::goby::core::proto::LogConfig_SQLBackend LogConfig::backend() const {
1568  // @@protoc_insertion_point(field_get:goby.core.proto.LogConfig.backend)
1569  return static_cast< ::goby::core::proto::LogConfig_SQLBackend >(backend_);
1570 }
1571 inline void LogConfig::set_backend(::goby::core::proto::LogConfig_SQLBackend value) {
1572  assert(::goby::core::proto::LogConfig_SQLBackend_IsValid(value));
1573  set_has_backend();
1574  backend_ = value;
1575  // @@protoc_insertion_point(field_set:goby.core.proto.LogConfig.backend)
1576 }
1577 
1578 // optional .goby.core.proto.LogConfig.SQLiteInfo sqlite = 2;
1579 inline bool LogConfig::has_sqlite() const {
1580  return (_has_bits_[0] & 0x00000002u) != 0;
1581 }
1582 inline void LogConfig::set_has_sqlite() {
1583  _has_bits_[0] |= 0x00000002u;
1584 }
1585 inline void LogConfig::clear_has_sqlite() {
1586  _has_bits_[0] &= ~0x00000002u;
1587 }
1588 inline void LogConfig::clear_sqlite() {
1589  if (sqlite_ != NULL) sqlite_->::goby::core::proto::LogConfig_SQLiteInfo::Clear();
1590  clear_has_sqlite();
1591 }
1592 inline const ::goby::core::proto::LogConfig_SQLiteInfo& LogConfig::sqlite() const {
1593  // @@protoc_insertion_point(field_get:goby.core.proto.LogConfig.sqlite)
1594  return sqlite_ != NULL ? *sqlite_ : *default_instance_->sqlite_;
1595 }
1596 inline ::goby::core::proto::LogConfig_SQLiteInfo* LogConfig::mutable_sqlite() {
1597  set_has_sqlite();
1598  if (sqlite_ == NULL) sqlite_ = new ::goby::core::proto::LogConfig_SQLiteInfo;
1599  // @@protoc_insertion_point(field_mutable:goby.core.proto.LogConfig.sqlite)
1600  return sqlite_;
1601 }
1602 inline ::goby::core::proto::LogConfig_SQLiteInfo* LogConfig::release_sqlite() {
1603  clear_has_sqlite();
1605  sqlite_ = NULL;
1606  return temp;
1607 }
1608 inline void LogConfig::set_allocated_sqlite(::goby::core::proto::LogConfig_SQLiteInfo* sqlite) {
1609  delete sqlite_;
1610  sqlite_ = sqlite;
1611  if (sqlite) {
1612  set_has_sqlite();
1613  } else {
1614  clear_has_sqlite();
1615  }
1616  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.LogConfig.sqlite)
1617 }
1618 
1619 // -------------------------------------------------------------------
1620 
1621 // LocalCartesianDatum
1622 
1623 // required double lat = 1;
1624 inline bool LocalCartesianDatum::has_lat() const {
1625  return (_has_bits_[0] & 0x00000001u) != 0;
1626 }
1627 inline void LocalCartesianDatum::set_has_lat() {
1628  _has_bits_[0] |= 0x00000001u;
1629 }
1630 inline void LocalCartesianDatum::clear_has_lat() {
1631  _has_bits_[0] &= ~0x00000001u;
1632 }
1633 inline void LocalCartesianDatum::clear_lat() {
1634  lat_ = 0;
1635  clear_has_lat();
1636 }
1637 inline double LocalCartesianDatum::lat() const {
1638  // @@protoc_insertion_point(field_get:goby.core.proto.LocalCartesianDatum.lat)
1639  return lat_;
1640 }
1641 inline void LocalCartesianDatum::set_lat(double value) {
1642  set_has_lat();
1643  lat_ = value;
1644  // @@protoc_insertion_point(field_set:goby.core.proto.LocalCartesianDatum.lat)
1645 }
1646 
1647 // required double lon = 2;
1648 inline bool LocalCartesianDatum::has_lon() const {
1649  return (_has_bits_[0] & 0x00000002u) != 0;
1650 }
1651 inline void LocalCartesianDatum::set_has_lon() {
1652  _has_bits_[0] |= 0x00000002u;
1653 }
1654 inline void LocalCartesianDatum::clear_has_lon() {
1655  _has_bits_[0] &= ~0x00000002u;
1656 }
1657 inline void LocalCartesianDatum::clear_lon() {
1658  lon_ = 0;
1659  clear_has_lon();
1660 }
1661 inline double LocalCartesianDatum::lon() const {
1662  // @@protoc_insertion_point(field_get:goby.core.proto.LocalCartesianDatum.lon)
1663  return lon_;
1664 }
1665 inline void LocalCartesianDatum::set_lon(double value) {
1666  set_has_lon();
1667  lon_ = value;
1668  // @@protoc_insertion_point(field_set:goby.core.proto.LocalCartesianDatum.lon)
1669 }
1670 
1671 // optional double depth = 3 [default = 0];
1672 inline bool LocalCartesianDatum::has_depth() const {
1673  return (_has_bits_[0] & 0x00000004u) != 0;
1674 }
1675 inline void LocalCartesianDatum::set_has_depth() {
1676  _has_bits_[0] |= 0x00000004u;
1677 }
1678 inline void LocalCartesianDatum::clear_has_depth() {
1679  _has_bits_[0] &= ~0x00000004u;
1680 }
1681 inline void LocalCartesianDatum::clear_depth() {
1682  depth_ = 0;
1683  clear_has_depth();
1684 }
1685 inline double LocalCartesianDatum::depth() const {
1686  // @@protoc_insertion_point(field_get:goby.core.proto.LocalCartesianDatum.depth)
1687  return depth_;
1688 }
1689 inline void LocalCartesianDatum::set_depth(double value) {
1690  set_has_depth();
1691  depth_ = value;
1692  // @@protoc_insertion_point(field_set:goby.core.proto.LocalCartesianDatum.depth)
1693 }
1694 
1695 // -------------------------------------------------------------------
1696 
1697 // Config
1698 
1699 // optional .AppBaseConfig base = 1;
1700 inline bool Config::has_base() const {
1701  return (_has_bits_[0] & 0x00000001u) != 0;
1702 }
1703 inline void Config::set_has_base() {
1704  _has_bits_[0] |= 0x00000001u;
1705 }
1706 inline void Config::clear_has_base() {
1707  _has_bits_[0] &= ~0x00000001u;
1708 }
1709 inline void Config::clear_base() {
1710  if (base_ != NULL) base_->::AppBaseConfig::Clear();
1711  clear_has_base();
1712 }
1713 inline const ::AppBaseConfig& Config::base() const {
1714  // @@protoc_insertion_point(field_get:goby.core.proto.Config.base)
1715  return base_ != NULL ? *base_ : *default_instance_->base_;
1716 }
1717 inline ::AppBaseConfig* Config::mutable_base() {
1718  set_has_base();
1719  if (base_ == NULL) base_ = new ::AppBaseConfig;
1720  // @@protoc_insertion_point(field_mutable:goby.core.proto.Config.base)
1721  return base_;
1722 }
1723 inline ::AppBaseConfig* Config::release_base() {
1724  clear_has_base();
1725  ::AppBaseConfig* temp = base_;
1726  base_ = NULL;
1727  return temp;
1728 }
1729 inline void Config::set_allocated_base(::AppBaseConfig* base) {
1730  delete base_;
1731  base_ = base;
1732  if (base) {
1733  set_has_base();
1734  } else {
1735  clear_has_base();
1736  }
1737  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Config.base)
1738 }
1739 
1740 // optional .goby.core.proto.Platform self = 2;
1741 inline bool Config::has_self() const {
1742  return (_has_bits_[0] & 0x00000002u) != 0;
1743 }
1744 inline void Config::set_has_self() {
1745  _has_bits_[0] |= 0x00000002u;
1746 }
1747 inline void Config::clear_has_self() {
1748  _has_bits_[0] &= ~0x00000002u;
1749 }
1750 inline void Config::clear_self() {
1751  if (self_ != NULL) self_->::goby::core::proto::Platform::Clear();
1752  clear_has_self();
1753 }
1754 inline const ::goby::core::proto::Platform& Config::self() const {
1755  // @@protoc_insertion_point(field_get:goby.core.proto.Config.self)
1756  return self_ != NULL ? *self_ : *default_instance_->self_;
1757 }
1758 inline ::goby::core::proto::Platform* Config::mutable_self() {
1759  set_has_self();
1760  if (self_ == NULL) self_ = new ::goby::core::proto::Platform;
1761  // @@protoc_insertion_point(field_mutable:goby.core.proto.Config.self)
1762  return self_;
1763 }
1764 inline ::goby::core::proto::Platform* Config::release_self() {
1765  clear_has_self();
1766  ::goby::core::proto::Platform* temp = self_;
1767  self_ = NULL;
1768  return temp;
1769 }
1770 inline void Config::set_allocated_self(::goby::core::proto::Platform* self) {
1771  delete self_;
1772  self_ = self;
1773  if (self) {
1774  set_has_self();
1775  } else {
1776  clear_has_self();
1777  }
1778  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Config.self)
1779 }
1780 
1781 // repeated .goby.core.proto.Platform other = 3;
1782 inline int Config::other_size() const {
1783  return other_.size();
1784 }
1785 inline void Config::clear_other() {
1786  other_.Clear();
1787 }
1788 inline const ::goby::core::proto::Platform& Config::other(int index) const {
1789  // @@protoc_insertion_point(field_get:goby.core.proto.Config.other)
1790  return other_.Get(index);
1791 }
1792 inline ::goby::core::proto::Platform* Config::mutable_other(int index) {
1793  // @@protoc_insertion_point(field_mutable:goby.core.proto.Config.other)
1794  return other_.Mutable(index);
1795 }
1796 inline ::goby::core::proto::Platform* Config::add_other() {
1797  // @@protoc_insertion_point(field_add:goby.core.proto.Config.other)
1798  return other_.Add();
1799 }
1800 inline const ::google::protobuf::RepeatedPtrField< ::goby::core::proto::Platform >&
1801 Config::other() const {
1802  // @@protoc_insertion_point(field_list:goby.core.proto.Config.other)
1803  return other_;
1804 }
1805 inline ::google::protobuf::RepeatedPtrField< ::goby::core::proto::Platform >*
1806 Config::mutable_other() {
1807  // @@protoc_insertion_point(field_mutable_list:goby.core.proto.Config.other)
1808  return &other_;
1809 }
1810 
1811 // optional .goby.core.proto.LocalCartesianDatum origin = 5;
1812 inline bool Config::has_origin() const {
1813  return (_has_bits_[0] & 0x00000008u) != 0;
1814 }
1815 inline void Config::set_has_origin() {
1816  _has_bits_[0] |= 0x00000008u;
1817 }
1818 inline void Config::clear_has_origin() {
1819  _has_bits_[0] &= ~0x00000008u;
1820 }
1821 inline void Config::clear_origin() {
1822  if (origin_ != NULL) origin_->::goby::core::proto::LocalCartesianDatum::Clear();
1823  clear_has_origin();
1824 }
1825 inline const ::goby::core::proto::LocalCartesianDatum& Config::origin() const {
1826  // @@protoc_insertion_point(field_get:goby.core.proto.Config.origin)
1827  return origin_ != NULL ? *origin_ : *default_instance_->origin_;
1828 }
1829 inline ::goby::core::proto::LocalCartesianDatum* Config::mutable_origin() {
1830  set_has_origin();
1831  if (origin_ == NULL) origin_ = new ::goby::core::proto::LocalCartesianDatum;
1832  // @@protoc_insertion_point(field_mutable:goby.core.proto.Config.origin)
1833  return origin_;
1834 }
1835 inline ::goby::core::proto::LocalCartesianDatum* Config::release_origin() {
1836  clear_has_origin();
1838  origin_ = NULL;
1839  return temp;
1840 }
1841 inline void Config::set_allocated_origin(::goby::core::proto::LocalCartesianDatum* origin) {
1842  delete origin_;
1843  origin_ = origin;
1844  if (origin) {
1845  set_has_origin();
1846  } else {
1847  clear_has_origin();
1848  }
1849  // @@protoc_insertion_point(field_set_allocated:goby.core.proto.Config.origin)
1850 }
1851 
1852 
1853 // @@protoc_insertion_point(namespace_scope)
1854 
1855 } // namespace proto
1856 } // namespace core
1857 } // namespace goby
1858 
1859 #ifndef SWIG
1860 namespace google {
1861 namespace protobuf {
1862 
1863 template <> struct is_proto_enum< ::goby::core::proto::LogConfig_SQLBackend> : ::google::protobuf::internal::true_type {};
1864 template <>
1865 inline const EnumDescriptor* GetEnumDescriptor< ::goby::core::proto::LogConfig_SQLBackend>() {
1866  return ::goby::core::proto::LogConfig_SQLBackend_descriptor();
1867 }
1868 template <> struct is_proto_enum< ::goby::core::proto::VehicleType> : ::google::protobuf::internal::true_type {};
1869 template <>
1870 inline const EnumDescriptor* GetEnumDescriptor< ::goby::core::proto::VehicleType>() {
1871  return ::goby::core::proto::VehicleType_descriptor();
1872 }
1873 
1874 } // namespace google
1875 } // namespace protobuf
1876 #endif // SWIG
1877 
1878 // @@protoc_insertion_point(global_scope)
1879 
1880 #endif // PROTOBUF_goby_2fpb_2fprotobuf_2fconfig_2eproto__INCLUDED
The global namespace for the Goby project.