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/middleware_speed/test.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_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 <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
39 // @@protoc_insertion_point(includes)
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto
42 PROTOBUF_NAMESPACE_OPEN
43 namespace internal {
44 class AnyMetadata;
45 } // namespace internal
46 PROTOBUF_NAMESPACE_CLOSE
47 
48 // Internal implementation detail -- do not use these members.
50  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
51  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
53  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
57  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
59 };
60 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto;
61 namespace goby {
62 namespace test {
63 namespace zeromq {
64 namespace protobuf {
65 class Large;
66 class LargeDefaultTypeInternal;
67 extern LargeDefaultTypeInternal _Large_default_instance_;
68 class Ready;
69 class ReadyDefaultTypeInternal;
70 extern ReadyDefaultTypeInternal _Ready_default_instance_;
71 class Sample;
72 class SampleDefaultTypeInternal;
73 extern SampleDefaultTypeInternal _Sample_default_instance_;
74 } // namespace protobuf
75 } // namespace zeromq
76 } // namespace test
77 } // namespace goby
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::goby::test::zeromq::protobuf::Large* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Large>(Arena*);
80 template<> ::goby::test::zeromq::protobuf::Ready* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Ready>(Arena*);
81 template<> ::goby::test::zeromq::protobuf::Sample* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Sample>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace goby {
84 namespace test {
85 namespace zeromq {
86 namespace protobuf {
87 
88 // ===================================================================
89 
90 class Ready PROTOBUF_FINAL :
91  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Ready) */ {
92  public:
93  inline Ready() : Ready(nullptr) {};
94  virtual ~Ready();
95 
96  Ready(const Ready& from);
97  Ready(Ready&& from) noexcept
98  : Ready() {
99  *this = ::std::move(from);
100  }
101 
102  inline Ready& operator=(const Ready& from) {
103  CopyFrom(from);
104  return *this;
105  }
106  inline Ready& operator=(Ready&& from) noexcept {
107  if (GetArena() == from.GetArena()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114 
115  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
116  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117  }
118  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
119  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120  }
121 
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
123  return GetDescriptor();
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
126  return GetMetadataStatic().descriptor;
127  }
128  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
129  return GetMetadataStatic().reflection;
130  }
131  static const Ready& default_instance();
132 
133  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
134  static inline const Ready* internal_default_instance() {
135  return reinterpret_cast<const Ready*>(
137  }
138  static constexpr int kIndexInFileMessages =
139  0;
140 
141  friend void swap(Ready& a, Ready& b) {
142  a.Swap(&b);
143  }
144  inline void Swap(Ready* other) {
145  if (other == this) return;
146  if (GetArena() == other->GetArena()) {
147  InternalSwap(other);
148  } else {
149  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
150  }
151  }
152  void UnsafeArenaSwap(Ready* other) {
153  if (other == this) return;
154  GOOGLE_DCHECK(GetArena() == other->GetArena());
155  InternalSwap(other);
156  }
157 
158  // implements Message ----------------------------------------------
159 
160  inline Ready* New() const final {
161  return CreateMaybeMessage<Ready>(nullptr);
162  }
163 
164  Ready* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
165  return CreateMaybeMessage<Ready>(arena);
166  }
167  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
168  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
169  void CopyFrom(const Ready& from);
170  void MergeFrom(const Ready& from);
171  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172  bool IsInitialized() const final;
173 
174  size_t ByteSizeLong() const final;
175  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
176  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
177  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178  int GetCachedSize() const final { return _cached_size_.Get(); }
179 
180  private:
181  inline void SharedCtor();
182  inline void SharedDtor();
183  void SetCachedSize(int size) const final;
184  void InternalSwap(Ready* other);
185  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187  return "goby.test.zeromq.protobuf.Ready";
188  }
189  protected:
190  explicit Ready(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191  private:
192  static void ArenaDtor(void* object);
193  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
194  public:
195 
196  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197  private:
198  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto);
201  }
202 
203  public:
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Ready)
210  private:
211  class _Internal;
212 
213  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
214  typedef void InternalArenaConstructable_;
215  typedef void DestructorSkippable_;
216  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
217  friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto;
218 };
219 // -------------------------------------------------------------------
220 
221 class Sample PROTOBUF_FINAL :
222  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Sample) */ {
223  public:
224  inline Sample() : Sample(nullptr) {};
225  virtual ~Sample();
226 
227  Sample(const Sample& from);
228  Sample(Sample&& from) noexcept
229  : Sample() {
230  *this = ::std::move(from);
231  }
232 
233  inline Sample& operator=(const Sample& from) {
234  CopyFrom(from);
235  return *this;
236  }
237  inline Sample& operator=(Sample&& from) noexcept {
238  if (GetArena() == from.GetArena()) {
239  if (this != &from) InternalSwap(&from);
240  } else {
241  CopyFrom(from);
242  }
243  return *this;
244  }
245 
246  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
247  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
248  }
249  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
250  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
251  }
252 
253  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
254  return GetDescriptor();
255  }
256  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
257  return GetMetadataStatic().descriptor;
258  }
259  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
260  return GetMetadataStatic().reflection;
261  }
262  static const Sample& default_instance();
263 
264  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
265  static inline const Sample* internal_default_instance() {
266  return reinterpret_cast<const Sample*>(
268  }
269  static constexpr int kIndexInFileMessages =
270  1;
271 
272  friend void swap(Sample& a, Sample& b) {
273  a.Swap(&b);
274  }
275  inline void Swap(Sample* other) {
276  if (other == this) return;
277  if (GetArena() == other->GetArena()) {
278  InternalSwap(other);
279  } else {
280  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
281  }
282  }
283  void UnsafeArenaSwap(Sample* other) {
284  if (other == this) return;
285  GOOGLE_DCHECK(GetArena() == other->GetArena());
286  InternalSwap(other);
287  }
288 
289  // implements Message ----------------------------------------------
290 
291  inline Sample* New() const final {
292  return CreateMaybeMessage<Sample>(nullptr);
293  }
294 
295  Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
296  return CreateMaybeMessage<Sample>(arena);
297  }
298  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
299  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
300  void CopyFrom(const Sample& from);
301  void MergeFrom(const Sample& from);
302  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
303  bool IsInitialized() const final;
304 
305  size_t ByteSizeLong() const final;
306  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
307  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
308  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
309  int GetCachedSize() const final { return _cached_size_.Get(); }
310 
311  private:
312  inline void SharedCtor();
313  inline void SharedDtor();
314  void SetCachedSize(int size) const final;
315  void InternalSwap(Sample* other);
316  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
317  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
318  return "goby.test.zeromq.protobuf.Sample";
319  }
320  protected:
321  explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena);
322  private:
323  static void ArenaDtor(void* object);
324  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
325  public:
326 
327  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
328  private:
329  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
330  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto);
332  }
333 
334  public:
335 
336  // nested types ----------------------------------------------------
337 
338  // accessors -------------------------------------------------------
339 
340  enum : int {
341  kTemperatureFieldNumber = 1,
342  kSalinityFieldNumber = 2,
343  kDepthFieldNumber = 3,
344  };
345  // required double temperature = 1;
346  bool has_temperature() const;
347  private:
348  bool _internal_has_temperature() const;
349  public:
351  double temperature() const;
352  void set_temperature(double value);
353  private:
354  double _internal_temperature() const;
355  void _internal_set_temperature(double value);
356  public:
357 
358  // required double salinity = 2;
359  bool has_salinity() const;
360  private:
361  bool _internal_has_salinity() const;
362  public:
364  double salinity() const;
365  void set_salinity(double value);
366  private:
367  double _internal_salinity() const;
368  void _internal_set_salinity(double value);
369  public:
370 
371  // required double depth = 3;
372  bool has_depth() const;
373  private:
374  bool _internal_has_depth() const;
375  public:
376  void clear_depth();
377  double depth() const;
378  void set_depth(double value);
379  private:
380  double _internal_depth() const;
381  void _internal_set_depth(double value);
382  public:
383 
384  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Sample)
385  private:
386  class _Internal;
387 
388  // helper for ByteSizeLong()
389  size_t RequiredFieldsByteSizeFallback() const;
390 
391  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
392  typedef void InternalArenaConstructable_;
393  typedef void DestructorSkippable_;
394  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
395  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
396  double temperature_;
397  double salinity_;
398  double depth_;
399  friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto;
400 };
401 // -------------------------------------------------------------------
402 
403 class Large PROTOBUF_FINAL :
404  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Large) */ {
405  public:
406  inline Large() : Large(nullptr) {};
407  virtual ~Large();
408 
409  Large(const Large& from);
410  Large(Large&& from) noexcept
411  : Large() {
412  *this = ::std::move(from);
413  }
414 
415  inline Large& operator=(const Large& from) {
416  CopyFrom(from);
417  return *this;
418  }
419  inline Large& operator=(Large&& from) noexcept {
420  if (GetArena() == from.GetArena()) {
421  if (this != &from) InternalSwap(&from);
422  } else {
423  CopyFrom(from);
424  }
425  return *this;
426  }
427 
428  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
429  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
430  }
431  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
432  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
433  }
434 
435  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
436  return GetDescriptor();
437  }
438  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
439  return GetMetadataStatic().descriptor;
440  }
441  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
442  return GetMetadataStatic().reflection;
443  }
444  static const Large& default_instance();
445 
446  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
447  static inline const Large* internal_default_instance() {
448  return reinterpret_cast<const Large*>(
450  }
451  static constexpr int kIndexInFileMessages =
452  2;
453 
454  friend void swap(Large& a, Large& b) {
455  a.Swap(&b);
456  }
457  inline void Swap(Large* other) {
458  if (other == this) return;
459  if (GetArena() == other->GetArena()) {
460  InternalSwap(other);
461  } else {
462  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
463  }
464  }
465  void UnsafeArenaSwap(Large* other) {
466  if (other == this) return;
467  GOOGLE_DCHECK(GetArena() == other->GetArena());
468  InternalSwap(other);
469  }
470 
471  // implements Message ----------------------------------------------
472 
473  inline Large* New() const final {
474  return CreateMaybeMessage<Large>(nullptr);
475  }
476 
477  Large* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
478  return CreateMaybeMessage<Large>(arena);
479  }
480  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
481  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
482  void CopyFrom(const Large& from);
483  void MergeFrom(const Large& from);
484  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
485  bool IsInitialized() const final;
486 
487  size_t ByteSizeLong() const final;
488  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
489  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
490  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
491  int GetCachedSize() const final { return _cached_size_.Get(); }
492 
493  private:
494  inline void SharedCtor();
495  inline void SharedDtor();
496  void SetCachedSize(int size) const final;
497  void InternalSwap(Large* other);
498  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
499  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
500  return "goby.test.zeromq.protobuf.Large";
501  }
502  protected:
503  explicit Large(::PROTOBUF_NAMESPACE_ID::Arena* arena);
504  private:
505  static void ArenaDtor(void* object);
506  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
507  public:
508 
509  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
510  private:
511  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
512  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto);
514  }
515 
516  public:
517 
518  // nested types ----------------------------------------------------
519 
520  // accessors -------------------------------------------------------
521 
522  enum : int {
523  kDataFieldNumber = 1,
524  };
525  // required bytes data = 1;
526  bool has_data() const;
527  private:
528  bool _internal_has_data() const;
529  public:
530  void clear_data();
531  const std::string& data() const;
532  void set_data(const std::string& value);
533  void set_data(std::string&& value);
534  void set_data(const char* value);
535  void set_data(const void* value, size_t size);
536  std::string* mutable_data();
537  std::string* release_data();
538  void set_allocated_data(std::string* data);
539  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
540  " string fields are deprecated and will be removed in a"
541  " future release.")
542  std::string* unsafe_arena_release_data();
543  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
544  " string fields are deprecated and will be removed in a"
545  " future release.")
546  void unsafe_arena_set_allocated_data(
547  std::string* data);
548  private:
549  const std::string& _internal_data() const;
550  void _internal_set_data(const std::string& value);
551  std::string* _internal_mutable_data();
552  public:
553 
554  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Large)
555  private:
556  class _Internal;
557 
558  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
559  typedef void InternalArenaConstructable_;
560  typedef void DestructorSkippable_;
561  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
562  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
563  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
565 };
566 // ===================================================================
567 
568 
569 // ===================================================================
570 
571 #ifdef __GNUC__
572  #pragma GCC diagnostic push
573  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
574 #endif // __GNUC__
575 // Ready
576 
577 // -------------------------------------------------------------------
578 
579 // Sample
580 
581 // required double temperature = 1;
582 inline bool Sample::_internal_has_temperature() const {
583  bool value = (_has_bits_[0] & 0x00000001u) != 0;
584  return value;
585 }
586 inline bool Sample::has_temperature() const {
587  return _internal_has_temperature();
588 }
589 inline void Sample::clear_temperature() {
590  temperature_ = 0;
591  _has_bits_[0] &= ~0x00000001u;
592 }
593 inline double Sample::_internal_temperature() const {
594  return temperature_;
595 }
596 inline double Sample::temperature() const {
597  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Sample.temperature)
598  return _internal_temperature();
599 }
600 inline void Sample::_internal_set_temperature(double value) {
601  _has_bits_[0] |= 0x00000001u;
602  temperature_ = value;
603 }
604 inline void Sample::set_temperature(double value) {
605  _internal_set_temperature(value);
606  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Sample.temperature)
607 }
608 
609 // required double salinity = 2;
610 inline bool Sample::_internal_has_salinity() const {
611  bool value = (_has_bits_[0] & 0x00000002u) != 0;
612  return value;
613 }
614 inline bool Sample::has_salinity() const {
615  return _internal_has_salinity();
616 }
617 inline void Sample::clear_salinity() {
618  salinity_ = 0;
619  _has_bits_[0] &= ~0x00000002u;
620 }
621 inline double Sample::_internal_salinity() const {
622  return salinity_;
623 }
624 inline double Sample::salinity() const {
625  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Sample.salinity)
626  return _internal_salinity();
627 }
628 inline void Sample::_internal_set_salinity(double value) {
629  _has_bits_[0] |= 0x00000002u;
630  salinity_ = value;
631 }
632 inline void Sample::set_salinity(double value) {
633  _internal_set_salinity(value);
634  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Sample.salinity)
635 }
636 
637 // required double depth = 3;
638 inline bool Sample::_internal_has_depth() const {
639  bool value = (_has_bits_[0] & 0x00000004u) != 0;
640  return value;
641 }
642 inline bool Sample::has_depth() const {
643  return _internal_has_depth();
644 }
645 inline void Sample::clear_depth() {
646  depth_ = 0;
647  _has_bits_[0] &= ~0x00000004u;
648 }
649 inline double Sample::_internal_depth() const {
650  return depth_;
651 }
652 inline double Sample::depth() const {
653  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Sample.depth)
654  return _internal_depth();
655 }
656 inline void Sample::_internal_set_depth(double value) {
657  _has_bits_[0] |= 0x00000004u;
658  depth_ = value;
659 }
660 inline void Sample::set_depth(double value) {
661  _internal_set_depth(value);
662  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Sample.depth)
663 }
664 
665 // -------------------------------------------------------------------
666 
667 // Large
668 
669 // required bytes data = 1;
670 inline bool Large::_internal_has_data() const {
671  bool value = (_has_bits_[0] & 0x00000001u) != 0;
672  return value;
673 }
674 inline bool Large::has_data() const {
675  return _internal_has_data();
676 }
677 inline void Large::clear_data() {
678  data_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
679  _has_bits_[0] &= ~0x00000001u;
680 }
681 inline const std::string& Large::data() const {
682  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Large.data)
683  return _internal_data();
684 }
685 inline void Large::set_data(const std::string& value) {
686  _internal_set_data(value);
687  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Large.data)
688 }
689 inline std::string* Large::mutable_data() {
690  // @@protoc_insertion_point(field_mutable:goby.test.zeromq.protobuf.Large.data)
691  return _internal_mutable_data();
692 }
693 inline const std::string& Large::_internal_data() const {
694  return data_.Get();
695 }
696 inline void Large::_internal_set_data(const std::string& value) {
697  _has_bits_[0] |= 0x00000001u;
698  data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
699 }
700 inline void Large::set_data(std::string&& value) {
701  _has_bits_[0] |= 0x00000001u;
702  data_.Set(
703  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
704  // @@protoc_insertion_point(field_set_rvalue:goby.test.zeromq.protobuf.Large.data)
705 }
706 inline void Large::set_data(const char* value) {
707  GOOGLE_DCHECK(value != nullptr);
708  _has_bits_[0] |= 0x00000001u;
709  data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
710  GetArena());
711  // @@protoc_insertion_point(field_set_char:goby.test.zeromq.protobuf.Large.data)
712 }
713 inline void Large::set_data(const void* value,
714  size_t size) {
715  _has_bits_[0] |= 0x00000001u;
717  reinterpret_cast<const char*>(value), size), GetArena());
718  // @@protoc_insertion_point(field_set_pointer:goby.test.zeromq.protobuf.Large.data)
719 }
720 inline std::string* Large::_internal_mutable_data() {
721  _has_bits_[0] |= 0x00000001u;
722  return data_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
723 }
724 inline std::string* Large::release_data() {
725  // @@protoc_insertion_point(field_release:goby.test.zeromq.protobuf.Large.data)
726  if (!_internal_has_data()) {
727  return nullptr;
728  }
729  _has_bits_[0] &= ~0x00000001u;
730  return data_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
731 }
732 inline void Large::set_allocated_data(std::string* data) {
733  if (data != nullptr) {
734  _has_bits_[0] |= 0x00000001u;
735  } else {
736  _has_bits_[0] &= ~0x00000001u;
737  }
739  GetArena());
740  // @@protoc_insertion_point(field_set_allocated:goby.test.zeromq.protobuf.Large.data)
741 }
742 inline std::string* Large::unsafe_arena_release_data() {
743  // @@protoc_insertion_point(field_unsafe_arena_release:goby.test.zeromq.protobuf.Large.data)
744  GOOGLE_DCHECK(GetArena() != nullptr);
745  _has_bits_[0] &= ~0x00000001u;
746  return data_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
747  GetArena());
748 }
749 inline void Large::unsafe_arena_set_allocated_data(
750  std::string* data) {
751  GOOGLE_DCHECK(GetArena() != nullptr);
752  if (data != nullptr) {
753  _has_bits_[0] |= 0x00000001u;
754  } else {
755  _has_bits_[0] &= ~0x00000001u;
756  }
757  data_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
758  data, GetArena());
759  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.zeromq.protobuf.Large.data)
760 }
761 
762 #ifdef __GNUC__
763  #pragma GCC diagnostic pop
764 #endif // __GNUC__
765 // -------------------------------------------------------------------
766 
767 // -------------------------------------------------------------------
768 
769 
770 // @@protoc_insertion_point(namespace_scope)
771 
772 } // namespace protobuf
773 } // namespace zeromq
774 } // namespace test
775 } // namespace goby
776 
777 // @@protoc_insertion_point(global_scope)
778 
779 #include <google/protobuf/port_undef.inc>
780 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto
Ready(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_data(const void *value, size_t size)
Large * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: test.pb.h:477
friend void swap(Ready &a, Ready &b)
Definition: test.pb.h:141
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:115
Large & operator=(const Large &from)
Definition: test.pb.h:415
void set_data(const std::string &value)
Ready & operator=(Ready &&from) noexcept
Definition: test.pb.h:106
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Ready & operator=(const Ready &from)
Definition: test.pb.h:102
Large(::PROTOBUF_NAMESPACE_ID::Arena *arena)
friend void swap(Large &a, Large &b)
Definition: test.pb.h:454
static const Sample * internal_default_instance()
Definition: test.pb.h:265
friend void swap(Sample &a, Sample &b)
Definition: test.pb.h:272
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: test.pb.h:128
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: test.pb.h:125
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:118
Ready * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: test.pb.h:164
Sample & operator=(Sample &&from) noexcept
Definition: test.pb.h:237
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: test.pb.h:122
Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: test.pb.h:295
Sample & operator=(const Sample &from)
Definition: test.pb.h:233
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Large & operator=(Large &&from) noexcept
Definition: test.pb.h:419
static const Ready * internal_default_instance()
Definition: test.pb.h:134
static const Large * internal_default_instance()
Definition: test.pb.h:447
@ value
the parser finished reading a JSON value
ReadyDefaultTypeInternal _Ready_default_instance_
Definition: test.pb.h:69
SampleDefaultTypeInternal _Sample_default_instance_
Definition: test.pb.h:67
LargeDefaultTypeInternal _Large_default_instance_
boost::units::quantity< boost::units::si::dimensionless > salinity(boost::units::quantity< ConductivityUnit > conductivity, boost::units::quantity< boost::units::absolute< TemperatureUnit > > temperature, boost::units::quantity< PressureUnit > pressure)
Calculates salinity from conductivity, temperature, and pressure Adapted from "Algorithms for computa...
Definition: salinity.h:58
boost::units::quantity< boost::units::si::length > depth(boost::units::quantity< PressureUnit > pressure, boost::units::quantity< LatitudeUnit > latitude)
Calculates depth from pressure and latitude Adapted from "Algorithms for computation of fundamental p...
Definition: depth.h:57
The global namespace for the Goby project.
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: test.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:56
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: test.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto