JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
echo.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/echo.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fecho_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fecho_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>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fecho_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
49 static const uint32_t offsets[];
50};
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fecho_2eproto;
52namespace jaiabot {
53namespace protobuf {
54class EchoCommand;
55struct EchoCommandDefaultTypeInternal;
56extern EchoCommandDefaultTypeInternal _EchoCommand_default_instance_;
57class EchoData;
58struct EchoDataDefaultTypeInternal;
59extern EchoDataDefaultTypeInternal _EchoData_default_instance_;
60class EchoIssue;
61struct EchoIssueDefaultTypeInternal;
62extern EchoIssueDefaultTypeInternal _EchoIssue_default_instance_;
63} // namespace protobuf
64} // namespace jaiabot
65PROTOBUF_NAMESPACE_OPEN
66template<> ::jaiabot::protobuf::EchoCommand* Arena::CreateMaybeMessage<::jaiabot::protobuf::EchoCommand>(Arena*);
67template<> ::jaiabot::protobuf::EchoData* Arena::CreateMaybeMessage<::jaiabot::protobuf::EchoData>(Arena*);
68template<> ::jaiabot::protobuf::EchoIssue* Arena::CreateMaybeMessage<::jaiabot::protobuf::EchoIssue>(Arena*);
69PROTOBUF_NAMESPACE_CLOSE
70namespace jaiabot {
71namespace protobuf {
72
89
90const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EchoCommand_EchoCommandType_descriptor();
91template<typename T>
92inline const std::string& EchoCommand_EchoCommandType_Name(T enum_t_value) {
93 static_assert(::std::is_same<T, EchoCommand_EchoCommandType>::value ||
94 ::std::is_integral<T>::value,
95 "Incorrect type passed to function EchoCommand_EchoCommandType_Name.");
96 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
98}
100 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoCommand_EchoCommandType* value) {
101 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EchoCommand_EchoCommandType>(
103}
113
114const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EchoIssue_SolutionType_descriptor();
115template<typename T>
116inline const std::string& EchoIssue_SolutionType_Name(T enum_t_value) {
117 static_assert(::std::is_same<T, EchoIssue_SolutionType>::value ||
118 ::std::is_integral<T>::value,
119 "Incorrect type passed to function EchoIssue_SolutionType_Name.");
120 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
121 EchoIssue_SolutionType_descriptor(), enum_t_value);
122}
124 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoIssue_SolutionType* value) {
125 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EchoIssue_SolutionType>(
126 EchoIssue_SolutionType_descriptor(), name, value);
127}
140bool EchoState_IsValid(int value);
144
145const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EchoState_descriptor();
146template<typename T>
147inline const std::string& EchoState_Name(T enum_t_value) {
148 static_assert(::std::is_same<T, EchoState>::value ||
149 ::std::is_integral<T>::value,
150 "Incorrect type passed to function EchoState_Name.");
151 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
152 EchoState_descriptor(), enum_t_value);
153}
154inline bool EchoState_Parse(
155 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoState* value) {
156 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EchoState>(
157 EchoState_descriptor(), name, value);
158}
159// ===================================================================
160
161class EchoCommand final :
162 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.EchoCommand) */ {
163 public:
164 inline EchoCommand() : EchoCommand(nullptr) {}
165 ~EchoCommand() override;
166 explicit PROTOBUF_CONSTEXPR EchoCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
167
169 EchoCommand(EchoCommand&& from) noexcept
170 : EchoCommand() {
171 *this = ::std::move(from);
172 }
173
174 inline EchoCommand& operator=(const EchoCommand& from) {
175 CopyFrom(from);
176 return *this;
177 }
178 inline EchoCommand& operator=(EchoCommand&& from) noexcept {
179 if (this == &from) return *this;
180 if (GetOwningArena() == from.GetOwningArena()
181 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
182 && GetOwningArena() != nullptr
183 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
184 ) {
185 InternalSwap(&from);
186 } else {
187 CopyFrom(from);
188 }
189 return *this;
190 }
191
192 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
193 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
194 }
195 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
196 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
197 }
198
199 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
200 return GetDescriptor();
201 }
202 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
203 return default_instance().GetMetadata().descriptor;
204 }
205 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
206 return default_instance().GetMetadata().reflection;
207 }
210 }
211 static inline const EchoCommand* internal_default_instance() {
212 return reinterpret_cast<const EchoCommand*>(
214 }
215 static constexpr int kIndexInFileMessages =
216 0;
217
218 friend void swap(EchoCommand& a, EchoCommand& b) {
219 a.Swap(&b);
220 }
221 inline void Swap(EchoCommand* other) {
222 if (other == this) return;
223 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
224 if (GetOwningArena() != nullptr &&
225 GetOwningArena() == other->GetOwningArena()) {
226 #else // PROTOBUF_FORCE_COPY_IN_SWAP
227 if (GetOwningArena() == other->GetOwningArena()) {
228 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
229 InternalSwap(other);
230 } else {
231 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
232 }
233 }
235 if (other == this) return;
236 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
237 InternalSwap(other);
238 }
239
240 // implements Message ----------------------------------------------
241
242 EchoCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
243 return CreateMaybeMessage<EchoCommand>(arena);
244 }
245 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
246 void CopyFrom(const EchoCommand& from);
247 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
248 void MergeFrom( const EchoCommand& from) {
249 EchoCommand::MergeImpl(*this, from);
250 }
251 private:
252 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
253 public:
254 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
255 bool IsInitialized() const final;
256
257 size_t ByteSizeLong() const final;
258 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
260 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
261 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
262
263 private:
264 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
265 void SharedDtor();
266 void SetCachedSize(int size) const final;
267 void InternalSwap(EchoCommand* other);
268
269 private:
270 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
271 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
272 return "jaiabot.protobuf.EchoCommand";
273 }
274 protected:
275 explicit EchoCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
276 bool is_message_owned = false);
277 public:
278
279 static const ClassData _class_data_;
280 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
281
282 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
283
284 // nested types ----------------------------------------------------
285
287 static constexpr EchoCommandType CMD_START =
289 static constexpr EchoCommandType CMD_STOP =
291 static constexpr EchoCommandType CMD_STORAGE =
293 static constexpr EchoCommandType CMD_ACK =
295 static constexpr EchoCommandType CMD_STATUS =
297 static constexpr EchoCommandType CMD_CH =
299 static constexpr EchoCommandType CMD_FREQ =
301 static constexpr EchoCommandType CMD_TIME =
303 static constexpr EchoCommandType CMD_VER =
305 static constexpr EchoCommandType CMD_HELP =
307 static inline bool EchoCommandType_IsValid(int value) {
309 }
314 static constexpr int EchoCommandType_ARRAYSIZE =
316 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
320 template<typename T>
321 static inline const std::string& EchoCommandType_Name(T enum_t_value) {
322 static_assert(::std::is_same<T, EchoCommandType>::value ||
323 ::std::is_integral<T>::value,
324 "Incorrect type passed to function EchoCommandType_Name.");
325 return EchoCommand_EchoCommandType_Name(enum_t_value);
326 }
327 static inline bool EchoCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
328 EchoCommandType* value) {
329 return EchoCommand_EchoCommandType_Parse(name, value);
330 }
331
332 // accessors -------------------------------------------------------
333
334 enum : int {
336 };
337 // required .jaiabot.protobuf.EchoCommand.EchoCommandType type = 1;
338 bool has_type() const;
339 private:
340 bool _internal_has_type() const;
341 public:
342 void clear_type();
345 private:
347 void _internal_set_type(::jaiabot::protobuf::EchoCommand_EchoCommandType value);
348 public:
349
350 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.EchoCommand)
351 private:
352 class _Internal;
353
354 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
355 typedef void InternalArenaConstructable_;
356 typedef void DestructorSkippable_;
357 struct Impl_ {
358 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
359 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
360 int type_;
361 };
362 union { Impl_ _impl_; };
363 friend struct ::TableStruct_jaiabot_2fmessages_2fecho_2eproto;
364};
365// -------------------------------------------------------------------
366
367class EchoData final :
368 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.EchoData) */ {
369 public:
370 inline EchoData() : EchoData(nullptr) {}
371 ~EchoData() override;
372 explicit PROTOBUF_CONSTEXPR EchoData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
373
374 EchoData(const EchoData& from);
375 EchoData(EchoData&& from) noexcept
376 : EchoData() {
377 *this = ::std::move(from);
378 }
379
380 inline EchoData& operator=(const EchoData& from) {
381 CopyFrom(from);
382 return *this;
383 }
384 inline EchoData& operator=(EchoData&& from) noexcept {
385 if (this == &from) return *this;
386 if (GetOwningArena() == from.GetOwningArena()
387 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
388 && GetOwningArena() != nullptr
389 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
390 ) {
391 InternalSwap(&from);
392 } else {
393 CopyFrom(from);
394 }
395 return *this;
396 }
397
398 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
399 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
400 }
401 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
402 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
403 }
404
405 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
406 return GetDescriptor();
407 }
408 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
409 return default_instance().GetMetadata().descriptor;
410 }
411 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
412 return default_instance().GetMetadata().reflection;
413 }
414 static const EchoData& default_instance() {
415 return *internal_default_instance();
416 }
417 static inline const EchoData* internal_default_instance() {
418 return reinterpret_cast<const EchoData*>(
420 }
421 static constexpr int kIndexInFileMessages =
422 1;
423
424 friend void swap(EchoData& a, EchoData& b) {
425 a.Swap(&b);
426 }
427 inline void Swap(EchoData* other) {
428 if (other == this) return;
429 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
430 if (GetOwningArena() != nullptr &&
431 GetOwningArena() == other->GetOwningArena()) {
432 #else // PROTOBUF_FORCE_COPY_IN_SWAP
433 if (GetOwningArena() == other->GetOwningArena()) {
434 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
435 InternalSwap(other);
436 } else {
437 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
438 }
439 }
441 if (other == this) return;
442 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
443 InternalSwap(other);
444 }
445
446 // implements Message ----------------------------------------------
447
448 EchoData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
449 return CreateMaybeMessage<EchoData>(arena);
450 }
451 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
452 void CopyFrom(const EchoData& from);
453 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
454 void MergeFrom( const EchoData& from) {
455 EchoData::MergeImpl(*this, from);
456 }
457 private:
458 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
459 public:
460 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
461 bool IsInitialized() const final;
462
463 size_t ByteSizeLong() const final;
464 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
465 uint8_t* _InternalSerialize(
466 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
467 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
468
469 private:
470 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
471 void SharedDtor();
472 void SetCachedSize(int size) const final;
473 void InternalSwap(EchoData* other);
474
475 private:
476 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
477 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
478 return "jaiabot.protobuf.EchoData";
479 }
480 protected:
481 explicit EchoData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
482 bool is_message_owned = false);
483 public:
484
485 static const ClassData _class_data_;
486 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
487
488 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
489
490 // nested types ----------------------------------------------------
491
492 // accessors -------------------------------------------------------
493
494 enum : int {
495 kEchoStateFieldNumber = 1,
496 };
497 // optional .jaiabot.protobuf.EchoState echo_state = 1 [default = BOOTING];
498 bool has_echo_state() const;
499 private:
500 bool _internal_has_echo_state() const;
501 public:
502 void clear_echo_state();
503 ::jaiabot::protobuf::EchoState echo_state() const;
504 void set_echo_state(::jaiabot::protobuf::EchoState value);
505 private:
506 ::jaiabot::protobuf::EchoState _internal_echo_state() const;
507 void _internal_set_echo_state(::jaiabot::protobuf::EchoState value);
508 public:
509
510 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.EchoData)
511 private:
512 class _Internal;
513
514 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
515 typedef void InternalArenaConstructable_;
516 typedef void DestructorSkippable_;
517 struct Impl_ {
518 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
519 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
520 int echo_state_;
521 };
522 union { Impl_ _impl_; };
523 friend struct ::TableStruct_jaiabot_2fmessages_2fecho_2eproto;
524};
525// -------------------------------------------------------------------
526
527class EchoIssue final :
528 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.EchoIssue) */ {
529 public:
530 inline EchoIssue() : EchoIssue(nullptr) {}
531 ~EchoIssue() override;
532 explicit PROTOBUF_CONSTEXPR EchoIssue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
533
534 EchoIssue(const EchoIssue& from);
535 EchoIssue(EchoIssue&& from) noexcept
536 : EchoIssue() {
537 *this = ::std::move(from);
538 }
539
540 inline EchoIssue& operator=(const EchoIssue& from) {
541 CopyFrom(from);
542 return *this;
543 }
544 inline EchoIssue& operator=(EchoIssue&& from) noexcept {
545 if (this == &from) return *this;
546 if (GetOwningArena() == from.GetOwningArena()
547 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
548 && GetOwningArena() != nullptr
549 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
550 ) {
551 InternalSwap(&from);
552 } else {
553 CopyFrom(from);
554 }
555 return *this;
556 }
557
558 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
559 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
560 }
561 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
562 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
563 }
564
565 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
566 return GetDescriptor();
567 }
568 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
569 return default_instance().GetMetadata().descriptor;
570 }
571 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
572 return default_instance().GetMetadata().reflection;
573 }
574 static const EchoIssue& default_instance() {
575 return *internal_default_instance();
576 }
577 static inline const EchoIssue* internal_default_instance() {
578 return reinterpret_cast<const EchoIssue*>(
580 }
581 static constexpr int kIndexInFileMessages =
582 2;
583
584 friend void swap(EchoIssue& a, EchoIssue& b) {
585 a.Swap(&b);
586 }
587 inline void Swap(EchoIssue* other) {
588 if (other == this) return;
589 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
590 if (GetOwningArena() != nullptr &&
591 GetOwningArena() == other->GetOwningArena()) {
592 #else // PROTOBUF_FORCE_COPY_IN_SWAP
593 if (GetOwningArena() == other->GetOwningArena()) {
594 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
595 InternalSwap(other);
596 } else {
597 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
598 }
599 }
601 if (other == this) return;
602 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
603 InternalSwap(other);
604 }
605
606 // implements Message ----------------------------------------------
607
608 EchoIssue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
609 return CreateMaybeMessage<EchoIssue>(arena);
610 }
611 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
612 void CopyFrom(const EchoIssue& from);
613 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
614 void MergeFrom( const EchoIssue& from) {
615 EchoIssue::MergeImpl(*this, from);
616 }
617 private:
618 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
619 public:
620 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
621 bool IsInitialized() const final;
622
623 size_t ByteSizeLong() const final;
624 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
625 uint8_t* _InternalSerialize(
626 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
627 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
628
629 private:
630 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
631 void SharedDtor();
632 void SetCachedSize(int size) const final;
633 void InternalSwap(EchoIssue* other);
634
635 private:
636 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
637 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
638 return "jaiabot.protobuf.EchoIssue";
639 }
640 protected:
641 explicit EchoIssue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
642 bool is_message_owned = false);
643 public:
644
645 static const ClassData _class_data_;
646 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
647
648 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
649
650 // nested types ----------------------------------------------------
651
653 static constexpr SolutionType REPORT_ECHO =
654 EchoIssue_SolutionType_REPORT_ECHO;
655 static constexpr SolutionType RESTART_ECHO_PY =
656 EchoIssue_SolutionType_RESTART_ECHO_PY;
657 static constexpr SolutionType REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY =
658 EchoIssue_SolutionType_REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY;
659 static inline bool SolutionType_IsValid(int value) {
660 return EchoIssue_SolutionType_IsValid(value);
661 }
662 static constexpr SolutionType SolutionType_MIN =
664 static constexpr SolutionType SolutionType_MAX =
666 static constexpr int SolutionType_ARRAYSIZE =
668 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
672 template<typename T>
673 static inline const std::string& SolutionType_Name(T enum_t_value) {
674 static_assert(::std::is_same<T, SolutionType>::value ||
675 ::std::is_integral<T>::value,
676 "Incorrect type passed to function SolutionType_Name.");
677 return EchoIssue_SolutionType_Name(enum_t_value);
678 }
679 static inline bool SolutionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
680 SolutionType* value) {
681 return EchoIssue_SolutionType_Parse(name, value);
682 }
683
684 // accessors -------------------------------------------------------
685
686 enum : int {
687 kSolutionFieldNumber = 1,
688 };
689 // required .jaiabot.protobuf.EchoIssue.SolutionType solution = 1;
690 bool has_solution() const;
691 private:
692 bool _internal_has_solution() const;
693 public:
694 void clear_solution();
696 void set_solution(::jaiabot::protobuf::EchoIssue_SolutionType value);
697 private:
698 ::jaiabot::protobuf::EchoIssue_SolutionType _internal_solution() const;
699 void _internal_set_solution(::jaiabot::protobuf::EchoIssue_SolutionType value);
700 public:
701
702 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.EchoIssue)
703 private:
704 class _Internal;
705
706 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
707 typedef void InternalArenaConstructable_;
708 typedef void DestructorSkippable_;
709 struct Impl_ {
710 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
711 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
712 int solution_;
713 };
714 union { Impl_ _impl_; };
715 friend struct ::TableStruct_jaiabot_2fmessages_2fecho_2eproto;
716};
717// ===================================================================
718
719
720// ===================================================================
721
722#ifdef __GNUC__
723 #pragma GCC diagnostic push
724 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
725#endif // __GNUC__
726// EchoCommand
727
728// required .jaiabot.protobuf.EchoCommand.EchoCommandType type = 1;
729inline bool EchoCommand::_internal_has_type() const {
730 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
731 return value;
732}
733inline bool EchoCommand::has_type() const {
734 return _internal_has_type();
735}
736inline void EchoCommand::clear_type() {
737 _impl_.type_ = 0;
738 _impl_._has_bits_[0] &= ~0x00000001u;
739}
740inline ::jaiabot::protobuf::EchoCommand_EchoCommandType EchoCommand::_internal_type() const {
741 return static_cast< ::jaiabot::protobuf::EchoCommand_EchoCommandType >(_impl_.type_);
742}
743inline ::jaiabot::protobuf::EchoCommand_EchoCommandType EchoCommand::type() const {
744 // @@protoc_insertion_point(field_get:jaiabot.protobuf.EchoCommand.type)
745 return _internal_type();
746}
747inline void EchoCommand::_internal_set_type(::jaiabot::protobuf::EchoCommand_EchoCommandType value) {
749 _impl_._has_bits_[0] |= 0x00000001u;
750 _impl_.type_ = value;
751}
752inline void EchoCommand::set_type(::jaiabot::protobuf::EchoCommand_EchoCommandType value) {
753 _internal_set_type(value);
754 // @@protoc_insertion_point(field_set:jaiabot.protobuf.EchoCommand.type)
755}
756
757// -------------------------------------------------------------------
758
759// EchoData
760
761// optional .jaiabot.protobuf.EchoState echo_state = 1 [default = BOOTING];
762inline bool EchoData::_internal_has_echo_state() const {
763 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
764 return value;
765}
766inline bool EchoData::has_echo_state() const {
767 return _internal_has_echo_state();
768}
769inline void EchoData::clear_echo_state() {
770 _impl_.echo_state_ = 0;
771 _impl_._has_bits_[0] &= ~0x00000001u;
772}
773inline ::jaiabot::protobuf::EchoState EchoData::_internal_echo_state() const {
774 return static_cast< ::jaiabot::protobuf::EchoState >(_impl_.echo_state_);
775}
776inline ::jaiabot::protobuf::EchoState EchoData::echo_state() const {
777 // @@protoc_insertion_point(field_get:jaiabot.protobuf.EchoData.echo_state)
778 return _internal_echo_state();
779}
780inline void EchoData::_internal_set_echo_state(::jaiabot::protobuf::EchoState value) {
782 _impl_._has_bits_[0] |= 0x00000001u;
783 _impl_.echo_state_ = value;
784}
785inline void EchoData::set_echo_state(::jaiabot::protobuf::EchoState value) {
786 _internal_set_echo_state(value);
787 // @@protoc_insertion_point(field_set:jaiabot.protobuf.EchoData.echo_state)
788}
789
790// -------------------------------------------------------------------
791
792// EchoIssue
793
794// required .jaiabot.protobuf.EchoIssue.SolutionType solution = 1;
795inline bool EchoIssue::_internal_has_solution() const {
796 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
797 return value;
798}
799inline bool EchoIssue::has_solution() const {
800 return _internal_has_solution();
801}
802inline void EchoIssue::clear_solution() {
803 _impl_.solution_ = 0;
804 _impl_._has_bits_[0] &= ~0x00000001u;
805}
806inline ::jaiabot::protobuf::EchoIssue_SolutionType EchoIssue::_internal_solution() const {
807 return static_cast< ::jaiabot::protobuf::EchoIssue_SolutionType >(_impl_.solution_);
808}
809inline ::jaiabot::protobuf::EchoIssue_SolutionType EchoIssue::solution() const {
810 // @@protoc_insertion_point(field_get:jaiabot.protobuf.EchoIssue.solution)
811 return _internal_solution();
812}
813inline void EchoIssue::_internal_set_solution(::jaiabot::protobuf::EchoIssue_SolutionType value) {
815 _impl_._has_bits_[0] |= 0x00000001u;
816 _impl_.solution_ = value;
817}
818inline void EchoIssue::set_solution(::jaiabot::protobuf::EchoIssue_SolutionType value) {
819 _internal_set_solution(value);
820 // @@protoc_insertion_point(field_set:jaiabot.protobuf.EchoIssue.solution)
821}
822
823#ifdef __GNUC__
824 #pragma GCC diagnostic pop
825#endif // __GNUC__
826// -------------------------------------------------------------------
827
828// -------------------------------------------------------------------
829
830
831// @@protoc_insertion_point(namespace_scope)
832
833} // namespace protobuf
834} // namespace jaiabot
835
836PROTOBUF_NAMESPACE_OPEN
837
838template <> struct is_proto_enum< ::jaiabot::protobuf::EchoCommand_EchoCommandType> : ::std::true_type {};
839template <>
841 return ::jaiabot::protobuf::EchoCommand_EchoCommandType_descriptor();
842}
843template <> struct is_proto_enum< ::jaiabot::protobuf::EchoIssue_SolutionType> : ::std::true_type {};
844template <>
846 return ::jaiabot::protobuf::EchoIssue_SolutionType_descriptor();
847}
848template <> struct is_proto_enum< ::jaiabot::protobuf::EchoState> : ::std::true_type {};
849template <>
851 return ::jaiabot::protobuf::EchoState_descriptor();
852}
853
854PROTOBUF_NAMESPACE_CLOSE
855
856// @@protoc_insertion_point(global_scope)
857
858#include <google/protobuf/port_undef.inc>
859#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fecho_2eproto
static constexpr EchoCommandType CMD_FREQ
Definition echo.pb.h:299
bool IsInitialized() const final
static bool EchoCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoCommandType *value)
Definition echo.pb.h:327
static constexpr EchoCommandType CMD_START
Definition echo.pb.h:287
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * EchoCommandType_descriptor()
Definition echo.pb.h:317
size_t ByteSizeLong() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition echo.pb.h:205
static bool EchoCommandType_IsValid(int value)
Definition echo.pb.h:307
::jaiabot::protobuf::EchoCommand_EchoCommandType type() const
Definition echo.pb.h:743
void set_type(::jaiabot::protobuf::EchoCommand_EchoCommandType value)
Definition echo.pb.h:752
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const std::string & EchoCommandType_Name(T enum_t_value)
Definition echo.pb.h:321
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition echo.pb.h:202
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr EchoCommandType EchoCommandType_MIN
Definition echo.pb.h:310
static const EchoCommand & default_instance()
Definition echo.pb.h:208
friend void swap(EchoCommand &a, EchoCommand &b)
Definition echo.pb.h:218
static constexpr EchoCommandType CMD_VER
Definition echo.pb.h:303
static constexpr EchoCommandType CMD_HELP
Definition echo.pb.h:305
EchoCommand & operator=(const EchoCommand &from)
Definition echo.pb.h:174
void MergeFrom(const EchoCommand &from)
Definition echo.pb.h:248
static const ClassData _class_data_
Definition echo.pb.h:279
EchoCommand(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition echo.pb.h:192
static constexpr EchoCommandType CMD_CH
Definition echo.pb.h:297
static constexpr EchoCommandType CMD_ACK
Definition echo.pb.h:293
EchoCommand(const EchoCommand &from)
static constexpr int kIndexInFileMessages
Definition echo.pb.h:215
void UnsafeArenaSwap(EchoCommand *other)
Definition echo.pb.h:234
PROTOBUF_CONSTEXPR EchoCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
EchoCommand * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition echo.pb.h:242
void CopyFrom(const EchoCommand &from)
void Swap(EchoCommand *other)
Definition echo.pb.h:221
static constexpr EchoCommandType CMD_TIME
Definition echo.pb.h:301
EchoCommand & operator=(EchoCommand &&from) noexcept
Definition echo.pb.h:178
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static constexpr int EchoCommandType_ARRAYSIZE
Definition echo.pb.h:314
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition echo.pb.h:195
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition echo.pb.h:199
EchoCommand(EchoCommand &&from) noexcept
Definition echo.pb.h:169
static constexpr EchoCommandType CMD_STATUS
Definition echo.pb.h:295
static constexpr EchoCommandType CMD_STORAGE
Definition echo.pb.h:291
static constexpr EchoCommandType CMD_STOP
Definition echo.pb.h:289
static constexpr EchoCommandType EchoCommandType_MAX
Definition echo.pb.h:312
static const EchoCommand * internal_default_instance()
Definition echo.pb.h:211
int GetCachedSize() const final
Definition echo.pb.h:261
static const EchoData * internal_default_instance()
Definition echo.pb.h:417
void UnsafeArenaSwap(EchoData *other)
Definition echo.pb.h:440
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const EchoData &from)
Definition echo.pb.h:454
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition echo.pb.h:398
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition echo.pb.h:411
EchoData(EchoData &&from) noexcept
Definition echo.pb.h:375
EchoData & operator=(const EchoData &from)
Definition echo.pb.h:380
EchoData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition echo.pb.h:448
void CopyFrom(const EchoData &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition echo.pb.h:405
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition echo.pb.h:408
friend void swap(EchoData &a, EchoData &b)
Definition echo.pb.h:424
static const ClassData _class_data_
Definition echo.pb.h:485
EchoData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR EchoData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const EchoData & default_instance()
Definition echo.pb.h:414
EchoData(const EchoData &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition echo.pb.h:401
void Swap(EchoData *other)
Definition echo.pb.h:427
EchoData & operator=(EchoData &&from) noexcept
Definition echo.pb.h:384
void UnsafeArenaSwap(EchoIssue *other)
Definition echo.pb.h:600
void CopyFrom(const EchoIssue &from)
void MergeFrom(const EchoIssue &from)
Definition echo.pb.h:614
static const EchoIssue & default_instance()
Definition echo.pb.h:574
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SolutionType_descriptor()
Definition echo.pb.h:669
static bool SolutionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SolutionType *value)
Definition echo.pb.h:679
EchoIssue & operator=(EchoIssue &&from) noexcept
Definition echo.pb.h:544
EchoIssue(EchoIssue &&from) noexcept
Definition echo.pb.h:535
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition echo.pb.h:571
static const std::string & SolutionType_Name(T enum_t_value)
Definition echo.pb.h:673
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition echo.pb.h:565
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition echo.pb.h:558
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition echo.pb.h:561
EchoIssue(const EchoIssue &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
EchoIssue(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(EchoIssue &a, EchoIssue &b)
Definition echo.pb.h:584
EchoIssue & operator=(const EchoIssue &from)
Definition echo.pb.h:540
EchoIssue * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition echo.pb.h:608
PROTOBUF_CONSTEXPR EchoIssue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(EchoIssue *other)
Definition echo.pb.h:587
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition echo.pb.h:568
static const EchoIssue * internal_default_instance()
Definition echo.pb.h:577
static const ClassData _class_data_
Definition echo.pb.h:645
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::EchoIssue_SolutionType >()
Definition echo.pb.h:845
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::EchoCommand_EchoCommandType >()
Definition echo.pb.h:840
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fecho_2eproto
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::EchoState >()
Definition echo.pb.h:850
bool EchoCommand_EchoCommandType_IsValid(int value)
constexpr EchoCommand_EchoCommandType EchoCommand_EchoCommandType_EchoCommandType_MAX
Definition echo.pb.h:87
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * EchoState_descriptor()
const std::string & EchoCommand_EchoCommandType_Name(T enum_t_value)
Definition echo.pb.h:92
bool EchoIssue_SolutionType_IsValid(int value)
EchoIssueDefaultTypeInternal _EchoIssue_default_instance_
bool EchoCommand_EchoCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoCommand_EchoCommandType *value)
Definition echo.pb.h:99
constexpr EchoCommand_EchoCommandType EchoCommand_EchoCommandType_EchoCommandType_MIN
Definition echo.pb.h:86
constexpr int EchoIssue_SolutionType_SolutionType_ARRAYSIZE
Definition echo.pb.h:112
constexpr EchoIssue_SolutionType EchoIssue_SolutionType_SolutionType_MIN
Definition echo.pb.h:110
bool EchoState_IsValid(int value)
constexpr EchoState EchoState_MAX
Definition echo.pb.h:142
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * EchoCommand_EchoCommandType_descriptor()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * EchoIssue_SolutionType_descriptor()
const std::string & EchoIssue_SolutionType_Name(T enum_t_value)
Definition echo.pb.h:116
EchoCommandDefaultTypeInternal _EchoCommand_default_instance_
constexpr EchoIssue_SolutionType EchoIssue_SolutionType_SolutionType_MAX
Definition echo.pb.h:111
@ EchoIssue_SolutionType_REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY
Definition echo.pb.h:107
@ EchoIssue_SolutionType_REPORT_ECHO
Definition echo.pb.h:105
@ EchoIssue_SolutionType_RESTART_ECHO_PY
Definition echo.pb.h:106
const std::string & EchoState_Name(T enum_t_value)
Definition echo.pb.h:147
bool EchoIssue_SolutionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoIssue_SolutionType *value)
Definition echo.pb.h:123
bool EchoState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EchoState *value)
Definition echo.pb.h:154
constexpr int EchoState_ARRAYSIZE
Definition echo.pb.h:143
constexpr int EchoCommand_EchoCommandType_EchoCommandType_ARRAYSIZE
Definition echo.pb.h:88
@ EchoCommand_EchoCommandType_CMD_HELP
Definition echo.pb.h:83
@ EchoCommand_EchoCommandType_CMD_STATUS
Definition echo.pb.h:78
@ EchoCommand_EchoCommandType_CMD_STOP
Definition echo.pb.h:75
@ EchoCommand_EchoCommandType_CMD_TIME
Definition echo.pb.h:81
@ EchoCommand_EchoCommandType_CMD_START
Definition echo.pb.h:74
@ EchoCommand_EchoCommandType_CMD_FREQ
Definition echo.pb.h:80
@ EchoCommand_EchoCommandType_CMD_VER
Definition echo.pb.h:82
@ EchoCommand_EchoCommandType_CMD_CH
Definition echo.pb.h:79
@ EchoCommand_EchoCommandType_CMD_STORAGE
Definition echo.pb.h:76
@ EchoCommand_EchoCommandType_CMD_ACK
Definition echo.pb.h:77
EchoDataDefaultTypeInternal _EchoData_default_instance_
constexpr EchoState EchoState_MIN
Definition echo.pb.h:141