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>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
56class WavegliderSV2Config;
57struct WavegliderSV2ConfigDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
74 public ::PROTOBUF_NAMESPACE_ID::Message {
78 explicit PROTOBUF_CONSTEXPR
WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83 *
this = ::std::move(from);
91 if (
this == &from)
return *
this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() !=
nullptr
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 if (other ==
this)
return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() !=
nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
139 if (GetOwningArena() == other->GetOwningArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
155 return CreateMaybeMessage<WavegliderSV2Config>(arena);
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 WavegliderSV2Config::MergeImpl(*
this, from);
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
178 void SetCachedSize(
int size)
const final;
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.middleware.frontseat.protobuf.WavegliderSV2Config";
188 bool is_message_owned =
false);
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
209 bool _internal_has_pm_serial_port()
const;
213 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
219 const std::string& _internal_pm_serial_port()
const;
220 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_pm_serial_port(
const std::string& value);
221 std::string* _internal_mutable_pm_serial_port();
227 bool _internal_has_task_id()
const;
233 uint32_t _internal_task_id()
const;
234 void _internal_set_task_id(uint32_t value);
240 bool _internal_has_pm_serial_baud()
const;
246 uint32_t _internal_pm_serial_baud()
const;
247 void _internal_set_pm_serial_baud(uint32_t value);
253 bool _internal_has_board_id()
const;
259 uint32_t _internal_board_id()
const;
260 void _internal_set_board_id(uint32_t value);
267 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
268 typedef void InternalArenaConstructable_;
269 typedef void DestructorSkippable_;
271 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
272 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
273 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pm_serial_port_;
275 uint32_t pm_serial_baud_;
279 friend struct ::TableStruct_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto;
285 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::WavegliderSV2Config >, 11,
false >
291 #pragma GCC diagnostic push
292 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
297inline bool WavegliderSV2Config::_internal_has_pm_serial_port()
const {
298 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
302 return _internal_has_pm_serial_port();
305 _impl_.pm_serial_port_.ClearToEmpty();
306 _impl_._has_bits_[0] &= ~0x00000001u;
310 return _internal_pm_serial_port();
312template <
typename ArgT0,
typename... ArgT>
313inline PROTOBUF_ALWAYS_INLINE
315 _impl_._has_bits_[0] |= 0x00000001u;
316 _impl_.pm_serial_port_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
320 std::string* _s = _internal_mutable_pm_serial_port();
324inline const std::string& WavegliderSV2Config::_internal_pm_serial_port()
const {
325 return _impl_.pm_serial_port_.Get();
327inline void WavegliderSV2Config::_internal_set_pm_serial_port(
const std::string& value) {
328 _impl_._has_bits_[0] |= 0x00000001u;
329 _impl_.pm_serial_port_.Set(value, GetArenaForAllocation());
331inline std::string* WavegliderSV2Config::_internal_mutable_pm_serial_port() {
332 _impl_._has_bits_[0] |= 0x00000001u;
333 return _impl_.pm_serial_port_.Mutable(GetArenaForAllocation());
337 if (!_internal_has_pm_serial_port()) {
340 _impl_._has_bits_[0] &= ~0x00000001u;
341 auto* p =
_impl_.pm_serial_port_.Release();
342#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
343 if (
_impl_.pm_serial_port_.IsDefault()) {
344 _impl_.pm_serial_port_.Set(
"", GetArenaForAllocation());
351 _impl_._has_bits_[0] |= 0x00000001u;
353 _impl_._has_bits_[0] &= ~0x00000001u;
356#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
357 if (
_impl_.pm_serial_port_.IsDefault()) {
358 _impl_.pm_serial_port_.Set(
"", GetArenaForAllocation());
365inline bool WavegliderSV2Config::_internal_has_pm_serial_baud()
const {
366 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
370 return _internal_has_pm_serial_baud();
373 _impl_.pm_serial_baud_ = 115200u;
374 _impl_._has_bits_[0] &= ~0x00000004u;
376inline uint32_t WavegliderSV2Config::_internal_pm_serial_baud()
const {
377 return _impl_.pm_serial_baud_;
381 return _internal_pm_serial_baud();
383inline void WavegliderSV2Config::_internal_set_pm_serial_baud(uint32_t value) {
384 _impl_._has_bits_[0] |= 0x00000004u;
385 _impl_.pm_serial_baud_ = value;
388 _internal_set_pm_serial_baud(value);
393inline bool WavegliderSV2Config::_internal_has_board_id()
const {
394 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
398 return _internal_has_board_id();
402 _impl_._has_bits_[0] &= ~0x00000008u;
404inline uint32_t WavegliderSV2Config::_internal_board_id()
const {
409 return _internal_board_id();
411inline void WavegliderSV2Config::_internal_set_board_id(uint32_t value) {
412 _impl_._has_bits_[0] |= 0x00000008u;
416 _internal_set_board_id(value);
421inline bool WavegliderSV2Config::_internal_has_task_id()
const {
422 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
426 return _internal_has_task_id();
430 _impl_._has_bits_[0] &= ~0x00000002u;
432inline uint32_t WavegliderSV2Config::_internal_task_id()
const {
437 return _internal_task_id();
439inline void WavegliderSV2Config::_internal_set_task_id(uint32_t value) {
440 _impl_._has_bits_[0] |= 0x00000002u;
444 _internal_set_task_id(value);
449 #pragma GCC diagnostic pop
461#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)
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
@ kPmSerialPortFieldNumber
@ kPmSerialBaudFieldNumber
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