4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto
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
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.
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>
32#include <google/protobuf/extension_set.h>
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>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
57struct LargeDefaultTypeInternal;
60struct ReadyDefaultTypeInternal;
63struct SampleDefaultTypeInternal;
69PROTOBUF_NAMESPACE_OPEN
73PROTOBUF_NAMESPACE_CLOSE
85 explicit PROTOBUF_CONSTEXPR
Ready(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
90 *
this = ::std::move(from);
98 if (
this == &from)
return *
this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() !=
nullptr
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
131 return reinterpret_cast<const Ready*
>(
141 if (other ==
this)
return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() !=
nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
146 if (GetOwningArena() == other->GetOwningArena()) {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
161 Ready*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
162 return CreateMaybeMessage<Ready>(arena);
164 using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
166 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*
this, from);
168 using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
170 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*
this, from);
175 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
176 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
177 return "goby.test.zeromq.protobuf.Ready";
180 explicit Ready(::PROTOBUF_NAMESPACE_ID::Arena* arena,
181 bool is_message_owned =
false);
185 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 typedef
void InternalArenaConstructable_;
199 typedef
void DestructorSkippable_;
202 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto;
207 public ::PROTOBUF_NAMESPACE_ID::Message {
211 explicit PROTOBUF_CONSTEXPR
Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
216 *
this = ::std::move(from);
224 if (
this == &from)
return *
this;
225 if (GetOwningArena() == from.GetOwningArena()
226 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
227 && GetOwningArena() !=
nullptr
238 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
241 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
244 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
245 return GetDescriptor();
248 return default_instance().GetMetadata().descriptor;
251 return default_instance().GetMetadata().reflection;
254 return *internal_default_instance();
257 return reinterpret_cast<const Sample*
>(
258 &_Sample_default_instance_);
260 static constexpr int kIndexInFileMessages =
267 if (other ==
this)
return;
268 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
269 if (GetOwningArena() !=
nullptr &&
270 GetOwningArena() == other->GetOwningArena()) {
272 if (GetOwningArena() == other->GetOwningArena()) {
276 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
280 if (other ==
this)
return;
281 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
287 Sample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
288 return CreateMaybeMessage<Sample>(arena);
290 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
292 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
294 Sample::MergeImpl(*
this, from);
297 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
299 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
300 bool IsInitialized() 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(); }
309 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
311 void SetCachedSize(
int size)
const final;
312 void InternalSwap(
Sample* other);
315 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
316 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
317 return "goby.test.zeromq.protobuf.Sample";
320 explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
321 bool is_message_owned =
false);
324 static const ClassData _class_data_;
325 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
327 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
334 kTemperatureFieldNumber = 1,
335 kSalinityFieldNumber = 2,
336 kDepthFieldNumber = 3,
339 bool has_temperature()
const;
341 bool _internal_has_temperature()
const;
343 void clear_temperature();
344 double temperature()
const;
345 void set_temperature(
double value);
347 double _internal_temperature()
const;
348 void _internal_set_temperature(
double value);
352 bool has_salinity()
const;
354 bool _internal_has_salinity()
const;
356 void clear_salinity();
357 double salinity()
const;
358 void set_salinity(
double value);
360 double _internal_salinity()
const;
361 void _internal_set_salinity(
double value);
365 bool has_depth()
const;
367 bool _internal_has_depth()
const;
370 double depth()
const;
371 void set_depth(
double value);
373 double _internal_depth()
const;
374 void _internal_set_depth(
double value);
382 size_t RequiredFieldsByteSizeFallback()
const;
384 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
385 typedef void InternalArenaConstructable_;
386 typedef void DestructorSkippable_;
388 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
389 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
394 union { Impl_ _impl_; };
395 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto;
400 public ::PROTOBUF_NAMESPACE_ID::Message {
404 explicit PROTOBUF_CONSTEXPR
Large(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
409 *
this = ::std::move(from);
417 if (
this == &from)
return *
this;
418 if (GetOwningArena() == from.GetOwningArena()
419 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
420 && GetOwningArena() !=
nullptr
431 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
434 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
437 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
438 return GetDescriptor();
441 return default_instance().GetMetadata().descriptor;
444 return default_instance().GetMetadata().reflection;
447 return *internal_default_instance();
450 return reinterpret_cast<const Large*
>(
453 static constexpr int kIndexInFileMessages =
460 if (other ==
this)
return;
461 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
462 if (GetOwningArena() !=
nullptr &&
463 GetOwningArena() == other->GetOwningArena()) {
465 if (GetOwningArena() == other->GetOwningArena()) {
469 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
473 if (other ==
this)
return;
474 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
480 Large*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
481 return CreateMaybeMessage<Large>(arena);
483 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
485 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
487 Large::MergeImpl(*
this, from);
490 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
492 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
493 bool IsInitialized() 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(); }
502 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
504 void SetCachedSize(
int size)
const final;
505 void InternalSwap(
Large* other);
508 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
509 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
510 return "goby.test.zeromq.protobuf.Large";
513 explicit Large(::PROTOBUF_NAMESPACE_ID::Arena* arena,
514 bool is_message_owned =
false);
518 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
520 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
527 kDataFieldNumber = 1,
530 bool has_data()
const;
532 bool _internal_has_data()
const;
535 const std::string& data()
const;
536 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
538 std::string* mutable_data();
539 PROTOBUF_NODISCARD std::string* release_data();
540 void set_allocated_data(std::string* data);
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();
551 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
552 typedef void InternalArenaConstructable_;
553 typedef void DestructorSkippable_;
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_;
560 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto;
568 #pragma GCC diagnostic push
569 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
578inline bool Sample::_internal_has_temperature()
const {
579 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
582inline bool Sample::has_temperature()
const {
583 return _internal_has_temperature();
585inline void Sample::clear_temperature() {
586 _impl_.temperature_ = 0;
587 _impl_._has_bits_[0] &= ~0x00000001u;
589inline double Sample::_internal_temperature()
const {
590 return _impl_.temperature_;
592inline double Sample::temperature()
const {
594 return _internal_temperature();
596inline void Sample::_internal_set_temperature(
double value) {
597 _impl_._has_bits_[0] |= 0x00000001u;
598 _impl_.temperature_ = value;
600inline void Sample::set_temperature(
double value) {
601 _internal_set_temperature(value);
606inline bool Sample::_internal_has_salinity()
const {
607 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
610inline bool Sample::has_salinity()
const {
611 return _internal_has_salinity();
613inline void Sample::clear_salinity() {
614 _impl_.salinity_ = 0;
615 _impl_._has_bits_[0] &= ~0x00000002u;
617inline double Sample::_internal_salinity()
const {
618 return _impl_.salinity_;
620inline double Sample::salinity()
const {
622 return _internal_salinity();
624inline void Sample::_internal_set_salinity(
double value) {
625 _impl_._has_bits_[0] |= 0x00000002u;
626 _impl_.salinity_ = value;
628inline void Sample::set_salinity(
double value) {
629 _internal_set_salinity(value);
634inline bool Sample::_internal_has_depth()
const {
635 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
638inline bool Sample::has_depth()
const {
639 return _internal_has_depth();
641inline void Sample::clear_depth() {
643 _impl_._has_bits_[0] &= ~0x00000004u;
645inline double Sample::_internal_depth()
const {
646 return _impl_.depth_;
648inline double Sample::depth()
const {
650 return _internal_depth();
652inline void Sample::_internal_set_depth(
double value) {
653 _impl_._has_bits_[0] |= 0x00000004u;
654 _impl_.depth_ = value;
656inline void Sample::set_depth(
double value) {
657 _internal_set_depth(value);
666inline bool Large::_internal_has_data()
const {
667 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
670inline bool Large::has_data()
const {
671 return _internal_has_data();
673inline void Large::clear_data() {
674 _impl_.data_.ClearToEmpty();
675 _impl_._has_bits_[0] &= ~0x00000001u;
677inline const std::string& Large::data()
const {
679 return _internal_data();
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());
688inline std::string* Large::mutable_data() {
689 std::string* _s = _internal_mutable_data();
693inline const std::string& Large::_internal_data()
const {
694 return _impl_.data_.Get();
696inline void Large::_internal_set_data(
const std::string& value) {
697 _impl_._has_bits_[0] |= 0x00000001u;
698 _impl_.data_.Set(value, GetArenaForAllocation());
700inline std::string* Large::_internal_mutable_data() {
701 _impl_._has_bits_[0] |= 0x00000001u;
702 return _impl_.data_.Mutable(GetArenaForAllocation());
704inline std::string* Large::release_data() {
706 if (!_internal_has_data()) {
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());
718inline void Large::set_allocated_data(std::string* data) {
719 if (data !=
nullptr) {
720 _impl_._has_bits_[0] |= 0x00000001u;
722 _impl_._has_bits_[0] &= ~0x00000001u;
724 _impl_.data_.SetAllocated(data, GetArenaForAllocation());
725#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
726 if (_impl_.data_.IsDefault()) {
727 _impl_.data_.Set(
"", GetArenaForAllocation());
734 #pragma GCC diagnostic pop
750#include <google/protobuf/port_undef.inc>
void set_data(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const Large &from)
Large & operator=(const Large &from)
static const Large * internal_default_instance()
static const ClassData _class_data_
Large & operator=(Large &&from) noexcept
void UnsafeArenaSwap(Large *other)
Large * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(Large &a, Large &b)
Large(Large &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Large & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
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)
PROTOBUF_CONSTEXPR Large(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ClassData _class_data_
static const Ready * internal_default_instance()
Ready * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(Ready &a, Ready &b)
void CopyFrom(const Ready &from)
PROTOBUF_CONSTEXPR Ready(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static constexpr int kIndexInFileMessages
static const Ready & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(Ready *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Ready(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const Ready &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
Ready & operator=(Ready &&from) noexcept
Ready(Ready &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Ready & operator=(const Ready &from)
Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Sample & default_instance()
static const Sample * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Sample & operator=(const Sample &from)
Sample & operator=(Sample &&from) noexcept
void MergeFrom(const Sample &from)
friend void swap(Sample &a, Sample &b)
PROTOBUF_CONSTEXPR Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Sample(Sample &&from) noexcept
void CopyFrom(const Sample &from)
void UnsafeArenaSwap(Sample *other)
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Sample(const Sample &from)
ReadyDefaultTypeInternal _Ready_default_instance_
SampleDefaultTypeInternal _Sample_default_instance_
LargeDefaultTypeInternal _Large_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fspeed_2ftest_2eproto