4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_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>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.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_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
58struct TestConfigDefaultTypeInternal;
61struct WidgetDefaultTypeInternal;
67PROTOBUF_NAMESPACE_OPEN
70PROTOBUF_NAMESPACE_CLOSE
78class TestConfig final :
79 public ::PROTOBUF_NAMESPACE_ID::Message {
83 explicit PROTOBUF_CONSTEXPR
TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
88 *
this = ::std::move(from);
96 if (
this == &from)
return *
this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() !=
nullptr
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
139 if (other ==
this)
return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() !=
nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
144 if (GetOwningArena() == other->GetOwningArena()) {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
152 if (other ==
this)
return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
159 TestConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
160 return CreateMaybeMessage<TestConfig>(arena);
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 TestConfig::MergeImpl(*
this, from);
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
171 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
183 void SetCachedSize(
int size)
const final;
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.test.zeromq.protobuf.TestConfig";
193 bool is_message_owned =
false);
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
212 bool _internal_has_app()
const;
215 const ::goby::middleware::protobuf::AppConfig&
app()
const;
216 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
220 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
230 bool _internal_has_interprocess()
const;
233 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
238 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
249 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250 typedef void InternalArenaConstructable_;
251 typedef void DestructorSkippable_;
253 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
259 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
264 public ::PROTOBUF_NAMESPACE_ID::Message {
268 explicit PROTOBUF_CONSTEXPR
Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
273 *
this = ::std::move(from);
281 if (
this == &from)
return *
this;
282 if (GetOwningArena() == from.GetOwningArena()
283 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
284 && GetOwningArena() !=
nullptr
295 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
298 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
302 return GetDescriptor();
305 return default_instance().GetMetadata().descriptor;
308 return default_instance().GetMetadata().reflection;
311 return *internal_default_instance();
314 return reinterpret_cast<const Widget*
>(
315 &_Widget_default_instance_);
317 static constexpr int kIndexInFileMessages =
324 if (other ==
this)
return;
325 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
326 if (GetOwningArena() !=
nullptr &&
327 GetOwningArena() == other->GetOwningArena()) {
329 if (GetOwningArena() == other->GetOwningArena()) {
333 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
337 if (other ==
this)
return;
338 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
344 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
345 return CreateMaybeMessage<Widget>(arena);
347 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
349 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
351 Widget::MergeImpl(*
this, from);
354 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
356 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
357 bool IsInitialized() const final;
360 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
361 uint8_t* _InternalSerialize(
362 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
363 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
366 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
368 void SetCachedSize(
int size)
const final;
369 void InternalSwap(
Widget* other);
372 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
373 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
374 return "goby.test.zeromq.protobuf.Widget";
377 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
378 bool is_message_owned =
false);
381 static const ClassData _class_data_;
382 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
384 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
396 bool _internal_has_b()
const;
402 int32_t _internal_b()
const;
403 void _internal_set_b(int32_t value);
410 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
411 typedef void InternalArenaConstructable_;
412 typedef void DestructorSkippable_;
414 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
415 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
418 union { Impl_ _impl_; };
419 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
427 #pragma GCC diagnostic push
428 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
433inline bool TestConfig::_internal_has_app()
const {
434 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
435 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
438inline bool TestConfig::has_app()
const {
439 return _internal_has_app();
441inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app()
const {
442 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
446inline const ::goby::middleware::protobuf::AppConfig& TestConfig::app()
const {
448 return _internal_app();
450inline void TestConfig::unsafe_arena_set_allocated_app(
452 if (GetArenaForAllocation() ==
nullptr) {
453 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
457 _impl_._has_bits_[0] |= 0x00000001u;
459 _impl_._has_bits_[0] &= ~0x00000001u;
463inline ::goby::middleware::protobuf::AppConfig* TestConfig::release_app() {
464 _impl_._has_bits_[0] &= ~0x00000001u;
466 _impl_.app_ =
nullptr;
467#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
468 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
469 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
470 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
472 if (GetArenaForAllocation() !=
nullptr) {
473 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
478inline ::goby::middleware::protobuf::AppConfig* TestConfig::unsafe_arena_release_app() {
480 _impl_._has_bits_[0] &= ~0x00000001u;
482 _impl_.app_ =
nullptr;
485inline ::goby::middleware::protobuf::AppConfig* TestConfig::_internal_mutable_app() {
486 _impl_._has_bits_[0] |= 0x00000001u;
487 if (_impl_.app_ ==
nullptr) {
493inline ::goby::middleware::protobuf::AppConfig* TestConfig::mutable_app() {
499 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
500 if (message_arena ==
nullptr) {
501 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
504 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
505 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
506 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
507 if (message_arena != submessage_arena) {
508 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
509 message_arena, app, submessage_arena);
511 _impl_._has_bits_[0] |= 0x00000001u;
513 _impl_._has_bits_[0] &= ~0x00000001u;
520inline bool TestConfig::_internal_has_interprocess()
const {
521 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
522 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
525inline bool TestConfig::has_interprocess()
const {
526 return _internal_has_interprocess();
528inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess()
const {
529 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
533inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::interprocess()
const {
535 return _internal_interprocess();
537inline void TestConfig::unsafe_arena_set_allocated_interprocess(
539 if (GetArenaForAllocation() ==
nullptr) {
540 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
542 _impl_.interprocess_ = interprocess;
544 _impl_._has_bits_[0] |= 0x00000002u;
546 _impl_._has_bits_[0] &= ~0x00000002u;
550inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::release_interprocess() {
551 _impl_._has_bits_[0] &= ~0x00000002u;
553 _impl_.interprocess_ =
nullptr;
554#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
555 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
556 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
557 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
559 if (GetArenaForAllocation() !=
nullptr) {
560 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
565inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::unsafe_arena_release_interprocess() {
567 _impl_._has_bits_[0] &= ~0x00000002u;
569 _impl_.interprocess_ =
nullptr;
572inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::_internal_mutable_interprocess() {
573 _impl_._has_bits_[0] |= 0x00000002u;
574 if (_impl_.interprocess_ ==
nullptr) {
576 _impl_.interprocess_ = p;
578 return _impl_.interprocess_;
580inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::mutable_interprocess() {
586 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
587 if (message_arena ==
nullptr) {
588 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
591 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
592 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
593 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
594 if (message_arena != submessage_arena) {
595 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
596 message_arena, interprocess, submessage_arena);
598 _impl_._has_bits_[0] |= 0x00000002u;
600 _impl_._has_bits_[0] &= ~0x00000002u;
602 _impl_.interprocess_ = interprocess;
611inline bool Widget::_internal_has_b()
const {
612 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
615inline bool Widget::has_b()
const {
616 return _internal_has_b();
618inline void Widget::clear_b() {
620 _impl_._has_bits_[0] &= ~0x00000001u;
622inline int32_t Widget::_internal_b()
const {
625inline int32_t Widget::b()
const {
627 return _internal_b();
629inline void Widget::_internal_set_b(int32_t value) {
630 _impl_._has_bits_[0] |= 0x00000001u;
633inline void Widget::set_b(int32_t value) {
634 _internal_set_b(value);
639 #pragma GCC diagnostic pop
653#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
TestConfig & operator=(const TestConfig &from)
PROTOBUF_CONSTEXPR TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TestConfig & operator=(TestConfig &&from) noexcept
bool IsInitialized() const final
const ::goby::middleware::protobuf::AppConfig & app() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
TestConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
@ kInterprocessFieldNumber
static const TestConfig * internal_default_instance()
void Swap(TestConfig *other)
size_t ByteSizeLong() const final
TestConfig(TestConfig &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void MergeFrom(const TestConfig &from)
void UnsafeArenaSwap(TestConfig *other)
void CopyFrom(const TestConfig &from)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
void clear_interprocess()
friend void swap(TestConfig &a, TestConfig &b)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const TestConfig & default_instance()
::goby::middleware::protobuf::AppConfig * mutable_app()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
TestConfig(const TestConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
TestConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr int kIndexInFileMessages
bool has_interprocess() const
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
int GetCachedSize() const final
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
AppConfigDefaultTypeInternal _AppConfig_default_instance_
TestConfigDefaultTypeInternal _TestConfig_default_instance_
WidgetDefaultTypeInternal _Widget_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto