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