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