Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
geov_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/zeromq/protobuf/geov_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_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>
35#include "dccl/option_extensions.pb.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>
41
42#include <boost/units/systems/si.hpp>
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto;
57namespace goby {
58namespace apps {
59namespace zeromq {
60namespace protobuf {
61class GEOVInterfaceConfig;
62struct GEOVInterfaceConfigDefaultTypeInternal;
63extern GEOVInterfaceConfigDefaultTypeInternal _GEOVInterfaceConfig_default_instance_;
64} // namespace protobuf
65} // namespace zeromq
66} // namespace apps
67} // namespace goby
68PROTOBUF_NAMESPACE_OPEN
69template<> ::goby::apps::zeromq::protobuf::GEOVInterfaceConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GEOVInterfaceConfig>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace goby {
72namespace apps {
73namespace zeromq {
74namespace protobuf {
75
76// ===================================================================
77
79 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GEOVInterfaceConfig) */ {
80 public:
83 explicit PROTOBUF_CONSTEXPR GEOVInterfaceConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84
88 *this = ::std::move(from);
89 }
90
92 CopyFrom(from);
93 return *this;
94 }
96 if (this == &from) return *this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() != nullptr
100 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
101 ) {
102 InternalSwap(&from);
103 } else {
104 CopyFrom(from);
105 }
106 return *this;
107 }
108
109 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 }
112 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 }
115
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117 return GetDescriptor();
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120 return default_instance().GetMetadata().descriptor;
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123 return default_instance().GetMetadata().reflection;
124 }
127 }
129 return reinterpret_cast<const GEOVInterfaceConfig*>(
131 }
132 static constexpr int kIndexInFileMessages =
133 0;
134
136 a.Swap(&b);
137 }
138 inline void Swap(GEOVInterfaceConfig* other) {
139 if (other == this) return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() != nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
143 #else // PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() == other->GetOwningArena()) {
145 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
146 InternalSwap(other);
147 } else {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149 }
150 }
152 if (other == this) return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 InternalSwap(other);
155 }
156
157 // implements Message ----------------------------------------------
158
159 GEOVInterfaceConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
160 return CreateMaybeMessage<GEOVInterfaceConfig>(arena);
161 }
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 void CopyFrom(const GEOVInterfaceConfig& from);
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 void MergeFrom( const GEOVInterfaceConfig& from) {
166 GEOVInterfaceConfig::MergeImpl(*this, from);
167 }
168 private:
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 public:
171 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172 bool IsInitialized() const final;
173
174 size_t ByteSizeLong() const final;
175 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
179
180 private:
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
182 void SharedDtor();
183 void SetCachedSize(int size) const final;
184 void InternalSwap(GEOVInterfaceConfig* other);
185
186 private:
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.apps.zeromq.protobuf.GEOVInterfaceConfig";
190 }
191 protected:
192 explicit GEOVInterfaceConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
193 bool is_message_owned = false);
194 public:
195
196 static const ClassData _class_data_;
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
198
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200
201 // nested types ----------------------------------------------------
202
203 // accessors -------------------------------------------------------
204
205 enum : int {
215 };
216 // required string mysql_host = 4 [(.goby.field) = {
217 bool has_mysql_host() const;
218 private:
219 bool _internal_has_mysql_host() const;
220 public:
221 void clear_mysql_host();
222 const std::string& mysql_host() const;
223 template <typename ArgT0 = const std::string&, typename... ArgT>
224 void set_mysql_host(ArgT0&& arg0, ArgT... args);
225 std::string* mutable_mysql_host();
226 PROTOBUF_NODISCARD std::string* release_mysql_host();
227 void set_allocated_mysql_host(std::string* mysql_host);
228 private:
229 const std::string& _internal_mysql_host() const;
230 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mysql_host(const std::string& value);
231 std::string* _internal_mutable_mysql_host();
232 public:
233
234 // required string mysql_user = 5 [(.goby.field) = {
235 bool has_mysql_user() const;
236 private:
237 bool _internal_has_mysql_user() const;
238 public:
239 void clear_mysql_user();
240 const std::string& mysql_user() const;
241 template <typename ArgT0 = const std::string&, typename... ArgT>
242 void set_mysql_user(ArgT0&& arg0, ArgT... args);
243 std::string* mutable_mysql_user();
244 PROTOBUF_NODISCARD std::string* release_mysql_user();
245 void set_allocated_mysql_user(std::string* mysql_user);
246 private:
247 const std::string& _internal_mysql_user() const;
248 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mysql_user(const std::string& value);
249 std::string* _internal_mutable_mysql_user();
250 public:
251
252 // required string mysql_password = 6 [(.goby.field) = {
253 bool has_mysql_password() const;
254 private:
255 bool _internal_has_mysql_password() const;
256 public:
258 const std::string& mysql_password() const;
259 template <typename ArgT0 = const std::string&, typename... ArgT>
260 void set_mysql_password(ArgT0&& arg0, ArgT... args);
261 std::string* mutable_mysql_password();
262 PROTOBUF_NODISCARD std::string* release_mysql_password();
264 private:
265 const std::string& _internal_mysql_password() const;
266 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mysql_password(const std::string& value);
267 std::string* _internal_mutable_mysql_password();
268 public:
269
270 // optional string mysql_core_db_name = 8 [default = "geov_core", (.goby.field) = {
271 bool has_mysql_core_db_name() const;
272 private:
273 bool _internal_has_mysql_core_db_name() const;
274 public:
276 const std::string& mysql_core_db_name() const;
277 template <typename ArgT0 = const std::string&, typename... ArgT>
278 void set_mysql_core_db_name(ArgT0&& arg0, ArgT... args);
279 std::string* mutable_mysql_core_db_name();
280 PROTOBUF_NODISCARD std::string* release_mysql_core_db_name();
282 private:
283 const std::string& _internal_mysql_core_db_name() const;
284 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mysql_core_db_name(const std::string& value);
285 std::string* _internal_mutable_mysql_core_db_name();
286 public:
287
288 // optional .goby.middleware.protobuf.AppConfig app = 1;
289 bool has_app() const;
290 private:
291 bool _internal_has_app() const;
292 public:
293 void clear_app();
294 const ::goby::middleware::protobuf::AppConfig& app() const;
295 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
298 private:
299 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
300 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
301 public:
305
306 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
307 bool has_interprocess() const;
308 private:
309 bool _internal_has_interprocess() const;
310 public:
312 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
313 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
316 private:
317 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
318 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
319 public:
323
324 // optional bool simulation = 3 [default = false, (.goby.field) = {
325 bool has_simulation() const;
326 private:
327 bool _internal_has_simulation() const;
328 public:
329 void clear_simulation();
330 bool simulation() const;
331 void set_simulation(bool value);
332 private:
333 bool _internal_simulation() const;
334 void _internal_set_simulation(bool value);
335 public:
336
337 // optional int32 mysql_port = 7 [default = 3306, (.goby.field) = {
338 bool has_mysql_port() const;
339 private:
340 bool _internal_has_mysql_port() const;
341 public:
342 void clear_mysql_port();
343 int32_t mysql_port() const;
344 void set_mysql_port(int32_t value);
345 private:
346 int32_t _internal_mysql_port() const;
347 void _internal_set_mysql_port(int32_t value);
348 public:
349
350 // optional double position_report_interval = 12 [default = 1, (.dccl.field) = {
351 bool has_position_report_interval() const;
352 private:
353 bool _internal_has_position_report_interval() const;
354 public:
356 double position_report_interval() const;
357 void set_position_report_interval(double value);
358 private:
359 double _internal_position_report_interval() const;
360 void _internal_set_position_report_interval(double value);
361 public:
362
363 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type position_report_interval_dimension;
364
365 typedef boost::units::unit<position_report_interval_dimension,boost::units::si::system> position_report_interval_unit;
366
367 template<typename Quantity >
368 void set_position_report_interval_with_units(Quantity value_w_units)
369 { set_position_report_interval(boost::units::quantity<position_report_interval_unit,double >(value_w_units).value() ); };
370
371 template<typename Quantity >
374
375 boost::units::quantity< position_report_interval_unit,double > position_report_interval_with_units() const
376 { return position_report_interval_with_units<boost::units::quantity< position_report_interval_unit,double > >(); };
377
378 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GEOVInterfaceConfig)
379 private:
380 class _Internal;
381
382 // helper for ByteSizeLong()
383 size_t RequiredFieldsByteSizeFallback() const;
384
385 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
386 typedef void InternalArenaConstructable_;
387 typedef void DestructorSkippable_;
388 struct Impl_ {
389 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
390 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
391 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_host_;
392 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_user_;
393 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_password_;
394 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_mysql_core_db_name_;
395 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_core_db_name_;
398 bool simulation_;
399 int32_t mysql_port_;
400 double position_report_interval_;
401 };
402 union { Impl_ _impl_; };
403 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto;
404};
405// ===================================================================
406
407
408// ===================================================================
409
410#ifdef __GNUC__
411 #pragma GCC diagnostic push
412 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
413#endif // __GNUC__
414// GEOVInterfaceConfig
415
416// optional .goby.middleware.protobuf.AppConfig app = 1;
417inline bool GEOVInterfaceConfig::_internal_has_app() const {
418 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
419 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
420 return value;
421}
422inline bool GEOVInterfaceConfig::has_app() const {
423 return _internal_has_app();
424}
425inline const ::goby::middleware::protobuf::AppConfig& GEOVInterfaceConfig::_internal_app() const {
426 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
427 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
429}
430inline const ::goby::middleware::protobuf::AppConfig& GEOVInterfaceConfig::app() const {
431 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
432 return _internal_app();
433}
436 if (GetArenaForAllocation() == nullptr) {
437 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
438 }
439 _impl_.app_ = app;
440 if (app) {
441 _impl_._has_bits_[0] |= 0x00000010u;
442 } else {
443 _impl_._has_bits_[0] &= ~0x00000010u;
444 }
445 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
446}
447inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::release_app() {
448 _impl_._has_bits_[0] &= ~0x00000010u;
450 _impl_.app_ = nullptr;
451#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
452 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
453 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
454 if (GetArenaForAllocation() == nullptr) { delete old; }
455#else // PROTOBUF_FORCE_COPY_IN_RELEASE
456 if (GetArenaForAllocation() != nullptr) {
457 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
458 }
459#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
460 return temp;
461}
462inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::unsafe_arena_release_app() {
463 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
464 _impl_._has_bits_[0] &= ~0x00000010u;
466 _impl_.app_ = nullptr;
467 return temp;
468}
469inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::_internal_mutable_app() {
470 _impl_._has_bits_[0] |= 0x00000010u;
471 if (_impl_.app_ == nullptr) {
472 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
473 _impl_.app_ = p;
474 }
475 return _impl_.app_;
476}
477inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::mutable_app() {
478 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
479 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
480 return _msg;
481}
483 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
484 if (message_arena == nullptr) {
485 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
486 }
487 if (app) {
488 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
489 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
490 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
491 if (message_arena != submessage_arena) {
492 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
493 message_arena, app, submessage_arena);
494 }
495 _impl_._has_bits_[0] |= 0x00000010u;
496 } else {
497 _impl_._has_bits_[0] &= ~0x00000010u;
498 }
499 _impl_.app_ = app;
500 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.app)
501}
502
503// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
504inline bool GEOVInterfaceConfig::_internal_has_interprocess() const {
505 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
506 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
507 return value;
508}
510 return _internal_has_interprocess();
511}
512inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GEOVInterfaceConfig::_internal_interprocess() const {
513 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
514 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
516}
517inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GEOVInterfaceConfig::interprocess() const {
518 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
519 return _internal_interprocess();
520}
523 if (GetArenaForAllocation() == nullptr) {
524 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
525 }
526 _impl_.interprocess_ = interprocess;
527 if (interprocess) {
528 _impl_._has_bits_[0] |= 0x00000020u;
529 } else {
530 _impl_._has_bits_[0] &= ~0x00000020u;
531 }
532 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
533}
534inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::release_interprocess() {
535 _impl_._has_bits_[0] &= ~0x00000020u;
537 _impl_.interprocess_ = nullptr;
538#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
539 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
540 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
541 if (GetArenaForAllocation() == nullptr) { delete old; }
542#else // PROTOBUF_FORCE_COPY_IN_RELEASE
543 if (GetArenaForAllocation() != nullptr) {
544 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
545 }
546#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
547 return temp;
548}
549inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::unsafe_arena_release_interprocess() {
550 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
551 _impl_._has_bits_[0] &= ~0x00000020u;
553 _impl_.interprocess_ = nullptr;
554 return temp;
555}
556inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::_internal_mutable_interprocess() {
557 _impl_._has_bits_[0] |= 0x00000020u;
558 if (_impl_.interprocess_ == nullptr) {
560 _impl_.interprocess_ = p;
561 }
562 return _impl_.interprocess_;
563}
564inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::mutable_interprocess() {
565 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
566 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
567 return _msg;
568}
570 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
571 if (message_arena == nullptr) {
572 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
573 }
574 if (interprocess) {
575 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
576 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
577 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
578 if (message_arena != submessage_arena) {
579 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
580 message_arena, interprocess, submessage_arena);
581 }
582 _impl_._has_bits_[0] |= 0x00000020u;
583 } else {
584 _impl_._has_bits_[0] &= ~0x00000020u;
585 }
586 _impl_.interprocess_ = interprocess;
587 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.interprocess)
588}
589
590// optional bool simulation = 3 [default = false, (.goby.field) = {
591inline bool GEOVInterfaceConfig::_internal_has_simulation() const {
592 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
593 return value;
594}
596 return _internal_has_simulation();
597}
599 _impl_.simulation_ = false;
600 _impl_._has_bits_[0] &= ~0x00000040u;
601}
602inline bool GEOVInterfaceConfig::_internal_simulation() const {
603 return _impl_.simulation_;
604}
606 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.simulation)
607 return _internal_simulation();
608}
609inline void GEOVInterfaceConfig::_internal_set_simulation(bool value) {
610 _impl_._has_bits_[0] |= 0x00000040u;
611 _impl_.simulation_ = value;
612}
613inline void GEOVInterfaceConfig::set_simulation(bool value) {
614 _internal_set_simulation(value);
615 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.simulation)
616}
617
618// required string mysql_host = 4 [(.goby.field) = {
619inline bool GEOVInterfaceConfig::_internal_has_mysql_host() const {
620 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
621 return value;
622}
624 return _internal_has_mysql_host();
625}
627 _impl_.mysql_host_.ClearToEmpty();
628 _impl_._has_bits_[0] &= ~0x00000001u;
629}
630inline const std::string& GEOVInterfaceConfig::mysql_host() const {
631 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
632 return _internal_mysql_host();
633}
634template <typename ArgT0, typename... ArgT>
635inline PROTOBUF_ALWAYS_INLINE
636void GEOVInterfaceConfig::set_mysql_host(ArgT0&& arg0, ArgT... args) {
637 _impl_._has_bits_[0] |= 0x00000001u;
638 _impl_.mysql_host_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
639 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
640}
642 std::string* _s = _internal_mutable_mysql_host();
643 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
644 return _s;
645}
646inline const std::string& GEOVInterfaceConfig::_internal_mysql_host() const {
647 return _impl_.mysql_host_.Get();
648}
649inline void GEOVInterfaceConfig::_internal_set_mysql_host(const std::string& value) {
650 _impl_._has_bits_[0] |= 0x00000001u;
651 _impl_.mysql_host_.Set(value, GetArenaForAllocation());
652}
653inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_host() {
654 _impl_._has_bits_[0] |= 0x00000001u;
655 return _impl_.mysql_host_.Mutable(GetArenaForAllocation());
656}
658 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
659 if (!_internal_has_mysql_host()) {
660 return nullptr;
661 }
662 _impl_._has_bits_[0] &= ~0x00000001u;
663 auto* p = _impl_.mysql_host_.Release();
664#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
665 if (_impl_.mysql_host_.IsDefault()) {
666 _impl_.mysql_host_.Set("", GetArenaForAllocation());
667 }
668#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
669 return p;
670}
672 if (mysql_host != nullptr) {
673 _impl_._has_bits_[0] |= 0x00000001u;
674 } else {
675 _impl_._has_bits_[0] &= ~0x00000001u;
676 }
677 _impl_.mysql_host_.SetAllocated(mysql_host, GetArenaForAllocation());
678#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
679 if (_impl_.mysql_host_.IsDefault()) {
680 _impl_.mysql_host_.Set("", GetArenaForAllocation());
681 }
682#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
683 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_host)
684}
685
686// required string mysql_user = 5 [(.goby.field) = {
687inline bool GEOVInterfaceConfig::_internal_has_mysql_user() const {
688 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
689 return value;
690}
692 return _internal_has_mysql_user();
693}
695 _impl_.mysql_user_.ClearToEmpty();
696 _impl_._has_bits_[0] &= ~0x00000002u;
697}
698inline const std::string& GEOVInterfaceConfig::mysql_user() const {
699 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
700 return _internal_mysql_user();
701}
702template <typename ArgT0, typename... ArgT>
703inline PROTOBUF_ALWAYS_INLINE
704void GEOVInterfaceConfig::set_mysql_user(ArgT0&& arg0, ArgT... args) {
705 _impl_._has_bits_[0] |= 0x00000002u;
706 _impl_.mysql_user_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
707 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
708}
710 std::string* _s = _internal_mutable_mysql_user();
711 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
712 return _s;
713}
714inline const std::string& GEOVInterfaceConfig::_internal_mysql_user() const {
715 return _impl_.mysql_user_.Get();
716}
717inline void GEOVInterfaceConfig::_internal_set_mysql_user(const std::string& value) {
718 _impl_._has_bits_[0] |= 0x00000002u;
719 _impl_.mysql_user_.Set(value, GetArenaForAllocation());
720}
721inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_user() {
722 _impl_._has_bits_[0] |= 0x00000002u;
723 return _impl_.mysql_user_.Mutable(GetArenaForAllocation());
724}
726 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
727 if (!_internal_has_mysql_user()) {
728 return nullptr;
729 }
730 _impl_._has_bits_[0] &= ~0x00000002u;
731 auto* p = _impl_.mysql_user_.Release();
732#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
733 if (_impl_.mysql_user_.IsDefault()) {
734 _impl_.mysql_user_.Set("", GetArenaForAllocation());
735 }
736#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
737 return p;
738}
740 if (mysql_user != nullptr) {
741 _impl_._has_bits_[0] |= 0x00000002u;
742 } else {
743 _impl_._has_bits_[0] &= ~0x00000002u;
744 }
745 _impl_.mysql_user_.SetAllocated(mysql_user, GetArenaForAllocation());
746#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
747 if (_impl_.mysql_user_.IsDefault()) {
748 _impl_.mysql_user_.Set("", GetArenaForAllocation());
749 }
750#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
751 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_user)
752}
753
754// required string mysql_password = 6 [(.goby.field) = {
755inline bool GEOVInterfaceConfig::_internal_has_mysql_password() const {
756 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
757 return value;
758}
760 return _internal_has_mysql_password();
761}
763 _impl_.mysql_password_.ClearToEmpty();
764 _impl_._has_bits_[0] &= ~0x00000004u;
765}
766inline const std::string& GEOVInterfaceConfig::mysql_password() const {
767 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
768 return _internal_mysql_password();
769}
770template <typename ArgT0, typename... ArgT>
771inline PROTOBUF_ALWAYS_INLINE
772void GEOVInterfaceConfig::set_mysql_password(ArgT0&& arg0, ArgT... args) {
773 _impl_._has_bits_[0] |= 0x00000004u;
774 _impl_.mysql_password_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
775 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
776}
778 std::string* _s = _internal_mutable_mysql_password();
779 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
780 return _s;
781}
782inline const std::string& GEOVInterfaceConfig::_internal_mysql_password() const {
783 return _impl_.mysql_password_.Get();
784}
785inline void GEOVInterfaceConfig::_internal_set_mysql_password(const std::string& value) {
786 _impl_._has_bits_[0] |= 0x00000004u;
787 _impl_.mysql_password_.Set(value, GetArenaForAllocation());
788}
789inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_password() {
790 _impl_._has_bits_[0] |= 0x00000004u;
791 return _impl_.mysql_password_.Mutable(GetArenaForAllocation());
792}
794 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
795 if (!_internal_has_mysql_password()) {
796 return nullptr;
797 }
798 _impl_._has_bits_[0] &= ~0x00000004u;
799 auto* p = _impl_.mysql_password_.Release();
800#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
801 if (_impl_.mysql_password_.IsDefault()) {
802 _impl_.mysql_password_.Set("", GetArenaForAllocation());
803 }
804#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
805 return p;
806}
808 if (mysql_password != nullptr) {
809 _impl_._has_bits_[0] |= 0x00000004u;
810 } else {
811 _impl_._has_bits_[0] &= ~0x00000004u;
812 }
813 _impl_.mysql_password_.SetAllocated(mysql_password, GetArenaForAllocation());
814#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
815 if (_impl_.mysql_password_.IsDefault()) {
816 _impl_.mysql_password_.Set("", GetArenaForAllocation());
817 }
818#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
819 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_password)
820}
821
822// optional int32 mysql_port = 7 [default = 3306, (.goby.field) = {
823inline bool GEOVInterfaceConfig::_internal_has_mysql_port() const {
824 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
825 return value;
826}
828 return _internal_has_mysql_port();
829}
831 _impl_.mysql_port_ = 3306;
832 _impl_._has_bits_[0] &= ~0x00000080u;
833}
834inline int32_t GEOVInterfaceConfig::_internal_mysql_port() const {
835 return _impl_.mysql_port_;
836}
837inline int32_t GEOVInterfaceConfig::mysql_port() const {
838 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_port)
839 return _internal_mysql_port();
840}
841inline void GEOVInterfaceConfig::_internal_set_mysql_port(int32_t value) {
842 _impl_._has_bits_[0] |= 0x00000080u;
843 _impl_.mysql_port_ = value;
844}
845inline void GEOVInterfaceConfig::set_mysql_port(int32_t value) {
846 _internal_set_mysql_port(value);
847 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_port)
848}
849
850// optional string mysql_core_db_name = 8 [default = "geov_core", (.goby.field) = {
851inline bool GEOVInterfaceConfig::_internal_has_mysql_core_db_name() const {
852 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
853 return value;
854}
856 return _internal_has_mysql_core_db_name();
857}
859 _impl_.mysql_core_db_name_.ClearToDefault(::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::Impl_::_i_give_permission_to_break_this_code_default_mysql_core_db_name_, GetArenaForAllocation());
860 _impl_._has_bits_[0] &= ~0x00000008u;
861}
862inline const std::string& GEOVInterfaceConfig::mysql_core_db_name() const {
863 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
864 if (_impl_.mysql_core_db_name_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.get();
865 return _internal_mysql_core_db_name();
866}
867template <typename ArgT0, typename... ArgT>
868inline PROTOBUF_ALWAYS_INLINE
869void GEOVInterfaceConfig::set_mysql_core_db_name(ArgT0&& arg0, ArgT... args) {
870 _impl_._has_bits_[0] |= 0x00000008u;
871 _impl_.mysql_core_db_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
872 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
873}
875 std::string* _s = _internal_mutable_mysql_core_db_name();
876 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
877 return _s;
878}
879inline const std::string& GEOVInterfaceConfig::_internal_mysql_core_db_name() const {
880 return _impl_.mysql_core_db_name_.Get();
881}
882inline void GEOVInterfaceConfig::_internal_set_mysql_core_db_name(const std::string& value) {
883 _impl_._has_bits_[0] |= 0x00000008u;
884 _impl_.mysql_core_db_name_.Set(value, GetArenaForAllocation());
885}
886inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_core_db_name() {
887 _impl_._has_bits_[0] |= 0x00000008u;
888 return _impl_.mysql_core_db_name_.Mutable(::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::Impl_::_i_give_permission_to_break_this_code_default_mysql_core_db_name_, GetArenaForAllocation());
889}
891 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
892 if (!_internal_has_mysql_core_db_name()) {
893 return nullptr;
894 }
895 _impl_._has_bits_[0] &= ~0x00000008u;
896 auto* p = _impl_.mysql_core_db_name_.Release();
897 return p;
898}
900 if (mysql_core_db_name != nullptr) {
901 _impl_._has_bits_[0] |= 0x00000008u;
902 } else {
903 _impl_._has_bits_[0] &= ~0x00000008u;
904 }
905 _impl_.mysql_core_db_name_.SetAllocated(mysql_core_db_name, GetArenaForAllocation());
906 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.mysql_core_db_name)
907}
908
909// optional double position_report_interval = 12 [default = 1, (.dccl.field) = {
910inline bool GEOVInterfaceConfig::_internal_has_position_report_interval() const {
911 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
912 return value;
913}
915 return _internal_has_position_report_interval();
916}
918 _impl_.position_report_interval_ = 1;
919 _impl_._has_bits_[0] &= ~0x00000100u;
920}
921inline double GEOVInterfaceConfig::_internal_position_report_interval() const {
922 return _impl_.position_report_interval_;
923}
925 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.position_report_interval)
926 return _internal_position_report_interval();
927}
928inline void GEOVInterfaceConfig::_internal_set_position_report_interval(double value) {
929 _impl_._has_bits_[0] |= 0x00000100u;
930 _impl_.position_report_interval_ = value;
931}
933 _internal_set_position_report_interval(value);
934 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GEOVInterfaceConfig.position_report_interval)
935}
936
937#ifdef __GNUC__
938 #pragma GCC diagnostic pop
939#endif // __GNUC__
940
941// @@protoc_insertion_point(namespace_scope)
942
943} // namespace protobuf
944} // namespace zeromq
945} // namespace apps
946} // namespace goby
947
948// @@protoc_insertion_point(global_scope)
949
950#include <google/protobuf/port_undef.inc>
951#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
void set_position_report_interval_with_units(Quantity value_w_units)
void set_mysql_host(ArgT0 &&arg0, ArgT... args)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void set_allocated_mysql_user(std::string *mysql_user)
GEOVInterfaceConfig(const GEOVInterfaceConfig &from)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
void MergeFrom(const GEOVInterfaceConfig &from)
PROTOBUF_NODISCARD std::string * release_mysql_password()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
PROTOBUF_CONSTEXPR GEOVInterfaceConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_allocated_mysql_password(std::string *mysql_password)
GEOVInterfaceConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::goby::middleware::protobuf::AppConfig * mutable_app()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const GEOVInterfaceConfig & default_instance()
PROTOBUF_NODISCARD std::string * release_mysql_host()
boost::units::unit< position_report_interval_dimension, boost::units::si::system > position_report_interval_unit
const ::goby::middleware::protobuf::AppConfig & app() const
GEOVInterfaceConfig & operator=(GEOVInterfaceConfig &&from) noexcept
static const GEOVInterfaceConfig * internal_default_instance()
void set_mysql_user(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const GEOVInterfaceConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::quantity< position_report_interval_unit, double > position_report_interval_with_units() const
GEOVInterfaceConfig(GEOVInterfaceConfig &&from) noexcept
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(GEOVInterfaceConfig *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_mysql_password(ArgT0 &&arg0, ArgT... args)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
GEOVInterfaceConfig & operator=(const GEOVInterfaceConfig &from)
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
PROTOBUF_NODISCARD std::string * release_mysql_core_db_name()
void set_allocated_mysql_core_db_name(std::string *mysql_core_db_name)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_allocated_mysql_host(std::string *mysql_host)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type position_report_interval_dimension
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
void set_mysql_core_db_name(ArgT0 &&arg0, ArgT... args)
friend void swap(GEOVInterfaceConfig &a, GEOVInterfaceConfig &b)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
PROTOBUF_NODISCARD std::string * release_mysql_user()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
GEOVInterfaceConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
GEOVInterfaceConfigDefaultTypeInternal _GEOVInterfaceConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.