4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fecho_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fecho_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
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>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fecho_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[3];
49 static const ::google::protobuf::uint32
offsets[];
56 class EchoCommandDefaultTypeInternal;
59 class EchoDataDefaultTypeInternal;
62 class EchoIssueDefaultTypeInternal;
95 return ::google::protobuf::internal::NameOfEnum(
100 return ::google::protobuf::internal::ParseNamedEnum<EchoCommand_EchoCommandType>(
115 return ::google::protobuf::internal::NameOfEnum(
120 return ::google::protobuf::internal::ParseNamedEnum<EchoIssue_SolutionType>(
142 return ::google::protobuf::internal::NameOfEnum(
146 const ::std::string& name,
EchoState* value) {
147 return ::google::protobuf::internal::ParseNamedEnum<EchoState>(
166 *
this = ::std::move(from);
170 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
171 if (
this != &from) InternalSwap(&from);
179 return _internal_metadata_.unknown_fields();
182 return _internal_metadata_.mutable_unknown_fields();
185 static const ::google::protobuf::Descriptor*
descriptor();
204 return CreateMaybeMessage<EchoCommand>(NULL);
208 return CreateMaybeMessage<EchoCommand>(arena);
210 void CopyFrom(const ::google::protobuf::Message& from)
final;
211 void MergeFrom(const ::google::protobuf::Message& from)
final;
219 ::
google::protobuf::io::CodedInputStream* input) final;
221 ::
google::protobuf::io::CodedOutputStream* output) const final;
223 bool deterministic, ::
google::protobuf::uint8* target) const final;
229 void SetCachedSize(
int size)
const final;
232 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
235 inline void* MaybeArenaPtr()
const {
240 ::google::protobuf::Metadata
GetMetadata() const final;
274 static inline const ::google::protobuf::EnumDescriptor*
298 void clear_has_type();
300 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
301 ::google::protobuf::internal::HasBits<1> _has_bits_;
302 mutable ::google::protobuf::internal::CachedSize _cached_size_;
304 friend struct ::protobuf_jaiabot_2fmessages_2fecho_2eproto::TableStruct;
308 class EchoData :
public ::google::protobuf::Message {
322 *
this = ::std::move(from);
326 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
327 if (
this != &from) InternalSwap(&from);
335 return _internal_metadata_.unknown_fields();
338 return _internal_metadata_.mutable_unknown_fields();
341 static const ::google::protobuf::Descriptor*
descriptor();
346 return reinterpret_cast<const EchoData*
>(
360 return CreateMaybeMessage<EchoData>(NULL);
364 return CreateMaybeMessage<EchoData>(arena);
366 void CopyFrom(const ::google::protobuf::Message& from)
final;
367 void MergeFrom(const ::google::protobuf::Message& from)
final;
375 ::
google::protobuf::io::CodedInputStream* input) final;
377 ::
google::protobuf::io::CodedOutputStream* output) const final;
379 bool deterministic, ::
google::protobuf::uint8* target) const final;
385 void SetCachedSize(
int size)
const final;
388 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
391 inline void* MaybeArenaPtr()
const {
396 ::google::protobuf::Metadata
GetMetadata() const final;
411 void set_has_echo_state();
412 void clear_has_echo_state();
414 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
415 ::
google::protobuf::internal::HasBits<1> _has_bits_;
416 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
436 *
this = ::std::move(from);
439 inline EchoIssue&
operator=(EchoIssue&& from) noexcept {
440 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
441 if (
this != &from) InternalSwap(&from);
449 return _internal_metadata_.unknown_fields();
452 return _internal_metadata_.mutable_unknown_fields();
455 static const ::google::protobuf::Descriptor*
descriptor();
460 return reinterpret_cast<const EchoIssue*
>(
474 return CreateMaybeMessage<EchoIssue>(NULL);
478 return CreateMaybeMessage<EchoIssue>(arena);
480 void CopyFrom(const ::google::protobuf::Message& from)
final;
481 void MergeFrom(const ::google::protobuf::Message& from)
final;
489 ::
google::protobuf::io::CodedInputStream* input) final;
491 ::
google::protobuf::io::CodedOutputStream* output) const final;
493 bool deterministic, ::
google::protobuf::uint8* target) const final;
499 void SetCachedSize(
int size)
const final;
502 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
505 inline void* MaybeArenaPtr()
const {
510 ::google::protobuf::Metadata
GetMetadata() const final;
521 static inline
bool SolutionType_IsValid(
int value) {
528 static const int SolutionType_ARRAYSIZE =
530 static inline const ::google::protobuf::EnumDescriptor*
545 bool has_solution()
const;
546 void clear_solution();
547 static const int kSolutionFieldNumber = 1;
553 void set_has_solution();
554 void clear_has_solution();
556 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
557 ::google::protobuf::internal::HasBits<1> _has_bits_;
558 mutable ::google::protobuf::internal::CachedSize _cached_size_;
560 friend struct ::protobuf_jaiabot_2fmessages_2fecho_2eproto::TableStruct;
568 #pragma GCC diagnostic push
569 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
575 return (_has_bits_[0] & 0x00000001u) != 0;
577 inline void EchoCommand::set_has_type() {
578 _has_bits_[0] |= 0x00000001u;
580 inline void EchoCommand::clear_has_type() {
581 _has_bits_[0] &= ~0x00000001u;
604 return (_has_bits_[0] & 0x00000001u) != 0;
606 inline void EchoData::set_has_echo_state() {
607 _has_bits_[0] |= 0x00000001u;
609 inline void EchoData::clear_has_echo_state() {
610 _has_bits_[0] &= ~0x00000001u;
614 clear_has_echo_state();
622 set_has_echo_state();
633 return (_has_bits_[0] & 0x00000001u) != 0;
635 inline void EchoIssue::set_has_solution() {
636 _has_bits_[0] |= 0x00000001u;
638 inline void EchoIssue::clear_has_solution() {
639 _has_bits_[0] &= ~0x00000001u;
643 clear_has_solution();
657 #pragma GCC diagnostic pop
674 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::EchoCommand_EchoCommandType>() {
679 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::EchoIssue_SolutionType>() {
684 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::EchoState>() {
693 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fecho_2eproto