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