4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fppk_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fppk_2fconfig_2eproto
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
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.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
33#include "goby/middleware/protobuf/app_config.pb.h"
34#include "goby/zeromq/protobuf/interprocess_config.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_bin_2fppk_2fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
56struct PKKConfigDefaultTypeInternal;
60PROTOBUF_NAMESPACE_OPEN
62PROTOBUF_NAMESPACE_CLOSE
69 public ::PROTOBUF_NAMESPACE_ID::Message {
73 explicit PROTOBUF_CONSTEXPR
PKKConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
78 *
this = ::std::move(from);
86 if (
this == &from)
return *
this;
87 if (GetOwningArena() == from.GetOwningArena()
88 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
89 && GetOwningArena() !=
nullptr
99 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet&
unknown_fields()
const {
100 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
103 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
106 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
119 return reinterpret_cast<const PKKConfig*
>(
129 if (other ==
this)
return;
130 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
131 if (GetOwningArena() !=
nullptr &&
132 GetOwningArena() == other->GetOwningArena()) {
134 if (GetOwningArena() == other->GetOwningArena()) {
138 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
142 if (other ==
this)
return;
143 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 PKKConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
150 return CreateMaybeMessage<PKKConfig>(arena);
152 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
154 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
156 PKKConfig::MergeImpl(*
this, from);
159 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
161 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
167 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
171 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
173 void SetCachedSize(
int size)
const final;
177 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179 return "jaiabot.config.PKKConfig";
182 explicit PKKConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
183 bool is_message_owned =
false);
187 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
203 bool _internal_has_ubx_output_filename()
const;
207 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
213 const std::string& _internal_ubx_output_filename()
const;
214 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_ubx_output_filename(
const std::string& value);
215 std::string* _internal_mutable_ubx_output_filename();
221 bool _internal_has_app()
const;
224 const ::goby::middleware::protobuf::AppConfig&
app()
const;
225 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
226 ::goby::middleware::protobuf::AppConfig*
mutable_app();
229 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
230 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
233 ::goby::middleware::protobuf::AppConfig*
app);
239 bool _internal_has_interprocess()
const;
242 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
247 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
248 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
251 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess);
258 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
259 typedef void InternalArenaConstructable_;
260 typedef void DestructorSkippable_;
262 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
263 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
264 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ubx_output_filename_;
265 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ubx_output_filename_;
266 ::goby::middleware::protobuf::AppConfig* app_;
267 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
270 friend struct ::TableStruct_bin_2fppk_2fconfig_2eproto;
278 #pragma GCC diagnostic push
279 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
284inline bool PKKConfig::_internal_has_app()
const {
285 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
286 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
290 return _internal_has_app();
292inline const ::goby::middleware::protobuf::AppConfig& PKKConfig::_internal_app()
const {
293 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
294 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
295 ::goby::middleware::protobuf::_AppConfig_default_instance_);
299 return _internal_app();
302 ::goby::middleware::protobuf::AppConfig*
app) {
303 if (GetArenaForAllocation() ==
nullptr) {
304 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
308 _impl_._has_bits_[0] |= 0x00000002u;
310 _impl_._has_bits_[0] &= ~0x00000002u;
315 _impl_._has_bits_[0] &= ~0x00000002u;
316 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
318#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
319 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
320 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
321 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
323 if (GetArenaForAllocation() !=
nullptr) {
324 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
331 _impl_._has_bits_[0] &= ~0x00000002u;
332 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
336inline ::goby::middleware::protobuf::AppConfig* PKKConfig::_internal_mutable_app() {
337 _impl_._has_bits_[0] |= 0x00000002u;
338 if (
_impl_.app_ ==
nullptr) {
339 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
345 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
350 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
351 if (message_arena ==
nullptr) {
352 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
355 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
356 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
357 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
358 if (message_arena != submessage_arena) {
359 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
360 message_arena,
app, submessage_arena);
362 _impl_._has_bits_[0] |= 0x00000002u;
364 _impl_._has_bits_[0] &= ~0x00000002u;
371inline bool PKKConfig::_internal_has_interprocess()
const {
372 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
373 PROTOBUF_ASSUME(!value ||
_impl_.interprocess_ !=
nullptr);
377 return _internal_has_interprocess();
379inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PKKConfig::_internal_interprocess()
const {
380 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p =
_impl_.interprocess_;
381 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
382 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
386 return _internal_interprocess();
389 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess) {
390 if (GetArenaForAllocation() ==
nullptr) {
391 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
395 _impl_._has_bits_[0] |= 0x00000004u;
397 _impl_._has_bits_[0] &= ~0x00000004u;
402 _impl_._has_bits_[0] &= ~0x00000004u;
403 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
404 _impl_.interprocess_ =
nullptr;
405#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
406 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
407 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
408 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
410 if (GetArenaForAllocation() !=
nullptr) {
411 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
418 _impl_._has_bits_[0] &= ~0x00000004u;
419 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
420 _impl_.interprocess_ =
nullptr;
423inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PKKConfig::_internal_mutable_interprocess() {
424 _impl_._has_bits_[0] |= 0x00000004u;
425 if (
_impl_.interprocess_ ==
nullptr) {
426 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
429 return _impl_.interprocess_;
432 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
437 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
438 if (message_arena ==
nullptr) {
439 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
442 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
443 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
444 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
interprocess));
445 if (message_arena != submessage_arena) {
446 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
449 _impl_._has_bits_[0] |= 0x00000004u;
451 _impl_._has_bits_[0] &= ~0x00000004u;
458inline bool PKKConfig::_internal_has_ubx_output_filename()
const {
459 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
463 return _internal_has_ubx_output_filename();
466 _impl_.ubx_output_filename_.ClearToDefault(::jaiabot::config::PKKConfig::Impl_::_i_give_permission_to_break_this_code_default_ubx_output_filename_, GetArenaForAllocation());
467 _impl_._has_bits_[0] &= ~0x00000001u;
471 if (
_impl_.ubx_output_filename_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_ubx_output_filename_.get();
472 return _internal_ubx_output_filename();
474template <
typename ArgT0,
typename... ArgT>
475inline PROTOBUF_ALWAYS_INLINE
477 _impl_._has_bits_[0] |= 0x00000001u;
478 _impl_.ubx_output_filename_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
482 std::string* _s = _internal_mutable_ubx_output_filename();
486inline const std::string& PKKConfig::_internal_ubx_output_filename()
const {
487 return _impl_.ubx_output_filename_.Get();
489inline void PKKConfig::_internal_set_ubx_output_filename(
const std::string& value) {
490 _impl_._has_bits_[0] |= 0x00000001u;
491 _impl_.ubx_output_filename_.Set(value, GetArenaForAllocation());
493inline std::string* PKKConfig::_internal_mutable_ubx_output_filename() {
494 _impl_._has_bits_[0] |= 0x00000001u;
495 return _impl_.ubx_output_filename_.Mutable(::jaiabot::config::PKKConfig::Impl_::_i_give_permission_to_break_this_code_default_ubx_output_filename_, GetArenaForAllocation());
499 if (!_internal_has_ubx_output_filename()) {
502 _impl_._has_bits_[0] &= ~0x00000001u;
503 auto* p =
_impl_.ubx_output_filename_.Release();
508 _impl_._has_bits_[0] |= 0x00000001u;
510 _impl_._has_bits_[0] &= ~0x00000001u;
517 #pragma GCC diagnostic pop
527#include <google/protobuf/port_undef.inc>
void set_ubx_output_filename(ArgT0 &&arg0, ArgT... args)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PKKConfig & operator=(PKKConfig &&from) noexcept
PKKConfig & operator=(const PKKConfig &from)
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
PROTOBUF_NODISCARD std::string * release_ubx_output_filename()
bool IsInitialized() const final
static const ClassData _class_data_
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void clear_interprocess()
std::string * mutable_ubx_output_filename()
int GetCachedSize() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PKKConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const PKKConfig * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PKKConfig(PKKConfig &&from) noexcept
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
void Swap(PKKConfig *other)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void clear_ubx_output_filename()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const std::string & ubx_output_filename() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_ubx_output_filename(std::string *ubx_output_filename)
void CopyFrom(const PKKConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_CONSTEXPR PKKConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
size_t ByteSizeLong() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void MergeFrom(const PKKConfig &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PKKConfig(const PKKConfig &from)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
PKKConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static constexpr int kIndexInFileMessages
@ kUbxOutputFilenameFieldNumber
@ kInterprocessFieldNumber
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::goby::middleware::protobuf::AppConfig & app() const
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
friend void swap(PKKConfig &a, PKKConfig &b)
bool has_interprocess() const
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
bool has_ubx_output_filename() const
void UnsafeArenaSwap(PKKConfig *other)
::goby::middleware::protobuf::AppConfig * mutable_app()
static const PKKConfig & default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
PKKConfigDefaultTypeInternal _PKKConfig_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fppk_2fconfig_2eproto
static const uint32_t offsets[]