Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
test.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/test/zeromq/multi_thread_app1/test.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto;
53namespace goby {
54namespace test {
55namespace zeromq {
56namespace protobuf {
57class Ready;
58struct ReadyDefaultTypeInternal;
59extern ReadyDefaultTypeInternal _Ready_default_instance_;
60class TestConfig;
61struct TestConfigDefaultTypeInternal;
62extern TestConfigDefaultTypeInternal _TestConfig_default_instance_;
63class Widget;
64struct WidgetDefaultTypeInternal;
65extern WidgetDefaultTypeInternal _Widget_default_instance_;
66} // namespace protobuf
67} // namespace zeromq
68} // namespace test
69} // namespace goby
70PROTOBUF_NAMESPACE_OPEN
71template<> ::goby::test::zeromq::protobuf::Ready* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Ready>(Arena*);
72template<> ::goby::test::zeromq::protobuf::TestConfig* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::TestConfig>(Arena*);
73template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
74PROTOBUF_NAMESPACE_CLOSE
75namespace goby {
76namespace test {
77namespace zeromq {
78namespace protobuf {
79
80// ===================================================================
81
82class TestConfig final :
83 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.TestConfig) */ {
84 public:
85 inline TestConfig() : TestConfig(nullptr) {}
86 ~TestConfig() override;
87 explicit PROTOBUF_CONSTEXPR TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
88
89 TestConfig(const TestConfig& from);
90 TestConfig(TestConfig&& from) noexcept
91 : TestConfig() {
92 *this = ::std::move(from);
93 }
94
95 inline TestConfig& operator=(const TestConfig& from) {
96 CopyFrom(from);
97 return *this;
98 }
99 inline TestConfig& operator=(TestConfig&& from) noexcept {
100 if (this == &from) return *this;
101 if (GetOwningArena() == from.GetOwningArena()
102 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103 && GetOwningArena() != nullptr
104 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
105 ) {
106 InternalSwap(&from);
107 } else {
108 CopyFrom(from);
109 }
110 return *this;
111 }
112
113 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
114 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115 }
116 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
117 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118 }
119
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121 return GetDescriptor();
122 }
123 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124 return default_instance().GetMetadata().descriptor;
125 }
126 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127 return default_instance().GetMetadata().reflection;
128 }
129 static const TestConfig& default_instance() {
131 }
132 static inline const TestConfig* internal_default_instance() {
133 return reinterpret_cast<const TestConfig*>(
135 }
136 static constexpr int kIndexInFileMessages =
137 0;
138
139 friend void swap(TestConfig& a, TestConfig& b) {
140 a.Swap(&b);
141 }
142 inline void Swap(TestConfig* other) {
143 if (other == this) return;
144 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
145 if (GetOwningArena() != nullptr &&
146 GetOwningArena() == other->GetOwningArena()) {
147 #else // PROTOBUF_FORCE_COPY_IN_SWAP
148 if (GetOwningArena() == other->GetOwningArena()) {
149 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
150 InternalSwap(other);
151 } else {
152 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
153 }
154 }
156 if (other == this) return;
157 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 InternalSwap(other);
159 }
160
161 // implements Message ----------------------------------------------
162
163 TestConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
164 return CreateMaybeMessage<TestConfig>(arena);
165 }
166 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167 void CopyFrom(const TestConfig& from);
168 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169 void MergeFrom( const TestConfig& from) {
170 TestConfig::MergeImpl(*this, from);
171 }
172 private:
173 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
174 public:
175 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
176 bool IsInitialized() const final;
177
178 size_t ByteSizeLong() const final;
179 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
181 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
182 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
183
184 private:
185 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
186 void SharedDtor();
187 void SetCachedSize(int size) const final;
188 void InternalSwap(TestConfig* other);
189
190 private:
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "goby.test.zeromq.protobuf.TestConfig";
194 }
195 protected:
196 explicit TestConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
197 bool is_message_owned = false);
198 public:
199
200 static const ClassData _class_data_;
201 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
202
203 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
204
205 // nested types ----------------------------------------------------
206
207 // accessors -------------------------------------------------------
208
209 enum : int {
212 };
213 // optional .goby.middleware.protobuf.AppConfig app = 1;
214 bool has_app() const;
215 private:
216 bool _internal_has_app() const;
217 public:
218 void clear_app();
219 const ::goby::middleware::protobuf::AppConfig& app() const;
220 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
223 private:
224 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
225 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
226 public:
230
231 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
232 bool has_interprocess() const;
233 private:
234 bool _internal_has_interprocess() const;
235 public:
237 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
238 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
241 private:
242 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
243 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
244 public:
248
249 // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.TestConfig)
250 private:
251 class _Internal;
252
253 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
254 typedef void InternalArenaConstructable_;
255 typedef void DestructorSkippable_;
256 struct Impl_ {
257 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
258 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261 };
262 union { Impl_ _impl_; };
263 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto;
264};
265// -------------------------------------------------------------------
266
267class Ready final :
268 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Ready) */ {
269 public:
270 inline Ready() : Ready(nullptr) {}
271 ~Ready() override;
272 explicit PROTOBUF_CONSTEXPR Ready(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
273
274 Ready(const Ready& from);
275 Ready(Ready&& from) noexcept
276 : Ready() {
277 *this = ::std::move(from);
278 }
279
280 inline Ready& operator=(const Ready& from) {
281 CopyFrom(from);
282 return *this;
283 }
284 inline Ready& operator=(Ready&& from) noexcept {
285 if (this == &from) return *this;
286 if (GetOwningArena() == from.GetOwningArena()
287 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
288 && GetOwningArena() != nullptr
289 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
290 ) {
291 InternalSwap(&from);
292 } else {
293 CopyFrom(from);
294 }
295 return *this;
296 }
297
298 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
299 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
300 }
301 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
302 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
303 }
304
305 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
306 return GetDescriptor();
307 }
308 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
309 return default_instance().GetMetadata().descriptor;
310 }
311 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
312 return default_instance().GetMetadata().reflection;
313 }
314 static const Ready& default_instance() {
315 return *internal_default_instance();
316 }
317 static inline const Ready* internal_default_instance() {
318 return reinterpret_cast<const Ready*>(
320 }
321 static constexpr int kIndexInFileMessages =
322 1;
323
324 friend void swap(Ready& a, Ready& b) {
325 a.Swap(&b);
326 }
327 inline void Swap(Ready* other) {
328 if (other == this) return;
329 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
330 if (GetOwningArena() != nullptr &&
331 GetOwningArena() == other->GetOwningArena()) {
332 #else // PROTOBUF_FORCE_COPY_IN_SWAP
333 if (GetOwningArena() == other->GetOwningArena()) {
334 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
335 InternalSwap(other);
336 } else {
337 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
338 }
339 }
340 void UnsafeArenaSwap(Ready* other) {
341 if (other == this) return;
342 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
343 InternalSwap(other);
344 }
345
346 // implements Message ----------------------------------------------
347
348 Ready* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
349 return CreateMaybeMessage<Ready>(arena);
350 }
351 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
352 void CopyFrom(const Ready& from);
353 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
354 void MergeFrom( const Ready& from) {
355 Ready::MergeImpl(*this, from);
356 }
357 private:
358 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
359 public:
360 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
361 bool IsInitialized() const final;
362
363 size_t ByteSizeLong() const final;
364 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
365 uint8_t* _InternalSerialize(
366 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
367 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
368
369 private:
370 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
371 void SharedDtor();
372 void SetCachedSize(int size) const final;
373 void InternalSwap(Ready* other);
374
375 private:
376 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
377 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
378 return "goby.test.zeromq.protobuf.Ready";
379 }
380 protected:
381 explicit Ready(::PROTOBUF_NAMESPACE_ID::Arena* arena,
382 bool is_message_owned = false);
383 public:
384
385 static const ClassData _class_data_;
386 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
387
388 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
389
390 // nested types ----------------------------------------------------
391
392 // accessors -------------------------------------------------------
393
394 enum : int {
395 kBFieldNumber = 1,
396 };
397 // optional bool b = 1;
398 bool has_b() const;
399 private:
400 bool _internal_has_b() const;
401 public:
402 void clear_b();
403 bool b() const;
404 void set_b(bool value);
405 private:
406 bool _internal_b() const;
407 void _internal_set_b(bool value);
408 public:
409
410 // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Ready)
411 private:
412 class _Internal;
413
414 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
415 typedef void InternalArenaConstructable_;
416 typedef void DestructorSkippable_;
417 struct Impl_ {
418 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
419 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
420 bool b_;
421 };
422 union { Impl_ _impl_; };
423 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto;
424};
425// -------------------------------------------------------------------
426
427class Widget final :
428 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Widget) */ {
429 public:
430 inline Widget() : Widget(nullptr) {}
431 ~Widget() override;
432 explicit PROTOBUF_CONSTEXPR Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
433
434 Widget(const Widget& from);
435 Widget(Widget&& from) noexcept
436 : Widget() {
437 *this = ::std::move(from);
438 }
439
440 inline Widget& operator=(const Widget& from) {
441 CopyFrom(from);
442 return *this;
443 }
444 inline Widget& operator=(Widget&& from) noexcept {
445 if (this == &from) return *this;
446 if (GetOwningArena() == from.GetOwningArena()
447 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
448 && GetOwningArena() != nullptr
449 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
450 ) {
451 InternalSwap(&from);
452 } else {
453 CopyFrom(from);
454 }
455 return *this;
456 }
457
458 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
459 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
460 }
461 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
462 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
463 }
464
465 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
466 return GetDescriptor();
467 }
468 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
469 return default_instance().GetMetadata().descriptor;
470 }
471 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
472 return default_instance().GetMetadata().reflection;
473 }
474 static const Widget& default_instance() {
475 return *internal_default_instance();
476 }
477 static inline const Widget* internal_default_instance() {
478 return reinterpret_cast<const Widget*>(
479 &_Widget_default_instance_);
480 }
481 static constexpr int kIndexInFileMessages =
482 2;
483
484 friend void swap(Widget& a, Widget& b) {
485 a.Swap(&b);
486 }
487 inline void Swap(Widget* other) {
488 if (other == this) return;
489 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
490 if (GetOwningArena() != nullptr &&
491 GetOwningArena() == other->GetOwningArena()) {
492 #else // PROTOBUF_FORCE_COPY_IN_SWAP
493 if (GetOwningArena() == other->GetOwningArena()) {
494 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
495 InternalSwap(other);
496 } else {
497 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
498 }
499 }
500 void UnsafeArenaSwap(Widget* other) {
501 if (other == this) return;
502 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
503 InternalSwap(other);
504 }
505
506 // implements Message ----------------------------------------------
507
508 Widget* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
509 return CreateMaybeMessage<Widget>(arena);
510 }
511 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
512 void CopyFrom(const Widget& from);
513 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
514 void MergeFrom( const Widget& from) {
515 Widget::MergeImpl(*this, from);
516 }
517 private:
518 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
519 public:
520 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
521 bool IsInitialized() const final;
522
523 size_t ByteSizeLong() const final;
524 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
525 uint8_t* _InternalSerialize(
526 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
527 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
528
529 private:
530 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
531 void SharedDtor();
532 void SetCachedSize(int size) const final;
533 void InternalSwap(Widget* other);
534
535 private:
536 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
537 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
538 return "goby.test.zeromq.protobuf.Widget";
539 }
540 protected:
541 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
542 bool is_message_owned = false);
543 public:
544
545 static const ClassData _class_data_;
546 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
547
548 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
549
550 // nested types ----------------------------------------------------
551
552 // accessors -------------------------------------------------------
553
554 enum : int {
555 kBFieldNumber = 1,
556 };
557 // optional int32 b = 1;
558 bool has_b() const;
559 private:
560 bool _internal_has_b() const;
561 public:
562 void clear_b();
563 int32_t b() const;
564 void set_b(int32_t value);
565 private:
566 int32_t _internal_b() const;
567 void _internal_set_b(int32_t value);
568 public:
569
570 // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Widget)
571 private:
572 class _Internal;
573
574 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
575 typedef void InternalArenaConstructable_;
576 typedef void DestructorSkippable_;
577 struct Impl_ {
578 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
579 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
580 int32_t b_;
581 };
582 union { Impl_ _impl_; };
583 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto;
584};
585// ===================================================================
586
587
588// ===================================================================
589
590#ifdef __GNUC__
591 #pragma GCC diagnostic push
592 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
593#endif // __GNUC__
594// TestConfig
595
596// optional .goby.middleware.protobuf.AppConfig app = 1;
597inline bool TestConfig::_internal_has_app() const {
598 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
599 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
600 return value;
601}
602inline bool TestConfig::has_app() const {
603 return _internal_has_app();
604}
605inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app() const {
606 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
607 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
609}
610inline const ::goby::middleware::protobuf::AppConfig& TestConfig::app() const {
611 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.TestConfig.app)
612 return _internal_app();
613}
614inline void TestConfig::unsafe_arena_set_allocated_app(
616 if (GetArenaForAllocation() == nullptr) {
617 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
618 }
619 _impl_.app_ = app;
620 if (app) {
621 _impl_._has_bits_[0] |= 0x00000001u;
622 } else {
623 _impl_._has_bits_[0] &= ~0x00000001u;
624 }
625 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.zeromq.protobuf.TestConfig.app)
626}
627inline ::goby::middleware::protobuf::AppConfig* TestConfig::release_app() {
628 _impl_._has_bits_[0] &= ~0x00000001u;
629 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
630 _impl_.app_ = nullptr;
631#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
632 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
633 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
634 if (GetArenaForAllocation() == nullptr) { delete old; }
635#else // PROTOBUF_FORCE_COPY_IN_RELEASE
636 if (GetArenaForAllocation() != nullptr) {
637 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
638 }
639#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
640 return temp;
641}
642inline ::goby::middleware::protobuf::AppConfig* TestConfig::unsafe_arena_release_app() {
643 // @@protoc_insertion_point(field_release:goby.test.zeromq.protobuf.TestConfig.app)
644 _impl_._has_bits_[0] &= ~0x00000001u;
645 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
646 _impl_.app_ = nullptr;
647 return temp;
648}
649inline ::goby::middleware::protobuf::AppConfig* TestConfig::_internal_mutable_app() {
650 _impl_._has_bits_[0] |= 0x00000001u;
651 if (_impl_.app_ == nullptr) {
652 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
653 _impl_.app_ = p;
654 }
655 return _impl_.app_;
656}
657inline ::goby::middleware::protobuf::AppConfig* TestConfig::mutable_app() {
658 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
659 // @@protoc_insertion_point(field_mutable:goby.test.zeromq.protobuf.TestConfig.app)
660 return _msg;
661}
662inline void TestConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
663 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
664 if (message_arena == nullptr) {
665 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
666 }
667 if (app) {
668 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
669 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
670 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
671 if (message_arena != submessage_arena) {
672 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
673 message_arena, app, submessage_arena);
674 }
675 _impl_._has_bits_[0] |= 0x00000001u;
676 } else {
677 _impl_._has_bits_[0] &= ~0x00000001u;
678 }
679 _impl_.app_ = app;
680 // @@protoc_insertion_point(field_set_allocated:goby.test.zeromq.protobuf.TestConfig.app)
681}
682
683// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
684inline bool TestConfig::_internal_has_interprocess() const {
685 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
686 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
687 return value;
688}
689inline bool TestConfig::has_interprocess() const {
690 return _internal_has_interprocess();
691}
692inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess() const {
693 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
694 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
696}
697inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::interprocess() const {
698 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.TestConfig.interprocess)
699 return _internal_interprocess();
700}
701inline void TestConfig::unsafe_arena_set_allocated_interprocess(
703 if (GetArenaForAllocation() == nullptr) {
704 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
705 }
706 _impl_.interprocess_ = interprocess;
707 if (interprocess) {
708 _impl_._has_bits_[0] |= 0x00000002u;
709 } else {
710 _impl_._has_bits_[0] &= ~0x00000002u;
711 }
712 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.zeromq.protobuf.TestConfig.interprocess)
713}
714inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::release_interprocess() {
715 _impl_._has_bits_[0] &= ~0x00000002u;
716 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
717 _impl_.interprocess_ = nullptr;
718#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
719 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
720 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
721 if (GetArenaForAllocation() == nullptr) { delete old; }
722#else // PROTOBUF_FORCE_COPY_IN_RELEASE
723 if (GetArenaForAllocation() != nullptr) {
724 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
725 }
726#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
727 return temp;
728}
729inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::unsafe_arena_release_interprocess() {
730 // @@protoc_insertion_point(field_release:goby.test.zeromq.protobuf.TestConfig.interprocess)
731 _impl_._has_bits_[0] &= ~0x00000002u;
732 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
733 _impl_.interprocess_ = nullptr;
734 return temp;
735}
736inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::_internal_mutable_interprocess() {
737 _impl_._has_bits_[0] |= 0x00000002u;
738 if (_impl_.interprocess_ == nullptr) {
740 _impl_.interprocess_ = p;
741 }
742 return _impl_.interprocess_;
743}
744inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::mutable_interprocess() {
745 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
746 // @@protoc_insertion_point(field_mutable:goby.test.zeromq.protobuf.TestConfig.interprocess)
747 return _msg;
748}
749inline void TestConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
750 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
751 if (message_arena == nullptr) {
752 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
753 }
754 if (interprocess) {
755 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
756 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
757 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
758 if (message_arena != submessage_arena) {
759 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
760 message_arena, interprocess, submessage_arena);
761 }
762 _impl_._has_bits_[0] |= 0x00000002u;
763 } else {
764 _impl_._has_bits_[0] &= ~0x00000002u;
765 }
766 _impl_.interprocess_ = interprocess;
767 // @@protoc_insertion_point(field_set_allocated:goby.test.zeromq.protobuf.TestConfig.interprocess)
768}
769
770// -------------------------------------------------------------------
771
772// Ready
773
774// optional bool b = 1;
775inline bool Ready::_internal_has_b() const {
776 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
777 return value;
778}
779inline bool Ready::has_b() const {
780 return _internal_has_b();
781}
782inline void Ready::clear_b() {
783 _impl_.b_ = false;
784 _impl_._has_bits_[0] &= ~0x00000001u;
785}
786inline bool Ready::_internal_b() const {
787 return _impl_.b_;
788}
789inline bool Ready::b() const {
790 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Ready.b)
791 return _internal_b();
792}
793inline void Ready::_internal_set_b(bool value) {
794 _impl_._has_bits_[0] |= 0x00000001u;
795 _impl_.b_ = value;
796}
797inline void Ready::set_b(bool value) {
798 _internal_set_b(value);
799 // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Ready.b)
800}
801
802// -------------------------------------------------------------------
803
804// Widget
805
806// optional int32 b = 1;
807inline bool Widget::_internal_has_b() const {
808 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
809 return value;
810}
811inline bool Widget::has_b() const {
812 return _internal_has_b();
813}
814inline void Widget::clear_b() {
815 _impl_.b_ = 0;
816 _impl_._has_bits_[0] &= ~0x00000001u;
817}
818inline int32_t Widget::_internal_b() const {
819 return _impl_.b_;
820}
821inline int32_t Widget::b() const {
822 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Widget.b)
823 return _internal_b();
824}
825inline void Widget::_internal_set_b(int32_t value) {
826 _impl_._has_bits_[0] |= 0x00000001u;
827 _impl_.b_ = value;
828}
829inline void Widget::set_b(int32_t value) {
830 _internal_set_b(value);
831 // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Widget.b)
832}
833
834#ifdef __GNUC__
835 #pragma GCC diagnostic pop
836#endif // __GNUC__
837// -------------------------------------------------------------------
838
839// -------------------------------------------------------------------
840
841
842// @@protoc_insertion_point(namespace_scope)
843
844} // namespace protobuf
845} // namespace zeromq
846} // namespace test
847} // namespace goby
848
849// @@protoc_insertion_point(global_scope)
850
851#include <google/protobuf/port_undef.inc>
852#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:301
static const Ready * internal_default_instance()
Definition test.pb.h:317
Ready * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:348
friend void swap(Ready &a, Ready &b)
Definition test.pb.h:324
void CopyFrom(const Ready &from)
PROTOBUF_CONSTEXPR Ready(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Ready & default_instance()
Definition test.pb.h:314
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:308
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:305
void UnsafeArenaSwap(Ready *other)
Definition test.pb.h:340
Ready(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const Ready &from)
Definition test.pb.h:354
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:298
Ready & operator=(Ready &&from) noexcept
Definition test.pb.h:284
Ready(Ready &&from) noexcept
Definition test.pb.h:275
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:311
Ready & operator=(const Ready &from)
Definition test.pb.h:280
TestConfig & operator=(const TestConfig &from)
Definition test.pb.h:95
PROTOBUF_CONSTEXPR TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:113
TestConfig & operator=(TestConfig &&from) noexcept
Definition test.pb.h:99
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
Definition test.pb.h:642
const ::goby::middleware::protobuf::AppConfig & app() const
Definition test.pb.h:610
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
Definition test.pb.h:627
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition test.pb.h:662
TestConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:163
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_
Definition test.pb.h:200
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:126
static const TestConfig * internal_default_instance()
Definition test.pb.h:132
TestConfig(TestConfig &&from) noexcept
Definition test.pb.h:90
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:116
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition test.pb.h:714
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
Definition test.pb.h:729
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition test.pb.h:701
void MergeFrom(const TestConfig &from)
Definition test.pb.h:169
void UnsafeArenaSwap(TestConfig *other)
Definition test.pb.h:155
void CopyFrom(const TestConfig &from)
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition test.pb.h:657
friend void swap(TestConfig &a, TestConfig &b)
Definition test.pb.h:139
static const TestConfig & default_instance()
Definition test.pb.h:129
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition test.pb.h:749
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition test.pb.h:614
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:120
TestConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr int kIndexInFileMessages
Definition test.pb.h:136
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:123
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition test.pb.h:744
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition test.pb.h:697
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Widget(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Widget(Widget &&from) noexcept
Definition test.pb.h:435
void UnsafeArenaSwap(Widget *other)
Definition test.pb.h:500
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:461
static const Widget * internal_default_instance()
Definition test.pb.h:477
Widget & operator=(const Widget &from)
Definition test.pb.h:440
Widget * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:508
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:471
friend void swap(Widget &a, Widget &b)
Definition test.pb.h:484
PROTOBUF_CONSTEXPR Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Widget & default_instance()
Definition test.pb.h:474
void MergeFrom(const Widget &from)
Definition test.pb.h:514
void CopyFrom(const Widget &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:458
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:465
Widget & operator=(Widget &&from) noexcept
Definition test.pb.h:444
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:468
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
AppConfigDefaultTypeInternal _AppConfig_default_instance_
ReadyDefaultTypeInternal _Ready_default_instance_
Definition test.pb.h:59
TestConfigDefaultTypeInternal _TestConfig_default_instance_
Definition test.pb.h:59
WidgetDefaultTypeInternal _Widget_default_instance_
Definition test.pb.h:60
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmulti_5fthread_5fapp1_2ftest_2eproto