JaiaBot  1.12.0+7+gdc1e5561
JaiaBot micro-AUV software
moos.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/moos.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmoos_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmoos_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_2fmoos_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[1]
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_2fmoos_2eproto;
63 namespace jaiabot {
64 namespace protobuf {
65 class MOOSMessage;
66 class MOOSMessageDefaultTypeInternal;
67 extern MOOSMessageDefaultTypeInternal _MOOSMessage_default_instance_;
68 } // namespace protobuf
69 } // namespace jaiabot
70 PROTOBUF_NAMESPACE_OPEN
71 template<> ::jaiabot::protobuf::MOOSMessage* Arena::CreateMaybeMessage<::jaiabot::protobuf::MOOSMessage>(Arena*);
72 PROTOBUF_NAMESPACE_CLOSE
73 namespace jaiabot {
74 namespace protobuf {
75 
76 enum MOOSMessage_Type : int {
80 };
81 bool MOOSMessage_Type_IsValid(int value);
85 
86 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MOOSMessage_Type_descriptor();
87 template<typename T>
88 inline const std::string& MOOSMessage_Type_Name(T enum_t_value) {
89  static_assert(::std::is_same<T, MOOSMessage_Type>::value ||
90  ::std::is_integral<T>::value,
91  "Incorrect type passed to function MOOSMessage_Type_Name.");
92  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
93  MOOSMessage_Type_descriptor(), enum_t_value);
94 }
96  const std::string& name, MOOSMessage_Type* value) {
97  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MOOSMessage_Type>(
98  MOOSMessage_Type_descriptor(), name, value);
99 }
100 // ===================================================================
101 
102 class MOOSMessage PROTOBUF_FINAL :
103  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.MOOSMessage) */ {
104  public:
105  inline MOOSMessage() : MOOSMessage(nullptr) {};
106  virtual ~MOOSMessage();
107 
108  MOOSMessage(const MOOSMessage& from);
109  MOOSMessage(MOOSMessage&& from) noexcept
110  : MOOSMessage() {
111  *this = ::std::move(from);
112  }
113 
114  inline MOOSMessage& operator=(const MOOSMessage& from) {
115  CopyFrom(from);
116  return *this;
117  }
118  inline MOOSMessage& operator=(MOOSMessage&& from) noexcept {
119  if (GetArena() == from.GetArena()) {
120  if (this != &from) InternalSwap(&from);
121  } else {
122  CopyFrom(from);
123  }
124  return *this;
125  }
126 
127  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
128  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
129  }
130  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
131  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
132  }
133 
134  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
135  return GetDescriptor();
136  }
137  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
138  return GetMetadataStatic().descriptor;
139  }
140  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
141  return GetMetadataStatic().reflection;
142  }
143  static const MOOSMessage& default_instance();
144 
145  enum ValueCase {
146  kSvalue = 3,
147  kDvalue = 4,
148  kBvalue = 5,
149  VALUE_NOT_SET = 0,
150  };
151 
152  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
153  static inline const MOOSMessage* internal_default_instance() {
154  return reinterpret_cast<const MOOSMessage*>(
156  }
157  static constexpr int kIndexInFileMessages =
158  0;
159 
160  friend void swap(MOOSMessage& a, MOOSMessage& b) {
161  a.Swap(&b);
162  }
163  inline void Swap(MOOSMessage* other) {
164  if (other == this) return;
165  if (GetArena() == other->GetArena()) {
166  InternalSwap(other);
167  } else {
168  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
169  }
170  }
171  void UnsafeArenaSwap(MOOSMessage* other) {
172  if (other == this) return;
173  GOOGLE_DCHECK(GetArena() == other->GetArena());
174  InternalSwap(other);
175  }
176 
177  // implements Message ----------------------------------------------
178 
179  inline MOOSMessage* New() const final {
180  return CreateMaybeMessage<MOOSMessage>(nullptr);
181  }
182 
183  MOOSMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
184  return CreateMaybeMessage<MOOSMessage>(arena);
185  }
186  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
187  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
188  void CopyFrom(const MOOSMessage& from);
189  void MergeFrom(const MOOSMessage& from);
190  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
191  bool IsInitialized() const final;
192 
193  size_t ByteSizeLong() const final;
194  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
195  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
196  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
197  int GetCachedSize() const final { return _cached_size_.Get(); }
198 
199  private:
200  inline void SharedCtor();
201  inline void SharedDtor();
202  void SetCachedSize(int size) const final;
203  void InternalSwap(MOOSMessage* other);
204  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
205  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
206  return "jaiabot.protobuf.MOOSMessage";
207  }
208  protected:
209  explicit MOOSMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
210  private:
211  static void ArenaDtor(void* object);
212  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
213  public:
214 
215  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
216  private:
217  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
218  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fmoos_2eproto);
219  return ::descriptor_table_jaiabot_2fmessages_2fmoos_2eproto.file_level_metadata[kIndexInFileMessages];
220  }
221 
222  public:
223 
224  // nested types ----------------------------------------------------
225 
227  static constexpr Type TYPE_DOUBLE =
229  static constexpr Type TYPE_STRING =
231  static constexpr Type TYPE_BINARY_STRING =
233  static inline bool Type_IsValid(int value) {
234  return MOOSMessage_Type_IsValid(value);
235  }
236  static constexpr Type Type_MIN =
238  static constexpr Type Type_MAX =
240  static constexpr int Type_ARRAYSIZE =
242  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
245  }
246  template<typename T>
247  static inline const std::string& Type_Name(T enum_t_value) {
248  static_assert(::std::is_same<T, Type>::value ||
249  ::std::is_integral<T>::value,
250  "Incorrect type passed to function Type_Name.");
251  return MOOSMessage_Type_Name(enum_t_value);
252  }
253  static inline bool Type_Parse(const std::string& name,
254  Type* value) {
255  return MOOSMessage_Type_Parse(name, value);
256  }
257 
258  // accessors -------------------------------------------------------
259 
260  enum : int {
261  kKeyFieldNumber = 2,
262  kSourceFieldNumber = 8,
263  kSourceAuxFieldNumber = 9,
264  kCommunityFieldNumber = 10,
265  kUnixtimeFieldNumber = 6,
266  kIdFieldNumber = 7,
267  kTypeFieldNumber = 1,
268  kSvalueFieldNumber = 3,
269  kDvalueFieldNumber = 4,
270  kBvalueFieldNumber = 5,
271  };
272  // required string key = 2;
273  bool has_key() const;
274  private:
275  bool _internal_has_key() const;
276  public:
277  void clear_key();
278  const std::string& key() const;
279  void set_key(const std::string& value);
280  void set_key(std::string&& value);
281  void set_key(const char* value);
282  void set_key(const char* value, size_t size);
283  std::string* mutable_key();
284  std::string* release_key();
285  void set_allocated_key(std::string* key);
286  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
287  " string fields are deprecated and will be removed in a"
288  " future release.")
289  std::string* unsafe_arena_release_key();
290  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
291  " string fields are deprecated and will be removed in a"
292  " future release.")
293  void unsafe_arena_set_allocated_key(
294  std::string* key);
295  private:
296  const std::string& _internal_key() const;
297  void _internal_set_key(const std::string& value);
298  std::string* _internal_mutable_key();
299  public:
300 
301  // required string source = 8;
302  bool has_source() const;
303  private:
304  bool _internal_has_source() const;
305  public:
306  void clear_source();
307  const std::string& source() const;
308  void set_source(const std::string& value);
309  void set_source(std::string&& value);
310  void set_source(const char* value);
311  void set_source(const char* value, size_t size);
312  std::string* mutable_source();
313  std::string* release_source();
314  void set_allocated_source(std::string* source);
315  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
316  " string fields are deprecated and will be removed in a"
317  " future release.")
318  std::string* unsafe_arena_release_source();
319  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
320  " string fields are deprecated and will be removed in a"
321  " future release.")
322  void unsafe_arena_set_allocated_source(
323  std::string* source);
324  private:
325  const std::string& _internal_source() const;
326  void _internal_set_source(const std::string& value);
327  std::string* _internal_mutable_source();
328  public:
329 
330  // optional string source_aux = 9;
331  bool has_source_aux() const;
332  private:
333  bool _internal_has_source_aux() const;
334  public:
335  void clear_source_aux();
336  const std::string& source_aux() const;
337  void set_source_aux(const std::string& value);
338  void set_source_aux(std::string&& value);
339  void set_source_aux(const char* value);
340  void set_source_aux(const char* value, size_t size);
341  std::string* mutable_source_aux();
342  std::string* release_source_aux();
343  void set_allocated_source_aux(std::string* source_aux);
344  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
345  " string fields are deprecated and will be removed in a"
346  " future release.")
347  std::string* unsafe_arena_release_source_aux();
348  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
349  " string fields are deprecated and will be removed in a"
350  " future release.")
351  void unsafe_arena_set_allocated_source_aux(
352  std::string* source_aux);
353  private:
354  const std::string& _internal_source_aux() const;
355  void _internal_set_source_aux(const std::string& value);
356  std::string* _internal_mutable_source_aux();
357  public:
358 
359  // required string community = 10;
360  bool has_community() const;
361  private:
362  bool _internal_has_community() const;
363  public:
364  void clear_community();
365  const std::string& community() const;
366  void set_community(const std::string& value);
367  void set_community(std::string&& value);
368  void set_community(const char* value);
369  void set_community(const char* value, size_t size);
370  std::string* mutable_community();
371  std::string* release_community();
372  void set_allocated_community(std::string* community);
373  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
374  " string fields are deprecated and will be removed in a"
375  " future release.")
376  std::string* unsafe_arena_release_community();
377  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
378  " string fields are deprecated and will be removed in a"
379  " future release.")
380  void unsafe_arena_set_allocated_community(
381  std::string* community);
382  private:
383  const std::string& _internal_community() const;
384  void _internal_set_community(const std::string& value);
385  std::string* _internal_mutable_community();
386  public:
387 
388  // required double unixtime = 6;
389  bool has_unixtime() const;
390  private:
391  bool _internal_has_unixtime() const;
392  public:
393  void clear_unixtime();
394  double unixtime() const;
395  void set_unixtime(double value);
396  private:
397  double _internal_unixtime() const;
398  void _internal_set_unixtime(double value);
399  public:
400 
401  // required int32 id = 7;
402  bool has_id() const;
403  private:
404  bool _internal_has_id() const;
405  public:
406  void clear_id();
407  ::PROTOBUF_NAMESPACE_ID::int32 id() const;
408  void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
409  private:
410  ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
411  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
412  public:
413 
414  // required .jaiabot.protobuf.MOOSMessage.Type type = 1;
415  bool has_type() const;
416  private:
417  bool _internal_has_type() const;
418  public:
419  void clear_type();
420  ::jaiabot::protobuf::MOOSMessage_Type type() const;
421  void set_type(::jaiabot::protobuf::MOOSMessage_Type value);
422  private:
423  ::jaiabot::protobuf::MOOSMessage_Type _internal_type() const;
424  void _internal_set_type(::jaiabot::protobuf::MOOSMessage_Type value);
425  public:
426 
427  // string svalue = 3;
428  bool has_svalue() const;
429  private:
430  bool _internal_has_svalue() const;
431  public:
432  void clear_svalue();
433  const std::string& svalue() const;
434  void set_svalue(const std::string& value);
435  void set_svalue(std::string&& value);
436  void set_svalue(const char* value);
437  void set_svalue(const char* value, size_t size);
438  std::string* mutable_svalue();
439  std::string* release_svalue();
440  void set_allocated_svalue(std::string* svalue);
441  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
442  " string fields are deprecated and will be removed in a"
443  " future release.")
444  std::string* unsafe_arena_release_svalue();
445  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
446  " string fields are deprecated and will be removed in a"
447  " future release.")
448  void unsafe_arena_set_allocated_svalue(
449  std::string* svalue);
450  private:
451  const std::string& _internal_svalue() const;
452  void _internal_set_svalue(const std::string& value);
453  std::string* _internal_mutable_svalue();
454  public:
455 
456  // double dvalue = 4;
457  bool has_dvalue() const;
458  private:
459  bool _internal_has_dvalue() const;
460  public:
461  void clear_dvalue();
462  double dvalue() const;
463  void set_dvalue(double value);
464  private:
465  double _internal_dvalue() const;
466  void _internal_set_dvalue(double value);
467  public:
468 
469  // bytes bvalue = 5;
470  bool has_bvalue() const;
471  private:
472  bool _internal_has_bvalue() const;
473  public:
474  void clear_bvalue();
475  const std::string& bvalue() const;
476  void set_bvalue(const std::string& value);
477  void set_bvalue(std::string&& value);
478  void set_bvalue(const char* value);
479  void set_bvalue(const void* value, size_t size);
480  std::string* mutable_bvalue();
481  std::string* release_bvalue();
482  void set_allocated_bvalue(std::string* bvalue);
483  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
484  " string fields are deprecated and will be removed in a"
485  " future release.")
486  std::string* unsafe_arena_release_bvalue();
487  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
488  " string fields are deprecated and will be removed in a"
489  " future release.")
490  void unsafe_arena_set_allocated_bvalue(
491  std::string* bvalue);
492  private:
493  const std::string& _internal_bvalue() const;
494  void _internal_set_bvalue(const std::string& value);
495  std::string* _internal_mutable_bvalue();
496  public:
497 
498  void clear_value();
499  ValueCase value_case() const;
500  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.MOOSMessage)
501  private:
502  class _Internal;
503  void set_has_svalue();
504  void set_has_dvalue();
505  void set_has_bvalue();
506 
507  inline bool has_value() const;
508  inline void clear_has_value();
509 
510  // helper for ByteSizeLong()
511  size_t RequiredFieldsByteSizeFallback() const;
512 
513  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
514  typedef void InternalArenaConstructable_;
515  typedef void DestructorSkippable_;
516  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
517  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
518  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
519  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_;
520  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_aux_;
521  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr community_;
522  double unixtime_;
523  ::PROTOBUF_NAMESPACE_ID::int32 id_;
524  int type_;
525  union ValueUnion {
526  ValueUnion() {}
527  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr svalue_;
528  double dvalue_;
529  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bvalue_;
530  } value_;
531  ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
532 
533  friend struct ::TableStruct_jaiabot_2fmessages_2fmoos_2eproto;
534 };
535 // ===================================================================
536 
537 
538 // ===================================================================
539 
540 #ifdef __GNUC__
541  #pragma GCC diagnostic push
542  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
543 #endif // __GNUC__
544 // MOOSMessage
545 
546 // required .jaiabot.protobuf.MOOSMessage.Type type = 1;
547 inline bool MOOSMessage::_internal_has_type() const {
548  bool value = (_has_bits_[0] & 0x00000040u) != 0;
549  return value;
550 }
551 inline bool MOOSMessage::has_type() const {
552  return _internal_has_type();
553 }
554 inline void MOOSMessage::clear_type() {
555  type_ = 68;
556  _has_bits_[0] &= ~0x00000040u;
557 }
558 inline ::jaiabot::protobuf::MOOSMessage_Type MOOSMessage::_internal_type() const {
559  return static_cast< ::jaiabot::protobuf::MOOSMessage_Type >(type_);
560 }
561 inline ::jaiabot::protobuf::MOOSMessage_Type MOOSMessage::type() const {
562  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.type)
563  return _internal_type();
564 }
565 inline void MOOSMessage::_internal_set_type(::jaiabot::protobuf::MOOSMessage_Type value) {
567  _has_bits_[0] |= 0x00000040u;
568  type_ = value;
569 }
570 inline void MOOSMessage::set_type(::jaiabot::protobuf::MOOSMessage_Type value) {
571  _internal_set_type(value);
572  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.type)
573 }
574 
575 // required string key = 2;
576 inline bool MOOSMessage::_internal_has_key() const {
577  bool value = (_has_bits_[0] & 0x00000001u) != 0;
578  return value;
579 }
580 inline bool MOOSMessage::has_key() const {
581  return _internal_has_key();
582 }
583 inline void MOOSMessage::clear_key() {
584  key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
585  _has_bits_[0] &= ~0x00000001u;
586 }
587 inline const std::string& MOOSMessage::key() const {
588  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.key)
589  return _internal_key();
590 }
591 inline void MOOSMessage::set_key(const std::string& value) {
592  _internal_set_key(value);
593  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.key)
594 }
595 inline std::string* MOOSMessage::mutable_key() {
596  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MOOSMessage.key)
597  return _internal_mutable_key();
598 }
599 inline const std::string& MOOSMessage::_internal_key() const {
600  return key_.Get();
601 }
602 inline void MOOSMessage::_internal_set_key(const std::string& value) {
603  _has_bits_[0] |= 0x00000001u;
604  key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
605 }
606 inline void MOOSMessage::set_key(std::string&& value) {
607  _has_bits_[0] |= 0x00000001u;
608  key_.Set(
609  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
610  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.MOOSMessage.key)
611 }
612 inline void MOOSMessage::set_key(const char* value) {
613  GOOGLE_DCHECK(value != nullptr);
614  _has_bits_[0] |= 0x00000001u;
615  key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
616  GetArena());
617  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.MOOSMessage.key)
618 }
619 inline void MOOSMessage::set_key(const char* value,
620  size_t size) {
621  _has_bits_[0] |= 0x00000001u;
622  key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
623  reinterpret_cast<const char*>(value), size), GetArena());
624  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.MOOSMessage.key)
625 }
626 inline std::string* MOOSMessage::_internal_mutable_key() {
627  _has_bits_[0] |= 0x00000001u;
628  return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
629 }
630 inline std::string* MOOSMessage::release_key() {
631  // @@protoc_insertion_point(field_release:jaiabot.protobuf.MOOSMessage.key)
632  if (!_internal_has_key()) {
633  return nullptr;
634  }
635  _has_bits_[0] &= ~0x00000001u;
636  return key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
637 }
638 inline void MOOSMessage::set_allocated_key(std::string* key) {
639  if (key != nullptr) {
640  _has_bits_[0] |= 0x00000001u;
641  } else {
642  _has_bits_[0] &= ~0x00000001u;
643  }
644  key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key,
645  GetArena());
646  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MOOSMessage.key)
647 }
648 inline std::string* MOOSMessage::unsafe_arena_release_key() {
649  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.MOOSMessage.key)
650  GOOGLE_DCHECK(GetArena() != nullptr);
651  _has_bits_[0] &= ~0x00000001u;
652  return key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
653  GetArena());
654 }
655 inline void MOOSMessage::unsafe_arena_set_allocated_key(
656  std::string* key) {
657  GOOGLE_DCHECK(GetArena() != nullptr);
658  if (key != nullptr) {
659  _has_bits_[0] |= 0x00000001u;
660  } else {
661  _has_bits_[0] &= ~0x00000001u;
662  }
663  key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
664  key, GetArena());
665  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.MOOSMessage.key)
666 }
667 
668 // string svalue = 3;
669 inline bool MOOSMessage::_internal_has_svalue() const {
670  return value_case() == kSvalue;
671 }
672 inline bool MOOSMessage::has_svalue() const {
673  return _internal_has_svalue();
674 }
675 inline void MOOSMessage::set_has_svalue() {
676  _oneof_case_[0] = kSvalue;
677 }
678 inline void MOOSMessage::clear_svalue() {
679  if (_internal_has_svalue()) {
680  value_.svalue_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
681  clear_has_value();
682  }
683 }
684 inline const std::string& MOOSMessage::svalue() const {
685  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.svalue)
686  return _internal_svalue();
687 }
688 inline void MOOSMessage::set_svalue(const std::string& value) {
689  _internal_set_svalue(value);
690  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.svalue)
691 }
692 inline std::string* MOOSMessage::mutable_svalue() {
693  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MOOSMessage.svalue)
694  return _internal_mutable_svalue();
695 }
696 inline const std::string& MOOSMessage::_internal_svalue() const {
697  if (_internal_has_svalue()) {
698  return value_.svalue_.Get();
699  }
700  return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
701 }
702 inline void MOOSMessage::_internal_set_svalue(const std::string& value) {
703  if (!_internal_has_svalue()) {
704  clear_value();
705  set_has_svalue();
706  value_.svalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
707  }
708  value_.svalue_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
709 }
710 inline void MOOSMessage::set_svalue(std::string&& value) {
711  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.svalue)
712  if (!_internal_has_svalue()) {
713  clear_value();
714  set_has_svalue();
715  value_.svalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
716  }
717  value_.svalue_.Set(
718  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
719  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.MOOSMessage.svalue)
720 }
721 inline void MOOSMessage::set_svalue(const char* value) {
722  GOOGLE_DCHECK(value != nullptr);
723  if (!_internal_has_svalue()) {
724  clear_value();
725  set_has_svalue();
726  value_.svalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
727  }
728  value_.svalue_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
729  ::std::string(value), GetArena());
730  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.MOOSMessage.svalue)
731 }
732 inline void MOOSMessage::set_svalue(const char* value,
733  size_t size) {
734  if (!_internal_has_svalue()) {
735  clear_value();
736  set_has_svalue();
737  value_.svalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
738  }
739  value_.svalue_.Set(
740  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
741  reinterpret_cast<const char*>(value), size),
742  GetArena());
743  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.MOOSMessage.svalue)
744 }
745 inline std::string* MOOSMessage::_internal_mutable_svalue() {
746  if (!_internal_has_svalue()) {
747  clear_value();
748  set_has_svalue();
749  value_.svalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
750  }
751  return value_.svalue_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
752 }
753 inline std::string* MOOSMessage::release_svalue() {
754  // @@protoc_insertion_point(field_release:jaiabot.protobuf.MOOSMessage.svalue)
755  if (_internal_has_svalue()) {
756  clear_has_value();
757  return value_.svalue_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
758  } else {
759  return nullptr;
760  }
761 }
762 inline void MOOSMessage::set_allocated_svalue(std::string* svalue) {
763  if (has_value()) {
764  clear_value();
765  }
766  if (svalue != nullptr) {
767  set_has_svalue();
768  value_.svalue_.UnsafeSetDefault(svalue);
769  }
770  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MOOSMessage.svalue)
771 }
772 inline std::string* MOOSMessage::unsafe_arena_release_svalue() {
773  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.MOOSMessage.svalue)
774  GOOGLE_DCHECK(GetArena() != nullptr);
775  if (_internal_has_svalue()) {
776  clear_has_value();
777  return value_.svalue_.UnsafeArenaRelease(
778  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
779  } else {
780  return nullptr;
781  }
782 }
783 inline void MOOSMessage::unsafe_arena_set_allocated_svalue(std::string* svalue) {
784  GOOGLE_DCHECK(GetArena() != nullptr);
785  if (!_internal_has_svalue()) {
786  value_.svalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
787  }
788  clear_value();
789  if (svalue) {
790  set_has_svalue();
791  value_.svalue_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), svalue, GetArena());
792  }
793  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.MOOSMessage.svalue)
794 }
795 
796 // double dvalue = 4;
797 inline bool MOOSMessage::_internal_has_dvalue() const {
798  return value_case() == kDvalue;
799 }
800 inline bool MOOSMessage::has_dvalue() const {
801  return _internal_has_dvalue();
802 }
803 inline void MOOSMessage::set_has_dvalue() {
804  _oneof_case_[0] = kDvalue;
805 }
806 inline void MOOSMessage::clear_dvalue() {
807  if (_internal_has_dvalue()) {
808  value_.dvalue_ = 0;
809  clear_has_value();
810  }
811 }
812 inline double MOOSMessage::_internal_dvalue() const {
813  if (_internal_has_dvalue()) {
814  return value_.dvalue_;
815  }
816  return 0;
817 }
818 inline void MOOSMessage::_internal_set_dvalue(double value) {
819  if (!_internal_has_dvalue()) {
820  clear_value();
821  set_has_dvalue();
822  }
823  value_.dvalue_ = value;
824 }
825 inline double MOOSMessage::dvalue() const {
826  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.dvalue)
827  return _internal_dvalue();
828 }
829 inline void MOOSMessage::set_dvalue(double value) {
830  _internal_set_dvalue(value);
831  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.dvalue)
832 }
833 
834 // bytes bvalue = 5;
835 inline bool MOOSMessage::_internal_has_bvalue() const {
836  return value_case() == kBvalue;
837 }
838 inline bool MOOSMessage::has_bvalue() const {
839  return _internal_has_bvalue();
840 }
841 inline void MOOSMessage::set_has_bvalue() {
842  _oneof_case_[0] = kBvalue;
843 }
844 inline void MOOSMessage::clear_bvalue() {
845  if (_internal_has_bvalue()) {
846  value_.bvalue_.Destroy(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
847  clear_has_value();
848  }
849 }
850 inline const std::string& MOOSMessage::bvalue() const {
851  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.bvalue)
852  return _internal_bvalue();
853 }
854 inline void MOOSMessage::set_bvalue(const std::string& value) {
855  _internal_set_bvalue(value);
856  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.bvalue)
857 }
858 inline std::string* MOOSMessage::mutable_bvalue() {
859  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MOOSMessage.bvalue)
860  return _internal_mutable_bvalue();
861 }
862 inline const std::string& MOOSMessage::_internal_bvalue() const {
863  if (_internal_has_bvalue()) {
864  return value_.bvalue_.Get();
865  }
866  return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
867 }
868 inline void MOOSMessage::_internal_set_bvalue(const std::string& value) {
869  if (!_internal_has_bvalue()) {
870  clear_value();
871  set_has_bvalue();
872  value_.bvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
873  }
874  value_.bvalue_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
875 }
876 inline void MOOSMessage::set_bvalue(std::string&& value) {
877  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.bvalue)
878  if (!_internal_has_bvalue()) {
879  clear_value();
880  set_has_bvalue();
881  value_.bvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
882  }
883  value_.bvalue_.Set(
884  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
885  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.MOOSMessage.bvalue)
886 }
887 inline void MOOSMessage::set_bvalue(const char* value) {
888  GOOGLE_DCHECK(value != nullptr);
889  if (!_internal_has_bvalue()) {
890  clear_value();
891  set_has_bvalue();
892  value_.bvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
893  }
894  value_.bvalue_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
895  ::std::string(value), GetArena());
896  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.MOOSMessage.bvalue)
897 }
898 inline void MOOSMessage::set_bvalue(const void* value,
899  size_t size) {
900  if (!_internal_has_bvalue()) {
901  clear_value();
902  set_has_bvalue();
903  value_.bvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
904  }
905  value_.bvalue_.Set(
906  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
907  reinterpret_cast<const char*>(value), size),
908  GetArena());
909  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.MOOSMessage.bvalue)
910 }
911 inline std::string* MOOSMessage::_internal_mutable_bvalue() {
912  if (!_internal_has_bvalue()) {
913  clear_value();
914  set_has_bvalue();
915  value_.bvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
916  }
917  return value_.bvalue_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
918 }
919 inline std::string* MOOSMessage::release_bvalue() {
920  // @@protoc_insertion_point(field_release:jaiabot.protobuf.MOOSMessage.bvalue)
921  if (_internal_has_bvalue()) {
922  clear_has_value();
923  return value_.bvalue_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
924  } else {
925  return nullptr;
926  }
927 }
928 inline void MOOSMessage::set_allocated_bvalue(std::string* bvalue) {
929  if (has_value()) {
930  clear_value();
931  }
932  if (bvalue != nullptr) {
933  set_has_bvalue();
934  value_.bvalue_.UnsafeSetDefault(bvalue);
935  }
936  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MOOSMessage.bvalue)
937 }
938 inline std::string* MOOSMessage::unsafe_arena_release_bvalue() {
939  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.MOOSMessage.bvalue)
940  GOOGLE_DCHECK(GetArena() != nullptr);
941  if (_internal_has_bvalue()) {
942  clear_has_value();
943  return value_.bvalue_.UnsafeArenaRelease(
944  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
945  } else {
946  return nullptr;
947  }
948 }
949 inline void MOOSMessage::unsafe_arena_set_allocated_bvalue(std::string* bvalue) {
950  GOOGLE_DCHECK(GetArena() != nullptr);
951  if (!_internal_has_bvalue()) {
952  value_.bvalue_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
953  }
954  clear_value();
955  if (bvalue) {
956  set_has_bvalue();
957  value_.bvalue_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), bvalue, GetArena());
958  }
959  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.MOOSMessage.bvalue)
960 }
961 
962 // required double unixtime = 6;
963 inline bool MOOSMessage::_internal_has_unixtime() const {
964  bool value = (_has_bits_[0] & 0x00000010u) != 0;
965  return value;
966 }
967 inline bool MOOSMessage::has_unixtime() const {
968  return _internal_has_unixtime();
969 }
970 inline void MOOSMessage::clear_unixtime() {
971  unixtime_ = 0;
972  _has_bits_[0] &= ~0x00000010u;
973 }
974 inline double MOOSMessage::_internal_unixtime() const {
975  return unixtime_;
976 }
977 inline double MOOSMessage::unixtime() const {
978  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.unixtime)
979  return _internal_unixtime();
980 }
981 inline void MOOSMessage::_internal_set_unixtime(double value) {
982  _has_bits_[0] |= 0x00000010u;
983  unixtime_ = value;
984 }
985 inline void MOOSMessage::set_unixtime(double value) {
986  _internal_set_unixtime(value);
987  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.unixtime)
988 }
989 
990 // required int32 id = 7;
991 inline bool MOOSMessage::_internal_has_id() const {
992  bool value = (_has_bits_[0] & 0x00000020u) != 0;
993  return value;
994 }
995 inline bool MOOSMessage::has_id() const {
996  return _internal_has_id();
997 }
998 inline void MOOSMessage::clear_id() {
999  id_ = 0;
1000  _has_bits_[0] &= ~0x00000020u;
1001 }
1002 inline ::PROTOBUF_NAMESPACE_ID::int32 MOOSMessage::_internal_id() const {
1003  return id_;
1004 }
1005 inline ::PROTOBUF_NAMESPACE_ID::int32 MOOSMessage::id() const {
1006  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.id)
1007  return _internal_id();
1008 }
1009 inline void MOOSMessage::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1010  _has_bits_[0] |= 0x00000020u;
1011  id_ = value;
1012 }
1013 inline void MOOSMessage::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1014  _internal_set_id(value);
1015  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.id)
1016 }
1017 
1018 // required string source = 8;
1019 inline bool MOOSMessage::_internal_has_source() const {
1020  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1021  return value;
1022 }
1023 inline bool MOOSMessage::has_source() const {
1024  return _internal_has_source();
1025 }
1026 inline void MOOSMessage::clear_source() {
1027  source_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1028  _has_bits_[0] &= ~0x00000002u;
1029 }
1030 inline const std::string& MOOSMessage::source() const {
1031  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.source)
1032  return _internal_source();
1033 }
1034 inline void MOOSMessage::set_source(const std::string& value) {
1035  _internal_set_source(value);
1036  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.source)
1037 }
1038 inline std::string* MOOSMessage::mutable_source() {
1039  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MOOSMessage.source)
1040  return _internal_mutable_source();
1041 }
1042 inline const std::string& MOOSMessage::_internal_source() const {
1043  return source_.Get();
1044 }
1045 inline void MOOSMessage::_internal_set_source(const std::string& value) {
1046  _has_bits_[0] |= 0x00000002u;
1047  source_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1048 }
1049 inline void MOOSMessage::set_source(std::string&& value) {
1050  _has_bits_[0] |= 0x00000002u;
1051  source_.Set(
1052  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1053  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.MOOSMessage.source)
1054 }
1055 inline void MOOSMessage::set_source(const char* value) {
1056  GOOGLE_DCHECK(value != nullptr);
1057  _has_bits_[0] |= 0x00000002u;
1058  source_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1059  GetArena());
1060  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.MOOSMessage.source)
1061 }
1062 inline void MOOSMessage::set_source(const char* value,
1063  size_t size) {
1064  _has_bits_[0] |= 0x00000002u;
1065  source_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1066  reinterpret_cast<const char*>(value), size), GetArena());
1067  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.MOOSMessage.source)
1068 }
1069 inline std::string* MOOSMessage::_internal_mutable_source() {
1070  _has_bits_[0] |= 0x00000002u;
1071  return source_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1072 }
1073 inline std::string* MOOSMessage::release_source() {
1074  // @@protoc_insertion_point(field_release:jaiabot.protobuf.MOOSMessage.source)
1075  if (!_internal_has_source()) {
1076  return nullptr;
1077  }
1078  _has_bits_[0] &= ~0x00000002u;
1079  return source_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1080 }
1081 inline void MOOSMessage::set_allocated_source(std::string* source) {
1082  if (source != nullptr) {
1083  _has_bits_[0] |= 0x00000002u;
1084  } else {
1085  _has_bits_[0] &= ~0x00000002u;
1086  }
1087  source_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source,
1088  GetArena());
1089  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MOOSMessage.source)
1090 }
1091 inline std::string* MOOSMessage::unsafe_arena_release_source() {
1092  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.MOOSMessage.source)
1093  GOOGLE_DCHECK(GetArena() != nullptr);
1094  _has_bits_[0] &= ~0x00000002u;
1095  return source_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1096  GetArena());
1097 }
1098 inline void MOOSMessage::unsafe_arena_set_allocated_source(
1099  std::string* source) {
1100  GOOGLE_DCHECK(GetArena() != nullptr);
1101  if (source != nullptr) {
1102  _has_bits_[0] |= 0x00000002u;
1103  } else {
1104  _has_bits_[0] &= ~0x00000002u;
1105  }
1106  source_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1107  source, GetArena());
1108  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.MOOSMessage.source)
1109 }
1110 
1111 // optional string source_aux = 9;
1112 inline bool MOOSMessage::_internal_has_source_aux() const {
1113  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1114  return value;
1115 }
1116 inline bool MOOSMessage::has_source_aux() const {
1117  return _internal_has_source_aux();
1118 }
1119 inline void MOOSMessage::clear_source_aux() {
1120  source_aux_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1121  _has_bits_[0] &= ~0x00000004u;
1122 }
1123 inline const std::string& MOOSMessage::source_aux() const {
1124  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.source_aux)
1125  return _internal_source_aux();
1126 }
1127 inline void MOOSMessage::set_source_aux(const std::string& value) {
1128  _internal_set_source_aux(value);
1129  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.source_aux)
1130 }
1131 inline std::string* MOOSMessage::mutable_source_aux() {
1132  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MOOSMessage.source_aux)
1133  return _internal_mutable_source_aux();
1134 }
1135 inline const std::string& MOOSMessage::_internal_source_aux() const {
1136  return source_aux_.Get();
1137 }
1138 inline void MOOSMessage::_internal_set_source_aux(const std::string& value) {
1139  _has_bits_[0] |= 0x00000004u;
1140  source_aux_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1141 }
1142 inline void MOOSMessage::set_source_aux(std::string&& value) {
1143  _has_bits_[0] |= 0x00000004u;
1144  source_aux_.Set(
1145  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1146  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.MOOSMessage.source_aux)
1147 }
1148 inline void MOOSMessage::set_source_aux(const char* value) {
1149  GOOGLE_DCHECK(value != nullptr);
1150  _has_bits_[0] |= 0x00000004u;
1151  source_aux_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1152  GetArena());
1153  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.MOOSMessage.source_aux)
1154 }
1155 inline void MOOSMessage::set_source_aux(const char* value,
1156  size_t size) {
1157  _has_bits_[0] |= 0x00000004u;
1158  source_aux_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1159  reinterpret_cast<const char*>(value), size), GetArena());
1160  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.MOOSMessage.source_aux)
1161 }
1162 inline std::string* MOOSMessage::_internal_mutable_source_aux() {
1163  _has_bits_[0] |= 0x00000004u;
1164  return source_aux_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1165 }
1166 inline std::string* MOOSMessage::release_source_aux() {
1167  // @@protoc_insertion_point(field_release:jaiabot.protobuf.MOOSMessage.source_aux)
1168  if (!_internal_has_source_aux()) {
1169  return nullptr;
1170  }
1171  _has_bits_[0] &= ~0x00000004u;
1172  return source_aux_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1173 }
1174 inline void MOOSMessage::set_allocated_source_aux(std::string* source_aux) {
1175  if (source_aux != nullptr) {
1176  _has_bits_[0] |= 0x00000004u;
1177  } else {
1178  _has_bits_[0] &= ~0x00000004u;
1179  }
1180  source_aux_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), source_aux,
1181  GetArena());
1182  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MOOSMessage.source_aux)
1183 }
1184 inline std::string* MOOSMessage::unsafe_arena_release_source_aux() {
1185  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.MOOSMessage.source_aux)
1186  GOOGLE_DCHECK(GetArena() != nullptr);
1187  _has_bits_[0] &= ~0x00000004u;
1188  return source_aux_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1189  GetArena());
1190 }
1191 inline void MOOSMessage::unsafe_arena_set_allocated_source_aux(
1192  std::string* source_aux) {
1193  GOOGLE_DCHECK(GetArena() != nullptr);
1194  if (source_aux != nullptr) {
1195  _has_bits_[0] |= 0x00000004u;
1196  } else {
1197  _has_bits_[0] &= ~0x00000004u;
1198  }
1199  source_aux_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1200  source_aux, GetArena());
1201  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.MOOSMessage.source_aux)
1202 }
1203 
1204 // required string community = 10;
1205 inline bool MOOSMessage::_internal_has_community() const {
1206  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1207  return value;
1208 }
1209 inline bool MOOSMessage::has_community() const {
1210  return _internal_has_community();
1211 }
1212 inline void MOOSMessage::clear_community() {
1213  community_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1214  _has_bits_[0] &= ~0x00000008u;
1215 }
1216 inline const std::string& MOOSMessage::community() const {
1217  // @@protoc_insertion_point(field_get:jaiabot.protobuf.MOOSMessage.community)
1218  return _internal_community();
1219 }
1220 inline void MOOSMessage::set_community(const std::string& value) {
1221  _internal_set_community(value);
1222  // @@protoc_insertion_point(field_set:jaiabot.protobuf.MOOSMessage.community)
1223 }
1224 inline std::string* MOOSMessage::mutable_community() {
1225  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.MOOSMessage.community)
1226  return _internal_mutable_community();
1227 }
1228 inline const std::string& MOOSMessage::_internal_community() const {
1229  return community_.Get();
1230 }
1231 inline void MOOSMessage::_internal_set_community(const std::string& value) {
1232  _has_bits_[0] |= 0x00000008u;
1233  community_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1234 }
1235 inline void MOOSMessage::set_community(std::string&& value) {
1236  _has_bits_[0] |= 0x00000008u;
1237  community_.Set(
1238  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1239  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.MOOSMessage.community)
1240 }
1241 inline void MOOSMessage::set_community(const char* value) {
1242  GOOGLE_DCHECK(value != nullptr);
1243  _has_bits_[0] |= 0x00000008u;
1244  community_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1245  GetArena());
1246  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.MOOSMessage.community)
1247 }
1248 inline void MOOSMessage::set_community(const char* value,
1249  size_t size) {
1250  _has_bits_[0] |= 0x00000008u;
1251  community_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1252  reinterpret_cast<const char*>(value), size), GetArena());
1253  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.MOOSMessage.community)
1254 }
1255 inline std::string* MOOSMessage::_internal_mutable_community() {
1256  _has_bits_[0] |= 0x00000008u;
1257  return community_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1258 }
1259 inline std::string* MOOSMessage::release_community() {
1260  // @@protoc_insertion_point(field_release:jaiabot.protobuf.MOOSMessage.community)
1261  if (!_internal_has_community()) {
1262  return nullptr;
1263  }
1264  _has_bits_[0] &= ~0x00000008u;
1265  return community_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1266 }
1267 inline void MOOSMessage::set_allocated_community(std::string* community) {
1268  if (community != nullptr) {
1269  _has_bits_[0] |= 0x00000008u;
1270  } else {
1271  _has_bits_[0] &= ~0x00000008u;
1272  }
1273  community_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), community,
1274  GetArena());
1275  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.MOOSMessage.community)
1276 }
1277 inline std::string* MOOSMessage::unsafe_arena_release_community() {
1278  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.MOOSMessage.community)
1279  GOOGLE_DCHECK(GetArena() != nullptr);
1280  _has_bits_[0] &= ~0x00000008u;
1281  return community_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1282  GetArena());
1283 }
1284 inline void MOOSMessage::unsafe_arena_set_allocated_community(
1285  std::string* community) {
1286  GOOGLE_DCHECK(GetArena() != nullptr);
1287  if (community != nullptr) {
1288  _has_bits_[0] |= 0x00000008u;
1289  } else {
1290  _has_bits_[0] &= ~0x00000008u;
1291  }
1292  community_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1293  community, GetArena());
1294  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.MOOSMessage.community)
1295 }
1296 
1297 inline bool MOOSMessage::has_value() const {
1298  return value_case() != VALUE_NOT_SET;
1299 }
1300 inline void MOOSMessage::clear_has_value() {
1301  _oneof_case_[0] = VALUE_NOT_SET;
1302 }
1303 inline MOOSMessage::ValueCase MOOSMessage::value_case() const {
1304  return MOOSMessage::ValueCase(_oneof_case_[0]);
1305 }
1306 #ifdef __GNUC__
1307  #pragma GCC diagnostic pop
1308 #endif // __GNUC__
1309 
1310 // @@protoc_insertion_point(namespace_scope)
1311 
1312 } // namespace protobuf
1313 } // namespace jaiabot
1314 
1315 PROTOBUF_NAMESPACE_OPEN
1316 
1317 template <> struct is_proto_enum< ::jaiabot::protobuf::MOOSMessage_Type> : ::std::true_type {};
1318 template <>
1319 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::MOOSMessage_Type>() {
1321 }
1322 
1323 PROTOBUF_NAMESPACE_CLOSE
1324 
1325 // @@protoc_insertion_point(global_scope)
1326 
1327 #include <google/protobuf/port_undef.inc>
1328 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmoos_2eproto
static bool Type_IsValid(int value)
Definition: moos.pb.h:233
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: moos.pb.h:127
void set_allocated_key(std::string *key)
MOOSMessage & operator=(MOOSMessage &&from) noexcept
Definition: moos.pb.h:118
static const std::string & Type_Name(T enum_t_value)
Definition: moos.pb.h:247
void CopyFrom(const MOOSMessage &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: moos.pb.h:243
static const MOOSMessage & default_instance()
void Swap(MOOSMessage *other)
Definition: moos.pb.h:163
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const MOOSMessage * internal_default_instance()
Definition: moos.pb.h:153
MOOSMessage & operator=(const MOOSMessage &from)
Definition: moos.pb.h:114
void UnsafeArenaSwap(MOOSMessage *other)
Definition: moos.pb.h:171
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: moos.pb.h:130
void set_key(std::string &&value)
MOOSMessage * New() const final
Definition: moos.pb.h:179
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_key(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: moos.pb.h:137
void set_key(const char *value)
const std::string & key() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
MOOSMessage(const MOOSMessage &from)
MOOSMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_key(const char *value, size_t size)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: moos.pb.h:140
MOOSMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: moos.pb.h:183
MOOSMessage(MOOSMessage &&from) noexcept
Definition: moos.pb.h:109
friend void swap(MOOSMessage &a, MOOSMessage &b)
Definition: moos.pb.h:160
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: moos.pb.h:134
static bool Type_Parse(const std::string &name, Type *value)
Definition: moos.pb.h:253
void MergeFrom(const MOOSMessage &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmoos_2eproto
bool MOOSMessage_Type_Parse(const std::string &name, MOOSMessage_Type *value)
Definition: moos.pb.h:95
MOOSMessageDefaultTypeInternal _MOOSMessage_default_instance_
bool MOOSMessage_Type_IsValid(int value)
const std::string & MOOSMessage_Type_Name(T enum_t_value)
Definition: moos.pb.h:88
constexpr MOOSMessage_Type MOOSMessage_Type_Type_MAX
Definition: moos.pb.h:83
constexpr MOOSMessage_Type MOOSMessage_Type_Type_MIN
Definition: moos.pb.h:82
@ MOOSMessage_Type_TYPE_STRING
Definition: moos.pb.h:78
@ MOOSMessage_Type_TYPE_DOUBLE
Definition: moos.pb.h:77
@ MOOSMessage_Type_TYPE_BINARY_STRING
Definition: moos.pb.h:79
constexpr int MOOSMessage_Type_Type_ARRAYSIZE
Definition: moos.pb.h:84
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MOOSMessage_Type_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: moos.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: moos.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: moos.pb.h:60
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)