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