4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[1];
55 namespace middleware {
58 class WavegliderSV2Config;
59 class WavegliderSV2ConfigDefaultTypeInternal;
71 namespace middleware {
91 *
this = ::std::move(from);
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
104 return _internal_metadata_.unknown_fields();
107 return _internal_metadata_.mutable_unknown_fields();
110 static const ::google::protobuf::Descriptor*
descriptor();
129 return CreateMaybeMessage<WavegliderSV2Config>(NULL);
133 return CreateMaybeMessage<WavegliderSV2Config>(arena);
135 void CopyFrom(const ::google::protobuf::Message& from)
final;
136 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 ::
google::protobuf::io::CodedInputStream* input) final;
146 ::
google::protobuf::io::CodedOutputStream* output) const final;
148 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 void SetCachedSize(
int size)
const final;
157 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
160 inline void* MaybeArenaPtr()
const {
209 void set_has_pm_serial_port();
210 void clear_has_pm_serial_port();
211 void set_has_pm_serial_baud();
212 void clear_has_pm_serial_baud();
213 void set_has_board_id();
214 void clear_has_board_id();
215 void set_has_task_id();
216 void clear_has_task_id();
218 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
219 ::google::protobuf::internal::HasBits<1> _has_bits_;
220 mutable ::google::protobuf::internal::CachedSize _cached_size_;
221 ::google::protobuf::internal::ArenaStringPtr pm_serial_port_;
225 friend struct ::protobuf_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto::TableStruct;
231 ::google::protobuf::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::WavegliderSV2Config >, 11,
false >
237 #pragma GCC diagnostic push
238 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
244 return (_has_bits_[0] & 0x00000001u) != 0;
246 inline void WavegliderSV2Config::set_has_pm_serial_port() {
247 _has_bits_[0] |= 0x00000001u;
249 inline void WavegliderSV2Config::clear_has_pm_serial_port() {
250 _has_bits_[0] &= ~0x00000001u;
254 clear_has_pm_serial_port();
258 return pm_serial_port_.GetNoArena();
261 set_has_pm_serial_port();
267 set_has_pm_serial_port();
268 pm_serial_port_.SetNoArena(
274 GOOGLE_DCHECK(value != NULL);
275 set_has_pm_serial_port();
280 set_has_pm_serial_port();
282 ::std::string(
reinterpret_cast<const char*
>(value), size));
286 set_has_pm_serial_port();
295 clear_has_pm_serial_port();
300 set_has_pm_serial_port();
302 clear_has_pm_serial_port();
310 return (_has_bits_[0] & 0x00000004u) != 0;
312 inline void WavegliderSV2Config::set_has_pm_serial_baud() {
313 _has_bits_[0] |= 0x00000004u;
315 inline void WavegliderSV2Config::clear_has_pm_serial_baud() {
316 _has_bits_[0] &= ~0x00000004u;
319 pm_serial_baud_ = 115200u;
320 clear_has_pm_serial_baud();
324 return pm_serial_baud_;
327 set_has_pm_serial_baud();
328 pm_serial_baud_ = value;
334 return (_has_bits_[0] & 0x00000008u) != 0;
336 inline void WavegliderSV2Config::set_has_board_id() {
337 _has_bits_[0] |= 0x00000008u;
339 inline void WavegliderSV2Config::clear_has_board_id() {
340 _has_bits_[0] &= ~0x00000008u;
344 clear_has_board_id();
358 return (_has_bits_[0] & 0x00000002u) != 0;
360 inline void WavegliderSV2Config::set_has_task_id() {
361 _has_bits_[0] |= 0x00000002u;
363 inline void WavegliderSV2Config::clear_has_task_id() {
364 _has_bits_[0] &= ~0x00000002u;
381 #pragma GCC diagnostic pop
393 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto