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/single_thread_app1/test.proto
3
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
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_2fsingle_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_2fsingle_5fthread_5fapp1_2ftest_2eproto;
53namespace goby {
54namespace test {
55namespace zeromq {
56namespace protobuf {
57class TestConfig;
58struct TestConfigDefaultTypeInternal;
59extern TestConfigDefaultTypeInternal _TestConfig_default_instance_;
60class Widget;
61struct WidgetDefaultTypeInternal;
62extern WidgetDefaultTypeInternal _Widget_default_instance_;
63} // namespace protobuf
64} // namespace zeromq
65} // namespace test
66} // namespace goby
67PROTOBUF_NAMESPACE_OPEN
68template<> ::goby::test::zeromq::protobuf::TestConfig* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::TestConfig>(Arena*);
69template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace goby {
72namespace test {
73namespace zeromq {
74namespace protobuf {
75
76// ===================================================================
77
78class TestConfig final :
79 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.TestConfig) */ {
80 public:
81 inline TestConfig() : TestConfig(nullptr) {}
82 ~TestConfig() override;
83 explicit PROTOBUF_CONSTEXPR TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84
85 TestConfig(const TestConfig& from);
86 TestConfig(TestConfig&& from) noexcept
87 : TestConfig() {
88 *this = ::std::move(from);
89 }
90
91 inline TestConfig& operator=(const TestConfig& from) {
92 CopyFrom(from);
93 return *this;
94 }
95 inline TestConfig& operator=(TestConfig&& from) noexcept {
96 if (this == &from) return *this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() != nullptr
100 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
101 ) {
102 InternalSwap(&from);
103 } else {
104 CopyFrom(from);
105 }
106 return *this;
107 }
108
109 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 }
112 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 }
115
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117 return GetDescriptor();
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120 return default_instance().GetMetadata().descriptor;
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123 return default_instance().GetMetadata().reflection;
124 }
125 static const TestConfig& default_instance() {
127 }
128 static inline const TestConfig* internal_default_instance() {
129 return reinterpret_cast<const TestConfig*>(
131 }
132 static constexpr int kIndexInFileMessages =
133 0;
134
135 friend void swap(TestConfig& a, TestConfig& b) {
136 a.Swap(&b);
137 }
138 inline void Swap(TestConfig* other) {
139 if (other == this) return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() != nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
143 #else // PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() == other->GetOwningArena()) {
145 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
146 InternalSwap(other);
147 } else {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149 }
150 }
152 if (other == this) return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 InternalSwap(other);
155 }
156
157 // implements Message ----------------------------------------------
158
159 TestConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
160 return CreateMaybeMessage<TestConfig>(arena);
161 }
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 void CopyFrom(const TestConfig& from);
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 void MergeFrom( const TestConfig& from) {
166 TestConfig::MergeImpl(*this, from);
167 }
168 private:
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 public:
171 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172 bool IsInitialized() const final;
173
174 size_t ByteSizeLong() const final;
175 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
179
180 private:
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
182 void SharedDtor();
183 void SetCachedSize(int size) const final;
184 void InternalSwap(TestConfig* other);
185
186 private:
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.test.zeromq.protobuf.TestConfig";
190 }
191 protected:
192 explicit TestConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
193 bool is_message_owned = false);
194 public:
195
196 static const ClassData _class_data_;
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
198
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200
201 // nested types ----------------------------------------------------
202
203 // accessors -------------------------------------------------------
204
205 enum : int {
206 kAppFieldNumber = 1,
208 };
209 // optional .goby.middleware.protobuf.AppConfig app = 1;
210 bool has_app() const;
211 private:
212 bool _internal_has_app() const;
213 public:
214 void clear_app();
215 const ::goby::middleware::protobuf::AppConfig& app() const;
216 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
219 private:
220 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
221 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
222 public:
226
227 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
228 bool has_interprocess() const;
229 private:
230 bool _internal_has_interprocess() const;
231 public:
233 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
234 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
237 private:
238 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
239 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
240 public:
244
245 // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.TestConfig)
246 private:
247 class _Internal;
248
249 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250 typedef void InternalArenaConstructable_;
251 typedef void DestructorSkippable_;
252 struct Impl_ {
253 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
257 };
258 union { Impl_ _impl_; };
259 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
260};
261// -------------------------------------------------------------------
262
263class Widget final :
264 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Widget) */ {
265 public:
266 inline Widget() : Widget(nullptr) {}
267 ~Widget() override;
268 explicit PROTOBUF_CONSTEXPR Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
269
270 Widget(const Widget& from);
271 Widget(Widget&& from) noexcept
272 : Widget() {
273 *this = ::std::move(from);
274 }
275
276 inline Widget& operator=(const Widget& from) {
277 CopyFrom(from);
278 return *this;
279 }
280 inline Widget& operator=(Widget&& from) noexcept {
281 if (this == &from) return *this;
282 if (GetOwningArena() == from.GetOwningArena()
283 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
284 && GetOwningArena() != nullptr
285 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
286 ) {
287 InternalSwap(&from);
288 } else {
289 CopyFrom(from);
290 }
291 return *this;
292 }
293
294 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
295 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
296 }
297 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
298 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
299 }
300
301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
302 return GetDescriptor();
303 }
304 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
305 return default_instance().GetMetadata().descriptor;
306 }
307 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
308 return default_instance().GetMetadata().reflection;
309 }
310 static const Widget& default_instance() {
311 return *internal_default_instance();
312 }
313 static inline const Widget* internal_default_instance() {
314 return reinterpret_cast<const Widget*>(
315 &_Widget_default_instance_);
316 }
317 static constexpr int kIndexInFileMessages =
318 1;
319
320 friend void swap(Widget& a, Widget& b) {
321 a.Swap(&b);
322 }
323 inline void Swap(Widget* other) {
324 if (other == this) return;
325 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
326 if (GetOwningArena() != nullptr &&
327 GetOwningArena() == other->GetOwningArena()) {
328 #else // PROTOBUF_FORCE_COPY_IN_SWAP
329 if (GetOwningArena() == other->GetOwningArena()) {
330 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
331 InternalSwap(other);
332 } else {
333 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
334 }
335 }
336 void UnsafeArenaSwap(Widget* other) {
337 if (other == this) return;
338 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
339 InternalSwap(other);
340 }
341
342 // implements Message ----------------------------------------------
343
344 Widget* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
345 return CreateMaybeMessage<Widget>(arena);
346 }
347 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
348 void CopyFrom(const Widget& from);
349 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
350 void MergeFrom( const Widget& from) {
351 Widget::MergeImpl(*this, from);
352 }
353 private:
354 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
355 public:
356 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
357 bool IsInitialized() const final;
358
359 size_t ByteSizeLong() const final;
360 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
361 uint8_t* _InternalSerialize(
362 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
363 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
364
365 private:
366 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
367 void SharedDtor();
368 void SetCachedSize(int size) const final;
369 void InternalSwap(Widget* other);
370
371 private:
372 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
373 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
374 return "goby.test.zeromq.protobuf.Widget";
375 }
376 protected:
377 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
378 bool is_message_owned = false);
379 public:
380
381 static const ClassData _class_data_;
382 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
383
384 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
385
386 // nested types ----------------------------------------------------
387
388 // accessors -------------------------------------------------------
389
390 enum : int {
391 kBFieldNumber = 1,
392 };
393 // optional int32 b = 1;
394 bool has_b() const;
395 private:
396 bool _internal_has_b() const;
397 public:
398 void clear_b();
399 int32_t b() const;
400 void set_b(int32_t value);
401 private:
402 int32_t _internal_b() const;
403 void _internal_set_b(int32_t value);
404 public:
405
406 // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Widget)
407 private:
408 class _Internal;
409
410 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
411 typedef void InternalArenaConstructable_;
412 typedef void DestructorSkippable_;
413 struct Impl_ {
414 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
415 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
416 int32_t b_;
417 };
418 union { Impl_ _impl_; };
419 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto;
420};
421// ===================================================================
422
423
424// ===================================================================
425
426#ifdef __GNUC__
427 #pragma GCC diagnostic push
428 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
429#endif // __GNUC__
430// TestConfig
431
432// optional .goby.middleware.protobuf.AppConfig app = 1;
433inline bool TestConfig::_internal_has_app() const {
434 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
435 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
436 return value;
437}
438inline bool TestConfig::has_app() const {
439 return _internal_has_app();
440}
441inline const ::goby::middleware::protobuf::AppConfig& TestConfig::_internal_app() const {
442 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
443 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
445}
446inline const ::goby::middleware::protobuf::AppConfig& TestConfig::app() const {
447 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.TestConfig.app)
448 return _internal_app();
449}
450inline void TestConfig::unsafe_arena_set_allocated_app(
452 if (GetArenaForAllocation() == nullptr) {
453 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
454 }
455 _impl_.app_ = app;
456 if (app) {
457 _impl_._has_bits_[0] |= 0x00000001u;
458 } else {
459 _impl_._has_bits_[0] &= ~0x00000001u;
460 }
461 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.zeromq.protobuf.TestConfig.app)
462}
463inline ::goby::middleware::protobuf::AppConfig* TestConfig::release_app() {
464 _impl_._has_bits_[0] &= ~0x00000001u;
465 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
466 _impl_.app_ = nullptr;
467#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
468 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
469 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
470 if (GetArenaForAllocation() == nullptr) { delete old; }
471#else // PROTOBUF_FORCE_COPY_IN_RELEASE
472 if (GetArenaForAllocation() != nullptr) {
473 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
474 }
475#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
476 return temp;
477}
478inline ::goby::middleware::protobuf::AppConfig* TestConfig::unsafe_arena_release_app() {
479 // @@protoc_insertion_point(field_release:goby.test.zeromq.protobuf.TestConfig.app)
480 _impl_._has_bits_[0] &= ~0x00000001u;
481 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
482 _impl_.app_ = nullptr;
483 return temp;
484}
485inline ::goby::middleware::protobuf::AppConfig* TestConfig::_internal_mutable_app() {
486 _impl_._has_bits_[0] |= 0x00000001u;
487 if (_impl_.app_ == nullptr) {
488 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
489 _impl_.app_ = p;
490 }
491 return _impl_.app_;
492}
493inline ::goby::middleware::protobuf::AppConfig* TestConfig::mutable_app() {
494 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
495 // @@protoc_insertion_point(field_mutable:goby.test.zeromq.protobuf.TestConfig.app)
496 return _msg;
497}
498inline void TestConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
499 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
500 if (message_arena == nullptr) {
501 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
502 }
503 if (app) {
504 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
505 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
506 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
507 if (message_arena != submessage_arena) {
508 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
509 message_arena, app, submessage_arena);
510 }
511 _impl_._has_bits_[0] |= 0x00000001u;
512 } else {
513 _impl_._has_bits_[0] &= ~0x00000001u;
514 }
515 _impl_.app_ = app;
516 // @@protoc_insertion_point(field_set_allocated:goby.test.zeromq.protobuf.TestConfig.app)
517}
518
519// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
520inline bool TestConfig::_internal_has_interprocess() const {
521 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
522 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
523 return value;
524}
525inline bool TestConfig::has_interprocess() const {
526 return _internal_has_interprocess();
527}
528inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::_internal_interprocess() const {
529 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
530 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
532}
533inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& TestConfig::interprocess() const {
534 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.TestConfig.interprocess)
535 return _internal_interprocess();
536}
537inline void TestConfig::unsafe_arena_set_allocated_interprocess(
539 if (GetArenaForAllocation() == nullptr) {
540 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
541 }
542 _impl_.interprocess_ = interprocess;
543 if (interprocess) {
544 _impl_._has_bits_[0] |= 0x00000002u;
545 } else {
546 _impl_._has_bits_[0] &= ~0x00000002u;
547 }
548 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.zeromq.protobuf.TestConfig.interprocess)
549}
550inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::release_interprocess() {
551 _impl_._has_bits_[0] &= ~0x00000002u;
552 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
553 _impl_.interprocess_ = nullptr;
554#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
555 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
556 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
557 if (GetArenaForAllocation() == nullptr) { delete old; }
558#else // PROTOBUF_FORCE_COPY_IN_RELEASE
559 if (GetArenaForAllocation() != nullptr) {
560 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
561 }
562#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
563 return temp;
564}
565inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::unsafe_arena_release_interprocess() {
566 // @@protoc_insertion_point(field_release:goby.test.zeromq.protobuf.TestConfig.interprocess)
567 _impl_._has_bits_[0] &= ~0x00000002u;
568 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
569 _impl_.interprocess_ = nullptr;
570 return temp;
571}
572inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::_internal_mutable_interprocess() {
573 _impl_._has_bits_[0] |= 0x00000002u;
574 if (_impl_.interprocess_ == nullptr) {
576 _impl_.interprocess_ = p;
577 }
578 return _impl_.interprocess_;
579}
580inline ::goby::zeromq::protobuf::InterProcessPortalConfig* TestConfig::mutable_interprocess() {
581 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
582 // @@protoc_insertion_point(field_mutable:goby.test.zeromq.protobuf.TestConfig.interprocess)
583 return _msg;
584}
585inline void TestConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
586 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
587 if (message_arena == nullptr) {
588 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
589 }
590 if (interprocess) {
591 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
592 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
593 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
594 if (message_arena != submessage_arena) {
595 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
596 message_arena, interprocess, submessage_arena);
597 }
598 _impl_._has_bits_[0] |= 0x00000002u;
599 } else {
600 _impl_._has_bits_[0] &= ~0x00000002u;
601 }
602 _impl_.interprocess_ = interprocess;
603 // @@protoc_insertion_point(field_set_allocated:goby.test.zeromq.protobuf.TestConfig.interprocess)
604}
605
606// -------------------------------------------------------------------
607
608// Widget
609
610// optional int32 b = 1;
611inline bool Widget::_internal_has_b() const {
612 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
613 return value;
614}
615inline bool Widget::has_b() const {
616 return _internal_has_b();
617}
618inline void Widget::clear_b() {
619 _impl_.b_ = 0;
620 _impl_._has_bits_[0] &= ~0x00000001u;
621}
622inline int32_t Widget::_internal_b() const {
623 return _impl_.b_;
624}
625inline int32_t Widget::b() const {
626 // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Widget.b)
627 return _internal_b();
628}
629inline void Widget::_internal_set_b(int32_t value) {
630 _impl_._has_bits_[0] |= 0x00000001u;
631 _impl_.b_ = value;
632}
633inline void Widget::set_b(int32_t value) {
634 _internal_set_b(value);
635 // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Widget.b)
636}
637
638#ifdef __GNUC__
639 #pragma GCC diagnostic pop
640#endif // __GNUC__
641// -------------------------------------------------------------------
642
643
644// @@protoc_insertion_point(namespace_scope)
645
646} // namespace protobuf
647} // namespace zeromq
648} // namespace test
649} // namespace goby
650
651// @@protoc_insertion_point(global_scope)
652
653#include <google/protobuf/port_undef.inc>
654#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fsingle_5fthread_5fapp1_2ftest_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
TestConfig & operator=(const TestConfig &from)
Definition test.pb.h:91
PROTOBUF_CONSTEXPR TestConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:109
TestConfig & operator=(TestConfig &&from) noexcept
Definition test.pb.h:95
const ::goby::middleware::protobuf::AppConfig & app() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
TestConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:159
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:122
static const TestConfig * internal_default_instance()
Definition test.pb.h:132
TestConfig(TestConfig &&from) noexcept
Definition test.pb.h:86
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:112
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void MergeFrom(const TestConfig &from)
Definition test.pb.h:165
void UnsafeArenaSwap(TestConfig *other)
Definition test.pb.h:151
void CopyFrom(const TestConfig &from)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
friend void swap(TestConfig &a, TestConfig &b)
Definition test.pb.h:135
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const TestConfig & default_instance()
Definition test.pb.h:129
::goby::middleware::protobuf::AppConfig * mutable_app()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:116
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
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:123
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
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:271
void UnsafeArenaSwap(Widget *other)
Definition test.pb.h:336
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition test.pb.h:297
static const Widget * internal_default_instance()
Definition test.pb.h:313
Widget & operator=(const Widget &from)
Definition test.pb.h:276
Widget * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition test.pb.h:344
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition test.pb.h:307
friend void swap(Widget &a, Widget &b)
Definition test.pb.h:320
PROTOBUF_CONSTEXPR Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Widget & default_instance()
Definition test.pb.h:310
void MergeFrom(const Widget &from)
Definition test.pb.h:350
void CopyFrom(const Widget &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition test.pb.h:294
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition test.pb.h:301
Widget & operator=(Widget &&from) noexcept
Definition test.pb.h:280
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition test.pb.h:304
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
AppConfigDefaultTypeInternal _AppConfig_default_instance_
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_2fsingle_5fthread_5fapp1_2ftest_2eproto