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/middleware/middleware_interthread/test.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fmiddleware_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_2fmiddleware_2fmiddleware_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_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto
53 namespace goby {
54 namespace test {
55 namespace middleware {
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 middleware
65 } // namespace test
66 } // namespace goby
67 namespace google {
68 namespace protobuf {
69 template<> ::goby::test::middleware::protobuf::Sample* Arena::CreateMaybeMessage<::goby::test::middleware::protobuf::Sample>(Arena*);
70 template<> ::goby::test::middleware::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::middleware::protobuf::Widget>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace goby {
74 namespace test {
75 namespace middleware {
76 namespace protobuf {
77 
78 // ===================================================================
79 
80 class Sample : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.test.middleware.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  enum DCCLParameters { DCCL_ID = 127, DCCL_MAX_BYTES = 32 };
182  // @@protoc_insertion_point(class_scope:goby.test.middleware.protobuf.Sample)
183  private:
184  void set_has_a();
185  void clear_has_a();
186 
187  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
188  ::google::protobuf::internal::HasBits<1> _has_bits_;
189  mutable ::google::protobuf::internal::CachedSize _cached_size_;
191  friend struct ::protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct;
192 };
193 // -------------------------------------------------------------------
194 
195 class Widget : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.test.middleware.protobuf.Widget) */ {
196  public:
197  Widget();
198  virtual ~Widget();
199 
200  Widget(const Widget& from);
201 
202  inline Widget& operator=(const Widget& from) {
203  CopyFrom(from);
204  return *this;
205  }
206  #if LANG_CXX11
207  Widget(Widget&& from) noexcept
208  : Widget() {
209  *this = ::std::move(from);
210  }
211 
212  inline Widget& operator=(Widget&& from) noexcept {
213  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
214  if (this != &from) InternalSwap(&from);
215  } else {
216  CopyFrom(from);
217  }
218  return *this;
219  }
220  #endif
221  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
222  return _internal_metadata_.unknown_fields();
223  }
224  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
225  return _internal_metadata_.mutable_unknown_fields();
226  }
227 
228  static const ::google::protobuf::Descriptor* descriptor();
229  static const Widget& default_instance();
230 
231  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
232  static inline const Widget* internal_default_instance() {
233  return reinterpret_cast<const Widget*>(
235  }
236  static constexpr int kIndexInFileMessages =
237  1;
238 
239  void Swap(Widget* other);
240  friend void swap(Widget& a, Widget& b) {
241  a.Swap(&b);
242  }
243 
244  // implements Message ----------------------------------------------
245 
246  inline Widget* New() const final {
247  return CreateMaybeMessage<Widget>(NULL);
248  }
249 
250  Widget* New(::google::protobuf::Arena* arena) const final {
251  return CreateMaybeMessage<Widget>(arena);
252  }
253  void CopyFrom(const ::google::protobuf::Message& from) final;
254  void MergeFrom(const ::google::protobuf::Message& from) final;
255  void CopyFrom(const Widget& from);
256  void MergeFrom(const Widget& from);
257  void Clear() final;
258  bool IsInitialized() const final;
259 
260  size_t ByteSizeLong() const final;
262  ::google::protobuf::io::CodedInputStream* input) final;
264  ::google::protobuf::io::CodedOutputStream* output) const final;
266  bool deterministic, ::google::protobuf::uint8* target) const final;
267  int GetCachedSize() const final { return _cached_size_.Get(); }
268 
269  private:
270  void SharedCtor();
271  void SharedDtor();
272  void SetCachedSize(int size) const final;
273  void InternalSwap(Widget* other);
274  private:
275  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
276  return NULL;
277  }
278  inline void* MaybeArenaPtr() const {
279  return NULL;
280  }
281  public:
282 
284 
285  // nested types ----------------------------------------------------
286 
287  // accessors -------------------------------------------------------
288 
289  // optional int32 b = 1;
290  bool has_b() const;
291  void clear_b();
292  static const int kBFieldNumber = 1;
293  ::google::protobuf::int32 b() const;
294  void set_b(::google::protobuf::int32 value);
295 
296  // @@protoc_insertion_point(class_scope:goby.test.middleware.protobuf.Widget)
297  private:
298  void set_has_b();
299  void clear_has_b();
300 
301  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
302  ::google::protobuf::internal::HasBits<1> _has_bits_;
303  mutable ::google::protobuf::internal::CachedSize _cached_size_;
304  ::google::protobuf::int32 b_;
306 };
307 // ===================================================================
308 
309 
310 // ===================================================================
311 
312 #ifdef __GNUC__
313  #pragma GCC diagnostic push
314  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
315 #endif // __GNUC__
316 // Sample
317 
318 // optional int32 a = 1;
319 inline bool Sample::has_a() const {
320  return (_has_bits_[0] & 0x00000001u) != 0;
321 }
322 inline void Sample::set_has_a() {
323  _has_bits_[0] |= 0x00000001u;
324 }
325 inline void Sample::clear_has_a() {
326  _has_bits_[0] &= ~0x00000001u;
327 }
328 inline void Sample::clear_a() {
329  a_ = 0;
330  clear_has_a();
331 }
333  // @@protoc_insertion_point(field_get:goby.test.middleware.protobuf.Sample.a)
334  return a_;
335 }
337  set_has_a();
338  a_ = value;
339  // @@protoc_insertion_point(field_set:goby.test.middleware.protobuf.Sample.a)
340 }
341 
342 // -------------------------------------------------------------------
343 
344 // Widget
345 
346 // optional int32 b = 1;
347 inline bool Widget::has_b() const {
348  return (_has_bits_[0] & 0x00000001u) != 0;
349 }
350 inline void Widget::set_has_b() {
351  _has_bits_[0] |= 0x00000001u;
352 }
353 inline void Widget::clear_has_b() {
354  _has_bits_[0] &= ~0x00000001u;
355 }
356 inline void Widget::clear_b() {
357  b_ = 0;
358  clear_has_b();
359 }
361  // @@protoc_insertion_point(field_get:goby.test.middleware.protobuf.Widget.b)
362  return b_;
363 }
365  set_has_b();
366  b_ = value;
367  // @@protoc_insertion_point(field_set:goby.test.middleware.protobuf.Widget.b)
368 }
369 
370 #ifdef __GNUC__
371  #pragma GCC diagnostic pop
372 #endif // __GNUC__
373 // -------------------------------------------------------------------
374 
375 
376 // @@protoc_insertion_point(namespace_scope)
377 
378 } // namespace protobuf
379 } // namespace middleware
380 } // namespace test
381 } // namespace goby
382 
383 // @@protoc_insertion_point(global_scope)
384 
385 #endif // PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto
goby::test::middleware::protobuf::Widget::operator=
Widget & operator=(const Widget &from)
Definition: test.pb.h:202
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: test.pb.h:48
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: test.pb.h:49
goby::test::middleware::protobuf::Widget::swap
friend void swap(Widget &a, Widget &b)
Definition: test.pb.h:240
goby::test::middleware::protobuf::Sample::Swap
void Swap(Sample *other)
goby::test::middleware::protobuf::_Sample_default_instance_
SampleDefaultTypeInternal _Sample_default_instance_
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::test::middleware::protobuf::Widget::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::test::middleware::protobuf::Widget::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::test::middleware::protobuf::Sample::IsInitialized
bool IsInitialized() const final
goby::test::middleware::protobuf::Sample::operator=
Sample & operator=(const Sample &from)
Definition: test.pb.h:87
goby::test::middleware::protobuf::Sample::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::test::middleware::protobuf::Widget::clear_b
void clear_b()
Definition: test.pb.h:356
goby::test::middleware::protobuf::Widget::GetCachedSize
int GetCachedSize() const final
Definition: test.pb.h:267
goby::test::middleware::protobuf::Widget::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:224
goby::test::middleware::protobuf::Widget::Swap
void Swap(Widget *other)
goby::test::middleware::protobuf::Widget::has_b
bool has_b() const
Definition: test.pb.h:347
goby::test::middleware::protobuf::Sample::DCCL_MAX_BYTES
@ DCCL_MAX_BYTES
Definition: test.pb.h:181
google::protobuf::Arena
Definition: arena.h:244
goby::test::middleware::protobuf::Sample::has_a
bool has_a() const
Definition: test.pb.h:319
goby::test::middleware::protobuf::Sample::clear_a
void clear_a()
Definition: test.pb.h:328
goby::test::middleware::protobuf::Widget::New
Widget * New() const final
Definition: test.pb.h:246
goby::test::middleware::protobuf::Sample::New
Sample * New() const final
Definition: test.pb.h:131
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: test.pb.h:44
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:47
goby::test::middleware::protobuf::Sample::set_a
void set_a(::google::protobuf::int32 value)
Definition: test.pb.h:336
goby::test::middleware::protobuf::Sample::kAFieldNumber
static const int kAFieldNumber
Definition: test.pb.h:177
goby::test::middleware::protobuf::Widget::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::test::middleware::protobuf::Widget::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: test.pb.h:236
goby::test::middleware::protobuf::Sample::New
Sample * New(::google::protobuf::Arena *arena) const final
Definition: test.pb.h:135
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto
Definition: test.pb.h:41
goby::test::middleware::protobuf::Sample::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::test::middleware::protobuf::Sample::internal_default_instance
static const Sample * internal_default_instance()
Definition: test.pb.h:117
goby::test::middleware::protobuf::Sample::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
message.h
goby::test::middleware::protobuf::Sample::DCCL_ID
@ DCCL_ID
Definition: test.pb.h:181
goby::test::middleware::protobuf::Sample::~Sample
virtual ~Sample()
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::test::middleware::protobuf::Sample::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:106
goby::test::middleware::protobuf::Sample::swap
friend void swap(Sample &a, Sample &b)
Definition: test.pb.h:125
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::test::middleware::protobuf::Sample::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::test::middleware::protobuf::Sample::GetCachedSize
int GetCachedSize() const final
Definition: test.pb.h:152
goby::test::middleware::protobuf::Widget::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::test::middleware::protobuf::Widget::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::test::middleware::protobuf::Sample::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::test::middleware::protobuf::Sample::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
google::protobuf::Metadata
Definition: message.h:174
goby::test::middleware::protobuf::Widget::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::test::middleware::protobuf::Widget::IsInitialized
bool IsInitialized() const final
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: test.pb.h:45
goby::test::middleware::protobuf::Widget::New
Widget * New(::google::protobuf::Arena *arena) const final
Definition: test.pb.h:250
google::protobuf::Message
Definition: message.h:189
goby::test::middleware::protobuf::Widget::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct
Definition: test.pb.h:43
goby::test::middleware::protobuf::Widget::Widget
Widget()
goby::test::middleware::protobuf::Sample
Definition: test.pb.h:80
goby::test::middleware::protobuf::Widget::set_b
void set_b(::google::protobuf::int32 value)
Definition: test.pb.h:364
goby::test::middleware::protobuf::_Widget_default_instance_
WidgetDefaultTypeInternal _Widget_default_instance_
goby::test::middleware::protobuf::Sample::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: test.pb.h:121
arena.h
goby::test::middleware::protobuf::Widget::Clear
void Clear() final
goby::test::middleware::protobuf::Sample::a
::google::protobuf::int32 a() const
Definition: test.pb.h:332
goby::test::middleware::protobuf::Sample::DCCLParameters
DCCLParameters
Definition: test.pb.h:181
goby::test::middleware::protobuf::Sample::ByteSizeLong
size_t ByteSizeLong() const final
goby::test::middleware::protobuf::Widget::default_instance
static const Widget & default_instance()
goby::test::middleware::protobuf::Sample::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:109
goby::test::middleware::protobuf::Sample::Clear
void Clear() final
goby::test::middleware::protobuf::Sample::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: test.pb.h:46
goby::test::middleware::protobuf::Widget::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:221
goby::test::middleware::protobuf::Widget::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::test::middleware::protobuf::Widget::b
::google::protobuf::int32 b() const
Definition: test.pb.h:360
friend
goby::test::middleware::protobuf::Sample::default_instance
static const Sample & default_instance()
goby::test::middleware::protobuf::Widget
Definition: test.pb.h:195
goby::test::middleware::protobuf::Sample::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
protobuf_goby_2ftest_2fmiddleware_2fmiddleware_5finterthread_2ftest_2eproto::AddDescriptors
void AddDescriptors()
goby::test::middleware::protobuf::Sample::Sample
Sample()
google
Definition: dccl.h:57
goby::test::middleware::protobuf::Widget::~Widget
virtual ~Widget()
goby::test::middleware::protobuf::Widget::kBFieldNumber
static const int kBFieldNumber
Definition: test.pb.h:292
goby::test::middleware::protobuf::Widget::internal_default_instance
static const Widget * internal_default_instance()
Definition: test.pb.h:232
goby::test::middleware::protobuf::Widget::ByteSizeLong
size_t ByteSizeLong() const final