4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fopencpn_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>
39 #include "dccl/option_extensions.pb.h"
41 #include <boost/units/quantity.hpp>
42 #include <boost/units/absolute.hpp>
43 #include <boost/units/dimensionless_type.hpp>
44 #include <boost/units/make_scaled_unit.hpp>
46 #include <boost/units/systems/si.hpp>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
73 class OpenCPNInterfaceConfig;
74 class OpenCPNInterfaceConfigDefaultTypeInternal;
80 PROTOBUF_NAMESPACE_OPEN
81 template<> ::goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
90 class OpenCPNInterfaceConfig PROTOBUF_FINAL :
91 public ::PROTOBUF_NAMESPACE_ID::Message {
98 : OpenCPNInterfaceConfig() {
99 *
this = ::std::move(from);
102 inline OpenCPNInterfaceConfig&
operator=(
const OpenCPNInterfaceConfig& from) {
106 inline OpenCPNInterfaceConfig&
operator=(OpenCPNInterfaceConfig&& from) noexcept {
107 if (GetArena() == from.GetArena()) {
108 if (
this != &from) InternalSwap(&from);
116 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
119 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
122 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
123 return GetDescriptor();
126 return GetMetadataStatic().descriptor;
129 return GetMetadataStatic().reflection;
141 return reinterpret_cast<const OpenCPNInterfaceConfig*
>(
144 static constexpr
int kIndexInFileMessages =
147 friend void swap(OpenCPNInterfaceConfig& a, OpenCPNInterfaceConfig& b) {
150 inline void Swap(OpenCPNInterfaceConfig* other) {
151 if (other ==
this)
return;
152 if (GetArena() == other->GetArena()) {
155 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
159 if (other ==
this)
return;
160 GOOGLE_DCHECK(GetArena() == other->GetArena());
166 inline OpenCPNInterfaceConfig*
New() const final {
167 return CreateMaybeMessage<OpenCPNInterfaceConfig>(
nullptr);
170 OpenCPNInterfaceConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
171 return CreateMaybeMessage<OpenCPNInterfaceConfig>(arena);
173 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
174 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
177 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
178 bool IsInitialized() const final;
181 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
182 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
183 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
184 int GetCachedSize() const final {
return _cached_size_.Get(); }
187 inline void SharedCtor();
188 inline void SharedDtor();
189 void SetCachedSize(
int size)
const final;
190 void InternalSwap(OpenCPNInterfaceConfig* other);
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig";
198 static void ArenaDtor(
void*
object);
199 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
204 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
217 kInterprocessFieldNumber = 2,
218 kMmsiStartFieldNumber = 10,
219 kFilterLengthFieldNumber = 11,
220 kPositionReportIntervalFieldNumber = 12,
221 kVoyageReportIntervalFieldNumber = 13,
222 kAisServerFieldNumber = 5,
223 kAisSerialFieldNumber = 6,
228 bool _internal_has_app()
const;
231 const ::goby::middleware::protobuf::AppConfig&
app()
const;
236 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
237 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
240 ::goby::middleware::protobuf::AppConfig* app);
246 bool _internal_has_interprocess()
const;
249 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
254 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
255 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
258 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
264 bool _internal_has_mmsi_start()
const;
277 bool _internal_has_filter_length()
const;
290 bool _internal_has_position_report_interval()
const;
296 double _internal_position_report_interval()
const;
297 void _internal_set_position_report_interval(
double value);
303 bool _internal_has_voyage_report_interval()
const;
309 double _internal_voyage_report_interval()
const;
310 void _internal_set_voyage_report_interval(
double value);
316 bool _internal_has_ais_server()
const;
319 const ::goby::middleware::protobuf::TCPServerConfig&
ais_server()
const;
324 const ::goby::middleware::protobuf::TCPServerConfig& _internal_ais_server()
const;
325 ::goby::middleware::protobuf::TCPServerConfig* _internal_mutable_ais_server();
328 ::goby::middleware::protobuf::TCPServerConfig* ais_server);
334 bool _internal_has_ais_serial()
const;
337 const ::goby::middleware::protobuf::PTYConfig&
ais_serial()
const;
342 const ::goby::middleware::protobuf::PTYConfig& _internal_ais_serial()
const;
343 ::goby::middleware::protobuf::PTYConfig* _internal_mutable_ais_serial();
346 ::goby::middleware::protobuf::PTYConfig* ais_serial);
355 template<
typename Quantity >
357 { set_position_report_interval(boost::units::quantity<position_report_interval_unit,double >(value_w_units).value() ); };
359 template<
typename Quantity >
364 {
return position_report_interval_with_units<boost::units::quantity< position_report_interval_unit,double > >(); };
370 template<
typename Quantity >
372 { set_voyage_report_interval(boost::units::quantity<voyage_report_interval_unit,double >(value_w_units).value() ); };
374 template<
typename Quantity >
379 {
return voyage_report_interval_with_units<boost::units::quantity< voyage_report_interval_unit,double > >(); };
384 void set_has_ais_server();
385 void set_has_ais_serial();
387 inline bool has_io()
const;
388 inline void clear_has_io();
390 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
391 typedef void InternalArenaConstructable_;
392 typedef void DestructorSkippable_;
393 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
394 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
395 ::goby::middleware::protobuf::AppConfig* app_;
396 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
399 double position_report_interval_;
400 double voyage_report_interval_;
403 ::goby::middleware::protobuf::TCPServerConfig* ais_server_;
404 ::goby::middleware::protobuf::PTYConfig* ais_serial_;
408 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto;
416 #pragma GCC diagnostic push
417 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
422 inline bool OpenCPNInterfaceConfig::_internal_has_app()
const {
423 bool value = (_has_bits_[0] & 0x00000001u) != 0;
424 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
427 inline bool OpenCPNInterfaceConfig::has_app()
const {
428 return _internal_has_app();
430 inline const ::goby::middleware::protobuf::AppConfig& OpenCPNInterfaceConfig::_internal_app()
const {
431 const ::goby::middleware::protobuf::AppConfig* p = app_;
432 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
435 inline const ::goby::middleware::protobuf::AppConfig& OpenCPNInterfaceConfig::app()
const {
437 return _internal_app();
439 inline void OpenCPNInterfaceConfig::unsafe_arena_set_allocated_app(
440 ::goby::middleware::protobuf::AppConfig* app) {
441 if (GetArena() ==
nullptr) {
442 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
446 _has_bits_[0] |= 0x00000001u;
448 _has_bits_[0] &= ~0x00000001u;
452 inline ::goby::middleware::protobuf::AppConfig* OpenCPNInterfaceConfig::release_app() {
453 auto temp = unsafe_arena_release_app();
454 if (GetArena() !=
nullptr) {
455 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
459 inline ::goby::middleware::protobuf::AppConfig* OpenCPNInterfaceConfig::unsafe_arena_release_app() {
461 _has_bits_[0] &= ~0x00000001u;
462 ::goby::middleware::protobuf::AppConfig* temp = app_;
466 inline ::goby::middleware::protobuf::AppConfig* OpenCPNInterfaceConfig::_internal_mutable_app() {
467 _has_bits_[0] |= 0x00000001u;
468 if (app_ ==
nullptr) {
469 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
474 inline ::goby::middleware::protobuf::AppConfig* OpenCPNInterfaceConfig::mutable_app() {
476 return _internal_mutable_app();
478 inline void OpenCPNInterfaceConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
479 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
480 if (message_arena ==
nullptr) {
481 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
484 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
485 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
486 if (message_arena != submessage_arena) {
487 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
488 message_arena, app, submessage_arena);
490 _has_bits_[0] |= 0x00000001u;
492 _has_bits_[0] &= ~0x00000001u;
499 inline bool OpenCPNInterfaceConfig::_internal_has_interprocess()
const {
500 bool value = (_has_bits_[0] & 0x00000002u) != 0;
501 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
504 inline bool OpenCPNInterfaceConfig::has_interprocess()
const {
505 return _internal_has_interprocess();
507 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& OpenCPNInterfaceConfig::_internal_interprocess()
const {
508 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
509 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
512 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& OpenCPNInterfaceConfig::interprocess()
const {
514 return _internal_interprocess();
516 inline void OpenCPNInterfaceConfig::unsafe_arena_set_allocated_interprocess(
517 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
518 if (GetArena() ==
nullptr) {
519 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
521 interprocess_ = interprocess;
523 _has_bits_[0] |= 0x00000002u;
525 _has_bits_[0] &= ~0x00000002u;
529 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* OpenCPNInterfaceConfig::release_interprocess() {
530 auto temp = unsafe_arena_release_interprocess();
531 if (GetArena() !=
nullptr) {
532 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
536 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* OpenCPNInterfaceConfig::unsafe_arena_release_interprocess() {
538 _has_bits_[0] &= ~0x00000002u;
539 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
540 interprocess_ =
nullptr;
543 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* OpenCPNInterfaceConfig::_internal_mutable_interprocess() {
544 _has_bits_[0] |= 0x00000002u;
545 if (interprocess_ ==
nullptr) {
546 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
549 return interprocess_;
551 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* OpenCPNInterfaceConfig::mutable_interprocess() {
553 return _internal_mutable_interprocess();
555 inline void OpenCPNInterfaceConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
556 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
557 if (message_arena ==
nullptr) {
558 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
561 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
562 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
563 if (message_arena != submessage_arena) {
564 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
565 message_arena, interprocess, submessage_arena);
567 _has_bits_[0] |= 0x00000002u;
569 _has_bits_[0] &= ~0x00000002u;
571 interprocess_ = interprocess;
576 inline bool OpenCPNInterfaceConfig::_internal_has_ais_server()
const {
577 return io_case() == kAisServer;
579 inline bool OpenCPNInterfaceConfig::has_ais_server()
const {
580 return _internal_has_ais_server();
582 inline void OpenCPNInterfaceConfig::set_has_ais_server() {
583 _oneof_case_[0] = kAisServer;
585 inline ::goby::middleware::protobuf::TCPServerConfig* OpenCPNInterfaceConfig::release_ais_server() {
587 if (_internal_has_ais_server()) {
589 ::goby::middleware::protobuf::TCPServerConfig* temp = io_.ais_server_;
590 if (GetArena() !=
nullptr) {
591 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
593 io_.ais_server_ =
nullptr;
599 inline const ::goby::middleware::protobuf::TCPServerConfig& OpenCPNInterfaceConfig::_internal_ais_server()
const {
600 return _internal_has_ais_server()
604 inline const ::goby::middleware::protobuf::TCPServerConfig& OpenCPNInterfaceConfig::ais_server()
const {
606 return _internal_ais_server();
608 inline ::goby::middleware::protobuf::TCPServerConfig* OpenCPNInterfaceConfig::unsafe_arena_release_ais_server() {
610 if (_internal_has_ais_server()) {
612 ::goby::middleware::protobuf::TCPServerConfig* temp = io_.ais_server_;
613 io_.ais_server_ =
nullptr;
619 inline void OpenCPNInterfaceConfig::unsafe_arena_set_allocated_ais_server(::goby::middleware::protobuf::TCPServerConfig* ais_server) {
622 set_has_ais_server();
623 io_.ais_server_ = ais_server;
627 inline ::goby::middleware::protobuf::TCPServerConfig* OpenCPNInterfaceConfig::_internal_mutable_ais_server() {
628 if (!_internal_has_ais_server()) {
630 set_has_ais_server();
631 io_.ais_server_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPServerConfig >(GetArena());
633 return io_.ais_server_;
635 inline ::goby::middleware::protobuf::TCPServerConfig* OpenCPNInterfaceConfig::mutable_ais_server() {
637 return _internal_mutable_ais_server();
641 inline bool OpenCPNInterfaceConfig::_internal_has_ais_serial()
const {
642 return io_case() == kAisSerial;
644 inline bool OpenCPNInterfaceConfig::has_ais_serial()
const {
645 return _internal_has_ais_serial();
647 inline void OpenCPNInterfaceConfig::set_has_ais_serial() {
648 _oneof_case_[0] = kAisSerial;
650 inline ::goby::middleware::protobuf::PTYConfig* OpenCPNInterfaceConfig::release_ais_serial() {
652 if (_internal_has_ais_serial()) {
654 ::goby::middleware::protobuf::PTYConfig* temp = io_.ais_serial_;
655 if (GetArena() !=
nullptr) {
656 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
658 io_.ais_serial_ =
nullptr;
664 inline const ::goby::middleware::protobuf::PTYConfig& OpenCPNInterfaceConfig::_internal_ais_serial()
const {
665 return _internal_has_ais_serial()
669 inline const ::goby::middleware::protobuf::PTYConfig& OpenCPNInterfaceConfig::ais_serial()
const {
671 return _internal_ais_serial();
673 inline ::goby::middleware::protobuf::PTYConfig* OpenCPNInterfaceConfig::unsafe_arena_release_ais_serial() {
675 if (_internal_has_ais_serial()) {
677 ::goby::middleware::protobuf::PTYConfig* temp = io_.ais_serial_;
678 io_.ais_serial_ =
nullptr;
684 inline void OpenCPNInterfaceConfig::unsafe_arena_set_allocated_ais_serial(::goby::middleware::protobuf::PTYConfig* ais_serial) {
687 set_has_ais_serial();
688 io_.ais_serial_ = ais_serial;
692 inline ::goby::middleware::protobuf::PTYConfig* OpenCPNInterfaceConfig::_internal_mutable_ais_serial() {
693 if (!_internal_has_ais_serial()) {
695 set_has_ais_serial();
696 io_.ais_serial_ = CreateMaybeMessage< ::goby::middleware::protobuf::PTYConfig >(GetArena());
698 return io_.ais_serial_;
700 inline ::goby::middleware::protobuf::PTYConfig* OpenCPNInterfaceConfig::mutable_ais_serial() {
702 return _internal_mutable_ais_serial();
706 inline bool OpenCPNInterfaceConfig::_internal_has_mmsi_start()
const {
707 bool value = (_has_bits_[0] & 0x00000004u) != 0;
710 inline bool OpenCPNInterfaceConfig::has_mmsi_start()
const {
711 return _internal_has_mmsi_start();
713 inline void OpenCPNInterfaceConfig::clear_mmsi_start() {
714 mmsi_start_ = 988700000;
715 _has_bits_[0] &= ~0x00000004u;
722 return _internal_mmsi_start();
725 _has_bits_[0] |= 0x00000004u;
729 _internal_set_mmsi_start(value);
734 inline bool OpenCPNInterfaceConfig::_internal_has_filter_length()
const {
735 bool value = (_has_bits_[0] & 0x00000008u) != 0;
738 inline bool OpenCPNInterfaceConfig::has_filter_length()
const {
739 return _internal_has_filter_length();
741 inline void OpenCPNInterfaceConfig::clear_filter_length() {
743 _has_bits_[0] &= ~0x00000008u;
746 return filter_length_;
750 return _internal_filter_length();
753 _has_bits_[0] |= 0x00000008u;
754 filter_length_ =
value;
757 _internal_set_filter_length(value);
762 inline bool OpenCPNInterfaceConfig::_internal_has_position_report_interval()
const {
763 bool value = (_has_bits_[0] & 0x00000010u) != 0;
766 inline bool OpenCPNInterfaceConfig::has_position_report_interval()
const {
767 return _internal_has_position_report_interval();
769 inline void OpenCPNInterfaceConfig::clear_position_report_interval() {
770 position_report_interval_ = 1;
771 _has_bits_[0] &= ~0x00000010u;
773 inline double OpenCPNInterfaceConfig::_internal_position_report_interval()
const {
774 return position_report_interval_;
776 inline double OpenCPNInterfaceConfig::position_report_interval()
const {
778 return _internal_position_report_interval();
780 inline void OpenCPNInterfaceConfig::_internal_set_position_report_interval(
double value) {
781 _has_bits_[0] |= 0x00000010u;
782 position_report_interval_ =
value;
784 inline void OpenCPNInterfaceConfig::set_position_report_interval(
double value) {
785 _internal_set_position_report_interval(value);
790 inline bool OpenCPNInterfaceConfig::_internal_has_voyage_report_interval()
const {
791 bool value = (_has_bits_[0] & 0x00000020u) != 0;
794 inline bool OpenCPNInterfaceConfig::has_voyage_report_interval()
const {
795 return _internal_has_voyage_report_interval();
797 inline void OpenCPNInterfaceConfig::clear_voyage_report_interval() {
798 voyage_report_interval_ = 30;
799 _has_bits_[0] &= ~0x00000020u;
801 inline double OpenCPNInterfaceConfig::_internal_voyage_report_interval()
const {
802 return voyage_report_interval_;
804 inline double OpenCPNInterfaceConfig::voyage_report_interval()
const {
806 return _internal_voyage_report_interval();
808 inline void OpenCPNInterfaceConfig::_internal_set_voyage_report_interval(
double value) {
809 _has_bits_[0] |= 0x00000020u;
810 voyage_report_interval_ =
value;
812 inline void OpenCPNInterfaceConfig::set_voyage_report_interval(
double value) {
813 _internal_set_voyage_report_interval(value);
817 inline bool OpenCPNInterfaceConfig::has_io()
const {
818 return io_case() != IO_NOT_SET;
820 inline void OpenCPNInterfaceConfig::clear_has_io() {
821 _oneof_case_[0] = IO_NOT_SET;
823 inline OpenCPNInterfaceConfig::IoCase OpenCPNInterfaceConfig::io_case()
const {
824 return OpenCPNInterfaceConfig::IoCase(_oneof_case_[0]);
827 #pragma GCC diagnostic pop
839 #include <google/protobuf/port_undef.inc>
::goby::middleware::protobuf::TCPServerConfig * unsafe_arena_release_ais_server()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_allocated_ais_server(::goby::middleware::protobuf::TCPServerConfig *ais_server)
::goby::middleware::protobuf::AppConfig * mutable_app()
double position_report_interval() const
bool has_voyage_report_interval() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
bool has_interprocess() const
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
bool has_filter_length() const
::PROTOBUF_NAMESPACE_ID::int32 filter_length() const
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void set_position_report_interval(double value)
OpenCPNInterfaceConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void clear_voyage_report_interval()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type position_report_interval_dimension
void set_voyage_report_interval_with_units(Quantity value_w_units)
static void InitAsDefaultInstance()
::goby::middleware::protobuf::TCPServerConfig * mutable_ais_server()
void set_voyage_report_interval(double value)
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
OpenCPNInterfaceConfig(OpenCPNInterfaceConfig &&from) noexcept
OpenCPNInterfaceConfig(const OpenCPNInterfaceConfig &from)
void clear_position_report_interval()
bool has_ais_serial() const
void unsafe_arena_set_allocated_ais_serial(::goby::middleware::protobuf::PTYConfig *ais_serial)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
bool has_mmsi_start() const
bool has_ais_server() const
OpenCPNInterfaceConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_filter_length(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
bool has_position_report_interval() const
void set_position_report_interval_with_units(Quantity value_w_units)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(OpenCPNInterfaceConfig &a, OpenCPNInterfaceConfig &b)
void UnsafeArenaSwap(OpenCPNInterfaceConfig *other)
boost::units::unit< position_report_interval_dimension, boost::units::si::system > position_report_interval_unit
::PROTOBUF_NAMESPACE_ID::int32 mmsi_start() const
void Swap(OpenCPNInterfaceConfig *other)
virtual ~OpenCPNInterfaceConfig()
const ::goby::middleware::protobuf::TCPServerConfig & ais_server() const
const ::goby::middleware::protobuf::PTYConfig & ais_serial() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::goby::middleware::protobuf::PTYConfig * unsafe_arena_release_ais_serial()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
void set_mmsi_start(::PROTOBUF_NAMESPACE_ID::int32 value)
static const OpenCPNInterfaceConfig * internal_default_instance()
const ::goby::middleware::protobuf::AppConfig & app() const
void set_allocated_ais_serial(::goby::middleware::protobuf::PTYConfig *ais_serial)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void clear_filter_length()
void unsafe_arena_set_allocated_ais_server(::goby::middleware::protobuf::TCPServerConfig *ais_server)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void MergeFrom(const OpenCPNInterfaceConfig &from)
::goby::middleware::protobuf::PTYConfig * release_ais_serial()
OpenCPNInterfaceConfig & operator=(const OpenCPNInterfaceConfig &from)
double voyage_report_interval() const
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Quantity voyage_report_interval_with_units() const
::goby::middleware::protobuf::PTYConfig * mutable_ais_serial()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Quantity position_report_interval_with_units() const
boost::units::unit< voyage_report_interval_dimension, boost::units::si::system > voyage_report_interval_unit
boost::units::quantity< voyage_report_interval_unit, double > voyage_report_interval_with_units() const
void CopyFrom(const OpenCPNInterfaceConfig &from)
OpenCPNInterfaceConfig & operator=(OpenCPNInterfaceConfig &&from) noexcept
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type voyage_report_interval_dimension
::goby::middleware::protobuf::AppConfig * release_app()
::goby::middleware::protobuf::TCPServerConfig * release_ais_server()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
OpenCPNInterfaceConfig * New() const final
static const OpenCPNInterfaceConfig & default_instance()
void clear_interprocess()
boost::units::quantity< position_report_interval_unit, double > position_report_interval_with_units() const
@ value
the parser finished reading a JSON value
OpenCPNInterfaceConfigDefaultTypeInternal _OpenCPNInterfaceConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
TCPServerConfigDefaultTypeInternal _TCPServerConfig_default_instance_
PTYConfigDefaultTypeInternal _PTYConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
type
Generic JSON types used in JWTs.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]