4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fweb_5fportal_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 "goby/middleware/protobuf/udp_config.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_bin_2fweb_5fportal_2fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
57struct WebPortalDefaultTypeInternal;
61PROTOBUF_NAMESPACE_OPEN
63PROTOBUF_NAMESPACE_CLOSE
70 public ::PROTOBUF_NAMESPACE_ID::Message {
74 explicit PROTOBUF_CONSTEXPR
WebPortal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
79 *
this = ::std::move(from);
87 if (
this == &from)
return *
this;
88 if (GetOwningArena() == from.GetOwningArena()
89 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
90 && GetOwningArena() !=
nullptr
101 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
104 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
120 return reinterpret_cast<const WebPortal*
>(
130 if (other ==
this)
return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() !=
nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
135 if (GetOwningArena() == other->GetOwningArena()) {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
143 if (other ==
this)
return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
150 WebPortal*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
151 return CreateMaybeMessage<WebPortal>(arena);
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 WebPortal::MergeImpl(*
this, from);
160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
162 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
174 void SetCachedSize(
int size)
const final;
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.config.WebPortal";
183 explicit WebPortal(::PROTOBUF_NAMESPACE_ID::Arena* arena,
184 bool is_message_owned =
false);
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
204 bool _internal_has_app()
const;
207 const ::goby::middleware::protobuf::AppConfig&
app()
const;
208 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
209 ::goby::middleware::protobuf::AppConfig*
mutable_app();
212 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
213 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
216 ::goby::middleware::protobuf::AppConfig*
app);
222 bool _internal_has_interprocess()
const;
225 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
230 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
231 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
234 ::goby::zeromq::protobuf::InterProcessPortalConfig*
interprocess);
240 bool _internal_has_udp_config()
const;
243 const ::goby::middleware::protobuf::UDPOneToManyConfig&
udp_config()
const;
244 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPOneToManyConfig*
release_udp_config();
248 const ::goby::middleware::protobuf::UDPOneToManyConfig& _internal_udp_config()
const;
249 ::goby::middleware::protobuf::UDPOneToManyConfig* _internal_mutable_udp_config();
252 ::goby::middleware::protobuf::UDPOneToManyConfig*
udp_config);
259 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
260 typedef void InternalArenaConstructable_;
261 typedef void DestructorSkippable_;
263 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
264 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265 ::goby::middleware::protobuf::AppConfig* app_;
266 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
267 ::goby::middleware::protobuf::UDPOneToManyConfig* udp_config_;
270 friend struct ::TableStruct_bin_2fweb_5fportal_2fconfig_2eproto;
278 #pragma GCC diagnostic push
279 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
284inline bool WebPortal::_internal_has_app()
const {
285 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
286 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
290 return _internal_has_app();
292inline const ::goby::middleware::protobuf::AppConfig& WebPortal::_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] |= 0x00000001u;
310 _impl_._has_bits_[0] &= ~0x00000001u;
315 _impl_._has_bits_[0] &= ~0x00000001u;
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] &= ~0x00000001u;
332 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
336inline ::goby::middleware::protobuf::AppConfig* WebPortal::_internal_mutable_app() {
337 _impl_._has_bits_[0] |= 0x00000001u;
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] |= 0x00000001u;
364 _impl_._has_bits_[0] &= ~0x00000001u;
371inline bool WebPortal::_internal_has_interprocess()
const {
372 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
373 PROTOBUF_ASSUME(!value ||
_impl_.interprocess_ !=
nullptr);
377 return _internal_has_interprocess();
379inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& WebPortal::_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] |= 0x00000002u;
397 _impl_._has_bits_[0] &= ~0x00000002u;
402 _impl_._has_bits_[0] &= ~0x00000002u;
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] &= ~0x00000002u;
419 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp =
_impl_.interprocess_;
420 _impl_.interprocess_ =
nullptr;
423inline ::goby::zeromq::protobuf::InterProcessPortalConfig* WebPortal::_internal_mutable_interprocess() {
424 _impl_._has_bits_[0] |= 0x00000002u;
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] |= 0x00000002u;
451 _impl_._has_bits_[0] &= ~0x00000002u;
458inline bool WebPortal::_internal_has_udp_config()
const {
459 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
460 PROTOBUF_ASSUME(!value ||
_impl_.udp_config_ !=
nullptr);
464 return _internal_has_udp_config();
466inline const ::goby::middleware::protobuf::UDPOneToManyConfig& WebPortal::_internal_udp_config()
const {
467 const ::goby::middleware::protobuf::UDPOneToManyConfig* p =
_impl_.udp_config_;
468 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::UDPOneToManyConfig&
>(
469 ::goby::middleware::protobuf::_UDPOneToManyConfig_default_instance_);
473 return _internal_udp_config();
476 ::goby::middleware::protobuf::UDPOneToManyConfig*
udp_config) {
477 if (GetArenaForAllocation() ==
nullptr) {
478 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.udp_config_);
482 _impl_._has_bits_[0] |= 0x00000004u;
484 _impl_._has_bits_[0] &= ~0x00000004u;
489 _impl_._has_bits_[0] &= ~0x00000004u;
490 ::goby::middleware::protobuf::UDPOneToManyConfig* temp =
_impl_.udp_config_;
491 _impl_.udp_config_ =
nullptr;
492#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
493 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
494 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
495 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
497 if (GetArenaForAllocation() !=
nullptr) {
498 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
505 _impl_._has_bits_[0] &= ~0x00000004u;
506 ::goby::middleware::protobuf::UDPOneToManyConfig* temp =
_impl_.udp_config_;
507 _impl_.udp_config_ =
nullptr;
510inline ::goby::middleware::protobuf::UDPOneToManyConfig* WebPortal::_internal_mutable_udp_config() {
511 _impl_._has_bits_[0] |= 0x00000004u;
512 if (
_impl_.udp_config_ ==
nullptr) {
513 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPOneToManyConfig>(GetArenaForAllocation());
516 return _impl_.udp_config_;
519 ::goby::middleware::protobuf::UDPOneToManyConfig* _msg = _internal_mutable_udp_config();
524 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
525 if (message_arena ==
nullptr) {
526 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.udp_config_);
529 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
530 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
531 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
udp_config));
532 if (message_arena != submessage_arena) {
533 udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
536 _impl_._has_bits_[0] |= 0x00000004u;
538 _impl_._has_bits_[0] &= ~0x00000004u;
545 #pragma GCC diagnostic pop
555#include <google/protobuf/port_undef.inc>
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
bool IsInitialized() const final
void Swap(WebPortal *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
WebPortal(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void clear_interprocess()
static constexpr int kIndexInFileMessages
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_udp_config(::goby::middleware::protobuf::UDPOneToManyConfig *udp_config)
static const WebPortal * internal_default_instance()
PROTOBUF_CONSTEXPR WebPortal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
@ kInterprocessFieldNumber
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void CopyFrom(const WebPortal &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
WebPortal & operator=(WebPortal &&from) noexcept
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::goby::middleware::protobuf::AppConfig & app() const
WebPortal(WebPortal &&from) noexcept
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
WebPortal(const WebPortal &from)
WebPortal & operator=(const WebPortal &from)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void UnsafeArenaSwap(WebPortal *other)
friend void swap(WebPortal &a, WebPortal &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::middleware::protobuf::UDPOneToManyConfig * mutable_udp_config()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::goby::middleware::protobuf::UDPOneToManyConfig & udp_config() const
void unsafe_arena_set_allocated_udp_config(::goby::middleware::protobuf::UDPOneToManyConfig *udp_config)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::goby::middleware::protobuf::UDPOneToManyConfig * unsafe_arena_release_udp_config()
WebPortal * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
static const WebPortal & default_instance()
PROTOBUF_NODISCARD::goby::middleware::protobuf::UDPOneToManyConfig * release_udp_config()
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
bool has_interprocess() const
bool has_udp_config() const
void MergeFrom(const WebPortal &from)
::goby::middleware::protobuf::AppConfig * mutable_app()
static const ClassData _class_data_
WebPortalDefaultTypeInternal _WebPortal_default_instance_
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fweb_5fportal_2fconfig_2eproto