JaiaBot  1.20.0
JaiaBot micro-AUV software
example.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/example.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fexample_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fexample_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/unknown_field_set.h>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
39 // @@protoc_insertion_point(includes)
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fexample_2eproto
42 PROTOBUF_NAMESPACE_OPEN
43 namespace internal {
44 class AnyMetadata;
45 } // namespace internal
46 PROTOBUF_NAMESPACE_CLOSE
47 
48 // Internal implementation detail -- do not use these members.
50  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
51  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
53  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
57  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
58  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
59 };
60 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fexample_2eproto;
61 namespace jaiabot {
62 namespace protobuf {
63 class Example;
64 class ExampleDefaultTypeInternal;
65 extern ExampleDefaultTypeInternal _Example_default_instance_;
66 } // namespace protobuf
67 } // namespace jaiabot
68 PROTOBUF_NAMESPACE_OPEN
69 template<> ::jaiabot::protobuf::Example* Arena::CreateMaybeMessage<::jaiabot::protobuf::Example>(Arena*);
70 PROTOBUF_NAMESPACE_CLOSE
71 namespace jaiabot {
72 namespace protobuf {
73 
74 // ===================================================================
75 
76 class Example PROTOBUF_FINAL :
77  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Example) */ {
78  public:
79  inline Example() : Example(nullptr) {};
80  virtual ~Example();
81 
82  Example(const Example& from);
83  Example(Example&& from) noexcept
84  : Example() {
85  *this = ::std::move(from);
86  }
87 
88  inline Example& operator=(const Example& from) {
89  CopyFrom(from);
90  return *this;
91  }
92  inline Example& operator=(Example&& from) noexcept {
93  if (GetArena() == from.GetArena()) {
94  if (this != &from) InternalSwap(&from);
95  } else {
96  CopyFrom(from);
97  }
98  return *this;
99  }
100 
101  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
102  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
103  }
104  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
105  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
106  }
107 
108  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
109  return GetDescriptor();
110  }
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
112  return GetMetadataStatic().descriptor;
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
115  return GetMetadataStatic().reflection;
116  }
117  static const Example& default_instance();
118 
119  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
120  static inline const Example* internal_default_instance() {
121  return reinterpret_cast<const Example*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(Example& a, Example& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(Example* other) {
131  if (other == this) return;
132  if (GetArena() == other->GetArena()) {
133  InternalSwap(other);
134  } else {
135  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
136  }
137  }
138  void UnsafeArenaSwap(Example* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Example* New() const final {
147  return CreateMaybeMessage<Example>(nullptr);
148  }
149 
150  Example* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<Example>(arena);
152  }
153  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void CopyFrom(const Example& from);
156  void MergeFrom(const Example& from);
157  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  inline void SharedCtor();
168  inline void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(Example* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "jaiabot.protobuf.Example";
174  }
175  protected:
176  explicit Example(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177  private:
178  static void ArenaDtor(void* object);
179  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  public:
181 
182  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183  private:
184  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fexample_2eproto);
186  return ::descriptor_table_jaiabot_2fmessages_2fexample_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kBFieldNumber = 2,
197  kAFieldNumber = 1,
198  };
199  // required double b = 2;
200  bool has_b() const;
201  private:
202  bool _internal_has_b() const;
203  public:
204  void clear_b();
205  double b() const;
206  void set_b(double value);
207  private:
208  double _internal_b() const;
209  void _internal_set_b(double value);
210  public:
211 
212  // optional int32 a = 1;
213  bool has_a() const;
214  private:
215  bool _internal_has_a() const;
216  public:
217  void clear_a();
218  ::PROTOBUF_NAMESPACE_ID::int32 a() const;
219  void set_a(::PROTOBUF_NAMESPACE_ID::int32 value);
220  private:
221  ::PROTOBUF_NAMESPACE_ID::int32 _internal_a() const;
222  void _internal_set_a(::PROTOBUF_NAMESPACE_ID::int32 value);
223  public:
224 
225  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Example)
226  private:
227  class _Internal;
228 
229  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
230  typedef void InternalArenaConstructable_;
231  typedef void DestructorSkippable_;
232  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
233  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
234  double b_;
235  ::PROTOBUF_NAMESPACE_ID::int32 a_;
236  friend struct ::TableStruct_jaiabot_2fmessages_2fexample_2eproto;
237 };
238 // ===================================================================
239 
240 
241 // ===================================================================
242 
243 #ifdef __GNUC__
244  #pragma GCC diagnostic push
245  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
246 #endif // __GNUC__
247 // Example
248 
249 // optional int32 a = 1;
250 inline bool Example::_internal_has_a() const {
251  bool value = (_has_bits_[0] & 0x00000002u) != 0;
252  return value;
253 }
254 inline bool Example::has_a() const {
255  return _internal_has_a();
256 }
257 inline void Example::clear_a() {
258  a_ = 0;
259  _has_bits_[0] &= ~0x00000002u;
260 }
261 inline ::PROTOBUF_NAMESPACE_ID::int32 Example::_internal_a() const {
262  return a_;
263 }
264 inline ::PROTOBUF_NAMESPACE_ID::int32 Example::a() const {
265  // @@protoc_insertion_point(field_get:jaiabot.protobuf.Example.a)
266  return _internal_a();
267 }
268 inline void Example::_internal_set_a(::PROTOBUF_NAMESPACE_ID::int32 value) {
269  _has_bits_[0] |= 0x00000002u;
270  a_ = value;
271 }
272 inline void Example::set_a(::PROTOBUF_NAMESPACE_ID::int32 value) {
273  _internal_set_a(value);
274  // @@protoc_insertion_point(field_set:jaiabot.protobuf.Example.a)
275 }
276 
277 // required double b = 2;
278 inline bool Example::_internal_has_b() const {
279  bool value = (_has_bits_[0] & 0x00000001u) != 0;
280  return value;
281 }
282 inline bool Example::has_b() const {
283  return _internal_has_b();
284 }
285 inline void Example::clear_b() {
286  b_ = 0;
287  _has_bits_[0] &= ~0x00000001u;
288 }
289 inline double Example::_internal_b() const {
290  return b_;
291 }
292 inline double Example::b() const {
293  // @@protoc_insertion_point(field_get:jaiabot.protobuf.Example.b)
294  return _internal_b();
295 }
296 inline void Example::_internal_set_b(double value) {
297  _has_bits_[0] |= 0x00000001u;
298  b_ = value;
299 }
300 inline void Example::set_b(double value) {
301  _internal_set_b(value);
302  // @@protoc_insertion_point(field_set:jaiabot.protobuf.Example.b)
303 }
304 
305 #ifdef __GNUC__
306  #pragma GCC diagnostic pop
307 #endif // __GNUC__
308 
309 // @@protoc_insertion_point(namespace_scope)
310 
311 } // namespace protobuf
312 } // namespace jaiabot
313 
314 // @@protoc_insertion_point(global_scope)
315 
316 #include <google/protobuf/port_undef.inc>
317 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fexample_2eproto
void UnsafeArenaSwap(Example *other)
Definition: example.pb.h:138
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: example.pb.h:101
static const Example * internal_default_instance()
Definition: example.pb.h:120
friend void swap(Example &a, Example &b)
Definition: example.pb.h:127
Example(Example &&from) noexcept
Definition: example.pb.h:83
void Swap(Example *other)
Definition: example.pb.h:130
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
CameraResponse_Metadata Metadata
Example * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: example.pb.h:150
void CopyFrom(const Example &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Example & operator=(Example &&from) noexcept
Definition: example.pb.h:92
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: example.pb.h:104
void set_a(::PROTOBUF_NAMESPACE_ID::int32 value)
Example(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Example & operator=(const Example &from)
Definition: example.pb.h:88
Example * New() const final
Definition: example.pb.h:146
static const Example & default_instance()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: example.pb.h:111
void MergeFrom(const Example &from)
Example(const Example &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::int32 a() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: example.pb.h:114
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: example.pb.h:108
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fexample_2eproto
ExampleDefaultTypeInternal _Example_default_instance_
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: example.pb.h:56
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: example.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: example.pb.h:57