4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fmetadata_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fmetadata_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include "jaiabot/messages/sensor/catalog.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <boost/units/systems/si.hpp>
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fmetadata_2eproto
47 PROTOBUF_NAMESPACE_OPEN
51 PROTOBUF_NAMESPACE_CLOSE
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
63 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
70 class MetadataDefaultTypeInternal;
72 class Metadata_Calibration;
73 class Metadata_CalibrationDefaultTypeInternal;
75 class Metadata_MetadataValue;
76 class Metadata_MetadataValueDefaultTypeInternal;
81 PROTOBUF_NAMESPACE_OPEN
82 template<> ::jaiabot::sensor::protobuf::Metadata* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::Metadata>(Arena*);
83 template<> ::jaiabot::sensor::protobuf::Metadata_Calibration* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::Metadata_Calibration>(Arena*);
84 template<> ::jaiabot::sensor::protobuf::Metadata_MetadataValue* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::Metadata_MetadataValue>(Arena*);
85 PROTOBUF_NAMESPACE_CLOSE
93 public ::PROTOBUF_NAMESPACE_ID::Message {
95 inline Metadata_Calibration() : Metadata_Calibration(nullptr) {};
96 virtual ~Metadata_Calibration();
98 Metadata_Calibration(
const Metadata_Calibration& from);
99 Metadata_Calibration(Metadata_Calibration&& from) noexcept
100 : Metadata_Calibration() {
101 *
this = ::std::move(from);
104 inline Metadata_Calibration& operator=(
const Metadata_Calibration& from) {
108 inline Metadata_Calibration& operator=(Metadata_Calibration&& from) noexcept {
109 if (GetArena() == from.GetArena()) {
110 if (
this != &from) InternalSwap(&from);
117 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
118 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
120 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
121 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
124 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
125 return GetDescriptor();
127 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
128 return GetMetadataStatic().descriptor;
130 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
131 return GetMetadataStatic().reflection;
133 static const Metadata_Calibration& default_instance();
135 static void InitAsDefaultInstance();
136 static inline const Metadata_Calibration* internal_default_instance() {
137 return reinterpret_cast<const Metadata_Calibration*
>(
140 static constexpr
int kIndexInFileMessages =
143 friend void swap(Metadata_Calibration& a, Metadata_Calibration& b) {
146 inline void Swap(Metadata_Calibration* other) {
147 if (other ==
this)
return;
148 if (GetArena() == other->GetArena()) {
151 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 void UnsafeArenaSwap(Metadata_Calibration* other) {
155 if (other ==
this)
return;
156 GOOGLE_DCHECK(GetArena() == other->GetArena());
162 inline Metadata_Calibration* New() const final {
163 return CreateMaybeMessage<Metadata_Calibration>(
nullptr);
166 Metadata_Calibration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
167 return CreateMaybeMessage<Metadata_Calibration>(arena);
169 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
170 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
171 void CopyFrom(
const Metadata_Calibration& from);
172 void MergeFrom(
const Metadata_Calibration& from);
173 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
174 bool IsInitialized() const final;
176 size_t ByteSizeLong() const final;
177 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
178 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
179 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 int GetCachedSize() const final {
return _cached_size_.Get(); }
183 inline void SharedCtor();
184 inline void SharedDtor();
185 void SetCachedSize(
int size)
const final;
186 void InternalSwap(Metadata_Calibration* other);
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "jaiabot.sensor.protobuf.Metadata.Calibration";
192 explicit Metadata_Calibration(::PROTOBUF_NAMESPACE_ID::Arena* arena);
194 static void ArenaDtor(
void*
object);
195 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
212 kTimePerformedFieldNumber = 1,
213 kTimeToRecalibrateFieldNumber = 2,
214 kConfirmationFieldNumber = 3,
217 bool has_time_performed()
const;
219 bool _internal_has_time_performed()
const;
221 void clear_time_performed();
222 ::PROTOBUF_NAMESPACE_ID::uint64 time_performed()
const;
223 void set_time_performed(::PROTOBUF_NAMESPACE_ID::uint64 value);
225 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time_performed()
const;
226 void _internal_set_time_performed(::PROTOBUF_NAMESPACE_ID::uint64 value);
230 bool has_time_to_recalibrate()
const;
232 bool _internal_has_time_to_recalibrate()
const;
234 void clear_time_to_recalibrate();
235 ::PROTOBUF_NAMESPACE_ID::uint64 time_to_recalibrate()
const;
236 void set_time_to_recalibrate(::PROTOBUF_NAMESPACE_ID::uint64 value);
238 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time_to_recalibrate()
const;
239 void _internal_set_time_to_recalibrate(::PROTOBUF_NAMESPACE_ID::uint64 value);
243 bool has_confirmation()
const;
245 bool _internal_has_confirmation()
const;
247 void clear_confirmation();
248 ::PROTOBUF_NAMESPACE_ID::int32 confirmation()
const;
249 void set_confirmation(::PROTOBUF_NAMESPACE_ID::int32 value);
251 ::PROTOBUF_NAMESPACE_ID::int32 _internal_confirmation()
const;
252 void _internal_set_confirmation(::PROTOBUF_NAMESPACE_ID::int32 value);
255 typedef boost::units::time_dimension time_performed_dimension;
257 typedef boost::units::make_scaled_unit<boost::units::unit<time_performed_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_performed_unit;
259 template<
typename Quantity >
260 void set_time_performed_with_units(Quantity value_w_units)
261 { set_time_performed(boost::units::quantity<time_performed_unit,google::protobuf::uint64 >(value_w_units).value() ); };
263 template<
typename Quantity >
264 Quantity time_performed_with_units()
const
265 {
return Quantity(time_performed() * time_performed_unit()); };
267 boost::units::quantity< time_performed_unit,google::protobuf::uint64 > time_performed_with_units()
const
268 {
return time_performed_with_units<boost::units::quantity< time_performed_unit,google::protobuf::uint64 > >(); };
270 typedef boost::units::time_dimension time_to_recalibrate_dimension;
272 typedef boost::units::make_scaled_unit<boost::units::unit<time_to_recalibrate_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_to_recalibrate_unit;
274 template<
typename Quantity >
275 void set_time_to_recalibrate_with_units(Quantity value_w_units)
276 { set_time_to_recalibrate(boost::units::quantity<time_to_recalibrate_unit,google::protobuf::uint64 >(value_w_units).value() ); };
278 template<
typename Quantity >
279 Quantity time_to_recalibrate_with_units()
const
280 {
return Quantity(time_to_recalibrate() * time_to_recalibrate_unit()); };
282 boost::units::quantity< time_to_recalibrate_unit,google::protobuf::uint64 > time_to_recalibrate_with_units()
const
283 {
return time_to_recalibrate_with_units<boost::units::quantity< time_to_recalibrate_unit,google::protobuf::uint64 > >(); };
289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
292 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
293 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
294 ::PROTOBUF_NAMESPACE_ID::uint64 time_performed_;
295 ::PROTOBUF_NAMESPACE_ID::uint64 time_to_recalibrate_;
296 ::PROTOBUF_NAMESPACE_ID::int32 confirmation_;
297 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fmetadata_2eproto;
302 public ::PROTOBUF_NAMESPACE_ID::Message {
304 inline Metadata_MetadataValue() : Metadata_MetadataValue(nullptr) {};
305 virtual ~Metadata_MetadataValue();
307 Metadata_MetadataValue(
const Metadata_MetadataValue& from);
308 Metadata_MetadataValue(Metadata_MetadataValue&& from) noexcept
309 : Metadata_MetadataValue() {
310 *
this = ::std::move(from);
313 inline Metadata_MetadataValue& operator=(
const Metadata_MetadataValue& from) {
317 inline Metadata_MetadataValue& operator=(Metadata_MetadataValue&& from) noexcept {
318 if (GetArena() == from.GetArena()) {
319 if (
this != &from) InternalSwap(&from);
326 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
327 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
329 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
330 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
333 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
334 return GetDescriptor();
336 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
337 return GetMetadataStatic().descriptor;
339 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
340 return GetMetadataStatic().reflection;
342 static const Metadata_MetadataValue& default_instance();
344 static void InitAsDefaultInstance();
345 static inline const Metadata_MetadataValue* internal_default_instance() {
346 return reinterpret_cast<const Metadata_MetadataValue*
>(
349 static constexpr
int kIndexInFileMessages =
352 friend void swap(Metadata_MetadataValue& a, Metadata_MetadataValue& b) {
355 inline void Swap(Metadata_MetadataValue* other) {
356 if (other ==
this)
return;
357 if (GetArena() == other->GetArena()) {
360 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
363 void UnsafeArenaSwap(Metadata_MetadataValue* other) {
364 if (other ==
this)
return;
365 GOOGLE_DCHECK(GetArena() == other->GetArena());
371 inline Metadata_MetadataValue* New() const final {
372 return CreateMaybeMessage<Metadata_MetadataValue>(
nullptr);
375 Metadata_MetadataValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
376 return CreateMaybeMessage<Metadata_MetadataValue>(arena);
378 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
379 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
380 void CopyFrom(
const Metadata_MetadataValue& from);
381 void MergeFrom(
const Metadata_MetadataValue& from);
382 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
383 bool IsInitialized() const final;
385 size_t ByteSizeLong() const final;
386 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
387 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
388 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
389 int GetCachedSize() const final {
return _cached_size_.Get(); }
392 inline void SharedCtor();
393 inline void SharedDtor();
394 void SetCachedSize(
int size)
const final;
395 void InternalSwap(Metadata_MetadataValue* other);
396 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
397 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
398 return "jaiabot.sensor.protobuf.Metadata.MetadataValue";
401 explicit Metadata_MetadataValue(::PROTOBUF_NAMESPACE_ID::Arena* arena);
403 static void ArenaDtor(
void*
object);
404 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
407 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
409 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
422 kValueFieldNumber = 2,
425 bool has_key()
const;
427 bool _internal_has_key()
const;
430 const std::string& key()
const;
431 void set_key(
const std::string& value);
432 void set_key(std::string&& value);
433 void set_key(
const char* value);
434 void set_key(
const char* value,
size_t size);
435 std::string* mutable_key();
436 std::string* release_key();
437 void set_allocated_key(std::string* key);
438 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
439 " string fields are deprecated and will be removed in a"
441 std::
string* unsafe_arena_release_key();
442 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
443 "
string fields are deprecated and will be removed in a"
445 void unsafe_arena_set_allocated_key(
448 const std::
string& _internal_key() const;
449 void _internal_set_key(const std::
string& value);
450 std::
string* _internal_mutable_key();
454 bool has_value() const;
456 bool _internal_has_value() const;
459 const std::
string& value() const;
460 void set_value(const std::
string& value);
461 void set_value(std::
string&& value);
462 void set_value(const
char* value);
463 void set_value(const
char* value,
size_t size);
464 std::
string* mutable_value();
465 std::
string* release_value();
466 void set_allocated_value(std::
string* value);
467 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
468 "
string fields are deprecated and will be removed in a"
470 std::
string* unsafe_arena_release_value();
471 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
472 "
string fields are deprecated and will be removed in a"
474 void unsafe_arena_set_allocated_value(
477 const std::
string& _internal_value() const;
478 void _internal_set_value(const std::
string& value);
479 std::
string* _internal_mutable_value();
487 size_t RequiredFieldsByteSizeFallback() const;
489 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
490 typedef
void InternalArenaConstructable_;
491 typedef
void DestructorSkippable_;
492 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
493 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
494 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr key_;
495 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr value_;
501 public ::PROTOBUF_NAMESPACE_ID::Message {
503 inline Metadata() : Metadata(nullptr) {};
506 Metadata(
const Metadata& from);
507 Metadata(Metadata&& from) noexcept
509 *
this = ::std::move(from);
512 inline Metadata& operator=(
const Metadata& from) {
516 inline Metadata& operator=(Metadata&& from) noexcept {
517 if (GetArena() == from.GetArena()) {
518 if (
this != &from) InternalSwap(&from);
525 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
526 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
528 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
529 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
532 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
533 return GetDescriptor();
535 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
536 return GetMetadataStatic().descriptor;
538 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
539 return GetMetadataStatic().reflection;
541 static const Metadata& default_instance();
543 static void InitAsDefaultInstance();
544 static inline const Metadata* internal_default_instance() {
545 return reinterpret_cast<const Metadata*
>(
548 static constexpr
int kIndexInFileMessages =
551 friend void swap(Metadata& a, Metadata& b) {
554 inline void Swap(Metadata* other) {
555 if (other ==
this)
return;
556 if (GetArena() == other->GetArena()) {
559 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
562 void UnsafeArenaSwap(Metadata* other) {
563 if (other ==
this)
return;
564 GOOGLE_DCHECK(GetArena() == other->GetArena());
570 inline Metadata* New() const final {
571 return CreateMaybeMessage<Metadata>(
nullptr);
574 Metadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
575 return CreateMaybeMessage<Metadata>(arena);
577 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
578 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
579 void CopyFrom(
const Metadata& from);
580 void MergeFrom(
const Metadata& from);
581 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
582 bool IsInitialized() const final;
584 size_t ByteSizeLong() const final;
585 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
586 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
587 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
588 int GetCachedSize() const final {
return _cached_size_.Get(); }
591 inline void SharedCtor();
592 inline void SharedDtor();
593 void SetCachedSize(
int size)
const final;
594 void InternalSwap(Metadata* other);
595 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
596 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
597 return "jaiabot.sensor.protobuf.Metadata";
600 explicit Metadata(::PROTOBUF_NAMESPACE_ID::Arena* arena);
602 static void ArenaDtor(
void*
object);
603 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
606 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
608 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
617 typedef Metadata_Calibration Calibration;
618 typedef Metadata_MetadataValue MetadataValue;
623 kMetadataFieldNumber = 5,
624 kCalibrationFieldNumber = 3,
625 kTimePurchasedFieldNumber = 4,
626 kSensorVersionFieldNumber = 2,
627 kPayloadBoardVersionFieldNumber = 6,
628 kInitFailedFieldNumber = 7,
629 kSensorFieldNumber = 1,
632 int metadata_size()
const;
634 int _internal_metadata_size()
const;
636 void clear_metadata();
637 ::jaiabot::sensor::protobuf::Metadata_MetadataValue* mutable_metadata(
int index);
638 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::sensor::protobuf::Metadata_MetadataValue >*
641 const ::jaiabot::sensor::protobuf::Metadata_MetadataValue& _internal_metadata(
int index)
const;
642 ::jaiabot::sensor::protobuf::Metadata_MetadataValue* _internal_add_metadata();
644 const ::jaiabot::sensor::protobuf::Metadata_MetadataValue&
metadata(
int index)
const;
645 ::jaiabot::sensor::protobuf::Metadata_MetadataValue* add_metadata();
646 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::sensor::protobuf::Metadata_MetadataValue >&
650 bool has_calibration()
const;
652 bool _internal_has_calibration()
const;
654 void clear_calibration();
655 const ::jaiabot::sensor::protobuf::Metadata_Calibration& calibration()
const;
656 ::jaiabot::sensor::protobuf::Metadata_Calibration* release_calibration();
657 ::jaiabot::sensor::protobuf::Metadata_Calibration* mutable_calibration();
658 void set_allocated_calibration(::jaiabot::sensor::protobuf::Metadata_Calibration* calibration);
660 const ::jaiabot::sensor::protobuf::Metadata_Calibration& _internal_calibration()
const;
661 ::jaiabot::sensor::protobuf::Metadata_Calibration* _internal_mutable_calibration();
663 void unsafe_arena_set_allocated_calibration(
664 ::jaiabot::sensor::protobuf::Metadata_Calibration* calibration);
665 ::jaiabot::sensor::protobuf::Metadata_Calibration* unsafe_arena_release_calibration();
668 bool has_time_purchased()
const;
670 bool _internal_has_time_purchased()
const;
672 void clear_time_purchased();
673 ::PROTOBUF_NAMESPACE_ID::uint64 time_purchased()
const;
674 void set_time_purchased(::PROTOBUF_NAMESPACE_ID::uint64 value);
676 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time_purchased()
const;
677 void _internal_set_time_purchased(::PROTOBUF_NAMESPACE_ID::uint64 value);
681 bool has_sensor_version()
const;
683 bool _internal_has_sensor_version()
const;
685 void clear_sensor_version();
686 ::PROTOBUF_NAMESPACE_ID::int32 sensor_version()
const;
687 void set_sensor_version(::PROTOBUF_NAMESPACE_ID::int32 value);
689 ::PROTOBUF_NAMESPACE_ID::int32 _internal_sensor_version()
const;
690 void _internal_set_sensor_version(::PROTOBUF_NAMESPACE_ID::int32 value);
694 bool has_payload_board_version()
const;
696 bool _internal_has_payload_board_version()
const;
698 void clear_payload_board_version();
699 ::PROTOBUF_NAMESPACE_ID::int32 payload_board_version()
const;
700 void set_payload_board_version(::PROTOBUF_NAMESPACE_ID::int32 value);
702 ::PROTOBUF_NAMESPACE_ID::int32 _internal_payload_board_version()
const;
703 void _internal_set_payload_board_version(::PROTOBUF_NAMESPACE_ID::int32 value);
707 bool has_init_failed()
const;
709 bool _internal_has_init_failed()
const;
711 void clear_init_failed();
712 bool init_failed()
const;
713 void set_init_failed(
bool value);
715 bool _internal_init_failed()
const;
716 void _internal_set_init_failed(
bool value);
720 bool has_sensor()
const;
722 bool _internal_has_sensor()
const;
732 typedef boost::units::time_dimension time_purchased_dimension;
734 typedef boost::units::make_scaled_unit<boost::units::unit<time_purchased_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_purchased_unit;
736 template<
typename Quantity >
737 void set_time_purchased_with_units(Quantity value_w_units)
738 { set_time_purchased(boost::units::quantity<time_purchased_unit,google::protobuf::uint64 >(value_w_units).value() ); };
740 template<
typename Quantity >
741 Quantity time_purchased_with_units()
const
742 {
return Quantity(time_purchased() * time_purchased_unit()); };
744 boost::units::quantity< time_purchased_unit,google::protobuf::uint64 > time_purchased_with_units()
const
745 {
return time_purchased_with_units<boost::units::quantity< time_purchased_unit,google::protobuf::uint64 > >(); };
751 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
752 typedef void InternalArenaConstructable_;
753 typedef void DestructorSkippable_;
754 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
755 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
756 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::sensor::protobuf::Metadata_MetadataValue > metadata_;
757 ::jaiabot::sensor::protobuf::Metadata_Calibration* calibration_;
758 ::PROTOBUF_NAMESPACE_ID::uint64 time_purchased_;
759 ::PROTOBUF_NAMESPACE_ID::int32 sensor_version_;
760 ::PROTOBUF_NAMESPACE_ID::int32 payload_board_version_;
763 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fmetadata_2eproto;
771 #pragma GCC diagnostic push
772 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
777 inline bool Metadata_Calibration::_internal_has_time_performed()
const {
778 bool value = (_has_bits_[0] & 0x00000001u) != 0;
781 inline bool Metadata_Calibration::has_time_performed()
const {
782 return _internal_has_time_performed();
784 inline void Metadata_Calibration::clear_time_performed() {
785 time_performed_ = PROTOBUF_ULONGLONG(0);
786 _has_bits_[0] &= ~0x00000001u;
788 inline ::PROTOBUF_NAMESPACE_ID::uint64 Metadata_Calibration::_internal_time_performed()
const {
789 return time_performed_;
791 inline ::PROTOBUF_NAMESPACE_ID::uint64 Metadata_Calibration::time_performed()
const {
793 return _internal_time_performed();
795 inline void Metadata_Calibration::_internal_set_time_performed(::PROTOBUF_NAMESPACE_ID::uint64 value) {
796 _has_bits_[0] |= 0x00000001u;
797 time_performed_ = value;
799 inline void Metadata_Calibration::set_time_performed(::PROTOBUF_NAMESPACE_ID::uint64 value) {
800 _internal_set_time_performed(value);
805 inline bool Metadata_Calibration::_internal_has_time_to_recalibrate()
const {
806 bool value = (_has_bits_[0] & 0x00000002u) != 0;
809 inline bool Metadata_Calibration::has_time_to_recalibrate()
const {
810 return _internal_has_time_to_recalibrate();
812 inline void Metadata_Calibration::clear_time_to_recalibrate() {
813 time_to_recalibrate_ = PROTOBUF_ULONGLONG(0);
814 _has_bits_[0] &= ~0x00000002u;
816 inline ::PROTOBUF_NAMESPACE_ID::uint64 Metadata_Calibration::_internal_time_to_recalibrate()
const {
817 return time_to_recalibrate_;
819 inline ::PROTOBUF_NAMESPACE_ID::uint64 Metadata_Calibration::time_to_recalibrate()
const {
821 return _internal_time_to_recalibrate();
823 inline void Metadata_Calibration::_internal_set_time_to_recalibrate(::PROTOBUF_NAMESPACE_ID::uint64 value) {
824 _has_bits_[0] |= 0x00000002u;
825 time_to_recalibrate_ = value;
827 inline void Metadata_Calibration::set_time_to_recalibrate(::PROTOBUF_NAMESPACE_ID::uint64 value) {
828 _internal_set_time_to_recalibrate(value);
833 inline bool Metadata_Calibration::_internal_has_confirmation()
const {
834 bool value = (_has_bits_[0] & 0x00000004u) != 0;
837 inline bool Metadata_Calibration::has_confirmation()
const {
838 return _internal_has_confirmation();
840 inline void Metadata_Calibration::clear_confirmation() {
842 _has_bits_[0] &= ~0x00000004u;
844 inline ::PROTOBUF_NAMESPACE_ID::int32 Metadata_Calibration::_internal_confirmation()
const {
845 return confirmation_;
847 inline ::PROTOBUF_NAMESPACE_ID::int32 Metadata_Calibration::confirmation()
const {
849 return _internal_confirmation();
851 inline void Metadata_Calibration::_internal_set_confirmation(::PROTOBUF_NAMESPACE_ID::int32 value) {
852 _has_bits_[0] |= 0x00000004u;
853 confirmation_ = value;
855 inline void Metadata_Calibration::set_confirmation(::PROTOBUF_NAMESPACE_ID::int32 value) {
856 _internal_set_confirmation(value);
865 inline bool Metadata_MetadataValue::_internal_has_key()
const {
866 bool value = (_has_bits_[0] & 0x00000001u) != 0;
869 inline bool Metadata_MetadataValue::has_key()
const {
870 return _internal_has_key();
872 inline void Metadata_MetadataValue::clear_key() {
873 key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
874 _has_bits_[0] &= ~0x00000001u;
876 inline const std::string& Metadata_MetadataValue::key()
const {
878 return _internal_key();
880 inline void Metadata_MetadataValue::set_key(
const std::string& value) {
881 _internal_set_key(value);
884 inline std::string* Metadata_MetadataValue::mutable_key() {
886 return _internal_mutable_key();
888 inline const std::string& Metadata_MetadataValue::_internal_key()
const {
891 inline void Metadata_MetadataValue::_internal_set_key(
const std::string& value) {
892 _has_bits_[0] |= 0x00000001u;
893 key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
895 inline void Metadata_MetadataValue::set_key(std::string&& value) {
896 _has_bits_[0] |= 0x00000001u;
898 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
901 inline void Metadata_MetadataValue::set_key(
const char* value) {
902 GOOGLE_DCHECK(value !=
nullptr);
903 _has_bits_[0] |= 0x00000001u;
904 key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
908 inline void Metadata_MetadataValue::set_key(
const char* value,
910 _has_bits_[0] |= 0x00000001u;
911 key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
912 reinterpret_cast<const char*
>(value), size), GetArena());
915 inline std::string* Metadata_MetadataValue::_internal_mutable_key() {
916 _has_bits_[0] |= 0x00000001u;
917 return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
919 inline std::string* Metadata_MetadataValue::release_key() {
921 if (!_internal_has_key()) {
924 _has_bits_[0] &= ~0x00000001u;
925 return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
927 inline void Metadata_MetadataValue::set_allocated_key(std::string* key) {
928 if (key !=
nullptr) {
929 _has_bits_[0] |= 0x00000001u;
931 _has_bits_[0] &= ~0x00000001u;
933 key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
937 inline std::string* Metadata_MetadataValue::unsafe_arena_release_key() {
939 GOOGLE_DCHECK(GetArena() !=
nullptr);
940 _has_bits_[0] &= ~0x00000001u;
941 return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
944 inline void Metadata_MetadataValue::unsafe_arena_set_allocated_key(
946 GOOGLE_DCHECK(GetArena() !=
nullptr);
947 if (key !=
nullptr) {
948 _has_bits_[0] |= 0x00000001u;
950 _has_bits_[0] &= ~0x00000001u;
952 key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
958 inline bool Metadata_MetadataValue::_internal_has_value()
const {
959 bool value = (_has_bits_[0] & 0x00000002u) != 0;
962 inline bool Metadata_MetadataValue::has_value()
const {
963 return _internal_has_value();
965 inline void Metadata_MetadataValue::clear_value() {
966 value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
967 _has_bits_[0] &= ~0x00000002u;
969 inline const std::string& Metadata_MetadataValue::value()
const {
971 return _internal_value();
973 inline void Metadata_MetadataValue::set_value(
const std::string& value) {
974 _internal_set_value(value);
977 inline std::string* Metadata_MetadataValue::mutable_value() {
979 return _internal_mutable_value();
981 inline const std::string& Metadata_MetadataValue::_internal_value()
const {
984 inline void Metadata_MetadataValue::_internal_set_value(
const std::string& value) {
985 _has_bits_[0] |= 0x00000002u;
986 value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
988 inline void Metadata_MetadataValue::set_value(std::string&& value) {
989 _has_bits_[0] |= 0x00000002u;
991 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
994 inline void Metadata_MetadataValue::set_value(
const char* value) {
995 GOOGLE_DCHECK(value !=
nullptr);
996 _has_bits_[0] |= 0x00000002u;
997 value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1001 inline void Metadata_MetadataValue::set_value(
const char* value,
1003 _has_bits_[0] |= 0x00000002u;
1004 value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1005 reinterpret_cast<const char*
>(value), size), GetArena());
1008 inline std::string* Metadata_MetadataValue::_internal_mutable_value() {
1009 _has_bits_[0] |= 0x00000002u;
1010 return value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1012 inline std::string* Metadata_MetadataValue::release_value() {
1014 if (!_internal_has_value()) {
1017 _has_bits_[0] &= ~0x00000002u;
1018 return value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1020 inline void Metadata_MetadataValue::set_allocated_value(std::string* value) {
1021 if (value !=
nullptr) {
1022 _has_bits_[0] |= 0x00000002u;
1024 _has_bits_[0] &= ~0x00000002u;
1026 value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value,
1030 inline std::string* Metadata_MetadataValue::unsafe_arena_release_value() {
1032 GOOGLE_DCHECK(GetArena() !=
nullptr);
1033 _has_bits_[0] &= ~0x00000002u;
1034 return value_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1037 inline void Metadata_MetadataValue::unsafe_arena_set_allocated_value(
1038 std::string* value) {
1039 GOOGLE_DCHECK(GetArena() !=
nullptr);
1040 if (value !=
nullptr) {
1041 _has_bits_[0] |= 0x00000002u;
1043 _has_bits_[0] &= ~0x00000002u;
1045 value_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1055 inline bool Metadata::_internal_has_sensor()
const {
1056 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1059 inline bool Metadata::has_sensor()
const {
1060 return _internal_has_sensor();
1062 inline void Metadata::clear_sensor() {
1064 _has_bits_[0] &= ~0x00000020u;
1071 return _internal_sensor();
1075 _has_bits_[0] |= 0x00000020u;
1079 _internal_set_sensor(value);
1084 inline bool Metadata::_internal_has_sensor_version()
const {
1085 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1088 inline bool Metadata::has_sensor_version()
const {
1089 return _internal_has_sensor_version();
1091 inline void Metadata::clear_sensor_version() {
1092 sensor_version_ = 0;
1093 _has_bits_[0] &= ~0x00000004u;
1095 inline ::PROTOBUF_NAMESPACE_ID::int32 Metadata::_internal_sensor_version()
const {
1096 return sensor_version_;
1098 inline ::PROTOBUF_NAMESPACE_ID::int32 Metadata::sensor_version()
const {
1100 return _internal_sensor_version();
1102 inline void Metadata::_internal_set_sensor_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
1103 _has_bits_[0] |= 0x00000004u;
1104 sensor_version_ = value;
1106 inline void Metadata::set_sensor_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
1107 _internal_set_sensor_version(value);
1112 inline bool Metadata::_internal_has_payload_board_version()
const {
1113 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1116 inline bool Metadata::has_payload_board_version()
const {
1117 return _internal_has_payload_board_version();
1119 inline void Metadata::clear_payload_board_version() {
1120 payload_board_version_ = 0;
1121 _has_bits_[0] &= ~0x00000008u;
1123 inline ::PROTOBUF_NAMESPACE_ID::int32 Metadata::_internal_payload_board_version()
const {
1124 return payload_board_version_;
1126 inline ::PROTOBUF_NAMESPACE_ID::int32 Metadata::payload_board_version()
const {
1128 return _internal_payload_board_version();
1130 inline void Metadata::_internal_set_payload_board_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
1131 _has_bits_[0] |= 0x00000008u;
1132 payload_board_version_ = value;
1134 inline void Metadata::set_payload_board_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
1135 _internal_set_payload_board_version(value);
1140 inline bool Metadata::_internal_has_calibration()
const {
1141 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1142 PROTOBUF_ASSUME(!value || calibration_ !=
nullptr);
1145 inline bool Metadata::has_calibration()
const {
1146 return _internal_has_calibration();
1148 inline void Metadata::clear_calibration() {
1149 if (calibration_ !=
nullptr) calibration_->Clear();
1150 _has_bits_[0] &= ~0x00000001u;
1152 inline const ::jaiabot::sensor::protobuf::Metadata_Calibration& Metadata::_internal_calibration()
const {
1153 const ::jaiabot::sensor::protobuf::Metadata_Calibration* p = calibration_;
1154 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::sensor::protobuf::Metadata_Calibration*
>(
1157 inline const ::jaiabot::sensor::protobuf::Metadata_Calibration& Metadata::calibration()
const {
1159 return _internal_calibration();
1161 inline void Metadata::unsafe_arena_set_allocated_calibration(
1162 ::jaiabot::sensor::protobuf::Metadata_Calibration* calibration) {
1163 if (GetArena() ==
nullptr) {
1164 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(calibration_);
1166 calibration_ = calibration;
1168 _has_bits_[0] |= 0x00000001u;
1170 _has_bits_[0] &= ~0x00000001u;
1174 inline ::jaiabot::sensor::protobuf::Metadata_Calibration* Metadata::release_calibration() {
1175 auto temp = unsafe_arena_release_calibration();
1176 if (GetArena() !=
nullptr) {
1177 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1181 inline ::jaiabot::sensor::protobuf::Metadata_Calibration* Metadata::unsafe_arena_release_calibration() {
1183 _has_bits_[0] &= ~0x00000001u;
1184 ::jaiabot::sensor::protobuf::Metadata_Calibration* temp = calibration_;
1185 calibration_ =
nullptr;
1188 inline ::jaiabot::sensor::protobuf::Metadata_Calibration* Metadata::_internal_mutable_calibration() {
1189 _has_bits_[0] |= 0x00000001u;
1190 if (calibration_ ==
nullptr) {
1191 auto* p = CreateMaybeMessage<::jaiabot::sensor::protobuf::Metadata_Calibration>(GetArena());
1194 return calibration_;
1196 inline ::jaiabot::sensor::protobuf::Metadata_Calibration* Metadata::mutable_calibration() {
1198 return _internal_mutable_calibration();
1200 inline void Metadata::set_allocated_calibration(::jaiabot::sensor::protobuf::Metadata_Calibration* calibration) {
1201 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1202 if (message_arena ==
nullptr) {
1203 delete calibration_;
1206 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1207 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(calibration);
1208 if (message_arena != submessage_arena) {
1209 calibration = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1210 message_arena, calibration, submessage_arena);
1212 _has_bits_[0] |= 0x00000001u;
1214 _has_bits_[0] &= ~0x00000001u;
1216 calibration_ = calibration;
1221 inline bool Metadata::_internal_has_time_purchased()
const {
1222 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1225 inline bool Metadata::has_time_purchased()
const {
1226 return _internal_has_time_purchased();
1228 inline void Metadata::clear_time_purchased() {
1229 time_purchased_ = PROTOBUF_ULONGLONG(0);
1230 _has_bits_[0] &= ~0x00000002u;
1232 inline ::PROTOBUF_NAMESPACE_ID::uint64 Metadata::_internal_time_purchased()
const {
1233 return time_purchased_;
1235 inline ::PROTOBUF_NAMESPACE_ID::uint64 Metadata::time_purchased()
const {
1237 return _internal_time_purchased();
1239 inline void Metadata::_internal_set_time_purchased(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1240 _has_bits_[0] |= 0x00000002u;
1241 time_purchased_ = value;
1243 inline void Metadata::set_time_purchased(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1244 _internal_set_time_purchased(value);
1249 inline int Metadata::_internal_metadata_size()
const {
1250 return metadata_.size();
1252 inline int Metadata::metadata_size()
const {
1253 return _internal_metadata_size();
1255 inline void Metadata::clear_metadata() {
1258 inline ::jaiabot::sensor::protobuf::Metadata_MetadataValue* Metadata::mutable_metadata(
int index) {
1260 return metadata_.Mutable(index);
1262 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::sensor::protobuf::Metadata_MetadataValue >*
1263 Metadata::mutable_metadata() {
1267 inline const ::jaiabot::sensor::protobuf::Metadata_MetadataValue& Metadata::_internal_metadata(
int index)
const {
1268 return metadata_.Get(index);
1270 inline const ::jaiabot::sensor::protobuf::Metadata_MetadataValue&
Metadata::metadata(
int index)
const {
1272 return _internal_metadata(index);
1274 inline ::jaiabot::sensor::protobuf::Metadata_MetadataValue* Metadata::_internal_add_metadata() {
1275 return metadata_.Add();
1277 inline ::jaiabot::sensor::protobuf::Metadata_MetadataValue* Metadata::add_metadata() {
1279 return _internal_add_metadata();
1281 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::sensor::protobuf::Metadata_MetadataValue >&
1288 inline bool Metadata::_internal_has_init_failed()
const {
1289 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1292 inline bool Metadata::has_init_failed()
const {
1293 return _internal_has_init_failed();
1295 inline void Metadata::clear_init_failed() {
1296 init_failed_ =
false;
1297 _has_bits_[0] &= ~0x00000010u;
1299 inline bool Metadata::_internal_init_failed()
const {
1300 return init_failed_;
1302 inline bool Metadata::init_failed()
const {
1304 return _internal_init_failed();
1306 inline void Metadata::_internal_set_init_failed(
bool value) {
1307 _has_bits_[0] |= 0x00000010u;
1308 init_failed_ = value;
1310 inline void Metadata::set_init_failed(
bool value) {
1311 _internal_set_init_failed(value);
1316 #pragma GCC diagnostic pop
1331 #include <google/protobuf/port_undef.inc>
constexpr goby::middleware::Group metadata
Metadata_CalibrationDefaultTypeInternal _Metadata_Calibration_default_instance_
bool Sensor_IsValid(int value)
Metadata_MetadataValueDefaultTypeInternal _Metadata_MetadataValue_default_instance_
MetadataDefaultTypeInternal _Metadata_default_instance_
protobuf::DeviceMetadata metadata()