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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <google/protobuf/port_def.inc>
43 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
44 PROTOBUF_NAMESPACE_OPEN
48 PROTOBUF_NAMESPACE_CLOSE
52 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
54 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
64 namespace middleware {
67 class WavegliderSV2Config;
68 class WavegliderSV2ConfigDefaultTypeInternal;
74 PROTOBUF_NAMESPACE_OPEN
75 template<> ::goby::middleware::frontseat::protobuf::WavegliderSV2Config* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::WavegliderSV2Config>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
78 namespace middleware {
84 class WavegliderSV2Config PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
92 : WavegliderSV2Config() {
93 *
this = ::std::move(from);
96 inline WavegliderSV2Config&
operator=(
const WavegliderSV2Config& from) {
100 inline WavegliderSV2Config&
operator=(WavegliderSV2Config&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 return GetDescriptor();
120 return GetMetadataStatic().descriptor;
123 return GetMetadataStatic().reflection;
129 return reinterpret_cast<const WavegliderSV2Config*
>(
132 static constexpr
int kIndexInFileMessages =
135 friend void swap(WavegliderSV2Config& a, WavegliderSV2Config& b) {
138 inline void Swap(WavegliderSV2Config* other) {
139 if (other ==
this)
return;
140 if (GetArena() == other->GetArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetArena() == other->GetArena());
154 inline WavegliderSV2Config*
New() const final {
155 return CreateMaybeMessage<WavegliderSV2Config>(
nullptr);
158 WavegliderSV2Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
159 return CreateMaybeMessage<WavegliderSV2Config>(arena);
161 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
162 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
165 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
166 bool IsInitialized() const final;
169 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
170 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
171 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final {
return _cached_size_.Get(); }
175 inline void SharedCtor();
176 inline void SharedDtor();
177 void SetCachedSize(
int size)
const final;
178 void InternalSwap(WavegliderSV2Config* other);
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "goby.middleware.frontseat.protobuf.WavegliderSV2Config";
186 static void ArenaDtor(
void*
object);
187 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
204 kPmSerialPortFieldNumber = 1,
205 kTaskIdFieldNumber = 4,
206 kPmSerialBaudFieldNumber = 2,
207 kBoardIdFieldNumber = 3,
212 bool _internal_has_pm_serial_port()
const;
223 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
224 " string fields are deprecated and will be removed in a"
226 std::
string* unsafe_arena_release_pm_serial_port();
227 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
228 "
string fields are deprecated and will be removed in a"
230 void unsafe_arena_set_allocated_pm_serial_port(
231 std::
string* pm_serial_port);
233 const std::
string& _internal_pm_serial_port() const;
234 void _internal_set_pm_serial_port(const std::
string& value);
235 std::
string* _internal_mutable_pm_serial_port();
239 bool has_task_id() const;
241 bool _internal_has_task_id() const;
243 void clear_task_id();
244 ::PROTOBUF_NAMESPACE_ID::
uint32 task_id() const;
245 void set_task_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
247 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_task_id() const;
248 void _internal_set_task_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
252 bool has_pm_serial_baud() const;
254 bool _internal_has_pm_serial_baud() const;
256 void clear_pm_serial_baud();
257 ::PROTOBUF_NAMESPACE_ID::
uint32 pm_serial_baud() const;
258 void set_pm_serial_baud(::PROTOBUF_NAMESPACE_ID::
uint32 value);
260 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_pm_serial_baud() const;
261 void _internal_set_pm_serial_baud(::PROTOBUF_NAMESPACE_ID::
uint32 value);
265 bool has_board_id() const;
267 bool _internal_has_board_id() const;
269 void clear_board_id();
270 ::PROTOBUF_NAMESPACE_ID::
uint32 board_id() const;
271 void set_board_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
273 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_board_id() const;
274 void _internal_set_board_id(::PROTOBUF_NAMESPACE_ID::
uint32 value);
281 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
282 typedef
void InternalArenaConstructable_;
283 typedef
void DestructorSkippable_;
284 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
285 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
286 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr pm_serial_port_;
287 ::PROTOBUF_NAMESPACE_ID::
uint32 task_id_;
288 ::PROTOBUF_NAMESPACE_ID::
uint32 pm_serial_baud_;
289 ::PROTOBUF_NAMESPACE_ID::
uint32 board_id_;
295 extern ::PROTOBUF_NAMESPACE_ID::
internal::ExtensionIdentifier< ::
goby::middleware::frontseat::protobuf::Config,
296 ::PROTOBUF_NAMESPACE_ID::
internal::MessageTypeTraits< ::
goby::middleware::frontseat::protobuf::WavegliderSV2Config >, 11, false >
302 #pragma GCC diagnostic push
303 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
308 inline bool WavegliderSV2Config::_internal_has_pm_serial_port()
const {
309 bool value = (_has_bits_[0] & 0x00000001u) != 0;
312 inline bool WavegliderSV2Config::has_pm_serial_port()
const {
313 return _internal_has_pm_serial_port();
315 inline void WavegliderSV2Config::clear_pm_serial_port() {
317 _has_bits_[0] &= ~0x00000001u;
319 inline const std::string& WavegliderSV2Config::pm_serial_port()
const {
321 return _internal_pm_serial_port();
323 inline void WavegliderSV2Config::set_pm_serial_port(
const std::string& value) {
324 _internal_set_pm_serial_port(value);
327 inline std::string* WavegliderSV2Config::mutable_pm_serial_port() {
329 return _internal_mutable_pm_serial_port();
331 inline const std::string& WavegliderSV2Config::_internal_pm_serial_port()
const {
332 return pm_serial_port_.Get();
334 inline void WavegliderSV2Config::_internal_set_pm_serial_port(
const std::string& value) {
335 _has_bits_[0] |= 0x00000001u;
338 inline void WavegliderSV2Config::set_pm_serial_port(std::string&& value) {
339 _has_bits_[0] |= 0x00000001u;
344 inline void WavegliderSV2Config::set_pm_serial_port(
const char* value) {
345 GOOGLE_DCHECK(value !=
nullptr);
346 _has_bits_[0] |= 0x00000001u;
351 inline void WavegliderSV2Config::set_pm_serial_port(
const char* value,
353 _has_bits_[0] |= 0x00000001u;
355 reinterpret_cast<const char*
>(value), size), GetArena());
358 inline std::string* WavegliderSV2Config::_internal_mutable_pm_serial_port() {
359 _has_bits_[0] |= 0x00000001u;
362 inline std::string* WavegliderSV2Config::release_pm_serial_port() {
364 if (!_internal_has_pm_serial_port()) {
367 _has_bits_[0] &= ~0x00000001u;
370 inline void WavegliderSV2Config::set_allocated_pm_serial_port(std::string* pm_serial_port) {
371 if (pm_serial_port !=
nullptr) {
372 _has_bits_[0] |= 0x00000001u;
374 _has_bits_[0] &= ~0x00000001u;
380 inline std::string* WavegliderSV2Config::unsafe_arena_release_pm_serial_port() {
382 GOOGLE_DCHECK(GetArena() !=
nullptr);
383 _has_bits_[0] &= ~0x00000001u;
387 inline void WavegliderSV2Config::unsafe_arena_set_allocated_pm_serial_port(
388 std::string* pm_serial_port) {
389 GOOGLE_DCHECK(GetArena() !=
nullptr);
390 if (pm_serial_port !=
nullptr) {
391 _has_bits_[0] |= 0x00000001u;
393 _has_bits_[0] &= ~0x00000001u;
396 pm_serial_port, GetArena());
401 inline bool WavegliderSV2Config::_internal_has_pm_serial_baud()
const {
402 bool value = (_has_bits_[0] & 0x00000004u) != 0;
405 inline bool WavegliderSV2Config::has_pm_serial_baud()
const {
406 return _internal_has_pm_serial_baud();
408 inline void WavegliderSV2Config::clear_pm_serial_baud() {
409 pm_serial_baud_ = 115200u;
410 _has_bits_[0] &= ~0x00000004u;
413 return pm_serial_baud_;
417 return _internal_pm_serial_baud();
420 _has_bits_[0] |= 0x00000004u;
421 pm_serial_baud_ =
value;
424 _internal_set_pm_serial_baud(value);
429 inline bool WavegliderSV2Config::_internal_has_board_id()
const {
430 bool value = (_has_bits_[0] & 0x00000008u) != 0;
433 inline bool WavegliderSV2Config::has_board_id()
const {
434 return _internal_has_board_id();
436 inline void WavegliderSV2Config::clear_board_id() {
438 _has_bits_[0] &= ~0x00000008u;
445 return _internal_board_id();
448 _has_bits_[0] |= 0x00000008u;
452 _internal_set_board_id(value);
457 inline bool WavegliderSV2Config::_internal_has_task_id()
const {
458 bool value = (_has_bits_[0] & 0x00000002u) != 0;
461 inline bool WavegliderSV2Config::has_task_id()
const {
462 return _internal_has_task_id();
464 inline void WavegliderSV2Config::clear_task_id() {
466 _has_bits_[0] &= ~0x00000002u;
473 return _internal_task_id();
476 _has_bits_[0] |= 0x00000002u;
480 _internal_set_task_id(value);
485 #pragma GCC diagnostic pop
497 #include <google/protobuf/port_undef.inc>
void MergeFrom(const WavegliderSV2Config &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_pm_serial_port()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
WavegliderSV2Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
WavegliderSV2Config(const WavegliderSV2Config &from)
WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void Swap(WavegliderSV2Config *other)
friend void swap(WavegliderSV2Config &a, WavegliderSV2Config &b)
WavegliderSV2Config(WavegliderSV2Config &&from) noexcept
void UnsafeArenaSwap(WavegliderSV2Config *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const std::string & pm_serial_port() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const WavegliderSV2Config * internal_default_instance()
void set_pm_serial_port(const char *value, size_t size)
WavegliderSV2Config & operator=(const WavegliderSV2Config &from)
WavegliderSV2Config & operator=(WavegliderSV2Config &&from) noexcept
void set_pm_serial_port(std::string &&value)
virtual ~WavegliderSV2Config()
static const WavegliderSV2Config & default_instance()
std::string * release_pm_serial_port()
std::string * mutable_pm_serial_port()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool has_pm_serial_port() const
void set_allocated_pm_serial_port(std::string *pm_serial_port)
void set_pm_serial_port(const std::string &value)
WavegliderSV2Config * New() const final
void CopyFrom(const WavegliderSV2Config &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_pm_serial_port(const char *value)
static void InitAsDefaultInstance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
@ value
the parser finished reading a JSON value
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.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto