4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fnavigation_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"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <boost/units/systems/si.hpp>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59struct DatumUpdateDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
66PROTOBUF_NAMESPACE_CLOSE
74 public ::PROTOBUF_NAMESPACE_ID::Message {
78 explicit PROTOBUF_CONSTEXPR
DatumUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83 *
this = ::std::move(from);
91 if (
this == &from)
return *
this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() !=
nullptr
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 if (other ==
this)
return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() !=
nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
139 if (GetOwningArena() == other->GetOwningArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
155 return CreateMaybeMessage<DatumUpdate>(arena);
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 DatumUpdate::MergeImpl(*
this, from);
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
178 void SetCachedSize(
int size)
const final;
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.middleware.protobuf.DatumUpdate";
188 bool is_message_owned =
false);
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
206 bool _internal_has_datum()
const;
209 const ::goby::middleware::protobuf::LatLonPoint&
datum()
const;
210 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint*
release_datum();
214 const ::goby::middleware::protobuf::LatLonPoint& _internal_datum()
const;
225 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
226 typedef void InternalArenaConstructable_;
227 typedef void DestructorSkippable_;
229 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
230 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
234 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto;
242 #pragma GCC diagnostic push
243 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
248inline bool DatumUpdate::_internal_has_datum()
const {
249 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
250 PROTOBUF_ASSUME(!value ||
_impl_.datum_ !=
nullptr);
254 return _internal_has_datum();
256inline const ::goby::middleware::protobuf::LatLonPoint& DatumUpdate::_internal_datum()
const {
257 const ::goby::middleware::protobuf::LatLonPoint* p =
_impl_.datum_;
263 return _internal_datum();
267 if (GetArenaForAllocation() ==
nullptr) {
268 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.datum_);
272 _impl_._has_bits_[0] |= 0x00000001u;
274 _impl_._has_bits_[0] &= ~0x00000001u;
279 _impl_._has_bits_[0] &= ~0x00000001u;
282#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
283 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
284 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
285 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
287 if (GetArenaForAllocation() !=
nullptr) {
288 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
295 _impl_._has_bits_[0] &= ~0x00000001u;
300inline ::goby::middleware::protobuf::LatLonPoint* DatumUpdate::_internal_mutable_datum() {
301 _impl_._has_bits_[0] |= 0x00000001u;
302 if (
_impl_.datum_ ==
nullptr) {
314 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
315 if (message_arena ==
nullptr) {
316 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.datum_);
319 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
320 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
321 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
datum));
322 if (message_arena != submessage_arena) {
323 datum = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
324 message_arena,
datum, submessage_arena);
326 _impl_._has_bits_[0] |= 0x00000001u;
328 _impl_._has_bits_[0] &= ~0x00000001u;
335 #pragma GCC diagnostic pop
346#include <google/protobuf/port_undef.inc>
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void MergeFrom(const DatumUpdate &from)
static constexpr int kIndexInFileMessages
static const DatumUpdate * internal_default_instance()
DatumUpdate & operator=(DatumUpdate &&from) noexcept
DatumUpdate(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
bool IsInitialized() const final
void CopyFrom(const DatumUpdate &from)
static const DatumUpdate & default_instance()
::goby::middleware::protobuf::LatLonPoint * unsafe_arena_release_datum()
PROTOBUF_CONSTEXPR DatumUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD::goby::middleware::protobuf::LatLonPoint * release_datum()
DatumUpdate * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::goby::middleware::protobuf::LatLonPoint * mutable_datum()
DatumUpdate(const DatumUpdate &from)
void UnsafeArenaSwap(DatumUpdate *other)
int GetCachedSize() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::goby::middleware::protobuf::LatLonPoint & datum() const
void Swap(DatumUpdate *other)
static const ClassData _class_data_
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_datum(::goby::middleware::protobuf::LatLonPoint *datum)
DatumUpdate(DatumUpdate &&from) noexcept
friend void swap(DatumUpdate &a, DatumUpdate &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void unsafe_arena_set_allocated_datum(::goby::middleware::protobuf::LatLonPoint *datum)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DatumUpdate & operator=(const DatumUpdate &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::LatLonPoint * Arena::CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint >(Arena *)
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
DatumUpdateDefaultTypeInternal _DatumUpdate_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fnavigation_2eproto
static const uint32_t offsets[]