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