4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgeov_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 "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
44 #include <boost/units/systems/si.hpp>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
71 class GEOVInterfaceConfig;
72 class GEOVInterfaceConfigDefaultTypeInternal;
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::goby::apps::zeromq::protobuf::GEOVInterfaceConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GEOVInterfaceConfig>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
88 class GEOVInterfaceConfig PROTOBUF_FINAL :
89 public ::PROTOBUF_NAMESPACE_ID::Message {
96 : GEOVInterfaceConfig() {
97 *
this = ::std::move(from);
100 inline GEOVInterfaceConfig&
operator=(
const GEOVInterfaceConfig& from) {
104 inline GEOVInterfaceConfig&
operator=(GEOVInterfaceConfig&& from) noexcept {
105 if (GetArena() == from.GetArena()) {
106 if (
this != &from) InternalSwap(&from);
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
121 return GetDescriptor();
124 return GetMetadataStatic().descriptor;
127 return GetMetadataStatic().reflection;
133 return reinterpret_cast<const GEOVInterfaceConfig*
>(
136 static constexpr
int kIndexInFileMessages =
139 friend void swap(GEOVInterfaceConfig& a, GEOVInterfaceConfig& b) {
142 inline void Swap(GEOVInterfaceConfig* other) {
143 if (other ==
this)
return;
144 if (GetArena() == other->GetArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetArena() == other->GetArena());
158 inline GEOVInterfaceConfig*
New() const final {
159 return CreateMaybeMessage<GEOVInterfaceConfig>(
nullptr);
162 GEOVInterfaceConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
163 return CreateMaybeMessage<GEOVInterfaceConfig>(arena);
165 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
166 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 bool IsInitialized() const final;
173 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
174 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
175 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 inline void SharedCtor();
180 inline void SharedDtor();
181 void SetCachedSize(
int size)
const final;
182 void InternalSwap(GEOVInterfaceConfig* other);
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.apps.zeromq.protobuf.GEOVInterfaceConfig";
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
208 kMysqlHostFieldNumber = 4,
209 kMysqlUserFieldNumber = 5,
210 kMysqlPasswordFieldNumber = 6,
211 kMysqlCoreDbNameFieldNumber = 8,
213 kInterprocessFieldNumber = 2,
214 kSimulationFieldNumber = 3,
215 kMysqlPortFieldNumber = 7,
216 kPositionReportIntervalFieldNumber = 12,
221 bool _internal_has_mysql_host()
const;
232 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
233 " string fields are deprecated and will be removed in a"
235 std::
string* unsafe_arena_release_mysql_host();
236 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
237 "
string fields are deprecated and will be removed in a"
239 void unsafe_arena_set_allocated_mysql_host(
240 std::
string* mysql_host);
242 const std::
string& _internal_mysql_host() const;
243 void _internal_set_mysql_host(const std::
string& value);
244 std::
string* _internal_mutable_mysql_host();
248 bool has_mysql_user() const;
250 bool _internal_has_mysql_user() const;
252 void clear_mysql_user();
253 const std::
string& mysql_user() const;
254 void set_mysql_user(const std::
string& value);
255 void set_mysql_user(std::
string&& value);
256 void set_mysql_user(const
char* value);
257 void set_mysql_user(const
char* value,
size_t size);
258 std::
string* mutable_mysql_user();
259 std::
string* release_mysql_user();
260 void set_allocated_mysql_user(std::
string* mysql_user);
261 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
262 "
string fields are deprecated and will be removed in a"
264 std::
string* unsafe_arena_release_mysql_user();
265 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
266 "
string fields are deprecated and will be removed in a"
268 void unsafe_arena_set_allocated_mysql_user(
269 std::
string* mysql_user);
271 const std::
string& _internal_mysql_user() const;
272 void _internal_set_mysql_user(const std::
string& value);
273 std::
string* _internal_mutable_mysql_user();
277 bool has_mysql_password() const;
279 bool _internal_has_mysql_password() const;
281 void clear_mysql_password();
282 const std::
string& mysql_password() const;
283 void set_mysql_password(const std::
string& value);
284 void set_mysql_password(std::
string&& value);
285 void set_mysql_password(const
char* value);
286 void set_mysql_password(const
char* value,
size_t size);
287 std::
string* mutable_mysql_password();
288 std::
string* release_mysql_password();
289 void set_allocated_mysql_password(std::
string* mysql_password);
290 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
291 "
string fields are deprecated and will be removed in a"
293 std::
string* unsafe_arena_release_mysql_password();
294 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
295 "
string fields are deprecated and will be removed in a"
297 void unsafe_arena_set_allocated_mysql_password(
298 std::
string* mysql_password);
300 const std::
string& _internal_mysql_password() const;
301 void _internal_set_mysql_password(const std::
string& value);
302 std::
string* _internal_mutable_mysql_password();
306 bool has_mysql_core_db_name() const;
308 bool _internal_has_mysql_core_db_name() const;
310 void clear_mysql_core_db_name();
311 const std::
string& mysql_core_db_name() const;
312 void set_mysql_core_db_name(const std::
string& value);
313 void set_mysql_core_db_name(std::
string&& value);
314 void set_mysql_core_db_name(const
char* value);
315 void set_mysql_core_db_name(const
char* value,
size_t size);
316 std::
string* mutable_mysql_core_db_name();
317 std::
string* release_mysql_core_db_name();
318 void set_allocated_mysql_core_db_name(std::
string* mysql_core_db_name);
319 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
320 "
string fields are deprecated and will be removed in a"
322 std::
string* unsafe_arena_release_mysql_core_db_name();
323 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
324 "
string fields are deprecated and will be removed in a"
326 void unsafe_arena_set_allocated_mysql_core_db_name(
327 std::
string* mysql_core_db_name);
329 const std::
string& _internal_mysql_core_db_name() const;
330 void _internal_set_mysql_core_db_name(const std::
string& value);
331 std::
string* _internal_mutable_mysql_core_db_name();
335 bool has_app() const;
337 bool _internal_has_app() const;
340 const ::
goby::middleware::protobuf::AppConfig& app() const;
341 ::
goby::middleware::protobuf::AppConfig* release_app();
342 ::
goby::middleware::protobuf::AppConfig* mutable_app();
343 void set_allocated_app(::
goby::middleware::protobuf::AppConfig* app);
345 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
346 ::
goby::middleware::protobuf::AppConfig* _internal_mutable_app();
348 void unsafe_arena_set_allocated_app(
349 ::
goby::middleware::protobuf::AppConfig* app);
350 ::
goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
353 bool has_interprocess() const;
355 bool _internal_has_interprocess() const;
357 void clear_interprocess();
358 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
359 ::
goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
360 ::
goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
361 void set_allocated_interprocess(::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
363 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
364 ::
goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
366 void unsafe_arena_set_allocated_interprocess(
367 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
368 ::
goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
371 bool has_simulation() const;
373 bool _internal_has_simulation() const;
375 void clear_simulation();
376 bool simulation() const;
377 void set_simulation(
bool value);
379 bool _internal_simulation() const;
380 void _internal_set_simulation(
bool value);
384 bool has_mysql_port() const;
386 bool _internal_has_mysql_port() const;
388 void clear_mysql_port();
389 ::PROTOBUF_NAMESPACE_ID::
int32 mysql_port() const;
390 void set_mysql_port(::PROTOBUF_NAMESPACE_ID::
int32 value);
392 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_mysql_port() const;
393 void _internal_set_mysql_port(::PROTOBUF_NAMESPACE_ID::
int32 value);
397 bool has_position_report_interval() const;
399 bool _internal_has_position_report_interval() const;
401 void clear_position_report_interval();
402 double position_report_interval() const;
403 void set_position_report_interval(
double value);
405 double _internal_position_report_interval() const;
406 void _internal_set_position_report_interval(
double value);
413 template<typename Quantity >
414 void set_position_report_interval_with_units(Quantity value_w_units)
415 { set_position_report_interval(boost::units::quantity<position_report_interval_unit,double >(value_w_units).value() ); };
417 template<
typename Quantity >
422 {
return position_report_interval_with_units<boost::units::quantity< position_report_interval_unit,double > >(); };
429 size_t RequiredFieldsByteSizeFallback()
const;
431 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
432 typedef void InternalArenaConstructable_;
433 typedef void DestructorSkippable_;
434 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
435 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
436 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_host_;
437 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_user_;
438 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_password_;
442 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mysql_core_db_name_;
443 ::goby::middleware::protobuf::AppConfig* app_;
444 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
447 double position_report_interval_;
448 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto;
456 #pragma GCC diagnostic push
457 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
462 inline bool GEOVInterfaceConfig::_internal_has_app()
const {
463 bool value = (_has_bits_[0] & 0x00000010u) != 0;
464 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
467 inline bool GEOVInterfaceConfig::has_app()
const {
468 return _internal_has_app();
470 inline const ::goby::middleware::protobuf::AppConfig& GEOVInterfaceConfig::_internal_app()
const {
471 const ::goby::middleware::protobuf::AppConfig* p = app_;
472 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
475 inline const ::goby::middleware::protobuf::AppConfig& GEOVInterfaceConfig::app()
const {
477 return _internal_app();
479 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_app(
480 ::goby::middleware::protobuf::AppConfig* app) {
481 if (GetArena() ==
nullptr) {
482 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
486 _has_bits_[0] |= 0x00000010u;
488 _has_bits_[0] &= ~0x00000010u;
492 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::release_app() {
493 auto temp = unsafe_arena_release_app();
494 if (GetArena() !=
nullptr) {
495 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
499 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::unsafe_arena_release_app() {
501 _has_bits_[0] &= ~0x00000010u;
502 ::goby::middleware::protobuf::AppConfig* temp = app_;
506 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::_internal_mutable_app() {
507 _has_bits_[0] |= 0x00000010u;
508 if (app_ ==
nullptr) {
509 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
514 inline ::goby::middleware::protobuf::AppConfig* GEOVInterfaceConfig::mutable_app() {
516 return _internal_mutable_app();
518 inline void GEOVInterfaceConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
519 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
520 if (message_arena ==
nullptr) {
521 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
524 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
525 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
526 if (message_arena != submessage_arena) {
527 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
528 message_arena, app, submessage_arena);
530 _has_bits_[0] |= 0x00000010u;
532 _has_bits_[0] &= ~0x00000010u;
539 inline bool GEOVInterfaceConfig::_internal_has_interprocess()
const {
540 bool value = (_has_bits_[0] & 0x00000020u) != 0;
541 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
544 inline bool GEOVInterfaceConfig::has_interprocess()
const {
545 return _internal_has_interprocess();
547 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GEOVInterfaceConfig::_internal_interprocess()
const {
548 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
549 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
552 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GEOVInterfaceConfig::interprocess()
const {
554 return _internal_interprocess();
556 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_interprocess(
557 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
558 if (GetArena() ==
nullptr) {
559 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
561 interprocess_ = interprocess;
563 _has_bits_[0] |= 0x00000020u;
565 _has_bits_[0] &= ~0x00000020u;
569 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::release_interprocess() {
570 auto temp = unsafe_arena_release_interprocess();
571 if (GetArena() !=
nullptr) {
572 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
576 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::unsafe_arena_release_interprocess() {
578 _has_bits_[0] &= ~0x00000020u;
579 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
580 interprocess_ =
nullptr;
583 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::_internal_mutable_interprocess() {
584 _has_bits_[0] |= 0x00000020u;
585 if (interprocess_ ==
nullptr) {
586 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
589 return interprocess_;
591 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GEOVInterfaceConfig::mutable_interprocess() {
593 return _internal_mutable_interprocess();
595 inline void GEOVInterfaceConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
596 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
597 if (message_arena ==
nullptr) {
598 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
601 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
602 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
603 if (message_arena != submessage_arena) {
604 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
605 message_arena, interprocess, submessage_arena);
607 _has_bits_[0] |= 0x00000020u;
609 _has_bits_[0] &= ~0x00000020u;
611 interprocess_ = interprocess;
616 inline bool GEOVInterfaceConfig::_internal_has_simulation()
const {
617 bool value = (_has_bits_[0] & 0x00000040u) != 0;
620 inline bool GEOVInterfaceConfig::has_simulation()
const {
621 return _internal_has_simulation();
623 inline void GEOVInterfaceConfig::clear_simulation() {
625 _has_bits_[0] &= ~0x00000040u;
627 inline bool GEOVInterfaceConfig::_internal_simulation()
const {
630 inline bool GEOVInterfaceConfig::simulation()
const {
632 return _internal_simulation();
634 inline void GEOVInterfaceConfig::_internal_set_simulation(
bool value) {
635 _has_bits_[0] |= 0x00000040u;
638 inline void GEOVInterfaceConfig::set_simulation(
bool value) {
639 _internal_set_simulation(value);
644 inline bool GEOVInterfaceConfig::_internal_has_mysql_host()
const {
645 bool value = (_has_bits_[0] & 0x00000001u) != 0;
648 inline bool GEOVInterfaceConfig::has_mysql_host()
const {
649 return _internal_has_mysql_host();
651 inline void GEOVInterfaceConfig::clear_mysql_host() {
653 _has_bits_[0] &= ~0x00000001u;
655 inline const std::string& GEOVInterfaceConfig::mysql_host()
const {
657 return _internal_mysql_host();
659 inline void GEOVInterfaceConfig::set_mysql_host(
const std::string& value) {
660 _internal_set_mysql_host(value);
663 inline std::string* GEOVInterfaceConfig::mutable_mysql_host() {
665 return _internal_mutable_mysql_host();
667 inline const std::string& GEOVInterfaceConfig::_internal_mysql_host()
const {
668 return mysql_host_.Get();
670 inline void GEOVInterfaceConfig::_internal_set_mysql_host(
const std::string& value) {
671 _has_bits_[0] |= 0x00000001u;
674 inline void GEOVInterfaceConfig::set_mysql_host(std::string&& value) {
675 _has_bits_[0] |= 0x00000001u;
680 inline void GEOVInterfaceConfig::set_mysql_host(
const char* value) {
681 GOOGLE_DCHECK(value !=
nullptr);
682 _has_bits_[0] |= 0x00000001u;
687 inline void GEOVInterfaceConfig::set_mysql_host(
const char* value,
689 _has_bits_[0] |= 0x00000001u;
691 reinterpret_cast<const char*
>(value), size), GetArena());
694 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_host() {
695 _has_bits_[0] |= 0x00000001u;
698 inline std::string* GEOVInterfaceConfig::release_mysql_host() {
700 if (!_internal_has_mysql_host()) {
703 _has_bits_[0] &= ~0x00000001u;
706 inline void GEOVInterfaceConfig::set_allocated_mysql_host(std::string* mysql_host) {
707 if (mysql_host !=
nullptr) {
708 _has_bits_[0] |= 0x00000001u;
710 _has_bits_[0] &= ~0x00000001u;
716 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_host() {
718 GOOGLE_DCHECK(GetArena() !=
nullptr);
719 _has_bits_[0] &= ~0x00000001u;
723 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_host(
724 std::string* mysql_host) {
725 GOOGLE_DCHECK(GetArena() !=
nullptr);
726 if (mysql_host !=
nullptr) {
727 _has_bits_[0] |= 0x00000001u;
729 _has_bits_[0] &= ~0x00000001u;
732 mysql_host, GetArena());
737 inline bool GEOVInterfaceConfig::_internal_has_mysql_user()
const {
738 bool value = (_has_bits_[0] & 0x00000002u) != 0;
741 inline bool GEOVInterfaceConfig::has_mysql_user()
const {
742 return _internal_has_mysql_user();
744 inline void GEOVInterfaceConfig::clear_mysql_user() {
746 _has_bits_[0] &= ~0x00000002u;
748 inline const std::string& GEOVInterfaceConfig::mysql_user()
const {
750 return _internal_mysql_user();
752 inline void GEOVInterfaceConfig::set_mysql_user(
const std::string& value) {
753 _internal_set_mysql_user(value);
756 inline std::string* GEOVInterfaceConfig::mutable_mysql_user() {
758 return _internal_mutable_mysql_user();
760 inline const std::string& GEOVInterfaceConfig::_internal_mysql_user()
const {
761 return mysql_user_.Get();
763 inline void GEOVInterfaceConfig::_internal_set_mysql_user(
const std::string& value) {
764 _has_bits_[0] |= 0x00000002u;
767 inline void GEOVInterfaceConfig::set_mysql_user(std::string&& value) {
768 _has_bits_[0] |= 0x00000002u;
773 inline void GEOVInterfaceConfig::set_mysql_user(
const char* value) {
774 GOOGLE_DCHECK(value !=
nullptr);
775 _has_bits_[0] |= 0x00000002u;
780 inline void GEOVInterfaceConfig::set_mysql_user(
const char* value,
782 _has_bits_[0] |= 0x00000002u;
784 reinterpret_cast<const char*
>(value), size), GetArena());
787 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_user() {
788 _has_bits_[0] |= 0x00000002u;
791 inline std::string* GEOVInterfaceConfig::release_mysql_user() {
793 if (!_internal_has_mysql_user()) {
796 _has_bits_[0] &= ~0x00000002u;
799 inline void GEOVInterfaceConfig::set_allocated_mysql_user(std::string* mysql_user) {
800 if (mysql_user !=
nullptr) {
801 _has_bits_[0] |= 0x00000002u;
803 _has_bits_[0] &= ~0x00000002u;
809 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_user() {
811 GOOGLE_DCHECK(GetArena() !=
nullptr);
812 _has_bits_[0] &= ~0x00000002u;
816 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_user(
817 std::string* mysql_user) {
818 GOOGLE_DCHECK(GetArena() !=
nullptr);
819 if (mysql_user !=
nullptr) {
820 _has_bits_[0] |= 0x00000002u;
822 _has_bits_[0] &= ~0x00000002u;
825 mysql_user, GetArena());
830 inline bool GEOVInterfaceConfig::_internal_has_mysql_password()
const {
831 bool value = (_has_bits_[0] & 0x00000004u) != 0;
834 inline bool GEOVInterfaceConfig::has_mysql_password()
const {
835 return _internal_has_mysql_password();
837 inline void GEOVInterfaceConfig::clear_mysql_password() {
839 _has_bits_[0] &= ~0x00000004u;
841 inline const std::string& GEOVInterfaceConfig::mysql_password()
const {
843 return _internal_mysql_password();
845 inline void GEOVInterfaceConfig::set_mysql_password(
const std::string& value) {
846 _internal_set_mysql_password(value);
849 inline std::string* GEOVInterfaceConfig::mutable_mysql_password() {
851 return _internal_mutable_mysql_password();
853 inline const std::string& GEOVInterfaceConfig::_internal_mysql_password()
const {
854 return mysql_password_.Get();
856 inline void GEOVInterfaceConfig::_internal_set_mysql_password(
const std::string& value) {
857 _has_bits_[0] |= 0x00000004u;
860 inline void GEOVInterfaceConfig::set_mysql_password(std::string&& value) {
861 _has_bits_[0] |= 0x00000004u;
866 inline void GEOVInterfaceConfig::set_mysql_password(
const char* value) {
867 GOOGLE_DCHECK(value !=
nullptr);
868 _has_bits_[0] |= 0x00000004u;
873 inline void GEOVInterfaceConfig::set_mysql_password(
const char* value,
875 _has_bits_[0] |= 0x00000004u;
877 reinterpret_cast<const char*
>(value), size), GetArena());
880 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_password() {
881 _has_bits_[0] |= 0x00000004u;
884 inline std::string* GEOVInterfaceConfig::release_mysql_password() {
886 if (!_internal_has_mysql_password()) {
889 _has_bits_[0] &= ~0x00000004u;
892 inline void GEOVInterfaceConfig::set_allocated_mysql_password(std::string* mysql_password) {
893 if (mysql_password !=
nullptr) {
894 _has_bits_[0] |= 0x00000004u;
896 _has_bits_[0] &= ~0x00000004u;
902 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_password() {
904 GOOGLE_DCHECK(GetArena() !=
nullptr);
905 _has_bits_[0] &= ~0x00000004u;
909 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_password(
910 std::string* mysql_password) {
911 GOOGLE_DCHECK(GetArena() !=
nullptr);
912 if (mysql_password !=
nullptr) {
913 _has_bits_[0] |= 0x00000004u;
915 _has_bits_[0] &= ~0x00000004u;
918 mysql_password, GetArena());
923 inline bool GEOVInterfaceConfig::_internal_has_mysql_port()
const {
924 bool value = (_has_bits_[0] & 0x00000080u) != 0;
927 inline bool GEOVInterfaceConfig::has_mysql_port()
const {
928 return _internal_has_mysql_port();
930 inline void GEOVInterfaceConfig::clear_mysql_port() {
932 _has_bits_[0] &= ~0x00000080u;
939 return _internal_mysql_port();
942 _has_bits_[0] |= 0x00000080u;
946 _internal_set_mysql_port(value);
951 inline bool GEOVInterfaceConfig::_internal_has_mysql_core_db_name()
const {
952 bool value = (_has_bits_[0] & 0x00000008u) != 0;
955 inline bool GEOVInterfaceConfig::has_mysql_core_db_name()
const {
956 return _internal_has_mysql_core_db_name();
958 inline void GEOVInterfaceConfig::clear_mysql_core_db_name() {
959 mysql_core_db_name_.ClearToDefault(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), GetArena());
960 _has_bits_[0] &= ~0x00000008u;
962 inline const std::string& GEOVInterfaceConfig::mysql_core_db_name()
const {
964 return _internal_mysql_core_db_name();
966 inline void GEOVInterfaceConfig::set_mysql_core_db_name(
const std::string& value) {
967 _internal_set_mysql_core_db_name(value);
970 inline std::string* GEOVInterfaceConfig::mutable_mysql_core_db_name() {
972 return _internal_mutable_mysql_core_db_name();
974 inline const std::string& GEOVInterfaceConfig::_internal_mysql_core_db_name()
const {
975 return mysql_core_db_name_.Get();
977 inline void GEOVInterfaceConfig::_internal_set_mysql_core_db_name(
const std::string& value) {
978 _has_bits_[0] |= 0x00000008u;
979 mysql_core_db_name_.Set(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), value, GetArena());
981 inline void GEOVInterfaceConfig::set_mysql_core_db_name(std::string&& value) {
982 _has_bits_[0] |= 0x00000008u;
983 mysql_core_db_name_.Set(
984 &::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), ::std::move(value), GetArena());
987 inline void GEOVInterfaceConfig::set_mysql_core_db_name(
const char* value) {
988 GOOGLE_DCHECK(value !=
nullptr);
989 _has_bits_[0] |= 0x00000008u;
990 mysql_core_db_name_.Set(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), ::std::string(value),
994 inline void GEOVInterfaceConfig::set_mysql_core_db_name(
const char* value,
996 _has_bits_[0] |= 0x00000008u;
997 mysql_core_db_name_.Set(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), ::std::string(
998 reinterpret_cast<const char*
>(value), size), GetArena());
1001 inline std::string* GEOVInterfaceConfig::_internal_mutable_mysql_core_db_name() {
1002 _has_bits_[0] |= 0x00000008u;
1003 return mysql_core_db_name_.Mutable(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), GetArena());
1005 inline std::string* GEOVInterfaceConfig::release_mysql_core_db_name() {
1007 if (!_internal_has_mysql_core_db_name()) {
1010 _has_bits_[0] &= ~0x00000008u;
1011 return mysql_core_db_name_.ReleaseNonDefault(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), GetArena());
1013 inline void GEOVInterfaceConfig::set_allocated_mysql_core_db_name(std::string* mysql_core_db_name) {
1014 if (mysql_core_db_name !=
nullptr) {
1015 _has_bits_[0] |= 0x00000008u;
1017 _has_bits_[0] &= ~0x00000008u;
1019 mysql_core_db_name_.SetAllocated(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(), mysql_core_db_name,
1023 inline std::string* GEOVInterfaceConfig::unsafe_arena_release_mysql_core_db_name() {
1025 GOOGLE_DCHECK(GetArena() !=
nullptr);
1026 _has_bits_[0] &= ~0x00000008u;
1027 return mysql_core_db_name_.UnsafeArenaRelease(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(),
1030 inline void GEOVInterfaceConfig::unsafe_arena_set_allocated_mysql_core_db_name(
1031 std::string* mysql_core_db_name) {
1032 GOOGLE_DCHECK(GetArena() !=
nullptr);
1033 if (mysql_core_db_name !=
nullptr) {
1034 _has_bits_[0] |= 0x00000008u;
1036 _has_bits_[0] &= ~0x00000008u;
1038 mysql_core_db_name_.UnsafeArenaSetAllocated(&::goby::apps::zeromq::protobuf::GEOVInterfaceConfig::_i_give_permission_to_break_this_code_default_mysql_core_db_name_.
get(),
1039 mysql_core_db_name, GetArena());
1044 inline bool GEOVInterfaceConfig::_internal_has_position_report_interval()
const {
1045 bool value = (_has_bits_[0] & 0x00000100u) != 0;
1048 inline bool GEOVInterfaceConfig::has_position_report_interval()
const {
1049 return _internal_has_position_report_interval();
1051 inline void GEOVInterfaceConfig::clear_position_report_interval() {
1052 position_report_interval_ = 1;
1053 _has_bits_[0] &= ~0x00000100u;
1055 inline double GEOVInterfaceConfig::_internal_position_report_interval()
const {
1056 return position_report_interval_;
1058 inline double GEOVInterfaceConfig::position_report_interval()
const {
1060 return _internal_position_report_interval();
1062 inline void GEOVInterfaceConfig::_internal_set_position_report_interval(
double value) {
1063 _has_bits_[0] |= 0x00000100u;
1064 position_report_interval_ =
value;
1066 inline void GEOVInterfaceConfig::set_position_report_interval(
double value) {
1067 _internal_set_position_report_interval(value);
1072 #pragma GCC diagnostic pop
1084 #include <google/protobuf/port_undef.inc>
GEOVInterfaceConfig * New() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool has_mysql_host() const
GEOVInterfaceConfig(GEOVInterfaceConfig &&from) noexcept
void UnsafeArenaSwap(GEOVInterfaceConfig *other)
GEOVInterfaceConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const GEOVInterfaceConfig & default_instance()
virtual ~GEOVInterfaceConfig()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_mysql_host(const char *value)
GEOVInterfaceConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed< std::string > _i_give_permission_to_break_this_code_default_mysql_core_db_name_
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type position_report_interval_dimension
static const GEOVInterfaceConfig * internal_default_instance()
static void InitAsDefaultInstance()
GEOVInterfaceConfig(const GEOVInterfaceConfig &from)
std::string * release_mysql_host()
GEOVInterfaceConfig & operator=(const GEOVInterfaceConfig &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const std::string & mysql_host() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GEOVInterfaceConfig & operator=(GEOVInterfaceConfig &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::unit< position_report_interval_dimension, boost::units::si::system > position_report_interval_unit
void Swap(GEOVInterfaceConfig *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_mysql_host(std::string &&value)
void set_mysql_host(const std::string &value)
void CopyFrom(const GEOVInterfaceConfig &from)
void MergeFrom(const GEOVInterfaceConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Quantity position_report_interval_with_units() const
friend void swap(GEOVInterfaceConfig &a, GEOVInterfaceConfig &b)
std::string * mutable_mysql_host()
void set_mysql_host(const char *value, size_t size)
boost::units::quantity< position_report_interval_unit, double > position_report_interval_with_units() const
void set_allocated_mysql_host(std::string *mysql_host)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgeov_5fconfig_2eproto
@ value
the parser finished reading a JSON value
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
GEOVInterfaceConfigDefaultTypeInternal _GEOVInterfaceConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
boost::units::make_system< boost::units::angle::revolution_base_unit, boost::units::metric::minute_base_unit >::type system
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
type
Generic JSON types used in JWTs.
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
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::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]