Goby3  3.1.5a
2024.05.23
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/zeromq_portal_without_interthread/test.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "dccl/option_extensions.pb.h"
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
38 // @@protoc_insertion_point(includes)
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto
40 
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct {
44  static const ::google::protobuf::internal::ParseTableField entries[];
45  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46  static const ::google::protobuf::internal::ParseTable schema[2];
47  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48  static const ::google::protobuf::internal::SerializationTable serialization_table[];
50 };
51 void AddDescriptors();
52 } // namespace protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto
53 namespace goby {
54 namespace test {
55 namespace zeromq {
56 namespace protobuf {
57 class Sample;
58 class SampleDefaultTypeInternal;
59 extern SampleDefaultTypeInternal _Sample_default_instance_;
60 class Widget;
61 class WidgetDefaultTypeInternal;
62 extern WidgetDefaultTypeInternal _Widget_default_instance_;
63 } // namespace protobuf
64 } // namespace zeromq
65 } // namespace test
66 } // namespace goby
67 namespace google {
68 namespace protobuf {
69 template<> ::goby::test::zeromq::protobuf::Sample* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Sample>(Arena*);
70 template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace goby {
74 namespace test {
75 namespace zeromq {
76 namespace protobuf {
77 
78 // ===================================================================
79 
80 class Sample : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Sample) */ {
81  public:
82  Sample();
83  virtual ~Sample();
84 
85  Sample(const Sample& from);
86 
87  inline Sample& operator=(const Sample& from) {
88  CopyFrom(from);
89  return *this;
90  }
91  #if LANG_CXX11
92  Sample(Sample&& from) noexcept
93  : Sample() {
94  *this = ::std::move(from);
95  }
96 
97  inline Sample& operator=(Sample&& from) noexcept {
98  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105  #endif
106  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
107  return _internal_metadata_.unknown_fields();
108  }
109  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
110  return _internal_metadata_.mutable_unknown_fields();
111  }
112 
113  static const ::google::protobuf::Descriptor* descriptor();
114  static const Sample& default_instance();
115 
116  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
117  static inline const Sample* internal_default_instance() {
118  return reinterpret_cast<const Sample*>(
120  }
121  static constexpr int kIndexInFileMessages =
122  0;
123 
124  void Swap(Sample* other);
125  friend void swap(Sample& a, Sample& b) {
126  a.Swap(&b);
127  }
128 
129  // implements Message ----------------------------------------------
130 
131  inline Sample* New() const final {
132  return CreateMaybeMessage<Sample>(NULL);
133  }
134 
135  Sample* New(::google::protobuf::Arena* arena) const final {
136  return CreateMaybeMessage<Sample>(arena);
137  }
138  void CopyFrom(const ::google::protobuf::Message& from) final;
139  void MergeFrom(const ::google::protobuf::Message& from) final;
140  void CopyFrom(const Sample& from);
141  void MergeFrom(const Sample& from);
142  void Clear() final;
143  bool IsInitialized() const final;
144 
145  size_t ByteSizeLong() const final;
147  ::google::protobuf::io::CodedInputStream* input) final;
149  ::google::protobuf::io::CodedOutputStream* output) const final;
151  bool deterministic, ::google::protobuf::uint8* target) const final;
152  int GetCachedSize() const final { return _cached_size_.Get(); }
153 
154  private:
155  void SharedCtor();
156  void SharedDtor();
157  void SetCachedSize(int size) const final;
158  void InternalSwap(Sample* other);
159  private:
160  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
161  return NULL;
162  }
163  inline void* MaybeArenaPtr() const {
164  return NULL;
165  }
166  public:
167 
169 
170  // nested types ----------------------------------------------------
171 
172  // accessors -------------------------------------------------------
173 
174  // optional int32 a = 1;
175  bool has_a() const;
176  void clear_a();
177  static const int kAFieldNumber = 1;
178  ::google::protobuf::int32 a() const;
179  void set_a(::google::protobuf::int32 value);
180 
181  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Sample)
182  private:
183  void set_has_a();
184  void clear_has_a();
185 
186  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
187  ::google::protobuf::internal::HasBits<1> _has_bits_;
188  mutable ::google::protobuf::internal::CachedSize _cached_size_;
189  ::google::protobuf::int32 a_;
191 };
192 // -------------------------------------------------------------------
193 
194 class Widget : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Widget) */ {
195  public:
196  Widget();
197  virtual ~Widget();
198 
199  Widget(const Widget& from);
200 
201  inline Widget& operator=(const Widget& from) {
202  CopyFrom(from);
203  return *this;
204  }
205  #if LANG_CXX11
206  Widget(Widget&& from) noexcept
207  : Widget() {
208  *this = ::std::move(from);
209  }
210 
211  inline Widget& operator=(Widget&& from) noexcept {
212  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
213  if (this != &from) InternalSwap(&from);
214  } else {
215  CopyFrom(from);
216  }
217  return *this;
218  }
219  #endif
220  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
221  return _internal_metadata_.unknown_fields();
222  }
223  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
224  return _internal_metadata_.mutable_unknown_fields();
225  }
226 
227  static const ::google::protobuf::Descriptor* descriptor();
228  static const Widget& default_instance();
229 
230  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
231  static inline const Widget* internal_default_instance() {
232  return reinterpret_cast<const Widget*>(
234  }
235  static constexpr int kIndexInFileMessages =
236  1;
237 
238  void Swap(Widget* other);
239  friend void swap(Widget& a, Widget& b) {
240  a.Swap(&b);
241  }
242 
243  // implements Message ----------------------------------------------
244 
245  inline Widget* New() const final {
246  return CreateMaybeMessage<Widget>(NULL);
247  }
248 
249  Widget* New(::google::protobuf::Arena* arena) const final {
250  return CreateMaybeMessage<Widget>(arena);
251  }
252  void CopyFrom(const ::google::protobuf::Message& from) final;
253  void MergeFrom(const ::google::protobuf::Message& from) final;
254  void CopyFrom(const Widget& from);
255  void MergeFrom(const Widget& from);
256  void Clear() final;
257  bool IsInitialized() const final;
258 
259  size_t ByteSizeLong() const final;
261  ::google::protobuf::io::CodedInputStream* input) final;
263  ::google::protobuf::io::CodedOutputStream* output) const final;
265  bool deterministic, ::google::protobuf::uint8* target) const final;
266  int GetCachedSize() const final { return _cached_size_.Get(); }
267 
268  private:
269  void SharedCtor();
270  void SharedDtor();
271  void SetCachedSize(int size) const final;
272  void InternalSwap(Widget* other);
273  private:
274  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
275  return NULL;
276  }
277  inline void* MaybeArenaPtr() const {
278  return NULL;
279  }
280  public:
281 
283 
284  // nested types ----------------------------------------------------
285 
286  // accessors -------------------------------------------------------
287 
288  // optional int32 b = 1;
289  bool has_b() const;
290  void clear_b();
291  static const int kBFieldNumber = 1;
292  ::google::protobuf::int32 b() const;
293  void set_b(::google::protobuf::int32 value);
294 
295  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Widget)
296  private:
297  void set_has_b();
298  void clear_has_b();
299 
300  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
301  ::google::protobuf::internal::HasBits<1> _has_bits_;
302  mutable ::google::protobuf::internal::CachedSize _cached_size_;
303  ::google::protobuf::int32 b_;
305 };
306 // ===================================================================
307 
308 
309 // ===================================================================
310 
311 #ifdef __GNUC__
312  #pragma GCC diagnostic push
313  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
314 #endif // __GNUC__
315 // Sample
316 
317 // optional int32 a = 1;
318 inline bool Sample::has_a() const {
319  return (_has_bits_[0] & 0x00000001u) != 0;
320 }
321 inline void Sample::set_has_a() {
322  _has_bits_[0] |= 0x00000001u;
323 }
324 inline void Sample::clear_has_a() {
325  _has_bits_[0] &= ~0x00000001u;
326 }
327 inline void Sample::clear_a() {
328  a_ = 0;
329  clear_has_a();
330 }
332  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Sample.a)
333  return a_;
334 }
335 inline void Sample::set_a(::google::protobuf::int32 value) {
336  set_has_a();
337  a_ = value;
338  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Sample.a)
339 }
340 
341 // -------------------------------------------------------------------
342 
343 // Widget
344 
345 // optional int32 b = 1;
346 inline bool Widget::has_b() const {
347  return (_has_bits_[0] & 0x00000001u) != 0;
348 }
349 inline void Widget::set_has_b() {
350  _has_bits_[0] |= 0x00000001u;
351 }
352 inline void Widget::clear_has_b() {
353  _has_bits_[0] &= ~0x00000001u;
354 }
355 inline void Widget::clear_b() {
356  b_ = 0;
357  clear_has_b();
358 }
360  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Widget.b)
361  return b_;
362 }
363 inline void Widget::set_b(::google::protobuf::int32 value) {
364  set_has_b();
365  b_ = value;
366  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Widget.b)
367 }
368 
369 #ifdef __GNUC__
370  #pragma GCC diagnostic pop
371 #endif // __GNUC__
372 // -------------------------------------------------------------------
373 
374 
375 // @@protoc_insertion_point(namespace_scope)
376 
377 } // namespace protobuf
378 } // namespace zeromq
379 } // namespace test
380 } // namespace goby
381 
382 // @@protoc_insertion_point(global_scope)
383 
384 #endif // PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto
goby::test::zeromq::protobuf::Widget::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:223
goby::test::zeromq::protobuf::Sample::default_instance
static const Sample & default_instance()
goby::test::zeromq::protobuf::Widget::clear_b
void clear_b()
Definition: test.pb.h:355
goby::test::zeromq::protobuf::Sample::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: test.pb.h:121
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: test.pb.h:49
goby::test::zeromq::protobuf::Sample
Definition: test.pb.h:80
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: test.pb.h:48
goby::test::zeromq::protobuf::Sample::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: test.pb.h:44
goby::test::zeromq::protobuf::Sample::Sample
Sample()
goby::test::zeromq::protobuf::Sample::ByteSizeLong
size_t ByteSizeLong() const final
goby::test::zeromq::protobuf::Sample::IsInitialized
bool IsInitialized() const final
goby::test::zeromq::protobuf::Sample::Swap
void Swap(Sample *other)
goby::test::zeromq::protobuf::Sample::swap
friend void swap(Sample &a, Sample &b)
Definition: test.pb.h:125
goby::test::zeromq::protobuf::Sample::descriptor
static const ::google::protobuf::Descriptor * descriptor()
detail::parse_event_t::value
@ value
the parser finished reading a JSON value
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: test.pb.h:45
google::protobuf::Arena
Definition: arena.h:244
goby::test::zeromq::protobuf::Widget::b
::google::protobuf::int32 b() const
Definition: test.pb.h:359
goby::test::zeromq::protobuf::Widget::swap
friend void swap(Widget &a, Widget &b)
Definition: test.pb.h:239
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct
Definition: test.pb.h:43
goby::test::zeromq::protobuf::Sample::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::test::zeromq::protobuf::Sample::New
Sample * New(::google::protobuf::Arena *arena) const final
Definition: test.pb.h:135
goby::test::zeromq::protobuf::Sample::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::test::zeromq::protobuf::Sample::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
message.h
goby::test::zeromq::protobuf::Sample::a
::google::protobuf::int32 a() const
Definition: test.pb.h:331
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::test::zeromq::protobuf::Sample::kAFieldNumber
static const int kAFieldNumber
Definition: test.pb.h:177
goby::test::zeromq::protobuf::Sample::clear_a
void clear_a()
Definition: test.pb.h:327
goby::test::zeromq::protobuf::Sample::set_a
void set_a(::google::protobuf::int32 value)
Definition: test.pb.h:335
goby::test::zeromq::protobuf::Sample::operator=
Sample & operator=(const Sample &from)
Definition: test.pb.h:87
goby::test::zeromq::protobuf::Sample::internal_default_instance
static const Sample * internal_default_instance()
Definition: test.pb.h:117
goby::test::zeromq::protobuf::_Sample_default_instance_
SampleDefaultTypeInternal _Sample_default_instance_
Definition: test.pb.h:58
google::protobuf::Metadata
Definition: message.h:174
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: test.pb.h:46
google::protobuf::Message
Definition: message.h:189
goby::test::zeromq::protobuf::Sample::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::test::zeromq::protobuf::Widget
Definition: test.pb.h:194
goby::test::zeromq::protobuf::Widget::has_b
bool has_b() const
Definition: test.pb.h:346
goby::test::zeromq::protobuf::Sample::~Sample
virtual ~Sample()
goby::test::zeromq::protobuf::Widget::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:220
arena.h
goby::test::zeromq::protobuf::Widget::operator=
Widget & operator=(const Widget &from)
Definition: test.pb.h:201
goby::test::zeromq::protobuf::Sample::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:109
goby::test::zeromq::protobuf::Sample::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:106
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto
Definition: test.pb.h:41
goby::test::zeromq::protobuf::Sample::New
Sample * New() const final
Definition: test.pb.h:131
goby::test::zeromq::protobuf::Sample::has_a
bool has_a() const
Definition: test.pb.h:318
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:47
protobuf_goby_2ftest_2fzeromq_2fzeromq_5fportal_5fwithout_5finterthread_2ftest_2eproto::AddDescriptors
void AddDescriptors()
goby::test::zeromq::protobuf::Widget::New
Widget * New(::google::protobuf::Arena *arena) const final
Definition: test.pb.h:249
google::protobuf::Message::Message
Message()
Definition: message.h:191
goby::test::zeromq::protobuf::_Widget_default_instance_
WidgetDefaultTypeInternal _Widget_default_instance_
Definition: test.pb.h:61
goby::test::zeromq::protobuf::Sample::GetCachedSize
int GetCachedSize() const final
Definition: test.pb.h:152
friend
goby::test::zeromq::protobuf::Widget::New
Widget * New() const final
Definition: test.pb.h:245
google
Definition: dccl.h:57
goby::test::zeromq::protobuf::Widget::internal_default_instance
static const Widget * internal_default_instance()
Definition: test.pb.h:231
goby::test::zeromq::protobuf::Sample::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::test::zeromq::protobuf::Sample::Clear
void Clear() final
goby::test::zeromq::protobuf::Sample::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::test::zeromq::protobuf::Widget::set_b
void set_b(::google::protobuf::int32 value)
Definition: test.pb.h:363