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