JaiaBot 2.7.0+40+ge813615b
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
motor.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/motor.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmotor_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmotor_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.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>
39
40#include <boost/units/systems/temperature/celsius.hpp>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fmotor_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
52 static const uint32_t offsets[];
53};
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmotor_2eproto;
55namespace jaiabot {
56namespace protobuf {
57class Motor;
58struct MotorDefaultTypeInternal;
59extern MotorDefaultTypeInternal _Motor_default_instance_;
60class MotorUsageBin;
61struct MotorUsageBinDefaultTypeInternal;
62extern MotorUsageBinDefaultTypeInternal _MotorUsageBin_default_instance_;
63class MotorUsageReport;
64struct MotorUsageReportDefaultTypeInternal;
65extern MotorUsageReportDefaultTypeInternal _MotorUsageReport_default_instance_;
66class Motor_Thermistor;
67struct Motor_ThermistorDefaultTypeInternal;
68extern Motor_ThermistorDefaultTypeInternal _Motor_Thermistor_default_instance_;
69} // namespace protobuf
70} // namespace jaiabot
71PROTOBUF_NAMESPACE_OPEN
72template<> ::jaiabot::protobuf::Motor* Arena::CreateMaybeMessage<::jaiabot::protobuf::Motor>(Arena*);
73template<> ::jaiabot::protobuf::MotorUsageBin* Arena::CreateMaybeMessage<::jaiabot::protobuf::MotorUsageBin>(Arena*);
74template<> ::jaiabot::protobuf::MotorUsageReport* Arena::CreateMaybeMessage<::jaiabot::protobuf::MotorUsageReport>(Arena*);
75template<> ::jaiabot::protobuf::Motor_Thermistor* Arena::CreateMaybeMessage<::jaiabot::protobuf::Motor_Thermistor>(Arena*);
76PROTOBUF_NAMESPACE_CLOSE
77namespace jaiabot {
78namespace protobuf {
79
88
89const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MotorHarnessType_descriptor();
90template<typename T>
91inline const std::string& MotorHarnessType_Name(T enum_t_value) {
92 static_assert(::std::is_same<T, MotorHarnessType>::value ||
93 ::std::is_integral<T>::value,
94 "Incorrect type passed to function MotorHarnessType_Name.");
95 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
96 MotorHarnessType_descriptor(), enum_t_value);
97}
99 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MotorHarnessType* value) {
100 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MotorHarnessType>(
101 MotorHarnessType_descriptor(), name, value);
102}
103// ===================================================================
104
105class MotorUsageBin final :
106 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.MotorUsageBin) */ {
107 public:
108 inline MotorUsageBin() : MotorUsageBin(nullptr) {}
109 ~MotorUsageBin() override;
110 explicit PROTOBUF_CONSTEXPR MotorUsageBin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
111
114 : MotorUsageBin() {
115 *this = ::std::move(from);
116 }
117
118 inline MotorUsageBin& operator=(const MotorUsageBin& from) {
119 CopyFrom(from);
120 return *this;
121 }
122 inline MotorUsageBin& operator=(MotorUsageBin&& from) noexcept {
123 if (this == &from) return *this;
124 if (GetOwningArena() == from.GetOwningArena()
125 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
126 && GetOwningArena() != nullptr
127 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
128 ) {
129 InternalSwap(&from);
130 } else {
131 CopyFrom(from);
132 }
133 return *this;
134 }
135
136 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
137 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
138 }
139 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
140 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
141 }
142
143 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
144 return GetDescriptor();
145 }
146 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
147 return default_instance().GetMetadata().descriptor;
148 }
149 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
150 return default_instance().GetMetadata().reflection;
151 }
154 }
156 return reinterpret_cast<const MotorUsageBin*>(
158 }
159 static constexpr int kIndexInFileMessages =
160 0;
161
162 friend void swap(MotorUsageBin& a, MotorUsageBin& b) {
163 a.Swap(&b);
164 }
165 inline void Swap(MotorUsageBin* other) {
166 if (other == this) return;
167 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
168 if (GetOwningArena() != nullptr &&
169 GetOwningArena() == other->GetOwningArena()) {
170 #else // PROTOBUF_FORCE_COPY_IN_SWAP
171 if (GetOwningArena() == other->GetOwningArena()) {
172 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
173 InternalSwap(other);
174 } else {
175 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
176 }
177 }
179 if (other == this) return;
180 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
181 InternalSwap(other);
182 }
183
184 // implements Message ----------------------------------------------
185
186 MotorUsageBin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
187 return CreateMaybeMessage<MotorUsageBin>(arena);
188 }
189 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
190 void CopyFrom(const MotorUsageBin& from);
191 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
192 void MergeFrom( const MotorUsageBin& from) {
193 MotorUsageBin::MergeImpl(*this, from);
194 }
195 private:
196 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
197 public:
198 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
199 bool IsInitialized() const final;
200
201 size_t ByteSizeLong() const final;
202 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
204 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
205 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
206
207 private:
208 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
209 void SharedDtor();
210 void SetCachedSize(int size) const final;
211 void InternalSwap(MotorUsageBin* other);
212
213 private:
214 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
215 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
216 return "jaiabot.protobuf.MotorUsageBin";
217 }
218 protected:
219 explicit MotorUsageBin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
220 bool is_message_owned = false);
221 public:
222
223 static const ClassData _class_data_;
224 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
225
226 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
227
228 // nested types ----------------------------------------------------
229
230 // accessors -------------------------------------------------------
231
232 enum : int {
236 };
237 // optional double average_rpm = 2;
238 bool has_average_rpm() const;
239 private:
240 bool _internal_has_average_rpm() const;
241 public:
242 void clear_average_rpm();
243 double average_rpm() const;
244 void set_average_rpm(double value);
245 private:
246 double _internal_average_rpm() const;
247 void _internal_set_average_rpm(double value);
248 public:
249
250 // optional double usage_time_seconds = 3;
251 bool has_usage_time_seconds() const;
252 private:
253 bool _internal_has_usage_time_seconds() const;
254 public:
256 double usage_time_seconds() const;
257 void set_usage_time_seconds(double value);
258 private:
259 double _internal_usage_time_seconds() const;
260 void _internal_set_usage_time_seconds(double value);
261 public:
262
263 // required sint32 motor_micros = 1;
264 bool has_motor_micros() const;
265 private:
266 bool _internal_has_motor_micros() const;
267 public:
268 void clear_motor_micros();
269 int32_t motor_micros() const;
270 void set_motor_micros(int32_t value);
271 private:
272 int32_t _internal_motor_micros() const;
273 void _internal_set_motor_micros(int32_t value);
274 public:
275
276 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.MotorUsageBin)
277 private:
278 class _Internal;
279
280 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
281 typedef void InternalArenaConstructable_;
282 typedef void DestructorSkippable_;
283 struct Impl_ {
284 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
285 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
286 double average_rpm_;
287 double usage_time_seconds_;
288 int32_t motor_micros_;
289 };
290 union { Impl_ _impl_; };
291 friend struct ::TableStruct_jaiabot_2fmessages_2fmotor_2eproto;
292};
293// -------------------------------------------------------------------
294
295class Motor_Thermistor final :
296 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Motor.Thermistor) */ {
297 public:
298 inline Motor_Thermistor() : Motor_Thermistor(nullptr) {}
300 explicit PROTOBUF_CONSTEXPR Motor_Thermistor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
301
304 : Motor_Thermistor() {
305 *this = ::std::move(from);
306 }
307
309 CopyFrom(from);
310 return *this;
311 }
312 inline Motor_Thermistor& operator=(Motor_Thermistor&& from) noexcept {
313 if (this == &from) return *this;
314 if (GetOwningArena() == from.GetOwningArena()
315 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
316 && GetOwningArena() != nullptr
317 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
318 ) {
319 InternalSwap(&from);
320 } else {
321 CopyFrom(from);
322 }
323 return *this;
324 }
325
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);
328 }
329 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
330 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
331 }
332
333 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
334 return GetDescriptor();
335 }
336 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
337 return default_instance().GetMetadata().descriptor;
338 }
339 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
340 return default_instance().GetMetadata().reflection;
341 }
343 return *internal_default_instance();
344 }
346 return reinterpret_cast<const Motor_Thermistor*>(
348 }
349 static constexpr int kIndexInFileMessages =
350 1;
351
353 a.Swap(&b);
354 }
355 inline void Swap(Motor_Thermistor* other) {
356 if (other == this) return;
357 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
358 if (GetOwningArena() != nullptr &&
359 GetOwningArena() == other->GetOwningArena()) {
360 #else // PROTOBUF_FORCE_COPY_IN_SWAP
361 if (GetOwningArena() == other->GetOwningArena()) {
362 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
363 InternalSwap(other);
364 } else {
365 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
366 }
367 }
369 if (other == this) return;
370 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
371 InternalSwap(other);
372 }
373
374 // implements Message ----------------------------------------------
375
376 Motor_Thermistor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
377 return CreateMaybeMessage<Motor_Thermistor>(arena);
378 }
379 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
380 void CopyFrom(const Motor_Thermistor& from);
381 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
382 void MergeFrom( const Motor_Thermistor& from) {
383 Motor_Thermistor::MergeImpl(*this, from);
384 }
385 private:
386 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
387 public:
388 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
389 bool IsInitialized() const final;
390
391 size_t ByteSizeLong() const final;
392 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
393 uint8_t* _InternalSerialize(
394 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
395 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
396
397 private:
398 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
399 void SharedDtor();
400 void SetCachedSize(int size) const final;
401 void InternalSwap(Motor_Thermistor* other);
402
403 private:
404 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
405 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
406 return "jaiabot.protobuf.Motor.Thermistor";
407 }
408 protected:
409 explicit Motor_Thermistor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
410 bool is_message_owned = false);
411 public:
412
413 static const ClassData _class_data_;
414 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
415
416 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
417
418 // nested types ----------------------------------------------------
419
420 // accessors -------------------------------------------------------
421
422 enum : int {
423 kTemperatureFieldNumber = 1,
424 kResistanceFieldNumber = 2,
425 kVoltageFieldNumber = 3,
426 };
427 // optional float temperature = 1 [(.dccl.field) = {
428 bool has_temperature() const;
429 private:
430 bool _internal_has_temperature() const;
431 public:
432 void clear_temperature();
433 float temperature() const;
434 void set_temperature(float value);
435 private:
436 float _internal_temperature() const;
437 void _internal_set_temperature(float value);
438 public:
439
440 // optional float resistance = 2;
441 bool has_resistance() const;
442 private:
443 bool _internal_has_resistance() const;
444 public:
445 void clear_resistance();
446 float resistance() const;
447 void set_resistance(float value);
448 private:
449 float _internal_resistance() const;
450 void _internal_set_resistance(float value);
451 public:
452
453 // optional float voltage = 3;
454 bool has_voltage() const;
455 private:
456 bool _internal_has_voltage() const;
457 public:
458 void clear_voltage();
459 float voltage() const;
460 void set_voltage(float value);
461 private:
462 float _internal_voltage() const;
463 void _internal_set_voltage(float value);
464 public:
465
466 typedef boost::units::temperature_dimension temperature_dimension;
467
468 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
469
470 template<typename Quantity >
471 void set_temperature_with_units(Quantity value_w_units)
472 { set_temperature(boost::units::quantity<temperature_unit,float >(value_w_units).value() ); };
473
474 template<typename Quantity >
475 Quantity temperature_with_units() const
476 { return Quantity(temperature() * temperature_unit()); };
477
478 boost::units::quantity< temperature_unit,float > temperature_with_units() const
479 { return temperature_with_units<boost::units::quantity< temperature_unit,float > >(); };
480
481 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Motor.Thermistor)
482 private:
483 class _Internal;
484
485 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
486 typedef void InternalArenaConstructable_;
487 typedef void DestructorSkippable_;
488 struct Impl_ {
489 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
490 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
491 float temperature_;
492 float resistance_;
493 float voltage_;
494 };
495 union { Impl_ _impl_; };
496 friend struct ::TableStruct_jaiabot_2fmessages_2fmotor_2eproto;
497};
498// -------------------------------------------------------------------
499
500class Motor final :
501 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Motor) */ {
502 public:
503 inline Motor() : Motor(nullptr) {}
504 ~Motor() override;
505 explicit PROTOBUF_CONSTEXPR Motor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
506
507 Motor(const Motor& from);
508 Motor(Motor&& from) noexcept
509 : Motor() {
510 *this = ::std::move(from);
511 }
512
513 inline Motor& operator=(const Motor& from) {
514 CopyFrom(from);
515 return *this;
516 }
517 inline Motor& operator=(Motor&& from) noexcept {
518 if (this == &from) return *this;
519 if (GetOwningArena() == from.GetOwningArena()
520 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
521 && GetOwningArena() != nullptr
522 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
523 ) {
524 InternalSwap(&from);
525 } else {
526 CopyFrom(from);
527 }
528 return *this;
529 }
530
531 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
532 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
533 }
534 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
535 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
536 }
537
538 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
539 return GetDescriptor();
540 }
541 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
542 return default_instance().GetMetadata().descriptor;
543 }
544 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
545 return default_instance().GetMetadata().reflection;
546 }
547 static const Motor& default_instance() {
548 return *internal_default_instance();
549 }
550 static inline const Motor* internal_default_instance() {
551 return reinterpret_cast<const Motor*>(
553 }
554 static constexpr int kIndexInFileMessages =
555 2;
556
557 friend void swap(Motor& a, Motor& b) {
558 a.Swap(&b);
559 }
560 inline void Swap(Motor* other) {
561 if (other == this) return;
562 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
563 if (GetOwningArena() != nullptr &&
564 GetOwningArena() == other->GetOwningArena()) {
565 #else // PROTOBUF_FORCE_COPY_IN_SWAP
566 if (GetOwningArena() == other->GetOwningArena()) {
567 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
568 InternalSwap(other);
569 } else {
570 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
571 }
572 }
573 void UnsafeArenaSwap(Motor* other) {
574 if (other == this) return;
575 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
576 InternalSwap(other);
577 }
578
579 // implements Message ----------------------------------------------
580
581 Motor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
582 return CreateMaybeMessage<Motor>(arena);
583 }
584 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
585 void CopyFrom(const Motor& from);
586 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
587 void MergeFrom( const Motor& from) {
588 Motor::MergeImpl(*this, from);
589 }
590 private:
591 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
592 public:
593 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
594 bool IsInitialized() const final;
595
596 size_t ByteSizeLong() const final;
597 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
598 uint8_t* _InternalSerialize(
599 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
600 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
601
602 private:
603 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
604 void SharedDtor();
605 void SetCachedSize(int size) const final;
606 void InternalSwap(Motor* other);
607
608 private:
609 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
610 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
611 return "jaiabot.protobuf.Motor";
612 }
613 protected:
614 explicit Motor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
615 bool is_message_owned = false);
616 public:
617
618 static const ClassData _class_data_;
619 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
620
621 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
622
623 // nested types ----------------------------------------------------
624
626
627 // accessors -------------------------------------------------------
628
629 enum : int {
630 kThermistorFieldNumber = 2,
631 kRpmFieldNumber = 1,
632 kMotorHarnessTypeFieldNumber = 3,
633 };
634 // optional .jaiabot.protobuf.Motor.Thermistor thermistor = 2;
635 bool has_thermistor() const;
636 private:
637 bool _internal_has_thermistor() const;
638 public:
639 void clear_thermistor();
640 const ::jaiabot::protobuf::Motor_Thermistor& thermistor() const;
641 PROTOBUF_NODISCARD ::jaiabot::protobuf::Motor_Thermistor* release_thermistor();
642 ::jaiabot::protobuf::Motor_Thermistor* mutable_thermistor();
643 void set_allocated_thermistor(::jaiabot::protobuf::Motor_Thermistor* thermistor);
644 private:
645 const ::jaiabot::protobuf::Motor_Thermistor& _internal_thermistor() const;
646 ::jaiabot::protobuf::Motor_Thermistor* _internal_mutable_thermistor();
647 public:
648 void unsafe_arena_set_allocated_thermistor(
650 ::jaiabot::protobuf::Motor_Thermistor* unsafe_arena_release_thermistor();
651
652 // optional double rpm = 1;
653 bool has_rpm() const;
654 private:
655 bool _internal_has_rpm() const;
656 public:
657 void clear_rpm();
658 double rpm() const;
659 void set_rpm(double value);
660 private:
661 double _internal_rpm() const;
662 void _internal_set_rpm(double value);
663 public:
664
665 // optional .jaiabot.protobuf.MotorHarnessType motor_harness_type = 3 [default = NONE];
666 bool has_motor_harness_type() const;
667 private:
668 bool _internal_has_motor_harness_type() const;
669 public:
670 void clear_motor_harness_type();
671 ::jaiabot::protobuf::MotorHarnessType motor_harness_type() const;
672 void set_motor_harness_type(::jaiabot::protobuf::MotorHarnessType value);
673 private:
674 ::jaiabot::protobuf::MotorHarnessType _internal_motor_harness_type() const;
675 void _internal_set_motor_harness_type(::jaiabot::protobuf::MotorHarnessType value);
676 public:
677
678 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Motor)
679 private:
680 class _Internal;
681
682 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
683 typedef void InternalArenaConstructable_;
684 typedef void DestructorSkippable_;
685 struct Impl_ {
686 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
687 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
689 double rpm_;
690 int motor_harness_type_;
691 };
692 union { Impl_ _impl_; };
693 friend struct ::TableStruct_jaiabot_2fmessages_2fmotor_2eproto;
694};
695// -------------------------------------------------------------------
696
697class MotorUsageReport final :
698 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.MotorUsageReport) */ {
699 public:
700 inline MotorUsageReport() : MotorUsageReport(nullptr) {}
702 explicit PROTOBUF_CONSTEXPR MotorUsageReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
703
706 : MotorUsageReport() {
707 *this = ::std::move(from);
708 }
709
711 CopyFrom(from);
712 return *this;
713 }
714 inline MotorUsageReport& operator=(MotorUsageReport&& from) noexcept {
715 if (this == &from) return *this;
716 if (GetOwningArena() == from.GetOwningArena()
717 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
718 && GetOwningArena() != nullptr
719 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
720 ) {
721 InternalSwap(&from);
722 } else {
723 CopyFrom(from);
724 }
725 return *this;
726 }
727
728 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
729 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
730 }
731 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
732 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
733 }
734
735 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
736 return GetDescriptor();
737 }
738 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
739 return default_instance().GetMetadata().descriptor;
740 }
741 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
742 return default_instance().GetMetadata().reflection;
743 }
745 return *internal_default_instance();
746 }
748 return reinterpret_cast<const MotorUsageReport*>(
750 }
751 static constexpr int kIndexInFileMessages =
752 3;
753
755 a.Swap(&b);
756 }
757 inline void Swap(MotorUsageReport* other) {
758 if (other == this) return;
759 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
760 if (GetOwningArena() != nullptr &&
761 GetOwningArena() == other->GetOwningArena()) {
762 #else // PROTOBUF_FORCE_COPY_IN_SWAP
763 if (GetOwningArena() == other->GetOwningArena()) {
764 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
765 InternalSwap(other);
766 } else {
767 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
768 }
769 }
771 if (other == this) return;
772 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
773 InternalSwap(other);
774 }
775
776 // implements Message ----------------------------------------------
777
778 MotorUsageReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
779 return CreateMaybeMessage<MotorUsageReport>(arena);
780 }
781 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
782 void CopyFrom(const MotorUsageReport& from);
783 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
784 void MergeFrom( const MotorUsageReport& from) {
785 MotorUsageReport::MergeImpl(*this, from);
786 }
787 private:
788 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
789 public:
790 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
791 bool IsInitialized() const final;
792
793 size_t ByteSizeLong() const final;
794 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
795 uint8_t* _InternalSerialize(
796 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
797 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
798
799 private:
800 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
801 void SharedDtor();
802 void SetCachedSize(int size) const final;
803 void InternalSwap(MotorUsageReport* other);
804
805 private:
806 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
807 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
808 return "jaiabot.protobuf.MotorUsageReport";
809 }
810 protected:
811 explicit MotorUsageReport(::PROTOBUF_NAMESPACE_ID::Arena* arena,
812 bool is_message_owned = false);
813 public:
814
815 static const ClassData _class_data_;
816 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
817
818 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
819
820 // nested types ----------------------------------------------------
821
822 // accessors -------------------------------------------------------
823
824 enum : int {
825 kMotorUsageBinsFieldNumber = 4,
826 kBotVinFieldNumber = 1,
827 kTailSerialNumberFieldNumber = 2,
828 kTotalRunningTimeSecondsFieldNumber = 3,
829 };
830 // repeated .jaiabot.protobuf.MotorUsageBin motor_usage_bins = 4;
831 int motor_usage_bins_size() const;
832 private:
833 int _internal_motor_usage_bins_size() const;
834 public:
835 void clear_motor_usage_bins();
836 ::jaiabot::protobuf::MotorUsageBin* mutable_motor_usage_bins(int index);
837 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::MotorUsageBin >*
838 mutable_motor_usage_bins();
839 private:
840 const ::jaiabot::protobuf::MotorUsageBin& _internal_motor_usage_bins(int index) const;
841 ::jaiabot::protobuf::MotorUsageBin* _internal_add_motor_usage_bins();
842 public:
843 const ::jaiabot::protobuf::MotorUsageBin& motor_usage_bins(int index) const;
844 ::jaiabot::protobuf::MotorUsageBin* add_motor_usage_bins();
845 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::MotorUsageBin >&
846 motor_usage_bins() const;
847
848 // optional string bot_vin = 1;
849 bool has_bot_vin() const;
850 private:
851 bool _internal_has_bot_vin() const;
852 public:
853 void clear_bot_vin();
854 const std::string& bot_vin() const;
855 template <typename ArgT0 = const std::string&, typename... ArgT>
856 void set_bot_vin(ArgT0&& arg0, ArgT... args);
857 std::string* mutable_bot_vin();
858 PROTOBUF_NODISCARD std::string* release_bot_vin();
859 void set_allocated_bot_vin(std::string* bot_vin);
860 private:
861 const std::string& _internal_bot_vin() const;
862 inline PROTOBUF_ALWAYS_INLINE void _internal_set_bot_vin(const std::string& value);
863 std::string* _internal_mutable_bot_vin();
864 public:
865
866 // optional string tail_serial_number = 2;
867 bool has_tail_serial_number() const;
868 private:
869 bool _internal_has_tail_serial_number() const;
870 public:
871 void clear_tail_serial_number();
872 const std::string& tail_serial_number() const;
873 template <typename ArgT0 = const std::string&, typename... ArgT>
874 void set_tail_serial_number(ArgT0&& arg0, ArgT... args);
875 std::string* mutable_tail_serial_number();
876 PROTOBUF_NODISCARD std::string* release_tail_serial_number();
877 void set_allocated_tail_serial_number(std::string* tail_serial_number);
878 private:
879 const std::string& _internal_tail_serial_number() const;
880 inline PROTOBUF_ALWAYS_INLINE void _internal_set_tail_serial_number(const std::string& value);
881 std::string* _internal_mutable_tail_serial_number();
882 public:
883
884 // optional double total_running_time_seconds = 3;
885 bool has_total_running_time_seconds() const;
886 private:
887 bool _internal_has_total_running_time_seconds() const;
888 public:
889 void clear_total_running_time_seconds();
890 double total_running_time_seconds() const;
891 void set_total_running_time_seconds(double value);
892 private:
893 double _internal_total_running_time_seconds() const;
894 void _internal_set_total_running_time_seconds(double value);
895 public:
896
897 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.MotorUsageReport)
898 private:
899 class _Internal;
900
901 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
902 typedef void InternalArenaConstructable_;
903 typedef void DestructorSkippable_;
904 struct Impl_ {
905 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
906 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
907 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::MotorUsageBin > motor_usage_bins_;
908 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bot_vin_;
909 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tail_serial_number_;
910 double total_running_time_seconds_;
911 };
912 union { Impl_ _impl_; };
913 friend struct ::TableStruct_jaiabot_2fmessages_2fmotor_2eproto;
914};
915// ===================================================================
916
917
918// ===================================================================
919
920#ifdef __GNUC__
921 #pragma GCC diagnostic push
922 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
923#endif // __GNUC__
924// MotorUsageBin
925
926// required sint32 motor_micros = 1;
927inline bool MotorUsageBin::_internal_has_motor_micros() const {
928 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
929 return value;
930}
931inline bool MotorUsageBin::has_motor_micros() const {
932 return _internal_has_motor_micros();
933}
934inline void MotorUsageBin::clear_motor_micros() {
935 _impl_.motor_micros_ = 0;
936 _impl_._has_bits_[0] &= ~0x00000004u;
937}
938inline int32_t MotorUsageBin::_internal_motor_micros() const {
939 return _impl_.motor_micros_;
940}
941inline int32_t MotorUsageBin::motor_micros() const {
942 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageBin.motor_micros)
943 return _internal_motor_micros();
944}
945inline void MotorUsageBin::_internal_set_motor_micros(int32_t value) {
946 _impl_._has_bits_[0] |= 0x00000004u;
947 _impl_.motor_micros_ = value;
948}
949inline void MotorUsageBin::set_motor_micros(int32_t value) {
950 _internal_set_motor_micros(value);
951 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorUsageBin.motor_micros)
952}
953
954// optional double average_rpm = 2;
955inline bool MotorUsageBin::_internal_has_average_rpm() const {
956 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
957 return value;
958}
959inline bool MotorUsageBin::has_average_rpm() const {
960 return _internal_has_average_rpm();
961}
962inline void MotorUsageBin::clear_average_rpm() {
963 _impl_.average_rpm_ = 0;
964 _impl_._has_bits_[0] &= ~0x00000001u;
965}
966inline double MotorUsageBin::_internal_average_rpm() const {
967 return _impl_.average_rpm_;
968}
969inline double MotorUsageBin::average_rpm() const {
970 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageBin.average_rpm)
971 return _internal_average_rpm();
972}
973inline void MotorUsageBin::_internal_set_average_rpm(double value) {
974 _impl_._has_bits_[0] |= 0x00000001u;
975 _impl_.average_rpm_ = value;
976}
977inline void MotorUsageBin::set_average_rpm(double value) {
978 _internal_set_average_rpm(value);
979 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorUsageBin.average_rpm)
980}
981
982// optional double usage_time_seconds = 3;
983inline bool MotorUsageBin::_internal_has_usage_time_seconds() const {
984 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
985 return value;
986}
987inline bool MotorUsageBin::has_usage_time_seconds() const {
988 return _internal_has_usage_time_seconds();
989}
990inline void MotorUsageBin::clear_usage_time_seconds() {
991 _impl_.usage_time_seconds_ = 0;
992 _impl_._has_bits_[0] &= ~0x00000002u;
993}
994inline double MotorUsageBin::_internal_usage_time_seconds() const {
995 return _impl_.usage_time_seconds_;
996}
997inline double MotorUsageBin::usage_time_seconds() const {
998 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageBin.usage_time_seconds)
999 return _internal_usage_time_seconds();
1000}
1001inline void MotorUsageBin::_internal_set_usage_time_seconds(double value) {
1002 _impl_._has_bits_[0] |= 0x00000002u;
1003 _impl_.usage_time_seconds_ = value;
1004}
1005inline void MotorUsageBin::set_usage_time_seconds(double value) {
1006 _internal_set_usage_time_seconds(value);
1007 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorUsageBin.usage_time_seconds)
1008}
1009
1010// -------------------------------------------------------------------
1011
1012// Motor_Thermistor
1013
1014// optional float temperature = 1 [(.dccl.field) = {
1015inline bool Motor_Thermistor::_internal_has_temperature() const {
1016 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1017 return value;
1018}
1019inline bool Motor_Thermistor::has_temperature() const {
1020 return _internal_has_temperature();
1021}
1022inline void Motor_Thermistor::clear_temperature() {
1023 _impl_.temperature_ = 0;
1024 _impl_._has_bits_[0] &= ~0x00000001u;
1025}
1026inline float Motor_Thermistor::_internal_temperature() const {
1027 return _impl_.temperature_;
1028}
1029inline float Motor_Thermistor::temperature() const {
1030 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Motor.Thermistor.temperature)
1031 return _internal_temperature();
1032}
1033inline void Motor_Thermistor::_internal_set_temperature(float value) {
1034 _impl_._has_bits_[0] |= 0x00000001u;
1035 _impl_.temperature_ = value;
1036}
1037inline void Motor_Thermistor::set_temperature(float value) {
1038 _internal_set_temperature(value);
1039 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Motor.Thermistor.temperature)
1040}
1041
1042// optional float resistance = 2;
1043inline bool Motor_Thermistor::_internal_has_resistance() const {
1044 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1045 return value;
1046}
1047inline bool Motor_Thermistor::has_resistance() const {
1048 return _internal_has_resistance();
1049}
1050inline void Motor_Thermistor::clear_resistance() {
1051 _impl_.resistance_ = 0;
1052 _impl_._has_bits_[0] &= ~0x00000002u;
1053}
1054inline float Motor_Thermistor::_internal_resistance() const {
1055 return _impl_.resistance_;
1056}
1057inline float Motor_Thermistor::resistance() const {
1058 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Motor.Thermistor.resistance)
1059 return _internal_resistance();
1060}
1061inline void Motor_Thermistor::_internal_set_resistance(float value) {
1062 _impl_._has_bits_[0] |= 0x00000002u;
1063 _impl_.resistance_ = value;
1064}
1065inline void Motor_Thermistor::set_resistance(float value) {
1066 _internal_set_resistance(value);
1067 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Motor.Thermistor.resistance)
1068}
1069
1070// optional float voltage = 3;
1071inline bool Motor_Thermistor::_internal_has_voltage() const {
1072 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1073 return value;
1074}
1075inline bool Motor_Thermistor::has_voltage() const {
1076 return _internal_has_voltage();
1077}
1078inline void Motor_Thermistor::clear_voltage() {
1079 _impl_.voltage_ = 0;
1080 _impl_._has_bits_[0] &= ~0x00000004u;
1081}
1082inline float Motor_Thermistor::_internal_voltage() const {
1083 return _impl_.voltage_;
1084}
1085inline float Motor_Thermistor::voltage() const {
1086 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Motor.Thermistor.voltage)
1087 return _internal_voltage();
1088}
1089inline void Motor_Thermistor::_internal_set_voltage(float value) {
1090 _impl_._has_bits_[0] |= 0x00000004u;
1091 _impl_.voltage_ = value;
1092}
1093inline void Motor_Thermistor::set_voltage(float value) {
1094 _internal_set_voltage(value);
1095 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Motor.Thermistor.voltage)
1096}
1097
1098// -------------------------------------------------------------------
1099
1100// Motor
1101
1102// optional double rpm = 1;
1103inline bool Motor::_internal_has_rpm() const {
1104 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1105 return value;
1106}
1107inline bool Motor::has_rpm() const {
1108 return _internal_has_rpm();
1109}
1110inline void Motor::clear_rpm() {
1111 _impl_.rpm_ = 0;
1112 _impl_._has_bits_[0] &= ~0x00000002u;
1113}
1114inline double Motor::_internal_rpm() const {
1115 return _impl_.rpm_;
1116}
1117inline double Motor::rpm() const {
1118 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Motor.rpm)
1119 return _internal_rpm();
1120}
1121inline void Motor::_internal_set_rpm(double value) {
1122 _impl_._has_bits_[0] |= 0x00000002u;
1123 _impl_.rpm_ = value;
1124}
1125inline void Motor::set_rpm(double value) {
1126 _internal_set_rpm(value);
1127 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Motor.rpm)
1128}
1129
1130// optional .jaiabot.protobuf.Motor.Thermistor thermistor = 2;
1131inline bool Motor::_internal_has_thermistor() const {
1132 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1133 PROTOBUF_ASSUME(!value || _impl_.thermistor_ != nullptr);
1134 return value;
1135}
1136inline bool Motor::has_thermistor() const {
1137 return _internal_has_thermistor();
1138}
1139inline void Motor::clear_thermistor() {
1140 if (_impl_.thermistor_ != nullptr) _impl_.thermistor_->Clear();
1141 _impl_._has_bits_[0] &= ~0x00000001u;
1142}
1143inline const ::jaiabot::protobuf::Motor_Thermistor& Motor::_internal_thermistor() const {
1144 const ::jaiabot::protobuf::Motor_Thermistor* p = _impl_.thermistor_;
1145 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Motor_Thermistor&>(
1147}
1148inline const ::jaiabot::protobuf::Motor_Thermistor& Motor::thermistor() const {
1149 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Motor.thermistor)
1150 return _internal_thermistor();
1151}
1152inline void Motor::unsafe_arena_set_allocated_thermistor(
1154 if (GetArenaForAllocation() == nullptr) {
1155 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.thermistor_);
1156 }
1157 _impl_.thermistor_ = thermistor;
1158 if (thermistor) {
1159 _impl_._has_bits_[0] |= 0x00000001u;
1160 } else {
1161 _impl_._has_bits_[0] &= ~0x00000001u;
1162 }
1163 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Motor.thermistor)
1164}
1165inline ::jaiabot::protobuf::Motor_Thermistor* Motor::release_thermistor() {
1166 _impl_._has_bits_[0] &= ~0x00000001u;
1167 ::jaiabot::protobuf::Motor_Thermistor* temp = _impl_.thermistor_;
1168 _impl_.thermistor_ = nullptr;
1169#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1170 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1171 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1172 if (GetArenaForAllocation() == nullptr) { delete old; }
1173#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1174 if (GetArenaForAllocation() != nullptr) {
1175 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1176 }
1177#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1178 return temp;
1179}
1180inline ::jaiabot::protobuf::Motor_Thermistor* Motor::unsafe_arena_release_thermistor() {
1181 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Motor.thermistor)
1182 _impl_._has_bits_[0] &= ~0x00000001u;
1183 ::jaiabot::protobuf::Motor_Thermistor* temp = _impl_.thermistor_;
1184 _impl_.thermistor_ = nullptr;
1185 return temp;
1186}
1187inline ::jaiabot::protobuf::Motor_Thermistor* Motor::_internal_mutable_thermistor() {
1188 _impl_._has_bits_[0] |= 0x00000001u;
1189 if (_impl_.thermistor_ == nullptr) {
1190 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Motor_Thermistor>(GetArenaForAllocation());
1191 _impl_.thermistor_ = p;
1192 }
1193 return _impl_.thermistor_;
1194}
1195inline ::jaiabot::protobuf::Motor_Thermistor* Motor::mutable_thermistor() {
1196 ::jaiabot::protobuf::Motor_Thermistor* _msg = _internal_mutable_thermistor();
1197 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Motor.thermistor)
1198 return _msg;
1199}
1200inline void Motor::set_allocated_thermistor(::jaiabot::protobuf::Motor_Thermistor* thermistor) {
1201 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1202 if (message_arena == nullptr) {
1203 delete _impl_.thermistor_;
1204 }
1205 if (thermistor) {
1206 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1207 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(thermistor);
1208 if (message_arena != submessage_arena) {
1209 thermistor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1210 message_arena, thermistor, submessage_arena);
1211 }
1212 _impl_._has_bits_[0] |= 0x00000001u;
1213 } else {
1214 _impl_._has_bits_[0] &= ~0x00000001u;
1215 }
1216 _impl_.thermistor_ = thermistor;
1217 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.Motor.thermistor)
1218}
1219
1220// optional .jaiabot.protobuf.MotorHarnessType motor_harness_type = 3 [default = NONE];
1221inline bool Motor::_internal_has_motor_harness_type() const {
1222 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1223 return value;
1224}
1225inline bool Motor::has_motor_harness_type() const {
1226 return _internal_has_motor_harness_type();
1227}
1228inline void Motor::clear_motor_harness_type() {
1229 _impl_.motor_harness_type_ = 1;
1230 _impl_._has_bits_[0] &= ~0x00000004u;
1231}
1232inline ::jaiabot::protobuf::MotorHarnessType Motor::_internal_motor_harness_type() const {
1233 return static_cast< ::jaiabot::protobuf::MotorHarnessType >(_impl_.motor_harness_type_);
1234}
1235inline ::jaiabot::protobuf::MotorHarnessType Motor::motor_harness_type() const {
1236 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Motor.motor_harness_type)
1237 return _internal_motor_harness_type();
1238}
1239inline void Motor::_internal_set_motor_harness_type(::jaiabot::protobuf::MotorHarnessType value) {
1241 _impl_._has_bits_[0] |= 0x00000004u;
1242 _impl_.motor_harness_type_ = value;
1243}
1244inline void Motor::set_motor_harness_type(::jaiabot::protobuf::MotorHarnessType value) {
1245 _internal_set_motor_harness_type(value);
1246 // @@protoc_insertion_point(field_set:jaiabot.protobuf.Motor.motor_harness_type)
1247}
1248
1249// -------------------------------------------------------------------
1250
1251// MotorUsageReport
1252
1253// optional string bot_vin = 1;
1254inline bool MotorUsageReport::_internal_has_bot_vin() const {
1255 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1256 return value;
1257}
1258inline bool MotorUsageReport::has_bot_vin() const {
1259 return _internal_has_bot_vin();
1260}
1261inline void MotorUsageReport::clear_bot_vin() {
1262 _impl_.bot_vin_.ClearToEmpty();
1263 _impl_._has_bits_[0] &= ~0x00000001u;
1264}
1265inline const std::string& MotorUsageReport::bot_vin() const {
1266 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageReport.bot_vin)
1267 return _internal_bot_vin();
1268}
1269template <typename ArgT0, typename... ArgT>
1270inline PROTOBUF_ALWAYS_INLINE
1271void MotorUsageReport::set_bot_vin(ArgT0&& arg0, ArgT... args) {
1272 _impl_._has_bits_[0] |= 0x00000001u;
1273 _impl_.bot_vin_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1274 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorUsageReport.bot_vin)
1275}
1276inline std::string* MotorUsageReport::mutable_bot_vin() {
1277 std::string* _s = _internal_mutable_bot_vin();
1278 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MotorUsageReport.bot_vin)
1279 return _s;
1280}
1281inline const std::string& MotorUsageReport::_internal_bot_vin() const {
1282 return _impl_.bot_vin_.Get();
1283}
1284inline void MotorUsageReport::_internal_set_bot_vin(const std::string& value) {
1285 _impl_._has_bits_[0] |= 0x00000001u;
1286 _impl_.bot_vin_.Set(value, GetArenaForAllocation());
1287}
1288inline std::string* MotorUsageReport::_internal_mutable_bot_vin() {
1289 _impl_._has_bits_[0] |= 0x00000001u;
1290 return _impl_.bot_vin_.Mutable(GetArenaForAllocation());
1291}
1292inline std::string* MotorUsageReport::release_bot_vin() {
1293 // @@protoc_insertion_point(field_release:jaiabot.protobuf.MotorUsageReport.bot_vin)
1294 if (!_internal_has_bot_vin()) {
1295 return nullptr;
1296 }
1297 _impl_._has_bits_[0] &= ~0x00000001u;
1298 auto* p = _impl_.bot_vin_.Release();
1299#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1300 if (_impl_.bot_vin_.IsDefault()) {
1301 _impl_.bot_vin_.Set("", GetArenaForAllocation());
1302 }
1303#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1304 return p;
1305}
1306inline void MotorUsageReport::set_allocated_bot_vin(std::string* bot_vin) {
1307 if (bot_vin != nullptr) {
1308 _impl_._has_bits_[0] |= 0x00000001u;
1309 } else {
1310 _impl_._has_bits_[0] &= ~0x00000001u;
1311 }
1312 _impl_.bot_vin_.SetAllocated(bot_vin, GetArenaForAllocation());
1313#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1314 if (_impl_.bot_vin_.IsDefault()) {
1315 _impl_.bot_vin_.Set("", GetArenaForAllocation());
1316 }
1317#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1318 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MotorUsageReport.bot_vin)
1319}
1320
1321// optional string tail_serial_number = 2;
1322inline bool MotorUsageReport::_internal_has_tail_serial_number() const {
1323 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1324 return value;
1325}
1326inline bool MotorUsageReport::has_tail_serial_number() const {
1327 return _internal_has_tail_serial_number();
1328}
1329inline void MotorUsageReport::clear_tail_serial_number() {
1330 _impl_.tail_serial_number_.ClearToEmpty();
1331 _impl_._has_bits_[0] &= ~0x00000002u;
1332}
1333inline const std::string& MotorUsageReport::tail_serial_number() const {
1334 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageReport.tail_serial_number)
1335 return _internal_tail_serial_number();
1336}
1337template <typename ArgT0, typename... ArgT>
1338inline PROTOBUF_ALWAYS_INLINE
1339void MotorUsageReport::set_tail_serial_number(ArgT0&& arg0, ArgT... args) {
1340 _impl_._has_bits_[0] |= 0x00000002u;
1341 _impl_.tail_serial_number_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1342 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorUsageReport.tail_serial_number)
1343}
1344inline std::string* MotorUsageReport::mutable_tail_serial_number() {
1345 std::string* _s = _internal_mutable_tail_serial_number();
1346 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MotorUsageReport.tail_serial_number)
1347 return _s;
1348}
1349inline const std::string& MotorUsageReport::_internal_tail_serial_number() const {
1350 return _impl_.tail_serial_number_.Get();
1351}
1352inline void MotorUsageReport::_internal_set_tail_serial_number(const std::string& value) {
1353 _impl_._has_bits_[0] |= 0x00000002u;
1354 _impl_.tail_serial_number_.Set(value, GetArenaForAllocation());
1355}
1356inline std::string* MotorUsageReport::_internal_mutable_tail_serial_number() {
1357 _impl_._has_bits_[0] |= 0x00000002u;
1358 return _impl_.tail_serial_number_.Mutable(GetArenaForAllocation());
1359}
1360inline std::string* MotorUsageReport::release_tail_serial_number() {
1361 // @@protoc_insertion_point(field_release:jaiabot.protobuf.MotorUsageReport.tail_serial_number)
1362 if (!_internal_has_tail_serial_number()) {
1363 return nullptr;
1364 }
1365 _impl_._has_bits_[0] &= ~0x00000002u;
1366 auto* p = _impl_.tail_serial_number_.Release();
1367#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1368 if (_impl_.tail_serial_number_.IsDefault()) {
1369 _impl_.tail_serial_number_.Set("", GetArenaForAllocation());
1370 }
1371#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1372 return p;
1373}
1374inline void MotorUsageReport::set_allocated_tail_serial_number(std::string* tail_serial_number) {
1375 if (tail_serial_number != nullptr) {
1376 _impl_._has_bits_[0] |= 0x00000002u;
1377 } else {
1378 _impl_._has_bits_[0] &= ~0x00000002u;
1379 }
1380 _impl_.tail_serial_number_.SetAllocated(tail_serial_number, GetArenaForAllocation());
1381#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1382 if (_impl_.tail_serial_number_.IsDefault()) {
1383 _impl_.tail_serial_number_.Set("", GetArenaForAllocation());
1384 }
1385#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1386 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MotorUsageReport.tail_serial_number)
1387}
1388
1389// optional double total_running_time_seconds = 3;
1390inline bool MotorUsageReport::_internal_has_total_running_time_seconds() const {
1391 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1392 return value;
1393}
1394inline bool MotorUsageReport::has_total_running_time_seconds() const {
1395 return _internal_has_total_running_time_seconds();
1396}
1397inline void MotorUsageReport::clear_total_running_time_seconds() {
1398 _impl_.total_running_time_seconds_ = 0;
1399 _impl_._has_bits_[0] &= ~0x00000004u;
1400}
1401inline double MotorUsageReport::_internal_total_running_time_seconds() const {
1402 return _impl_.total_running_time_seconds_;
1403}
1404inline double MotorUsageReport::total_running_time_seconds() const {
1405 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageReport.total_running_time_seconds)
1406 return _internal_total_running_time_seconds();
1407}
1408inline void MotorUsageReport::_internal_set_total_running_time_seconds(double value) {
1409 _impl_._has_bits_[0] |= 0x00000004u;
1410 _impl_.total_running_time_seconds_ = value;
1411}
1412inline void MotorUsageReport::set_total_running_time_seconds(double value) {
1413 _internal_set_total_running_time_seconds(value);
1414 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorUsageReport.total_running_time_seconds)
1415}
1416
1417// repeated .jaiabot.protobuf.MotorUsageBin motor_usage_bins = 4;
1418inline int MotorUsageReport::_internal_motor_usage_bins_size() const {
1419 return _impl_.motor_usage_bins_.size();
1420}
1421inline int MotorUsageReport::motor_usage_bins_size() const {
1422 return _internal_motor_usage_bins_size();
1423}
1424inline void MotorUsageReport::clear_motor_usage_bins() {
1425 _impl_.motor_usage_bins_.Clear();
1426}
1427inline ::jaiabot::protobuf::MotorUsageBin* MotorUsageReport::mutable_motor_usage_bins(int index) {
1428 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MotorUsageReport.motor_usage_bins)
1429 return _impl_.motor_usage_bins_.Mutable(index);
1430}
1431inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::MotorUsageBin >*
1432MotorUsageReport::mutable_motor_usage_bins() {
1433 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.MotorUsageReport.motor_usage_bins)
1434 return &_impl_.motor_usage_bins_;
1435}
1436inline const ::jaiabot::protobuf::MotorUsageBin& MotorUsageReport::_internal_motor_usage_bins(int index) const {
1437 return _impl_.motor_usage_bins_.Get(index);
1438}
1439inline const ::jaiabot::protobuf::MotorUsageBin& MotorUsageReport::motor_usage_bins(int index) const {
1440 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorUsageReport.motor_usage_bins)
1441 return _internal_motor_usage_bins(index);
1442}
1443inline ::jaiabot::protobuf::MotorUsageBin* MotorUsageReport::_internal_add_motor_usage_bins() {
1444 return _impl_.motor_usage_bins_.Add();
1445}
1446inline ::jaiabot::protobuf::MotorUsageBin* MotorUsageReport::add_motor_usage_bins() {
1447 ::jaiabot::protobuf::MotorUsageBin* _add = _internal_add_motor_usage_bins();
1448 // @@protoc_insertion_point(field_add:jaiabot.protobuf.MotorUsageReport.motor_usage_bins)
1449 return _add;
1450}
1451inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::MotorUsageBin >&
1452MotorUsageReport::motor_usage_bins() const {
1453 // @@protoc_insertion_point(field_list:jaiabot.protobuf.MotorUsageReport.motor_usage_bins)
1454 return _impl_.motor_usage_bins_;
1455}
1456
1457#ifdef __GNUC__
1458 #pragma GCC diagnostic pop
1459#endif // __GNUC__
1460// -------------------------------------------------------------------
1461
1462// -------------------------------------------------------------------
1463
1464// -------------------------------------------------------------------
1465
1466
1467// @@protoc_insertion_point(namespace_scope)
1468
1469} // namespace protobuf
1470} // namespace jaiabot
1471
1472PROTOBUF_NAMESPACE_OPEN
1473
1474template <> struct is_proto_enum< ::jaiabot::protobuf::MotorHarnessType> : ::std::true_type {};
1475template <>
1477 return ::jaiabot::protobuf::MotorHarnessType_descriptor();
1478}
1479
1480PROTOBUF_NAMESPACE_CLOSE
1481
1482// @@protoc_insertion_point(global_scope)
1483
1484#include <google/protobuf/port_undef.inc>
1485#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmotor_2eproto
static const Motor_Thermistor & default_instance()
Definition motor.pb.h:342
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Motor_Thermistor(const Motor_Thermistor &from)
PROTOBUF_CONSTEXPR Motor_Thermistor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
Definition motor.pb.h:468
void Swap(Motor_Thermistor *other)
Definition motor.pb.h:355
Motor_Thermistor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition motor.pb.h:376
Motor_Thermistor & operator=(const Motor_Thermistor &from)
Definition motor.pb.h:308
void UnsafeArenaSwap(Motor_Thermistor *other)
Definition motor.pb.h:368
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition motor.pb.h:329
static const Motor_Thermistor * internal_default_instance()
Definition motor.pb.h:345
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition motor.pb.h:336
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition motor.pb.h:326
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition motor.pb.h:339
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition motor.pb.h:333
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Motor_Thermistor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Motor_Thermistor & operator=(Motor_Thermistor &&from) noexcept
Definition motor.pb.h:312
friend void swap(Motor_Thermistor &a, Motor_Thermistor &b)
Definition motor.pb.h:352
static const ClassData _class_data_
Definition motor.pb.h:413
void set_temperature_with_units(Quantity value_w_units)
Definition motor.pb.h:471
void MergeFrom(const Motor_Thermistor &from)
Definition motor.pb.h:382
boost::units::temperature_dimension temperature_dimension
Definition motor.pb.h:466
Quantity temperature_with_units() const
Definition motor.pb.h:475
Motor_Thermistor(Motor_Thermistor &&from) noexcept
Definition motor.pb.h:303
boost::units::quantity< temperature_unit, float > temperature_with_units() const
Definition motor.pb.h:478
void CopyFrom(const Motor_Thermistor &from)
void MergeFrom(const Motor &from)
Definition motor.pb.h:587
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition motor.pb.h:538
void UnsafeArenaSwap(Motor *other)
Definition motor.pb.h:573
static const Motor * internal_default_instance()
Definition motor.pb.h:550
Motor(const Motor &from)
PROTOBUF_CONSTEXPR Motor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Motor & operator=(const Motor &from)
Definition motor.pb.h:513
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition motor.pb.h:544
static const Motor & default_instance()
Definition motor.pb.h:547
Motor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Motor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition motor.pb.h:581
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition motor.pb.h:541
void CopyFrom(const Motor &from)
static const ClassData _class_data_
Definition motor.pb.h:618
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Motor & operator=(Motor &&from) noexcept
Definition motor.pb.h:517
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Motor(Motor &&from) noexcept
Definition motor.pb.h:508
friend void swap(Motor &a, Motor &b)
Definition motor.pb.h:557
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition motor.pb.h:531
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition motor.pb.h:534
void Swap(Motor *other)
Definition motor.pb.h:560
static const MotorUsageBin * internal_default_instance()
Definition motor.pb.h:155
void MergeFrom(const MotorUsageBin &from)
Definition motor.pb.h:192
MotorUsageBin(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(MotorUsageBin &a, MotorUsageBin &b)
Definition motor.pb.h:162
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
MotorUsageBin & operator=(const MotorUsageBin &from)
Definition motor.pb.h:118
void UnsafeArenaSwap(MotorUsageBin *other)
Definition motor.pb.h:178
bool IsInitialized() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition motor.pb.h:146
MotorUsageBin * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition motor.pb.h:186
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition motor.pb.h:136
MotorUsageBin(MotorUsageBin &&from) noexcept
Definition motor.pb.h:113
int GetCachedSize() const final
Definition motor.pb.h:205
void Swap(MotorUsageBin *other)
Definition motor.pb.h:165
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_average_rpm(double value)
Definition motor.pb.h:977
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition motor.pb.h:149
double usage_time_seconds() const
Definition motor.pb.h:997
static const ClassData _class_data_
Definition motor.pb.h:223
MotorUsageBin(const MotorUsageBin &from)
void set_usage_time_seconds(double value)
Definition motor.pb.h:1005
PROTOBUF_CONSTEXPR MotorUsageBin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const MotorUsageBin &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
size_t ByteSizeLong() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition motor.pb.h:139
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition motor.pb.h:143
static const MotorUsageBin & default_instance()
Definition motor.pb.h:152
void set_motor_micros(int32_t value)
Definition motor.pb.h:949
static constexpr int kIndexInFileMessages
Definition motor.pb.h:159
MotorUsageBin & operator=(MotorUsageBin &&from) noexcept
Definition motor.pb.h:122
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition motor.pb.h:738
MotorUsageReport * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition motor.pb.h:778
MotorUsageReport(MotorUsageReport &&from) noexcept
Definition motor.pb.h:705
static const ClassData _class_data_
Definition motor.pb.h:815
MotorUsageReport(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
MotorUsageReport & operator=(const MotorUsageReport &from)
Definition motor.pb.h:710
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition motor.pb.h:735
MotorUsageReport(const MotorUsageReport &from)
void CopyFrom(const MotorUsageReport &from)
void Swap(MotorUsageReport *other)
Definition motor.pb.h:757
MotorUsageReport & operator=(MotorUsageReport &&from) noexcept
Definition motor.pb.h:714
void set_bot_vin(ArgT0 &&arg0, ArgT... args)
friend void swap(MotorUsageReport &a, MotorUsageReport &b)
Definition motor.pb.h:754
PROTOBUF_CONSTEXPR MotorUsageReport(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(MotorUsageReport *other)
Definition motor.pb.h:770
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition motor.pb.h:728
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition motor.pb.h:731
static const MotorUsageReport * internal_default_instance()
Definition motor.pb.h:747
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const MotorUsageReport & default_instance()
Definition motor.pb.h:744
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition motor.pb.h:741
void set_tail_serial_number(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const MotorUsageReport &from)
Definition motor.pb.h:784
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmotor_2eproto
::jaiabot::protobuf::Motor_Thermistor * Arena::CreateMaybeMessage<::jaiabot::protobuf::Motor_Thermistor >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::MotorHarnessType >()
Definition motor.pb.h:1476
constexpr int MotorHarnessType_ARRAYSIZE
Definition motor.pb.h:87
constexpr MotorHarnessType MotorHarnessType_MIN
Definition motor.pb.h:85
bool MotorHarnessType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MotorHarnessType *value)
Definition motor.pb.h:98
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MotorHarnessType_descriptor()
constexpr MotorHarnessType MotorHarnessType_MAX
Definition motor.pb.h:86
MotorDefaultTypeInternal _Motor_default_instance_
Motor_ThermistorDefaultTypeInternal _Motor_Thermistor_default_instance_
MotorUsageReportDefaultTypeInternal _MotorUsageReport_default_instance_
bool MotorHarnessType_IsValid(int value)
MotorUsageBinDefaultTypeInternal _MotorUsageBin_default_instance_
const std::string & MotorHarnessType_Name(T enum_t_value)
Definition motor.pb.h:91