4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[2];
55 namespace middleware {
58 class CTDSampleDefaultTypeInternal;
61 class TempSampleDefaultTypeInternal;
75 namespace middleware {
94 *
this = ::std::move(from);
98 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
99 if (
this != &from) InternalSwap(&from);
107 return _internal_metadata_.unknown_fields();
110 return _internal_metadata_.mutable_unknown_fields();
113 static const ::google::protobuf::Descriptor*
descriptor();
118 return reinterpret_cast<const CTDSample*
>(
132 return CreateMaybeMessage<CTDSample>(NULL);
136 return CreateMaybeMessage<CTDSample>(arena);
138 void CopyFrom(const ::google::protobuf::Message& from)
final;
139 void MergeFrom(const ::google::protobuf::Message& from)
final;
147 ::
google::protobuf::io::CodedInputStream* input) final;
149 ::
google::protobuf::io::CodedOutputStream* output) const final;
151 bool deterministic, ::
google::protobuf::uint8* target) const final;
157 void SetCachedSize(
int size)
const final;
160 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
163 inline void* MaybeArenaPtr()
const {
192 double depth() const;
198 void set_has_salinity();
199 void clear_has_salinity();
200 void set_has_temperature();
201 void clear_has_temperature();
202 void set_has_depth();
203 void clear_has_depth();
205 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
206 ::google::protobuf::internal::HasBits<1> _has_bits_;
207 mutable ::google::protobuf::internal::CachedSize _cached_size_;
211 friend struct ::protobuf_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto::TableStruct;
229 *
this = ::std::move(from);
233 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
234 if (
this != &from) InternalSwap(&from);
242 return _internal_metadata_.unknown_fields();
245 return _internal_metadata_.mutable_unknown_fields();
248 static const ::google::protobuf::Descriptor*
descriptor();
267 return CreateMaybeMessage<TempSample>(NULL);
271 return CreateMaybeMessage<TempSample>(arena);
273 void CopyFrom(const ::google::protobuf::Message& from)
final;
274 void MergeFrom(const ::google::protobuf::Message& from)
final;
282 ::
google::protobuf::io::CodedInputStream* input) final;
284 ::
google::protobuf::io::CodedOutputStream* output) const final;
286 bool deterministic, ::
google::protobuf::uint8* target) const final;
292 void SetCachedSize(
int size)
const final;
295 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
298 inline void* MaybeArenaPtr()
const {
318 void set_has_temperature();
319 void clear_has_temperature();
321 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
322 ::
google::protobuf::internal::HasBits<1> _has_bits_;
323 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
333 #pragma GCC diagnostic push
334 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
340 return (_has_bits_[0] & 0x00000001u) != 0;
342 inline void CTDSample::set_has_salinity() {
343 _has_bits_[0] |= 0x00000001u;
345 inline void CTDSample::clear_has_salinity() {
346 _has_bits_[0] &= ~0x00000001u;
350 clear_has_salinity();
364 return (_has_bits_[0] & 0x00000002u) != 0;
366 inline void CTDSample::set_has_temperature() {
367 _has_bits_[0] |= 0x00000002u;
369 inline void CTDSample::clear_has_temperature() {
370 _has_bits_[0] &= ~0x00000002u;
374 clear_has_temperature();
381 set_has_temperature();
382 temperature_ = value;
388 return (_has_bits_[0] & 0x00000004u) != 0;
390 inline void CTDSample::set_has_depth() {
391 _has_bits_[0] |= 0x00000004u;
393 inline void CTDSample::clear_has_depth() {
394 _has_bits_[0] &= ~0x00000004u;
416 return (_has_bits_[0] & 0x00000001u) != 0;
418 inline void TempSample::set_has_temperature() {
419 _has_bits_[0] |= 0x00000001u;
421 inline void TempSample::clear_has_temperature() {
422 _has_bits_[0] &= ~0x00000001u;
426 clear_has_temperature();
433 set_has_temperature();
434 temperature_ = value;
439 #pragma GCC diagnostic pop
453 #endif // PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2flog_2ftest_2eproto