Goby3 3.3.0
2025.07.10
Loading...
Searching...
No Matches
waveglider_sv2_frontseat_driver_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/frontseat/waveglider/waveglider_sv2_frontseat_driver_config.proto
3
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
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
38// @@protoc_insertion_point(includes)
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
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
52namespace goby {
53namespace middleware {
54namespace frontseat {
55namespace protobuf {
56class WavegliderSV2Config;
57struct WavegliderSV2ConfigDefaultTypeInternal;
58extern WavegliderSV2ConfigDefaultTypeInternal _WavegliderSV2Config_default_instance_;
59} // namespace protobuf
60} // namespace frontseat
61} // namespace middleware
62} // namespace goby
63PROTOBUF_NAMESPACE_OPEN
64template<> ::goby::middleware::frontseat::protobuf::WavegliderSV2Config* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::WavegliderSV2Config>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace goby {
67namespace middleware {
68namespace frontseat {
69namespace protobuf {
70
71// ===================================================================
72
74 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.WavegliderSV2Config) */ {
75 public:
78 explicit PROTOBUF_CONSTEXPR WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
79
83 *this = ::std::move(from);
84 }
85
87 CopyFrom(from);
88 return *this;
89 }
91 if (this == &from) return *this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() != nullptr
95 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
96 ) {
97 InternalSwap(&from);
98 } else {
99 CopyFrom(from);
100 }
101 return *this;
102 }
103
104 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 }
107 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 }
110
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112 return GetDescriptor();
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115 return default_instance().GetMetadata().descriptor;
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118 return default_instance().GetMetadata().reflection;
119 }
122 }
124 return reinterpret_cast<const WavegliderSV2Config*>(
126 }
127 static constexpr int kIndexInFileMessages =
128 0;
129
131 a.Swap(&b);
132 }
133 inline void Swap(WavegliderSV2Config* other) {
134 if (other == this) return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() != nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
138 #else // PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() == other->GetOwningArena()) {
140 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
141 InternalSwap(other);
142 } else {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144 }
145 }
147 if (other == this) return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 InternalSwap(other);
150 }
151
152 // implements Message ----------------------------------------------
153
154 WavegliderSV2Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
155 return CreateMaybeMessage<WavegliderSV2Config>(arena);
156 }
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 void CopyFrom(const WavegliderSV2Config& from);
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 void MergeFrom( const WavegliderSV2Config& from) {
161 WavegliderSV2Config::MergeImpl(*this, from);
162 }
163 private:
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
165 public:
166 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167 bool IsInitialized() const final;
168
169 size_t ByteSizeLong() const final;
170 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
174
175 private:
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
177 void SharedDtor();
178 void SetCachedSize(int size) const final;
179 void InternalSwap(WavegliderSV2Config* other);
180
181 private:
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.middleware.frontseat.protobuf.WavegliderSV2Config";
185 }
186 protected:
187 explicit WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned = false);
189 public:
190
191 static const ClassData _class_data_;
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
193
194 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195
196 // nested types ----------------------------------------------------
197
198 // accessors -------------------------------------------------------
199
200 enum : int {
205 };
206 // required string pm_serial_port = 1;
207 bool has_pm_serial_port() const;
208 private:
209 bool _internal_has_pm_serial_port() const;
210 public:
212 const std::string& pm_serial_port() const;
213 template <typename ArgT0 = const std::string&, typename... ArgT>
214 void set_pm_serial_port(ArgT0&& arg0, ArgT... args);
215 std::string* mutable_pm_serial_port();
216 PROTOBUF_NODISCARD std::string* release_pm_serial_port();
218 private:
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();
222 public:
223
224 // optional uint32 task_id = 4 [default = 1];
225 bool has_task_id() const;
226 private:
227 bool _internal_has_task_id() const;
228 public:
229 void clear_task_id();
230 uint32_t task_id() const;
231 void set_task_id(uint32_t value);
232 private:
233 uint32_t _internal_task_id() const;
234 void _internal_set_task_id(uint32_t value);
235 public:
236
237 // optional uint32 pm_serial_baud = 2 [default = 115200];
238 bool has_pm_serial_baud() const;
239 private:
240 bool _internal_has_pm_serial_baud() const;
241 public:
243 uint32_t pm_serial_baud() const;
244 void set_pm_serial_baud(uint32_t value);
245 private:
246 uint32_t _internal_pm_serial_baud() const;
247 void _internal_set_pm_serial_baud(uint32_t value);
248 public:
249
250 // optional uint32 board_id = 3 [default = 3];
251 bool has_board_id() const;
252 private:
253 bool _internal_has_board_id() const;
254 public:
255 void clear_board_id();
256 uint32_t board_id() const;
257 void set_board_id(uint32_t value);
258 private:
259 uint32_t _internal_board_id() const;
260 void _internal_set_board_id(uint32_t value);
261 public:
262
263 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.WavegliderSV2Config)
264 private:
265 class _Internal;
266
267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
268 typedef void InternalArenaConstructable_;
269 typedef void DestructorSkippable_;
270 struct Impl_ {
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_;
274 uint32_t task_id_;
275 uint32_t pm_serial_baud_;
276 uint32_t board_id_;
277 };
278 union { Impl_ _impl_; };
279 friend struct ::TableStruct_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto;
280};
281// ===================================================================
282
283static const int kWavegliderSv2ConfigFieldNumber = 1001;
284extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::middleware::frontseat::protobuf::Config,
285 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::middleware::frontseat::protobuf::WavegliderSV2Config >, 11, false >
287
288// ===================================================================
289
290#ifdef __GNUC__
291 #pragma GCC diagnostic push
292 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
293#endif // __GNUC__
294// WavegliderSV2Config
295
296// required string pm_serial_port = 1;
297inline bool WavegliderSV2Config::_internal_has_pm_serial_port() const {
298 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
299 return value;
300}
302 return _internal_has_pm_serial_port();
303}
305 _impl_.pm_serial_port_.ClearToEmpty();
306 _impl_._has_bits_[0] &= ~0x00000001u;
307}
308inline const std::string& WavegliderSV2Config::pm_serial_port() const {
309 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_port)
310 return _internal_pm_serial_port();
311}
312template <typename ArgT0, typename... ArgT>
313inline PROTOBUF_ALWAYS_INLINE
314void WavegliderSV2Config::set_pm_serial_port(ArgT0&& arg0, ArgT... args) {
315 _impl_._has_bits_[0] |= 0x00000001u;
316 _impl_.pm_serial_port_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
317 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_port)
318}
320 std::string* _s = _internal_mutable_pm_serial_port();
321 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_port)
322 return _s;
323}
324inline const std::string& WavegliderSV2Config::_internal_pm_serial_port() const {
325 return _impl_.pm_serial_port_.Get();
326}
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());
330}
331inline std::string* WavegliderSV2Config::_internal_mutable_pm_serial_port() {
332 _impl_._has_bits_[0] |= 0x00000001u;
333 return _impl_.pm_serial_port_.Mutable(GetArenaForAllocation());
334}
336 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_port)
337 if (!_internal_has_pm_serial_port()) {
338 return nullptr;
339 }
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());
345 }
346#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
347 return p;
348}
350 if (pm_serial_port != nullptr) {
351 _impl_._has_bits_[0] |= 0x00000001u;
352 } else {
353 _impl_._has_bits_[0] &= ~0x00000001u;
354 }
355 _impl_.pm_serial_port_.SetAllocated(pm_serial_port, GetArenaForAllocation());
356#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
357 if (_impl_.pm_serial_port_.IsDefault()) {
358 _impl_.pm_serial_port_.Set("", GetArenaForAllocation());
359 }
360#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
361 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_port)
362}
363
364// optional uint32 pm_serial_baud = 2 [default = 115200];
365inline bool WavegliderSV2Config::_internal_has_pm_serial_baud() const {
366 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
367 return value;
368}
370 return _internal_has_pm_serial_baud();
371}
373 _impl_.pm_serial_baud_ = 115200u;
374 _impl_._has_bits_[0] &= ~0x00000004u;
375}
376inline uint32_t WavegliderSV2Config::_internal_pm_serial_baud() const {
377 return _impl_.pm_serial_baud_;
378}
379inline uint32_t WavegliderSV2Config::pm_serial_baud() const {
380 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_baud)
381 return _internal_pm_serial_baud();
382}
383inline void WavegliderSV2Config::_internal_set_pm_serial_baud(uint32_t value) {
384 _impl_._has_bits_[0] |= 0x00000004u;
385 _impl_.pm_serial_baud_ = value;
386}
387inline void WavegliderSV2Config::set_pm_serial_baud(uint32_t value) {
388 _internal_set_pm_serial_baud(value);
389 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.WavegliderSV2Config.pm_serial_baud)
390}
391
392// optional uint32 board_id = 3 [default = 3];
393inline bool WavegliderSV2Config::_internal_has_board_id() const {
394 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
395 return value;
396}
398 return _internal_has_board_id();
399}
401 _impl_.board_id_ = 3u;
402 _impl_._has_bits_[0] &= ~0x00000008u;
403}
404inline uint32_t WavegliderSV2Config::_internal_board_id() const {
405 return _impl_.board_id_;
406}
407inline uint32_t WavegliderSV2Config::board_id() const {
408 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.WavegliderSV2Config.board_id)
409 return _internal_board_id();
410}
411inline void WavegliderSV2Config::_internal_set_board_id(uint32_t value) {
412 _impl_._has_bits_[0] |= 0x00000008u;
413 _impl_.board_id_ = value;
414}
415inline void WavegliderSV2Config::set_board_id(uint32_t value) {
416 _internal_set_board_id(value);
417 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.WavegliderSV2Config.board_id)
418}
419
420// optional uint32 task_id = 4 [default = 1];
421inline bool WavegliderSV2Config::_internal_has_task_id() const {
422 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
423 return value;
424}
426 return _internal_has_task_id();
427}
429 _impl_.task_id_ = 1u;
430 _impl_._has_bits_[0] &= ~0x00000002u;
431}
432inline uint32_t WavegliderSV2Config::_internal_task_id() const {
433 return _impl_.task_id_;
434}
435inline uint32_t WavegliderSV2Config::task_id() const {
436 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.WavegliderSV2Config.task_id)
437 return _internal_task_id();
438}
439inline void WavegliderSV2Config::_internal_set_task_id(uint32_t value) {
440 _impl_._has_bits_[0] |= 0x00000002u;
441 _impl_.task_id_ = value;
442}
443inline void WavegliderSV2Config::set_task_id(uint32_t value) {
444 _internal_set_task_id(value);
445 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.WavegliderSV2Config.task_id)
446}
447
448#ifdef __GNUC__
449 #pragma GCC diagnostic pop
450#endif // __GNUC__
451
452// @@protoc_insertion_point(namespace_scope)
453
454} // namespace protobuf
455} // namespace frontseat
456} // namespace middleware
457} // namespace goby
458
459// @@protoc_insertion_point(global_scope)
460
461#include <google/protobuf/port_undef.inc>
462#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto
WavegliderSV2Config & operator=(WavegliderSV2Config &&from) noexcept
WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
friend void swap(WavegliderSV2Config &a, WavegliderSV2Config &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
WavegliderSV2Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_CONSTEXPR WavegliderSV2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) 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
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2ffrontseat_2fwaveglider_2fwaveglider_5fsv2_5ffrontseat_5fdriver_5fconfig_2eproto