4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fppk_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fppk_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>
24#include <google/protobuf/arena.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>
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 <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_jaiabot_2fmessages_2fppk_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
55struct PPKCommandDefaultTypeInternal;
58struct UBXChunkDefaultTypeInternal;
62PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
81 static_assert(::std::is_same<T, PPKCommand_PPKCommandType>::value ||
82 ::std::is_integral<T>::value,
83 "Incorrect type passed to function PPKCommand_PPKCommandType_Name.");
84 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
89 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PPKCommand_PPKCommandType>(
95 public ::PROTOBUF_NAMESPACE_ID::Message {
99 explicit PROTOBUF_CONSTEXPR
PPKCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
104 *
this = ::std::move(from);
112 if (
this == &from)
return *
this;
113 if (GetOwningArena() == from.GetOwningArena()
114 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
115 && GetOwningArena() !=
nullptr
126 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
129 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
132 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
155 if (other ==
this)
return;
156 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
157 if (GetOwningArena() !=
nullptr &&
158 GetOwningArena() == other->GetOwningArena()) {
160 if (GetOwningArena() == other->GetOwningArena()) {
164 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
168 if (other ==
this)
return;
169 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
175 PPKCommand*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
176 return CreateMaybeMessage<PPKCommand>(arena);
178 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
180 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
182 PPKCommand::MergeImpl(*
this, from);
185 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
187 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
193 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
197 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
199 void SetCachedSize(
int size)
const final;
203 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
204 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
205 return "jaiabot.protobuf.PPKCommand";
209 bool is_message_owned =
false);
213 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
233 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
239 static_assert(::std::is_same<T, PPKCommandType>::value ||
240 ::std::is_integral<T>::value,
241 "Incorrect type passed to function PPKCommandType_Name.");
257 bool _internal_has_type()
const;
271 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
272 typedef void InternalArenaConstructable_;
273 typedef void DestructorSkippable_;
275 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
276 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
280 friend struct ::TableStruct_jaiabot_2fmessages_2fppk_2eproto;
285 public ::PROTOBUF_NAMESPACE_ID::Message {
289 explicit PROTOBUF_CONSTEXPR
UBXChunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
294 *
this = ::std::move(from);
302 if (
this == &from)
return *
this;
303 if (GetOwningArena() == from.GetOwningArena()
304 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
305 && GetOwningArena() !=
nullptr
316 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
319 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
322 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
323 return GetDescriptor();
326 return default_instance().GetMetadata().descriptor;
329 return default_instance().GetMetadata().reflection;
332 return *internal_default_instance();
335 return reinterpret_cast<const UBXChunk*
>(
338 static constexpr int kIndexInFileMessages =
345 if (other ==
this)
return;
346 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
347 if (GetOwningArena() !=
nullptr &&
348 GetOwningArena() == other->GetOwningArena()) {
350 if (GetOwningArena() == other->GetOwningArena()) {
354 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
358 if (other ==
this)
return;
359 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
365 UBXChunk*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
366 return CreateMaybeMessage<UBXChunk>(arena);
368 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
370 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
372 UBXChunk::MergeImpl(*
this, from);
375 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
377 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
378 bool IsInitialized() const final;
380 size_t ByteSizeLong() const final;
381 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
382 uint8_t* _InternalSerialize(
383 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
384 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
387 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
389 void SetCachedSize(
int size)
const final;
393 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
394 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
395 return "jaiabot.protobuf.UBXChunk";
398 explicit UBXChunk(::PROTOBUF_NAMESPACE_ID::Arena* arena,
399 bool is_message_owned =
false);
403 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
405 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
412 kDataFieldNumber = 1,
415 bool has_data()
const;
417 bool _internal_has_data()
const;
420 const std::string& data()
const;
421 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
423 std::string* mutable_data();
424 PROTOBUF_NODISCARD std::string* release_data();
425 void set_allocated_data(std::string* data);
427 const std::string& _internal_data()
const;
428 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_data(
const std::string& value);
429 std::string* _internal_mutable_data();
436 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
437 typedef void InternalArenaConstructable_;
438 typedef void DestructorSkippable_;
440 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
441 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
442 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
445 friend struct ::TableStruct_jaiabot_2fmessages_2fppk_2eproto;
453 #pragma GCC diagnostic push
454 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
459inline bool PPKCommand::_internal_has_type()
const {
460 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
463inline bool PPKCommand::has_type()
const {
464 return _internal_has_type();
466inline void PPKCommand::clear_type() {
468 _impl_._has_bits_[0] &= ~0x00000001u;
470inline ::jaiabot::protobuf::PPKCommand_PPKCommandType PPKCommand::_internal_type()
const {
473inline ::jaiabot::protobuf::PPKCommand_PPKCommandType PPKCommand::type()
const {
475 return _internal_type();
479 _impl_._has_bits_[0] |= 0x00000001u;
480 _impl_.type_ = value;
483 _internal_set_type(value);
492inline bool UBXChunk::_internal_has_data()
const {
493 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
496inline bool UBXChunk::has_data()
const {
497 return _internal_has_data();
499inline void UBXChunk::clear_data() {
500 _impl_.data_.ClearToEmpty();
501 _impl_._has_bits_[0] &= ~0x00000001u;
503inline const std::string& UBXChunk::data()
const {
505 return _internal_data();
507template <
typename ArgT0,
typename... ArgT>
508inline PROTOBUF_ALWAYS_INLINE
509void UBXChunk::set_data(ArgT0&& arg0, ArgT... args) {
510 _impl_._has_bits_[0] |= 0x00000001u;
511 _impl_.data_.SetBytes(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
514inline std::string* UBXChunk::mutable_data() {
515 std::string* _s = _internal_mutable_data();
519inline const std::string& UBXChunk::_internal_data()
const {
520 return _impl_.data_.Get();
522inline void UBXChunk::_internal_set_data(
const std::string& value) {
523 _impl_._has_bits_[0] |= 0x00000001u;
524 _impl_.data_.Set(value, GetArenaForAllocation());
526inline std::string* UBXChunk::_internal_mutable_data() {
527 _impl_._has_bits_[0] |= 0x00000001u;
528 return _impl_.data_.Mutable(GetArenaForAllocation());
530inline std::string* UBXChunk::release_data() {
532 if (!_internal_has_data()) {
535 _impl_._has_bits_[0] &= ~0x00000001u;
536 auto* p = _impl_.data_.Release();
537#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
538 if (_impl_.data_.IsDefault()) {
539 _impl_.data_.Set(
"", GetArenaForAllocation());
544inline void UBXChunk::set_allocated_data(std::string* data) {
545 if (data !=
nullptr) {
546 _impl_._has_bits_[0] |= 0x00000001u;
548 _impl_._has_bits_[0] &= ~0x00000001u;
550 _impl_.data_.SetAllocated(data, GetArenaForAllocation());
551#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
552 if (_impl_.data_.IsDefault()) {
553 _impl_.data_.Set(
"", GetArenaForAllocation());
560 #pragma GCC diagnostic pop
570PROTOBUF_NAMESPACE_OPEN
575 return ::jaiabot::protobuf::PPKCommand_PPKCommandType_descriptor();
578PROTOBUF_NAMESPACE_CLOSE
582#include <google/protobuf/port_undef.inc>
int GetCachedSize() const final
static constexpr int PPKCommandType_ARRAYSIZE
PPKCommand(PPKCommand &&from) noexcept
PPKCommand(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
static bool PPKCommandType_IsValid(int value)
void CopyFrom(const PPKCommand &from)
void MergeFrom(const PPKCommand &from)
void set_type(::jaiabot::protobuf::PPKCommand_PPKCommandType value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PPKCommandType_descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool IsInitialized() const final
PPKCommand(const PPKCommand &from)
static const std::string & PPKCommandType_Name(T enum_t_value)
void Swap(PPKCommand *other)
static const PPKCommand & default_instance()
static bool PPKCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PPKCommandType *value)
static constexpr PPKCommandType PPKCommandType_MIN
::jaiabot::protobuf::PPKCommand_PPKCommandType type() const
PPKCommand & operator=(const PPKCommand &from)
static constexpr int kIndexInFileMessages
PPKCommand & operator=(PPKCommand &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static constexpr PPKCommandType START_RECORDING
static constexpr PPKCommandType STOP_RECORDING
static const PPKCommand * internal_default_instance()
size_t ByteSizeLong() const final
static constexpr PPKCommandType PPKCommandType_MAX
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR PPKCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(PPKCommand *other)
PPKCommand * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(PPKCommand &a, PPKCommand &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
UBXChunk(UBXChunk &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
UBXChunk(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ClassData _class_data_
void set_data(ArgT0 &&arg0, ArgT... args)
UBXChunk * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(UBXChunk &a, UBXChunk &b)
void UnsafeArenaSwap(UBXChunk *other)
static const UBXChunk & default_instance()
UBXChunk(const UBXChunk &from)
UBXChunk & operator=(UBXChunk &&from) noexcept
void MergeFrom(const UBXChunk &from)
UBXChunk & operator=(const UBXChunk &from)
PROTOBUF_CONSTEXPR UBXChunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(UBXChunk *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const UBXChunk * internal_default_instance()
void CopyFrom(const UBXChunk &from)
constexpr PPKCommand_PPKCommandType PPKCommand_PPKCommandType_PPKCommandType_MAX
const std::string & PPKCommand_PPKCommandType_Name(T enum_t_value)
constexpr PPKCommand_PPKCommandType PPKCommand_PPKCommandType_PPKCommandType_MIN
bool PPKCommand_PPKCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PPKCommand_PPKCommandType *value)
bool PPKCommand_PPKCommandType_IsValid(int value)
PPKCommand_PPKCommandType
@ PPKCommand_PPKCommandType_STOP_RECORDING
@ PPKCommand_PPKCommandType_START_RECORDING
PPKCommandDefaultTypeInternal _PPKCommand_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PPKCommand_PPKCommandType_descriptor()
constexpr int PPKCommand_PPKCommandType_PPKCommandType_ARRAYSIZE
UBXChunkDefaultTypeInternal _UBXChunk_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fppk_2eproto
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::PPKCommand_PPKCommandType >()
static const uint32_t offsets[]