Goby v2
bluefin_config.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/moos/frontseat/bluefin/bluefin_config.proto
3 
4 #ifndef PROTOBUF_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "goby/moos/protobuf/frontseat_config.pb.h"
29 #include "goby/common/protobuf/option_extensions.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 // Internal implementation detail -- do not call these.
37 void protobuf_AddDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
38 void protobuf_AssignDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
39 void protobuf_ShutdownFile_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
40 
42 
43 enum BluefinFrontSeatConfig_AcceptingCommandsHook {
44  BluefinFrontSeatConfig_AcceptingCommandsHook_BFMSC_TRIGGER = 0,
45  BluefinFrontSeatConfig_AcceptingCommandsHook_BFMIS_RUNNING_TRIGGER = 1,
46  BluefinFrontSeatConfig_AcceptingCommandsHook_BFCTL_TRIGGER = 2
47 };
48 bool BluefinFrontSeatConfig_AcceptingCommandsHook_IsValid(int value);
49 const BluefinFrontSeatConfig_AcceptingCommandsHook BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MIN = BluefinFrontSeatConfig_AcceptingCommandsHook_BFMSC_TRIGGER;
50 const BluefinFrontSeatConfig_AcceptingCommandsHook BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MAX = BluefinFrontSeatConfig_AcceptingCommandsHook_BFCTL_TRIGGER;
51 const int BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_ARRAYSIZE = BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MAX + 1;
52 
53 const ::google::protobuf::EnumDescriptor* BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor();
54 inline const ::std::string& BluefinFrontSeatConfig_AcceptingCommandsHook_Name(BluefinFrontSeatConfig_AcceptingCommandsHook value) {
55  return ::google::protobuf::internal::NameOfEnum(
56  BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor(), value);
57 }
58 inline bool BluefinFrontSeatConfig_AcceptingCommandsHook_Parse(
59  const ::std::string& name, BluefinFrontSeatConfig_AcceptingCommandsHook* value) {
60  return ::google::protobuf::internal::ParseNamedEnum<BluefinFrontSeatConfig_AcceptingCommandsHook>(
61  BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor(), name, value);
62 }
63 // ===================================================================
64 
65 class BluefinFrontSeatConfig : public ::google::protobuf::Message {
66  public:
68  virtual ~BluefinFrontSeatConfig();
69 
71 
72  inline BluefinFrontSeatConfig& operator=(const BluefinFrontSeatConfig& from) {
73  CopyFrom(from);
74  return *this;
75  }
76 
77  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
78  return _unknown_fields_;
79  }
80 
81  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
82  return &_unknown_fields_;
83  }
84 
85  static const ::google::protobuf::Descriptor* descriptor();
86  static const BluefinFrontSeatConfig& default_instance();
87 
88  void Swap(BluefinFrontSeatConfig* other);
89 
90  // implements Message ----------------------------------------------
91 
92  BluefinFrontSeatConfig* New() const;
93  void CopyFrom(const ::google::protobuf::Message& from);
94  void MergeFrom(const ::google::protobuf::Message& from);
95  void CopyFrom(const BluefinFrontSeatConfig& from);
96  void MergeFrom(const BluefinFrontSeatConfig& from);
97  void Clear();
98  bool IsInitialized() const;
99 
100  int ByteSize() const;
101  bool MergePartialFromCodedStream(
102  ::google::protobuf::io::CodedInputStream* input);
103  void SerializeWithCachedSizes(
104  ::google::protobuf::io::CodedOutputStream* output) const;
105  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
106  int GetCachedSize() const { return _cached_size_; }
107  private:
108  void SharedCtor();
109  void SharedDtor();
110  void SetCachedSize(int size) const;
111  public:
112  ::google::protobuf::Metadata GetMetadata() const;
113 
114  // nested types ----------------------------------------------------
115 
116  typedef BluefinFrontSeatConfig_AcceptingCommandsHook AcceptingCommandsHook;
117  static const AcceptingCommandsHook BFMSC_TRIGGER = BluefinFrontSeatConfig_AcceptingCommandsHook_BFMSC_TRIGGER;
118  static const AcceptingCommandsHook BFMIS_RUNNING_TRIGGER = BluefinFrontSeatConfig_AcceptingCommandsHook_BFMIS_RUNNING_TRIGGER;
119  static const AcceptingCommandsHook BFCTL_TRIGGER = BluefinFrontSeatConfig_AcceptingCommandsHook_BFCTL_TRIGGER;
120  static inline bool AcceptingCommandsHook_IsValid(int value) {
121  return BluefinFrontSeatConfig_AcceptingCommandsHook_IsValid(value);
122  }
123  static const AcceptingCommandsHook AcceptingCommandsHook_MIN =
124  BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MIN;
125  static const AcceptingCommandsHook AcceptingCommandsHook_MAX =
126  BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_MAX;
127  static const int AcceptingCommandsHook_ARRAYSIZE =
128  BluefinFrontSeatConfig_AcceptingCommandsHook_AcceptingCommandsHook_ARRAYSIZE;
129  static inline const ::google::protobuf::EnumDescriptor*
130  AcceptingCommandsHook_descriptor() {
131  return BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor();
132  }
133  static inline const ::std::string& AcceptingCommandsHook_Name(AcceptingCommandsHook value) {
134  return BluefinFrontSeatConfig_AcceptingCommandsHook_Name(value);
135  }
136  static inline bool AcceptingCommandsHook_Parse(const ::std::string& name,
137  AcceptingCommandsHook* value) {
138  return BluefinFrontSeatConfig_AcceptingCommandsHook_Parse(name, value);
139  }
140 
141  // accessors -------------------------------------------------------
142 
143  // required string huxley_tcp_address = 1;
144  inline bool has_huxley_tcp_address() const;
145  inline void clear_huxley_tcp_address();
146  static const int kHuxleyTcpAddressFieldNumber = 1;
147  inline const ::std::string& huxley_tcp_address() const;
148  inline void set_huxley_tcp_address(const ::std::string& value);
149  inline void set_huxley_tcp_address(const char* value);
150  inline void set_huxley_tcp_address(const char* value, size_t size);
151  inline ::std::string* mutable_huxley_tcp_address();
152  inline ::std::string* release_huxley_tcp_address();
153  inline void set_allocated_huxley_tcp_address(::std::string* huxley_tcp_address);
154 
155  // optional uint32 huxley_tcp_port = 2 [default = 29500];
156  inline bool has_huxley_tcp_port() const;
157  inline void clear_huxley_tcp_port();
158  static const int kHuxleyTcpPortFieldNumber = 2;
159  inline ::google::protobuf::uint32 huxley_tcp_port() const;
160  inline void set_huxley_tcp_port(::google::protobuf::uint32 value);
161 
162  // optional uint32 reconnect_interval = 3 [default = 10];
163  inline bool has_reconnect_interval() const;
164  inline void clear_reconnect_interval();
165  static const int kReconnectIntervalFieldNumber = 3;
166  inline ::google::protobuf::uint32 reconnect_interval() const;
167  inline void set_reconnect_interval(::google::protobuf::uint32 value);
168 
169  // optional uint32 nmea_resend_attempts = 4 [default = 3];
170  inline bool has_nmea_resend_attempts() const;
171  inline void clear_nmea_resend_attempts();
172  static const int kNmeaResendAttemptsFieldNumber = 4;
173  inline ::google::protobuf::uint32 nmea_resend_attempts() const;
174  inline void set_nmea_resend_attempts(::google::protobuf::uint32 value);
175 
176  // optional uint32 nmea_resend_interval = 5 [default = 5];
177  inline bool has_nmea_resend_interval() const;
178  inline void clear_nmea_resend_interval();
179  static const int kNmeaResendIntervalFieldNumber = 5;
180  inline ::google::protobuf::uint32 nmea_resend_interval() const;
181  inline void set_nmea_resend_interval(::google::protobuf::uint32 value);
182 
183  // optional uint32 allowed_nmea_demerits = 6 [default = 3];
184  inline bool has_allowed_nmea_demerits() const;
185  inline void clear_allowed_nmea_demerits();
186  static const int kAllowedNmeaDemeritsFieldNumber = 6;
187  inline ::google::protobuf::uint32 allowed_nmea_demerits() const;
188  inline void set_allowed_nmea_demerits(::google::protobuf::uint32 value);
189 
190  // optional uint32 allow_missing_nav_interval = 7 [default = 5];
191  inline bool has_allow_missing_nav_interval() const;
192  inline void clear_allow_missing_nav_interval();
193  static const int kAllowMissingNavIntervalFieldNumber = 7;
194  inline ::google::protobuf::uint32 allow_missing_nav_interval() const;
195  inline void set_allow_missing_nav_interval(::google::protobuf::uint32 value);
196 
197  // optional uint32 heartbeat_interval = 8 [default = 1];
198  inline bool has_heartbeat_interval() const;
199  inline void clear_heartbeat_interval();
200  static const int kHeartbeatIntervalFieldNumber = 8;
201  inline ::google::protobuf::uint32 heartbeat_interval() const;
202  inline void set_heartbeat_interval(::google::protobuf::uint32 value);
203 
204  // repeated string extra_bplog = 9;
205  inline int extra_bplog_size() const;
206  inline void clear_extra_bplog();
207  static const int kExtraBplogFieldNumber = 9;
208  inline const ::std::string& extra_bplog(int index) const;
209  inline ::std::string* mutable_extra_bplog(int index);
210  inline void set_extra_bplog(int index, const ::std::string& value);
211  inline void set_extra_bplog(int index, const char* value);
212  inline void set_extra_bplog(int index, const char* value, size_t size);
213  inline ::std::string* add_extra_bplog();
214  inline void add_extra_bplog(const ::std::string& value);
215  inline void add_extra_bplog(const char* value);
216  inline void add_extra_bplog(const char* value, size_t size);
217  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& extra_bplog() const;
218  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_extra_bplog();
219 
220  // optional bool send_tmr_messages = 10 [default = true];
221  inline bool has_send_tmr_messages() const;
222  inline void clear_send_tmr_messages();
223  static const int kSendTmrMessagesFieldNumber = 10;
224  inline bool send_tmr_messages() const;
225  inline void set_send_tmr_messages(bool value);
226 
227  // optional bool disable_ack = 11 [default = false];
228  inline bool has_disable_ack() const;
229  inline void clear_disable_ack();
230  static const int kDisableAckFieldNumber = 11;
231  inline bool disable_ack() const;
232  inline void set_disable_ack(bool value);
233 
234  // optional .BluefinFrontSeatConfig.AcceptingCommandsHook accepting_commands_hook = 12 [default = BFMSC_TRIGGER];
235  inline bool has_accepting_commands_hook() const;
236  inline void clear_accepting_commands_hook();
237  static const int kAcceptingCommandsHookFieldNumber = 12;
238  inline ::BluefinFrontSeatConfig_AcceptingCommandsHook accepting_commands_hook() const;
239  inline void set_accepting_commands_hook(::BluefinFrontSeatConfig_AcceptingCommandsHook value);
240 
241  // @@protoc_insertion_point(class_scope:BluefinFrontSeatConfig)
242  private:
243  inline void set_has_huxley_tcp_address();
244  inline void clear_has_huxley_tcp_address();
245  inline void set_has_huxley_tcp_port();
246  inline void clear_has_huxley_tcp_port();
247  inline void set_has_reconnect_interval();
248  inline void clear_has_reconnect_interval();
249  inline void set_has_nmea_resend_attempts();
250  inline void clear_has_nmea_resend_attempts();
251  inline void set_has_nmea_resend_interval();
252  inline void clear_has_nmea_resend_interval();
253  inline void set_has_allowed_nmea_demerits();
254  inline void clear_has_allowed_nmea_demerits();
255  inline void set_has_allow_missing_nav_interval();
256  inline void clear_has_allow_missing_nav_interval();
257  inline void set_has_heartbeat_interval();
258  inline void clear_has_heartbeat_interval();
259  inline void set_has_send_tmr_messages();
260  inline void clear_has_send_tmr_messages();
261  inline void set_has_disable_ack();
262  inline void clear_has_disable_ack();
263  inline void set_has_accepting_commands_hook();
264  inline void clear_has_accepting_commands_hook();
265 
266  ::google::protobuf::UnknownFieldSet _unknown_fields_;
267 
268  ::google::protobuf::uint32 _has_bits_[1];
269  mutable int _cached_size_;
270  ::std::string* huxley_tcp_address_;
271  ::google::protobuf::uint32 huxley_tcp_port_;
272  ::google::protobuf::uint32 reconnect_interval_;
273  ::google::protobuf::uint32 nmea_resend_attempts_;
274  ::google::protobuf::uint32 nmea_resend_interval_;
275  ::google::protobuf::uint32 allowed_nmea_demerits_;
276  ::google::protobuf::uint32 allow_missing_nav_interval_;
277  ::google::protobuf::RepeatedPtrField< ::std::string> extra_bplog_;
278  ::google::protobuf::uint32 heartbeat_interval_;
279  bool send_tmr_messages_;
280  bool disable_ack_;
281  int accepting_commands_hook_;
282  friend void protobuf_AddDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
283  friend void protobuf_AssignDesc_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
284  friend void protobuf_ShutdownFile_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto();
285 
286  void InitAsDefaultInstance();
287  static BluefinFrontSeatConfig* default_instance_;
288 };
289 // ===================================================================
290 
291 static const int kBluefinConfigFieldNumber = 1000;
292 extern ::google::protobuf::internal::ExtensionIdentifier< ::iFrontSeatConfig,
293  ::google::protobuf::internal::MessageTypeTraits< ::BluefinFrontSeatConfig >, 11, false >
294  bluefin_config;
295 
296 // ===================================================================
297 
298 // BluefinFrontSeatConfig
299 
300 // required string huxley_tcp_address = 1;
301 inline bool BluefinFrontSeatConfig::has_huxley_tcp_address() const {
302  return (_has_bits_[0] & 0x00000001u) != 0;
303 }
304 inline void BluefinFrontSeatConfig::set_has_huxley_tcp_address() {
305  _has_bits_[0] |= 0x00000001u;
306 }
307 inline void BluefinFrontSeatConfig::clear_has_huxley_tcp_address() {
308  _has_bits_[0] &= ~0x00000001u;
309 }
310 inline void BluefinFrontSeatConfig::clear_huxley_tcp_address() {
311  if (huxley_tcp_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
312  huxley_tcp_address_->clear();
313  }
314  clear_has_huxley_tcp_address();
315 }
316 inline const ::std::string& BluefinFrontSeatConfig::huxley_tcp_address() const {
317  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.huxley_tcp_address)
318  return *huxley_tcp_address_;
319 }
320 inline void BluefinFrontSeatConfig::set_huxley_tcp_address(const ::std::string& value) {
321  set_has_huxley_tcp_address();
322  if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
323  huxley_tcp_address_ = new ::std::string;
324  }
325  huxley_tcp_address_->assign(value);
326  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.huxley_tcp_address)
327 }
328 inline void BluefinFrontSeatConfig::set_huxley_tcp_address(const char* value) {
329  set_has_huxley_tcp_address();
330  if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
331  huxley_tcp_address_ = new ::std::string;
332  }
333  huxley_tcp_address_->assign(value);
334  // @@protoc_insertion_point(field_set_char:BluefinFrontSeatConfig.huxley_tcp_address)
335 }
336 inline void BluefinFrontSeatConfig::set_huxley_tcp_address(const char* value, size_t size) {
337  set_has_huxley_tcp_address();
338  if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
339  huxley_tcp_address_ = new ::std::string;
340  }
341  huxley_tcp_address_->assign(reinterpret_cast<const char*>(value), size);
342  // @@protoc_insertion_point(field_set_pointer:BluefinFrontSeatConfig.huxley_tcp_address)
343 }
344 inline ::std::string* BluefinFrontSeatConfig::mutable_huxley_tcp_address() {
345  set_has_huxley_tcp_address();
346  if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
347  huxley_tcp_address_ = new ::std::string;
348  }
349  // @@protoc_insertion_point(field_mutable:BluefinFrontSeatConfig.huxley_tcp_address)
350  return huxley_tcp_address_;
351 }
352 inline ::std::string* BluefinFrontSeatConfig::release_huxley_tcp_address() {
353  clear_has_huxley_tcp_address();
354  if (huxley_tcp_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
355  return NULL;
356  } else {
357  ::std::string* temp = huxley_tcp_address_;
358  huxley_tcp_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
359  return temp;
360  }
361 }
362 inline void BluefinFrontSeatConfig::set_allocated_huxley_tcp_address(::std::string* huxley_tcp_address) {
363  if (huxley_tcp_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364  delete huxley_tcp_address_;
365  }
366  if (huxley_tcp_address) {
367  set_has_huxley_tcp_address();
368  huxley_tcp_address_ = huxley_tcp_address;
369  } else {
370  clear_has_huxley_tcp_address();
371  huxley_tcp_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
372  }
373  // @@protoc_insertion_point(field_set_allocated:BluefinFrontSeatConfig.huxley_tcp_address)
374 }
375 
376 // optional uint32 huxley_tcp_port = 2 [default = 29500];
377 inline bool BluefinFrontSeatConfig::has_huxley_tcp_port() const {
378  return (_has_bits_[0] & 0x00000002u) != 0;
379 }
380 inline void BluefinFrontSeatConfig::set_has_huxley_tcp_port() {
381  _has_bits_[0] |= 0x00000002u;
382 }
383 inline void BluefinFrontSeatConfig::clear_has_huxley_tcp_port() {
384  _has_bits_[0] &= ~0x00000002u;
385 }
386 inline void BluefinFrontSeatConfig::clear_huxley_tcp_port() {
387  huxley_tcp_port_ = 29500u;
388  clear_has_huxley_tcp_port();
389 }
390 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::huxley_tcp_port() const {
391  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.huxley_tcp_port)
392  return huxley_tcp_port_;
393 }
394 inline void BluefinFrontSeatConfig::set_huxley_tcp_port(::google::protobuf::uint32 value) {
395  set_has_huxley_tcp_port();
396  huxley_tcp_port_ = value;
397  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.huxley_tcp_port)
398 }
399 
400 // optional uint32 reconnect_interval = 3 [default = 10];
401 inline bool BluefinFrontSeatConfig::has_reconnect_interval() const {
402  return (_has_bits_[0] & 0x00000004u) != 0;
403 }
404 inline void BluefinFrontSeatConfig::set_has_reconnect_interval() {
405  _has_bits_[0] |= 0x00000004u;
406 }
407 inline void BluefinFrontSeatConfig::clear_has_reconnect_interval() {
408  _has_bits_[0] &= ~0x00000004u;
409 }
410 inline void BluefinFrontSeatConfig::clear_reconnect_interval() {
411  reconnect_interval_ = 10u;
412  clear_has_reconnect_interval();
413 }
414 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::reconnect_interval() const {
415  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.reconnect_interval)
416  return reconnect_interval_;
417 }
418 inline void BluefinFrontSeatConfig::set_reconnect_interval(::google::protobuf::uint32 value) {
419  set_has_reconnect_interval();
420  reconnect_interval_ = value;
421  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.reconnect_interval)
422 }
423 
424 // optional uint32 nmea_resend_attempts = 4 [default = 3];
425 inline bool BluefinFrontSeatConfig::has_nmea_resend_attempts() const {
426  return (_has_bits_[0] & 0x00000008u) != 0;
427 }
428 inline void BluefinFrontSeatConfig::set_has_nmea_resend_attempts() {
429  _has_bits_[0] |= 0x00000008u;
430 }
431 inline void BluefinFrontSeatConfig::clear_has_nmea_resend_attempts() {
432  _has_bits_[0] &= ~0x00000008u;
433 }
434 inline void BluefinFrontSeatConfig::clear_nmea_resend_attempts() {
435  nmea_resend_attempts_ = 3u;
436  clear_has_nmea_resend_attempts();
437 }
438 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::nmea_resend_attempts() const {
439  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.nmea_resend_attempts)
440  return nmea_resend_attempts_;
441 }
442 inline void BluefinFrontSeatConfig::set_nmea_resend_attempts(::google::protobuf::uint32 value) {
443  set_has_nmea_resend_attempts();
444  nmea_resend_attempts_ = value;
445  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.nmea_resend_attempts)
446 }
447 
448 // optional uint32 nmea_resend_interval = 5 [default = 5];
449 inline bool BluefinFrontSeatConfig::has_nmea_resend_interval() const {
450  return (_has_bits_[0] & 0x00000010u) != 0;
451 }
452 inline void BluefinFrontSeatConfig::set_has_nmea_resend_interval() {
453  _has_bits_[0] |= 0x00000010u;
454 }
455 inline void BluefinFrontSeatConfig::clear_has_nmea_resend_interval() {
456  _has_bits_[0] &= ~0x00000010u;
457 }
458 inline void BluefinFrontSeatConfig::clear_nmea_resend_interval() {
459  nmea_resend_interval_ = 5u;
460  clear_has_nmea_resend_interval();
461 }
462 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::nmea_resend_interval() const {
463  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.nmea_resend_interval)
464  return nmea_resend_interval_;
465 }
466 inline void BluefinFrontSeatConfig::set_nmea_resend_interval(::google::protobuf::uint32 value) {
467  set_has_nmea_resend_interval();
468  nmea_resend_interval_ = value;
469  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.nmea_resend_interval)
470 }
471 
472 // optional uint32 allowed_nmea_demerits = 6 [default = 3];
473 inline bool BluefinFrontSeatConfig::has_allowed_nmea_demerits() const {
474  return (_has_bits_[0] & 0x00000020u) != 0;
475 }
476 inline void BluefinFrontSeatConfig::set_has_allowed_nmea_demerits() {
477  _has_bits_[0] |= 0x00000020u;
478 }
479 inline void BluefinFrontSeatConfig::clear_has_allowed_nmea_demerits() {
480  _has_bits_[0] &= ~0x00000020u;
481 }
482 inline void BluefinFrontSeatConfig::clear_allowed_nmea_demerits() {
483  allowed_nmea_demerits_ = 3u;
484  clear_has_allowed_nmea_demerits();
485 }
486 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::allowed_nmea_demerits() const {
487  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.allowed_nmea_demerits)
488  return allowed_nmea_demerits_;
489 }
490 inline void BluefinFrontSeatConfig::set_allowed_nmea_demerits(::google::protobuf::uint32 value) {
491  set_has_allowed_nmea_demerits();
492  allowed_nmea_demerits_ = value;
493  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.allowed_nmea_demerits)
494 }
495 
496 // optional uint32 allow_missing_nav_interval = 7 [default = 5];
497 inline bool BluefinFrontSeatConfig::has_allow_missing_nav_interval() const {
498  return (_has_bits_[0] & 0x00000040u) != 0;
499 }
500 inline void BluefinFrontSeatConfig::set_has_allow_missing_nav_interval() {
501  _has_bits_[0] |= 0x00000040u;
502 }
503 inline void BluefinFrontSeatConfig::clear_has_allow_missing_nav_interval() {
504  _has_bits_[0] &= ~0x00000040u;
505 }
506 inline void BluefinFrontSeatConfig::clear_allow_missing_nav_interval() {
507  allow_missing_nav_interval_ = 5u;
508  clear_has_allow_missing_nav_interval();
509 }
510 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::allow_missing_nav_interval() const {
511  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.allow_missing_nav_interval)
512  return allow_missing_nav_interval_;
513 }
514 inline void BluefinFrontSeatConfig::set_allow_missing_nav_interval(::google::protobuf::uint32 value) {
515  set_has_allow_missing_nav_interval();
516  allow_missing_nav_interval_ = value;
517  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.allow_missing_nav_interval)
518 }
519 
520 // optional uint32 heartbeat_interval = 8 [default = 1];
521 inline bool BluefinFrontSeatConfig::has_heartbeat_interval() const {
522  return (_has_bits_[0] & 0x00000080u) != 0;
523 }
524 inline void BluefinFrontSeatConfig::set_has_heartbeat_interval() {
525  _has_bits_[0] |= 0x00000080u;
526 }
527 inline void BluefinFrontSeatConfig::clear_has_heartbeat_interval() {
528  _has_bits_[0] &= ~0x00000080u;
529 }
530 inline void BluefinFrontSeatConfig::clear_heartbeat_interval() {
531  heartbeat_interval_ = 1u;
532  clear_has_heartbeat_interval();
533 }
534 inline ::google::protobuf::uint32 BluefinFrontSeatConfig::heartbeat_interval() const {
535  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.heartbeat_interval)
536  return heartbeat_interval_;
537 }
538 inline void BluefinFrontSeatConfig::set_heartbeat_interval(::google::protobuf::uint32 value) {
539  set_has_heartbeat_interval();
540  heartbeat_interval_ = value;
541  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.heartbeat_interval)
542 }
543 
544 // repeated string extra_bplog = 9;
545 inline int BluefinFrontSeatConfig::extra_bplog_size() const {
546  return extra_bplog_.size();
547 }
548 inline void BluefinFrontSeatConfig::clear_extra_bplog() {
549  extra_bplog_.Clear();
550 }
551 inline const ::std::string& BluefinFrontSeatConfig::extra_bplog(int index) const {
552  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.extra_bplog)
553  return extra_bplog_.Get(index);
554 }
555 inline ::std::string* BluefinFrontSeatConfig::mutable_extra_bplog(int index) {
556  // @@protoc_insertion_point(field_mutable:BluefinFrontSeatConfig.extra_bplog)
557  return extra_bplog_.Mutable(index);
558 }
559 inline void BluefinFrontSeatConfig::set_extra_bplog(int index, const ::std::string& value) {
560  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.extra_bplog)
561  extra_bplog_.Mutable(index)->assign(value);
562 }
563 inline void BluefinFrontSeatConfig::set_extra_bplog(int index, const char* value) {
564  extra_bplog_.Mutable(index)->assign(value);
565  // @@protoc_insertion_point(field_set_char:BluefinFrontSeatConfig.extra_bplog)
566 }
567 inline void BluefinFrontSeatConfig::set_extra_bplog(int index, const char* value, size_t size) {
568  extra_bplog_.Mutable(index)->assign(
569  reinterpret_cast<const char*>(value), size);
570  // @@protoc_insertion_point(field_set_pointer:BluefinFrontSeatConfig.extra_bplog)
571 }
572 inline ::std::string* BluefinFrontSeatConfig::add_extra_bplog() {
573  return extra_bplog_.Add();
574 }
575 inline void BluefinFrontSeatConfig::add_extra_bplog(const ::std::string& value) {
576  extra_bplog_.Add()->assign(value);
577  // @@protoc_insertion_point(field_add:BluefinFrontSeatConfig.extra_bplog)
578 }
579 inline void BluefinFrontSeatConfig::add_extra_bplog(const char* value) {
580  extra_bplog_.Add()->assign(value);
581  // @@protoc_insertion_point(field_add_char:BluefinFrontSeatConfig.extra_bplog)
582 }
583 inline void BluefinFrontSeatConfig::add_extra_bplog(const char* value, size_t size) {
584  extra_bplog_.Add()->assign(reinterpret_cast<const char*>(value), size);
585  // @@protoc_insertion_point(field_add_pointer:BluefinFrontSeatConfig.extra_bplog)
586 }
587 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
588 BluefinFrontSeatConfig::extra_bplog() const {
589  // @@protoc_insertion_point(field_list:BluefinFrontSeatConfig.extra_bplog)
590  return extra_bplog_;
591 }
592 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
593 BluefinFrontSeatConfig::mutable_extra_bplog() {
594  // @@protoc_insertion_point(field_mutable_list:BluefinFrontSeatConfig.extra_bplog)
595  return &extra_bplog_;
596 }
597 
598 // optional bool send_tmr_messages = 10 [default = true];
599 inline bool BluefinFrontSeatConfig::has_send_tmr_messages() const {
600  return (_has_bits_[0] & 0x00000200u) != 0;
601 }
602 inline void BluefinFrontSeatConfig::set_has_send_tmr_messages() {
603  _has_bits_[0] |= 0x00000200u;
604 }
605 inline void BluefinFrontSeatConfig::clear_has_send_tmr_messages() {
606  _has_bits_[0] &= ~0x00000200u;
607 }
608 inline void BluefinFrontSeatConfig::clear_send_tmr_messages() {
609  send_tmr_messages_ = true;
610  clear_has_send_tmr_messages();
611 }
612 inline bool BluefinFrontSeatConfig::send_tmr_messages() const {
613  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.send_tmr_messages)
614  return send_tmr_messages_;
615 }
616 inline void BluefinFrontSeatConfig::set_send_tmr_messages(bool value) {
617  set_has_send_tmr_messages();
618  send_tmr_messages_ = value;
619  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.send_tmr_messages)
620 }
621 
622 // optional bool disable_ack = 11 [default = false];
623 inline bool BluefinFrontSeatConfig::has_disable_ack() const {
624  return (_has_bits_[0] & 0x00000400u) != 0;
625 }
626 inline void BluefinFrontSeatConfig::set_has_disable_ack() {
627  _has_bits_[0] |= 0x00000400u;
628 }
629 inline void BluefinFrontSeatConfig::clear_has_disable_ack() {
630  _has_bits_[0] &= ~0x00000400u;
631 }
632 inline void BluefinFrontSeatConfig::clear_disable_ack() {
633  disable_ack_ = false;
634  clear_has_disable_ack();
635 }
636 inline bool BluefinFrontSeatConfig::disable_ack() const {
637  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.disable_ack)
638  return disable_ack_;
639 }
640 inline void BluefinFrontSeatConfig::set_disable_ack(bool value) {
641  set_has_disable_ack();
642  disable_ack_ = value;
643  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.disable_ack)
644 }
645 
646 // optional .BluefinFrontSeatConfig.AcceptingCommandsHook accepting_commands_hook = 12 [default = BFMSC_TRIGGER];
647 inline bool BluefinFrontSeatConfig::has_accepting_commands_hook() const {
648  return (_has_bits_[0] & 0x00000800u) != 0;
649 }
650 inline void BluefinFrontSeatConfig::set_has_accepting_commands_hook() {
651  _has_bits_[0] |= 0x00000800u;
652 }
653 inline void BluefinFrontSeatConfig::clear_has_accepting_commands_hook() {
654  _has_bits_[0] &= ~0x00000800u;
655 }
656 inline void BluefinFrontSeatConfig::clear_accepting_commands_hook() {
657  accepting_commands_hook_ = 0;
658  clear_has_accepting_commands_hook();
659 }
660 inline ::BluefinFrontSeatConfig_AcceptingCommandsHook BluefinFrontSeatConfig::accepting_commands_hook() const {
661  // @@protoc_insertion_point(field_get:BluefinFrontSeatConfig.accepting_commands_hook)
662  return static_cast< ::BluefinFrontSeatConfig_AcceptingCommandsHook >(accepting_commands_hook_);
663 }
664 inline void BluefinFrontSeatConfig::set_accepting_commands_hook(::BluefinFrontSeatConfig_AcceptingCommandsHook value) {
665  assert(::BluefinFrontSeatConfig_AcceptingCommandsHook_IsValid(value));
666  set_has_accepting_commands_hook();
667  accepting_commands_hook_ = value;
668  // @@protoc_insertion_point(field_set:BluefinFrontSeatConfig.accepting_commands_hook)
669 }
670 
671 
672 // @@protoc_insertion_point(namespace_scope)
673 
674 #ifndef SWIG
675 namespace google {
676 namespace protobuf {
677 
678 template <> struct is_proto_enum< ::BluefinFrontSeatConfig_AcceptingCommandsHook> : ::google::protobuf::internal::true_type {};
679 template <>
680 inline const EnumDescriptor* GetEnumDescriptor< ::BluefinFrontSeatConfig_AcceptingCommandsHook>() {
681  return ::BluefinFrontSeatConfig_AcceptingCommandsHook_descriptor();
682 }
683 
684 } // namespace google
685 } // namespace protobuf
686 #endif // SWIG
687 
688 // @@protoc_insertion_point(global_scope)
689 
690 #endif // PROTOBUF_goby_2fmoos_2ffrontseat_2fbluefin_2fbluefin_5fconfig_2eproto__INCLUDED