4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fexample_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fexample_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
33#include <boost/units/quantity.hpp>
34#include <boost/units/absolute.hpp>
35#include <boost/units/dimensionless_type.hpp>
36#include <boost/units/make_scaled_unit.hpp>
38#include <google/protobuf/port_def.inc>
39#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fexample_2eproto
40PROTOBUF_NAMESPACE_OPEN
44PROTOBUF_NAMESPACE_CLOSE
54struct ExampleDefaultTypeInternal;
58PROTOBUF_NAMESPACE_OPEN
60PROTOBUF_NAMESPACE_CLOSE
67 public ::PROTOBUF_NAMESPACE_ID::Message {
71 explicit PROTOBUF_CONSTEXPR
Example(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
76 *
this = ::std::move(from);
84 if (
this == &from)
return *
this;
85 if (GetOwningArena() == from.GetOwningArena()
86 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
87 && GetOwningArena() !=
nullptr
97 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet&
unknown_fields()
const {
98 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
101 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
104 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 return reinterpret_cast<const Example*
>(
127 if (other ==
this)
return;
128 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
129 if (GetOwningArena() !=
nullptr &&
130 GetOwningArena() == other->GetOwningArena()) {
132 if (GetOwningArena() == other->GetOwningArena()) {
136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
140 if (other ==
this)
return;
141 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
147 Example*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
148 return CreateMaybeMessage<Example>(arena);
150 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
152 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
154 Example::MergeImpl(*
this, from);
157 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
159 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
165 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
171 void SetCachedSize(
int size)
const final;
172 void InternalSwap(
Example* other);
175 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
176 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
177 return "jaiabot.protobuf.Example";
180 explicit Example(::PROTOBUF_NAMESPACE_ID::Arena* arena,
181 bool is_message_owned =
false);
185 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
200 bool _internal_has_b()
const;
204 void set_b(
double value);
206 double _internal_b()
const;
207 void _internal_set_b(
double value);
213 bool _internal_has_a()
const;
217 void set_a(int32_t value);
219 int32_t _internal_a()
const;
220 void _internal_set_a(int32_t value);
227 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
228 typedef void InternalArenaConstructable_;
229 typedef void DestructorSkippable_;
231 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
232 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
237 friend struct ::TableStruct_jaiabot_2fmessages_2fexample_2eproto;
245 #pragma GCC diagnostic push
246 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
251inline bool Example::_internal_has_a()
const {
252 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
256 return _internal_has_a();
260 _impl_._has_bits_[0] &= ~0x00000002u;
262inline int32_t Example::_internal_a()
const {
267 return _internal_a();
269inline void Example::_internal_set_a(int32_t value) {
270 _impl_._has_bits_[0] |= 0x00000002u;
274 _internal_set_a(value);
279inline bool Example::_internal_has_b()
const {
280 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
284 return _internal_has_b();
288 _impl_._has_bits_[0] &= ~0x00000001u;
290inline double Example::_internal_b()
const {
295 return _internal_b();
297inline void Example::_internal_set_b(
double value) {
298 _impl_._has_bits_[0] |= 0x00000001u;
302 _internal_set_b(value);
307 #pragma GCC diagnostic pop
317#include <google/protobuf/port_undef.inc>
Example(Example &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Example * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(Example &a, Example &b)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Example * internal_default_instance()
void CopyFrom(const Example &from)
void MergeFrom(const Example &from)
Example(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Example & operator=(Example &&from) noexcept
bool IsInitialized() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void Swap(Example *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(Example *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Example & default_instance()
size_t ByteSizeLong() const final
Example(const Example &from)
void set_a(int32_t value)
PROTOBUF_CONSTEXPR Example(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Example & operator=(const Example &from)
int GetCachedSize() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr int kIndexInFileMessages
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fexample_2eproto
ExampleDefaultTypeInternal _Example_default_instance_
static const uint32_t offsets[]