4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2flog_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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
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>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
57struct CTDSampleDefaultTypeInternal;
60struct TempSampleDefaultTypeInternal;
66PROTOBUF_NAMESPACE_OPEN
69PROTOBUF_NAMESPACE_CLOSE
78 public ::PROTOBUF_NAMESPACE_ID::Message {
82 explicit PROTOBUF_CONSTEXPR
CTDSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
87 *
this = ::std::move(from);
95 if (
this == &from)
return *
this;
96 if (GetOwningArena() == from.GetOwningArena()
97 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
98 && GetOwningArena() !=
nullptr
109 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
112 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
128 return reinterpret_cast<const CTDSample*
>(
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 CTDSample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
159 return CreateMaybeMessage<CTDSample>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 CTDSample::MergeImpl(*
this, from);
168 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
176 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
182 void SetCachedSize(
int size)
const final;
186 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188 return "goby.test.middleware.protobuf.CTDSample";
191 explicit CTDSample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
192 bool is_message_owned =
false);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
212 bool _internal_has_salinity()
const;
218 double _internal_salinity()
const;
219 void _internal_set_salinity(
double value);
225 bool _internal_has_temperature()
const;
231 double _internal_temperature()
const;
232 void _internal_set_temperature(
double value);
238 bool _internal_has_depth()
const;
241 double depth()
const;
244 double _internal_depth()
const;
245 void _internal_set_depth(
double value);
253 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
254 typedef void InternalArenaConstructable_;
255 typedef void DestructorSkippable_;
257 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
258 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
264 friend struct ::TableStruct_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto;
269 public ::PROTOBUF_NAMESPACE_ID::Message {
273 explicit PROTOBUF_CONSTEXPR
TempSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
278 *
this = ::std::move(from);
286 if (
this == &from)
return *
this;
287 if (GetOwningArena() == from.GetOwningArena()
288 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
289 && GetOwningArena() !=
nullptr
300 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
303 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
306 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
307 return GetDescriptor();
310 return default_instance().GetMetadata().descriptor;
313 return default_instance().GetMetadata().reflection;
316 return *internal_default_instance();
322 static constexpr int kIndexInFileMessages =
329 if (other ==
this)
return;
330 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
331 if (GetOwningArena() !=
nullptr &&
332 GetOwningArena() == other->GetOwningArena()) {
334 if (GetOwningArena() == other->GetOwningArena()) {
338 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
342 if (other ==
this)
return;
343 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
349 TempSample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
350 return CreateMaybeMessage<TempSample>(arena);
352 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
354 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
356 TempSample::MergeImpl(*
this, from);
359 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
361 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
362 bool IsInitialized() const final;
365 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
366 uint8_t* _InternalSerialize(
367 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
368 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
371 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
373 void SetCachedSize(
int size)
const final;
377 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
378 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
379 return "goby.test.middleware.protobuf.TempSample";
383 bool is_message_owned =
false);
387 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
389 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
396 kTemperatureFieldNumber = 1,
399 bool has_temperature()
const;
401 bool _internal_has_temperature()
const;
403 void clear_temperature();
404 double temperature()
const;
405 void set_temperature(
double value);
407 double _internal_temperature()
const;
408 void _internal_set_temperature(
double value);
415 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
416 typedef void InternalArenaConstructable_;
417 typedef void DestructorSkippable_;
419 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
420 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
424 friend struct ::TableStruct_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto;
432 #pragma GCC diagnostic push
433 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
438inline bool CTDSample::_internal_has_salinity()
const {
439 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
442inline bool CTDSample::has_salinity()
const {
443 return _internal_has_salinity();
445inline void CTDSample::clear_salinity() {
446 _impl_.salinity_ = 0;
447 _impl_._has_bits_[0] &= ~0x00000001u;
449inline double CTDSample::_internal_salinity()
const {
450 return _impl_.salinity_;
452inline double CTDSample::salinity()
const {
454 return _internal_salinity();
456inline void CTDSample::_internal_set_salinity(
double value) {
457 _impl_._has_bits_[0] |= 0x00000001u;
458 _impl_.salinity_ = value;
460inline void CTDSample::set_salinity(
double value) {
461 _internal_set_salinity(value);
466inline bool CTDSample::_internal_has_temperature()
const {
467 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
470inline bool CTDSample::has_temperature()
const {
471 return _internal_has_temperature();
473inline void CTDSample::clear_temperature() {
474 _impl_.temperature_ = 0;
475 _impl_._has_bits_[0] &= ~0x00000002u;
477inline double CTDSample::_internal_temperature()
const {
478 return _impl_.temperature_;
480inline double CTDSample::temperature()
const {
482 return _internal_temperature();
484inline void CTDSample::_internal_set_temperature(
double value) {
485 _impl_._has_bits_[0] |= 0x00000002u;
486 _impl_.temperature_ = value;
488inline void CTDSample::set_temperature(
double value) {
489 _internal_set_temperature(value);
494inline bool CTDSample::_internal_has_depth()
const {
495 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
498inline bool CTDSample::has_depth()
const {
499 return _internal_has_depth();
501inline void CTDSample::clear_depth() {
503 _impl_._has_bits_[0] &= ~0x00000004u;
505inline double CTDSample::_internal_depth()
const {
506 return _impl_.depth_;
508inline double CTDSample::depth()
const {
510 return _internal_depth();
512inline void CTDSample::_internal_set_depth(
double value) {
513 _impl_._has_bits_[0] |= 0x00000004u;
514 _impl_.depth_ = value;
516inline void CTDSample::set_depth(
double value) {
517 _internal_set_depth(value);
526inline bool TempSample::_internal_has_temperature()
const {
527 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
530inline bool TempSample::has_temperature()
const {
531 return _internal_has_temperature();
533inline void TempSample::clear_temperature() {
534 _impl_.temperature_ = 0;
535 _impl_._has_bits_[0] &= ~0x00000001u;
537inline double TempSample::_internal_temperature()
const {
538 return _impl_.temperature_;
540inline double TempSample::temperature()
const {
542 return _internal_temperature();
544inline void TempSample::_internal_set_temperature(
double value) {
545 _impl_._has_bits_[0] |= 0x00000001u;
546 _impl_.temperature_ = value;
548inline void TempSample::set_temperature(
double value) {
549 _internal_set_temperature(value);
554 #pragma GCC diagnostic pop
568#include <google/protobuf/port_undef.inc>
static const CTDSample & default_instance()
CTDSample & operator=(CTDSample &&from) noexcept
static constexpr int kIndexInFileMessages
void MergeFrom(const CTDSample &from)
double temperature() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_depth(double value)
void set_salinity(double value)
int GetCachedSize() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(CTDSample *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const CTDSample &from)
PROTOBUF_CONSTEXPR CTDSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
CTDSample & operator=(const CTDSample &from)
void set_temperature(double value)
static const CTDSample * internal_default_instance()
bool IsInitialized() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(CTDSample *other)
@ kTemperatureFieldNumber
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_temperature() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
bool has_salinity() const
friend void swap(CTDSample &a, CTDSample &b)
CTDSample(CTDSample &&from) noexcept
size_t ByteSizeLong() const final
CTDSample(const CTDSample &from)
CTDSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ClassData _class_data_
CTDSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(TempSample *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const TempSample &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TempSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ClassData _class_data_
PROTOBUF_CONSTEXPR TempSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const TempSample & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
TempSample(TempSample &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void Swap(TempSample *other)
TempSample & operator=(const TempSample &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TempSample(const TempSample &from)
friend void swap(TempSample &a, TempSample &b)
TempSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TempSample & operator=(TempSample &&from) noexcept
void CopyFrom(const TempSample &from)
static const TempSample * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto
CTDSampleDefaultTypeInternal _CTDSample_default_instance_
TempSampleDefaultTypeInternal _TempSample_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]