4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
57class WavegliderSV2Config;
58struct WavegliderSV2ConfigDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
66PROTOBUF_NAMESPACE_CLOSE
75 public ::PROTOBUF_NAMESPACE_ID::Message {
79 explicit PROTOBUF_CONSTEXPR
WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84 *
this = ::std::move(from);
92 if (
this == &from)
return *
this;
93 if (GetOwningArena() == from.GetOwningArena()
94 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
95 && GetOwningArena() !=
nullptr
106 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
135 if (other ==
this)
return;
136 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
137 if (GetOwningArena() !=
nullptr &&
138 GetOwningArena() == other->GetOwningArena()) {
140 if (GetOwningArena() == other->GetOwningArena()) {
144 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
148 if (other ==
this)
return;
149 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 return CreateMaybeMessage<WavegliderSV2Config>(arena);
158 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 WavegliderSV2Config::MergeImpl(*
this, from);
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.middleware.frontseat.protobuf.WavegliderSV2Config";
189 bool is_message_owned =
false);
193 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
210 bool _internal_has_pm_serial_port()
const;
214 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
220 const std::string& _internal_pm_serial_port()
const;
221 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_pm_serial_port(
const std::string& value);
222 std::string* _internal_mutable_pm_serial_port();
228 bool _internal_has_task_id()
const;
234 uint32_t _internal_task_id()
const;
235 void _internal_set_task_id(uint32_t value);
241 bool _internal_has_pm_serial_baud()
const;
247 uint32_t _internal_pm_serial_baud()
const;
248 void _internal_set_pm_serial_baud(uint32_t value);
254 bool _internal_has_board_id()
const;
260 uint32_t _internal_board_id()
const;
261 void _internal_set_board_id(uint32_t value);
268 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
269 typedef void InternalArenaConstructable_;
270 typedef void DestructorSkippable_;
272 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
273 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
274 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pm_serial_port_;
276 uint32_t pm_serial_baud_;
280 friend struct ::TableStruct_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto;
286 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::WavegliderSV2Config >, 11,
false >
292 #pragma GCC diagnostic push
293 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
298inline bool WavegliderSV2Config::_internal_has_pm_serial_port()
const {
299 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
303 return _internal_has_pm_serial_port();
306 _impl_.pm_serial_port_.ClearToEmpty();
307 _impl_._has_bits_[0] &= ~0x00000001u;
311 return _internal_pm_serial_port();
313template <
typename ArgT0,
typename... ArgT>
314inline PROTOBUF_ALWAYS_INLINE
316 _impl_._has_bits_[0] |= 0x00000001u;
317 _impl_.pm_serial_port_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
321 std::string* _s = _internal_mutable_pm_serial_port();
325inline const std::string& WavegliderSV2Config::_internal_pm_serial_port()
const {
326 return _impl_.pm_serial_port_.Get();
328inline void WavegliderSV2Config::_internal_set_pm_serial_port(
const std::string& value) {
329 _impl_._has_bits_[0] |= 0x00000001u;
330 _impl_.pm_serial_port_.Set(value, GetArenaForAllocation());
332inline std::string* WavegliderSV2Config::_internal_mutable_pm_serial_port() {
333 _impl_._has_bits_[0] |= 0x00000001u;
334 return _impl_.pm_serial_port_.Mutable(GetArenaForAllocation());
338 if (!_internal_has_pm_serial_port()) {
341 _impl_._has_bits_[0] &= ~0x00000001u;
342 auto* p =
_impl_.pm_serial_port_.Release();
343#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
344 if (
_impl_.pm_serial_port_.IsDefault()) {
345 _impl_.pm_serial_port_.Set(
"", GetArenaForAllocation());
352 _impl_._has_bits_[0] |= 0x00000001u;
354 _impl_._has_bits_[0] &= ~0x00000001u;
357#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
358 if (
_impl_.pm_serial_port_.IsDefault()) {
359 _impl_.pm_serial_port_.Set(
"", GetArenaForAllocation());
366inline bool WavegliderSV2Config::_internal_has_pm_serial_baud()
const {
367 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
371 return _internal_has_pm_serial_baud();
374 _impl_.pm_serial_baud_ = 115200u;
375 _impl_._has_bits_[0] &= ~0x00000004u;
377inline uint32_t WavegliderSV2Config::_internal_pm_serial_baud()
const {
378 return _impl_.pm_serial_baud_;
382 return _internal_pm_serial_baud();
384inline void WavegliderSV2Config::_internal_set_pm_serial_baud(uint32_t value) {
385 _impl_._has_bits_[0] |= 0x00000004u;
386 _impl_.pm_serial_baud_ = value;
389 _internal_set_pm_serial_baud(value);
394inline bool WavegliderSV2Config::_internal_has_board_id()
const {
395 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
399 return _internal_has_board_id();
403 _impl_._has_bits_[0] &= ~0x00000008u;
405inline uint32_t WavegliderSV2Config::_internal_board_id()
const {
410 return _internal_board_id();
412inline void WavegliderSV2Config::_internal_set_board_id(uint32_t value) {
413 _impl_._has_bits_[0] |= 0x00000008u;
417 _internal_set_board_id(value);
422inline bool WavegliderSV2Config::_internal_has_task_id()
const {
423 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
427 return _internal_has_task_id();
431 _impl_._has_bits_[0] &= ~0x00000002u;
433inline uint32_t WavegliderSV2Config::_internal_task_id()
const {
438 return _internal_task_id();
440inline void WavegliderSV2Config::_internal_set_task_id(uint32_t value) {
441 _impl_._has_bits_[0] |= 0x00000002u;
445 _internal_set_task_id(value);
450 #pragma GCC diagnostic pop
462#include <google/protobuf/port_undef.inc>
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_pm_serial_port(ArgT0 &&arg0, ArgT... args)
WavegliderSV2Config & operator=(WavegliderSV2Config &&from) noexcept
~WavegliderSV2Config() override
size_t ByteSizeLong() const final
WavegliderSV2Config(const WavegliderSV2Config &from)
WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_board_id(uint32_t value)
const std::string & pm_serial_port() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void Swap(WavegliderSV2Config *other)
@ kPmSerialPortFieldNumber
@ kPmSerialBaudFieldNumber
void set_allocated_pm_serial_port(std::string *pm_serial_port)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(WavegliderSV2Config &a, WavegliderSV2Config &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool has_pm_serial_port() const
bool has_pm_serial_baud() const
PROTOBUF_NODISCARD std::string * release_pm_serial_port()
void UnsafeArenaSwap(WavegliderSV2Config *other)
WavegliderSV2Config(WavegliderSV2Config &&from) noexcept
static constexpr int kIndexInFileMessages
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_pm_serial_baud(uint32_t value)
void MergeFrom(const WavegliderSV2Config &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
static const WavegliderSV2Config * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
WavegliderSV2Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
std::string * mutable_pm_serial_port()
PROTOBUF_CONSTEXPR WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const WavegliderSV2Config & default_instance()
void clear_pm_serial_baud()
uint32_t pm_serial_baud() const
void set_task_id(uint32_t value)
bool has_board_id() const
uint32_t board_id() const
void clear_pm_serial_port()
bool IsInitialized() const final
WavegliderSV2Config & operator=(const WavegliderSV2Config &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
int GetCachedSize() const final
void CopyFrom(const WavegliderSV2Config &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
WavegliderSV2ConfigDefaultTypeInternal _WavegliderSV2Config_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::middleware::frontseat::protobuf::Config, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::WavegliderSV2Config >, 11, false > waveglider_sv2_config
static const int kWavegliderSv2ConfigFieldNumber
The global namespace for the Goby project.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto