4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsalinity_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsalinity_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>
23 #include <google/protobuf/arena.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>
29 #include <google/protobuf/message.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 <boost/units/systems/si.hpp>
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fsalinity_2eproto
46 static const ::google::protobuf::internal::ParseTableField
entries[];
47 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
48 static const ::google::protobuf::internal::ParseTable
schema[1];
51 static const ::google::protobuf::uint32
offsets[];
58 class SalinityDataDefaultTypeInternal;
86 *
this = ::std::move(from);
90 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
91 if (
this != &from) InternalSwap(&from);
99 return _internal_metadata_.unknown_fields();
102 return _internal_metadata_.mutable_unknown_fields();
105 static const ::google::protobuf::Descriptor*
descriptor();
124 return CreateMaybeMessage<SalinityData>(NULL);
128 return CreateMaybeMessage<SalinityData>(arena);
130 void CopyFrom(const ::google::protobuf::Message& from)
final;
131 void MergeFrom(const ::google::protobuf::Message& from)
final;
139 ::
google::protobuf::io::CodedInputStream* input) final;
141 ::
google::protobuf::io::CodedOutputStream* output) const final;
143 bool deterministic, ::
google::protobuf::uint8* target) const final;
149 void SetCachedSize(
int size)
const final;
152 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
155 inline void* MaybeArenaPtr()
const {
160 ::google::protobuf::Metadata
GetMetadata() const final;
196 void set_has_conductivity();
197 void clear_has_conductivity();
198 void set_has_total_dissolved_solids();
199 void clear_has_total_dissolved_solids();
200 void set_has_salinity();
201 void clear_has_salinity();
202 void set_has_specific_gravity();
203 void clear_has_specific_gravity();
206 size_t RequiredFieldsByteSizeFallback() const;
208 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
209 ::
google::protobuf::internal::HasBits<1> _has_bits_;
210 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
211 double conductivity_;
212 double total_dissolved_solids_;
214 double specific_gravity_;
223 #pragma GCC diagnostic push
224 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
230 return (_has_bits_[0] & 0x00000001u) != 0;
232 inline void SalinityData::set_has_conductivity() {
233 _has_bits_[0] |= 0x00000001u;
235 inline void SalinityData::clear_has_conductivity() {
236 _has_bits_[0] &= ~0x00000001u;
240 clear_has_conductivity();
244 return conductivity_;
247 set_has_conductivity();
248 conductivity_ = value;
254 return (_has_bits_[0] & 0x00000002u) != 0;
256 inline void SalinityData::set_has_total_dissolved_solids() {
257 _has_bits_[0] |= 0x00000002u;
259 inline void SalinityData::clear_has_total_dissolved_solids() {
260 _has_bits_[0] &= ~0x00000002u;
263 total_dissolved_solids_ = 0;
264 clear_has_total_dissolved_solids();
268 return total_dissolved_solids_;
271 set_has_total_dissolved_solids();
272 total_dissolved_solids_ = value;
278 return (_has_bits_[0] & 0x00000004u) != 0;
280 inline void SalinityData::set_has_salinity() {
281 _has_bits_[0] |= 0x00000004u;
283 inline void SalinityData::clear_has_salinity() {
284 _has_bits_[0] &= ~0x00000004u;
288 clear_has_salinity();
302 return (_has_bits_[0] & 0x00000008u) != 0;
304 inline void SalinityData::set_has_specific_gravity() {
305 _has_bits_[0] |= 0x00000008u;
307 inline void SalinityData::clear_has_specific_gravity() {
308 _has_bits_[0] &= ~0x00000008u;
311 specific_gravity_ = 0;
312 clear_has_specific_gravity();
316 return specific_gravity_;
319 set_has_specific_gravity();
320 specific_gravity_ = value;
325 #pragma GCC diagnostic pop
335 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsalinity_2eproto