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>
33#include "dccl/option_extensions.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_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
59struct TestConfigDefaultTypeInternal;
62struct WidgetDefaultTypeInternal;
68PROTOBUF_NAMESPACE_OPEN
71PROTOBUF_NAMESPACE_CLOSE
79class TestConfig final :
80 public ::PROTOBUF_NAMESPACE_ID::Message {
84 explicit PROTOBUF_CONSTEXPR
TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 *
this = ::std::move(from);
97 if (
this == &from)
return *
this;
98 if (GetOwningArena() == from.GetOwningArena()
99 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
100 && GetOwningArena() !=
nullptr
111 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
114 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
140 if (other ==
this)
return;
141 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() !=
nullptr &&
143 GetOwningArena() == other->GetOwningArena()) {
145 if (GetOwningArena() == other->GetOwningArena()) {
149 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
153 if (other ==
this)
return;
154 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
160 TestConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
161 return CreateMaybeMessage<TestConfig>(arena);
163 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
165 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
167 TestConfig::MergeImpl(*
this, from);
170 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
172 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
178 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
182 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
184 void SetCachedSize(
int size)
const final;
188 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
189 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
190 return "goby.test.zeromq.protobuf.TestConfig";
194 bool is_message_owned =
false);
198 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
213 bool _internal_has_app()
const;
216 const ::goby::middleware::protobuf::AppConfig&
app()
const;
217 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
221 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
231 bool _internal_has_interprocess()
const;
234 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
239 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
250 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
251 typedef void InternalArenaConstructable_;
252 typedef void DestructorSkippable_;
254 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
255 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
260 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
265 public ::PROTOBUF_NAMESPACE_ID::Message {
269 explicit PROTOBUF_CONSTEXPR
Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
274 *
this = ::std::move(from);
282 if (
this == &from)
return *
this;
283 if (GetOwningArena() == from.GetOwningArena()
284 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
285 && GetOwningArena() !=
nullptr
296 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
299 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
302 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
303 return GetDescriptor();
306 return default_instance().GetMetadata().descriptor;
309 return default_instance().GetMetadata().reflection;
312 return *internal_default_instance();
315 return reinterpret_cast<const Widget*
>(
316 &_Widget_default_instance_);
318 static constexpr int kIndexInFileMessages =
325 if (other ==
this)
return;
326 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
327 if (GetOwningArena() !=
nullptr &&
328 GetOwningArena() == other->GetOwningArena()) {
330 if (GetOwningArena() == other->GetOwningArena()) {
334 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
338 if (other ==
this)
return;
339 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
345 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
346 return CreateMaybeMessage<Widget>(arena);
348 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
350 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
352 Widget::MergeImpl(*
this, from);
355 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
357 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
358 bool IsInitialized() const final;
361 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
362 uint8_t* _InternalSerialize(
363 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
364 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
367 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
369 void SetCachedSize(
int size)
const final;
370 void InternalSwap(
Widget* other);
373 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
374 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
375 return "goby.test.zeromq.protobuf.Widget";
378 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
379 bool is_message_owned =
false);
382 static const ClassData _class_data_;
383 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
385 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
397 bool _internal_has_b()
const;
403 int32_t _internal_b()
const;
404 void _internal_set_b(int32_t value);
411 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
412 typedef void InternalArenaConstructable_;
413 typedef void DestructorSkippable_;
415 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
416 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
419 union { Impl_ _impl_; };
420 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
428 #pragma GCC diagnostic push
429 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
434inline bool TestConfig::_internal_has_app()
const {
435 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
436 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
439inline bool TestConfig::has_app()
const {
440 return _internal_has_app();
442inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app()
const {
443 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
447inline const ::goby::middleware::protobuf::AppConfig& TestConfig::app()
const {
449 return _internal_app();
451inline void TestConfig::unsafe_arena_set_allocated_app(
453 if (GetArenaForAllocation() ==
nullptr) {
454 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
458 _impl_._has_bits_[0] |= 0x00000001u;
460 _impl_._has_bits_[0] &= ~0x00000001u;
464inline ::goby::middleware::protobuf::AppConfig* TestConfig::release_app() {
465 _impl_._has_bits_[0] &= ~0x00000001u;
467 _impl_.app_ =
nullptr;
468#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
469 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
470 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
471 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
473 if (GetArenaForAllocation() !=
nullptr) {
474 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
479inline ::goby::middleware::protobuf::AppConfig* TestConfig::unsafe_arena_release_app() {
481 _impl_._has_bits_[0] &= ~0x00000001u;
483 _impl_.app_ =
nullptr;
486inline ::goby::middleware::protobuf::AppConfig* TestConfig::_internal_mutable_app() {
487 _impl_._has_bits_[0] |= 0x00000001u;
488 if (_impl_.app_ ==
nullptr) {
494inline ::goby::middleware::protobuf::AppConfig* TestConfig::mutable_app() {
500 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
501 if (message_arena ==
nullptr) {
502 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
505 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
506 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
507 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
508 if (message_arena != submessage_arena) {
509 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
510 message_arena, app, submessage_arena);
512 _impl_._has_bits_[0] |= 0x00000001u;
514 _impl_._has_bits_[0] &= ~0x00000001u;
521inline bool TestConfig::_internal_has_interprocess()
const {
522 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
523 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
526inline bool TestConfig::has_interprocess()
const {
527 return _internal_has_interprocess();
529inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess()
const {
530 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
534inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::interprocess()
const {
536 return _internal_interprocess();
538inline void TestConfig::unsafe_arena_set_allocated_interprocess(
540 if (GetArenaForAllocation() ==
nullptr) {
541 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
543 _impl_.interprocess_ = interprocess;
545 _impl_._has_bits_[0] |= 0x00000002u;
547 _impl_._has_bits_[0] &= ~0x00000002u;
551inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::release_interprocess() {
552 _impl_._has_bits_[0] &= ~0x00000002u;
554 _impl_.interprocess_ =
nullptr;
555#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
556 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
557 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
558 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
560 if (GetArenaForAllocation() !=
nullptr) {
561 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
566inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::unsafe_arena_release_interprocess() {
568 _impl_._has_bits_[0] &= ~0x00000002u;
570 _impl_.interprocess_ =
nullptr;
573inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::_internal_mutable_interprocess() {
574 _impl_._has_bits_[0] |= 0x00000002u;
575 if (_impl_.interprocess_ ==
nullptr) {
577 _impl_.interprocess_ = p;
579 return _impl_.interprocess_;
581inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::mutable_interprocess() {
587 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
588 if (message_arena ==
nullptr) {
589 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
592 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
593 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
594 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
595 if (message_arena != submessage_arena) {
596 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
597 message_arena, interprocess, submessage_arena);
599 _impl_._has_bits_[0] |= 0x00000002u;
601 _impl_._has_bits_[0] &= ~0x00000002u;
603 _impl_.interprocess_ = interprocess;
612inline bool Widget::_internal_has_b()
const {
613 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
616inline bool Widget::has_b()
const {
617 return _internal_has_b();
619inline void Widget::clear_b() {
621 _impl_._has_bits_[0] &= ~0x00000001u;
623inline int32_t Widget::_internal_b()
const {
626inline int32_t Widget::b()
const {
628 return _internal_b();
630inline void Widget::_internal_set_b(int32_t value) {
631 _impl_._has_bits_[0] |= 0x00000001u;
634inline void Widget::set_b(int32_t value) {
635 _internal_set_b(value);
640 #pragma GCC diagnostic pop
654#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
@ kInterprocessFieldNumber
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()
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