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