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 < 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>
35 #include "dccl/option_extensions.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <google/protobuf/port_def.inc>
44 #define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto
45 PROTOBUF_NAMESPACE_OPEN
49 PROTOBUF_NAMESPACE_CLOSE
53 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
69 class TestConfigDefaultTypeInternal;
72 class WidgetDefaultTypeInternal;
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::goby::test::zeromq::protobuf::TestConfig* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::TestConfig>(Arena*);
80 template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
89 class TestConfig PROTOBUF_FINAL :
90 public ::PROTOBUF_NAMESPACE_ID::Message {
98 *
this = ::std::move(from);
105 inline TestConfig&
operator=(TestConfig&& from) noexcept {
106 if (GetArena() == from.GetArena()) {
107 if (
this != &from) InternalSwap(&from);
115 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
118 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
122 return GetDescriptor();
125 return GetMetadataStatic().descriptor;
128 return GetMetadataStatic().reflection;
134 return reinterpret_cast<const TestConfig*
>(
137 static constexpr
int kIndexInFileMessages =
140 friend void swap(TestConfig& a, TestConfig& b) {
143 inline void Swap(TestConfig* other) {
144 if (other ==
this)
return;
145 if (GetArena() == other->GetArena()) {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
152 if (other ==
this)
return;
153 GOOGLE_DCHECK(GetArena() == other->GetArena());
159 inline TestConfig*
New() const final {
160 return CreateMaybeMessage<TestConfig>(
nullptr);
163 TestConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
164 return CreateMaybeMessage<TestConfig>(arena);
166 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
167 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
170 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
171 bool IsInitialized() const final;
174 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
175 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
176 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 int GetCachedSize() const final {
return _cached_size_.Get(); }
180 inline void SharedCtor();
181 inline void SharedDtor();
182 void SetCachedSize(
int size)
const final;
183 void InternalSwap(TestConfig* other);
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "goby.test.zeromq.protobuf.TestConfig";
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
210 kInterprocessFieldNumber = 2,
215 bool _internal_has_app()
const;
218 const ::goby::middleware::protobuf::AppConfig&
app()
const;
223 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
224 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
227 ::goby::middleware::protobuf::AppConfig* app);
233 bool _internal_has_interprocess()
const;
236 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
241 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
242 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
245 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
252 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
253 typedef void InternalArenaConstructable_;
254 typedef void DestructorSkippable_;
255 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
256 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
257 ::goby::middleware::protobuf::AppConfig* app_;
258 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
259 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
264 public ::PROTOBUF_NAMESPACE_ID::Message {
272 *
this = ::std::move(from);
280 if (GetArena() == from.GetArena()) {
281 if (
this != &from) InternalSwap(&from);
289 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
292 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
295 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
296 return GetDescriptor();
299 return GetMetadataStatic().descriptor;
302 return GetMetadataStatic().reflection;
308 return reinterpret_cast<const Widget*
>(
311 static constexpr
int kIndexInFileMessages =
314 friend void swap(Widget& a, Widget& b) {
317 inline void Swap(Widget* other) {
318 if (other ==
this)
return;
319 if (GetArena() == other->GetArena()) {
322 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
326 if (other ==
this)
return;
327 GOOGLE_DCHECK(GetArena() == other->GetArena());
333 inline Widget*
New() const final {
334 return CreateMaybeMessage<Widget>(
nullptr);
337 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
338 return CreateMaybeMessage<Widget>(arena);
340 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
341 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
344 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
345 bool IsInitialized() const final;
348 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
349 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
350 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
351 int GetCachedSize() const final {
return _cached_size_.Get(); }
354 inline void SharedCtor();
355 inline void SharedDtor();
356 void SetCachedSize(
int size)
const final;
357 void InternalSwap(Widget* other);
358 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
359 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
360 return "goby.test.zeromq.protobuf.Widget";
363 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena);
365 static void ArenaDtor(
void*
object);
366 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
371 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
388 bool _internal_has_b()
const;
402 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
403 typedef void InternalArenaConstructable_;
404 typedef void DestructorSkippable_;
405 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
406 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
408 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
416 #pragma GCC diagnostic push
417 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
422 inline bool TestConfig::_internal_has_app()
const {
423 bool value = (_has_bits_[0] & 0x00000001u) != 0;
424 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
427 inline bool TestConfig::has_app()
const {
428 return _internal_has_app();
430 inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_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& TestConfig::app()
const {
437 return _internal_app();
439 inline void TestConfig::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* TestConfig::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* TestConfig::unsafe_arena_release_app() {
461 _has_bits_[0] &= ~0x00000001u;
462 ::goby::middleware::protobuf::AppConfig* temp = app_;
466 inline ::goby::middleware::protobuf::AppConfig* TestConfig::_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* TestConfig::mutable_app() {
476 return _internal_mutable_app();
478 inline void TestConfig::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 TestConfig::_internal_has_interprocess()
const {
500 bool value = (_has_bits_[0] & 0x00000002u) != 0;
501 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
504 inline bool TestConfig::has_interprocess()
const {
505 return _internal_has_interprocess();
507 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_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& TestConfig::interprocess()
const {
514 return _internal_interprocess();
516 inline void TestConfig::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* TestConfig::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* TestConfig::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* TestConfig::_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* TestConfig::mutable_interprocess() {
553 return _internal_mutable_interprocess();
555 inline void TestConfig::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;
580 inline bool Widget::_internal_has_b()
const {
581 bool value = (_has_bits_[0] & 0x00000001u) != 0;
584 inline bool Widget::has_b()
const {
585 return _internal_has_b();
587 inline void Widget::clear_b() {
589 _has_bits_[0] &= ~0x00000001u;
596 return _internal_b();
599 _has_bits_[0] |= 0x00000001u;
603 _internal_set_b(value);
608 #pragma GCC diagnostic pop
622 #include <google/protobuf/port_undef.inc>
TestConfig & operator=(const TestConfig &from)
Widget(const Widget &from)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
void Swap(TestConfig *other)
static const TestConfig & default_instance()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Widget(Widget &&from) noexcept
void MergeFrom(const Widget &from)
TestConfig(const TestConfig &from)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Widget * New() const final
::goby::middleware::protobuf::AppConfig * mutable_app()
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void InitAsDefaultInstance()
TestConfig(TestConfig &&from) noexcept
friend void swap(TestConfig &a, TestConfig &b)
const ::goby::middleware::protobuf::AppConfig & app() const
TestConfig & operator=(TestConfig &&from) noexcept
void CopyFrom(const TestConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Widget * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const Widget &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const TestConfig &from)
void set_b(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Widget(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
bool has_interprocess() const
static const Widget * internal_default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
friend void swap(Widget &a, Widget &b)
TestConfig * New() const final
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(Widget *other)
static const TestConfig * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::PROTOBUF_NAMESPACE_ID::int32 b() const
Widget & operator=(const Widget &from)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void UnsafeArenaSwap(TestConfig *other)
::goby::middleware::protobuf::AppConfig * release_app()
TestConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const Widget & default_instance()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
Widget & operator=(Widget &&from) noexcept
TestConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void clear_interprocess()
@ value
the parser finished reading a JSON value
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 ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto