4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fkinematic_5festimate_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/vector3d.pb.h"
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto GZ_MSGS_VISIBLE
41 static const ::google::protobuf::internal::ParseTableField entries[];
42 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43 static const ::google::protobuf::internal::ParseTable schema[1];
44 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45 static const ::google::protobuf::internal::SerializationTable serialization_table[];
46 static const ::google::protobuf::uint32 offsets[];
52 class DVLKinematicEstimate;
53 class DVLKinematicEstimateDefaultTypeInternal;
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::DVLKinematicEstimate* Arena::CreateMaybeMessage<::gz::msgs::DVLKinematicEstimate>(Arena*);
79 return ::google::protobuf::internal::NameOfEnum(
84 return ::google::protobuf::internal::ParseNamedEnum<DVLKinematicEstimate_ReferenceType>(
103 *
this = ::std::move(from);
106 inline DVLKinematicEstimate& operator=(DVLKinematicEstimate&& from) noexcept {
107 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
108 if (
this != &from) InternalSwap(&from);
115 static const ::google::protobuf::Descriptor* descriptor();
116 static const DVLKinematicEstimate& default_instance();
118 static void InitAsDefaultInstance();
123 static constexpr
int kIndexInFileMessages =
134 return CreateMaybeMessage<DVLKinematicEstimate>(NULL);
138 return CreateMaybeMessage<DVLKinematicEstimate>(arena);
140 void CopyFrom(const ::google::protobuf::Message& from)
final;
141 void MergeFrom(const ::google::protobuf::Message& from)
final;
145 bool IsInitialized() const final;
147 size_t ByteSizeLong() const final;
148 bool MergePartialFromCodedStream(
149 ::
google::protobuf::io::CodedInputStream* input) final;
150 void SerializeWithCachedSizes(
151 ::
google::protobuf::io::CodedOutputStream* output) const final;
152 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
153 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 int GetCachedSize() const final {
return _cached_size_.Get(); }
159 void SetCachedSize(
int size)
const final;
162 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
165 inline void* MaybeArenaPtr()
const {
170 ::google::protobuf::Metadata GetMetadata() const final;
181 static inline
bool ReferenceType_IsValid(
int value) {
188 static const int ReferenceType_ARRAYSIZE =
190 static inline const ::google::protobuf::EnumDescriptor*
205 int covariance_size()
const;
206 void clear_covariance();
207 static const int kCovarianceFieldNumber = 3;
208 double covariance(
int index)
const;
209 void set_covariance(
int index,
double value);
210 void add_covariance(
double value);
211 const ::google::protobuf::RepeatedField< double >&
213 ::google::protobuf::RepeatedField< double >*
214 mutable_covariance();
217 bool has_mean()
const;
219 static const int kMeanFieldNumber = 2;
221 const ::gz::msgs::Vector3d& _internal_mean()
const;
223 const ::gz::msgs::Vector3d&
mean()
const;
229 void clear_reference();
230 static const int kReferenceFieldNumber = 1;
237 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
238 ::google::protobuf::RepeatedField< double > covariance_;
239 mutable int _covariance_cached_byte_size_;
242 mutable ::google::protobuf::internal::CachedSize _cached_size_;
243 friend struct ::protobuf_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto::TableStruct;
251 #pragma GCC diagnostic push
252 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
274 inline const ::gz::msgs::Vector3d& DVLKinematicEstimate::_internal_mean()
const {
278 const ::gz::msgs::Vector3d* p = mean_;
293 auto* p = CreateMaybeMessage<::gz::msgs::Vector3d>(GetArenaNoVirtual());
300 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
301 if (message_arena == NULL) {
302 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(mean_);
305 ::google::protobuf::Arena* submessage_arena = NULL;
306 if (message_arena != submessage_arena) {
307 mean = ::google::protobuf::internal::GetOwnedMessage(
308 message_arena,
mean, submessage_arena);
320 return covariance_.size();
327 return covariance_.Get(index);
330 covariance_.Set(index, value);
334 covariance_.Add(value);
337 inline const ::google::protobuf::RepeatedField< double >&
342 inline ::google::protobuf::RepeatedField< double >*
349 #pragma GCC diagnostic pop
362 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::DVLKinematicEstimate_ReferenceType>() {
371 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fdvl_5fkinematic_5festimate_2eproto