4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmoos_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmoos_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "dccl/option_extensions.pb.h"
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fmoos_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[1];
50 static const ::google::protobuf::uint32
offsets[];
57 class MOOSMessageDefaultTypeInternal;
81 return ::google::protobuf::internal::NameOfEnum(
86 return ::google::protobuf::internal::ParseNamedEnum<MOOSMessage_Type>(
105 *
this = ::std::move(from);
109 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
110 if (
this != &from) InternalSwap(&from);
118 return _internal_metadata_.unknown_fields();
121 return _internal_metadata_.mutable_unknown_fields();
124 static const ::google::protobuf::Descriptor*
descriptor();
150 return CreateMaybeMessage<MOOSMessage>(NULL);
154 return CreateMaybeMessage<MOOSMessage>(arena);
156 void CopyFrom(const ::google::protobuf::Message& from)
final;
157 void MergeFrom(const ::google::protobuf::Message& from)
final;
165 ::
google::protobuf::io::CodedInputStream* input) final;
167 ::
google::protobuf::io::CodedOutputStream* output) const final;
169 bool deterministic, ::
google::protobuf::uint8* target) const final;
175 void SetCachedSize(
int size)
const final;
178 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
181 inline void* MaybeArenaPtr()
const {
186 ::google::protobuf::Metadata
GetMetadata() const final;
206 static inline const ::google::protobuf::EnumDescriptor*
224 const ::std::string&
key()
const;
225 void set_key(const ::std::string& value);
227 void set_key(::std::string&& value);
229 void set_key(
const char* value);
230 void set_key(
const char* value,
size_t size);
239 const ::std::string&
source()
const;
245 void set_source(
const char* value,
size_t size);
291 ::google::protobuf::int32
id()
const;
292 void set_id(::google::protobuf::int32 value);
305 const ::std::string&
svalue()
const;
311 void set_svalue(
const char* value,
size_t size);
327 const ::std::string&
bvalue()
const;
333 void set_bvalue(
const void* value,
size_t size);
343 void clear_has_type();
345 void clear_has_key();
346 void set_has_svalue();
347 void set_has_dvalue();
348 void set_has_bvalue();
349 void set_has_unixtime();
350 void clear_has_unixtime();
353 void set_has_source();
354 void clear_has_source();
355 void set_has_source_aux();
356 void clear_has_source_aux();
357 void set_has_community();
358 void clear_has_community();
360 inline bool has_value()
const;
361 inline void clear_has_value();
364 size_t RequiredFieldsByteSizeFallback()
const;
366 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
367 ::google::protobuf::internal::HasBits<1> _has_bits_;
368 mutable ::google::protobuf::internal::CachedSize _cached_size_;
369 ::google::protobuf::internal::ArenaStringPtr key_;
370 ::google::protobuf::internal::ArenaStringPtr source_;
371 ::google::protobuf::internal::ArenaStringPtr source_aux_;
372 ::google::protobuf::internal::ArenaStringPtr community_;
374 ::google::protobuf::int32 id_;
378 ::google::protobuf::internal::ArenaStringPtr svalue_;
380 ::google::protobuf::internal::ArenaStringPtr bvalue_;
382 ::google::protobuf::uint32 _oneof_case_[1];
384 friend struct ::protobuf_jaiabot_2fmessages_2fmoos_2eproto::TableStruct;
392 #pragma GCC diagnostic push
393 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
399 return (_has_bits_[0] & 0x00000040u) != 0;
401 inline void MOOSMessage::set_has_type() {
402 _has_bits_[0] |= 0x00000040u;
404 inline void MOOSMessage::clear_has_type() {
405 _has_bits_[0] &= ~0x00000040u;
424 return (_has_bits_[0] & 0x00000001u) != 0;
426 inline void MOOSMessage::set_has_key() {
427 _has_bits_[0] |= 0x00000001u;
429 inline void MOOSMessage::clear_has_key() {
430 _has_bits_[0] &= ~0x00000001u;
433 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
438 return key_.GetNoArena();
442 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
449 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
454 GOOGLE_DCHECK(value != NULL);
456 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
461 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
462 ::std::string(
reinterpret_cast<const char*
>(value), size));
468 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
476 return key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
484 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
key);
492 inline void MOOSMessage::set_has_svalue() {
497 value_.svalue_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
504 return value_.svalue_.GetNoArena();
506 return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
513 value_.svalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
515 value_.svalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
524 value_.svalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
526 value_.svalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
531 GOOGLE_DCHECK(value != NULL);
535 value_.svalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
537 value_.svalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
538 ::std::string(value));
545 value_.svalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
547 value_.svalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
548 reinterpret_cast<const char*
>(value), size));
555 value_.svalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
558 return value_.svalue_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
564 return value_.svalue_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
571 value_.svalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
576 value_.svalue_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
svalue);
585 inline void MOOSMessage::set_has_dvalue() {
597 return value_.dvalue_;
606 value_.dvalue_ = value;
614 inline void MOOSMessage::set_has_bvalue() {
619 value_.bvalue_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
626 return value_.bvalue_.GetNoArena();
628 return *&::google::protobuf::internal::GetEmptyStringAlreadyInited();
635 value_.bvalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
637 value_.bvalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
646 value_.bvalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
648 value_.bvalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
653 GOOGLE_DCHECK(value != NULL);
657 value_.bvalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
659 value_.bvalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
660 ::std::string(value));
667 value_.bvalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
669 value_.bvalue_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
670 reinterpret_cast<const char*
>(value), size));
677 value_.bvalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
680 return value_.bvalue_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
686 return value_.bvalue_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
693 value_.bvalue_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
698 value_.bvalue_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
bvalue);
705 return (_has_bits_[0] & 0x00000010u) != 0;
707 inline void MOOSMessage::set_has_unixtime() {
708 _has_bits_[0] |= 0x00000010u;
710 inline void MOOSMessage::clear_has_unixtime() {
711 _has_bits_[0] &= ~0x00000010u;
715 clear_has_unixtime();
729 return (_has_bits_[0] & 0x00000020u) != 0;
731 inline void MOOSMessage::set_has_id() {
732 _has_bits_[0] |= 0x00000020u;
734 inline void MOOSMessage::clear_has_id() {
735 _has_bits_[0] &= ~0x00000020u;
753 return (_has_bits_[0] & 0x00000002u) != 0;
755 inline void MOOSMessage::set_has_source() {
756 _has_bits_[0] |= 0x00000002u;
758 inline void MOOSMessage::clear_has_source() {
759 _has_bits_[0] &= ~0x00000002u;
762 source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
767 return source_.GetNoArena();
771 source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
778 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
783 GOOGLE_DCHECK(value != NULL);
785 source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
790 source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
791 ::std::string(
reinterpret_cast<const char*
>(value), size));
797 return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
805 return source_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
813 source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
source);
819 return (_has_bits_[0] & 0x00000004u) != 0;
821 inline void MOOSMessage::set_has_source_aux() {
822 _has_bits_[0] |= 0x00000004u;
824 inline void MOOSMessage::clear_has_source_aux() {
825 _has_bits_[0] &= ~0x00000004u;
828 source_aux_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
829 clear_has_source_aux();
833 return source_aux_.GetNoArena();
836 set_has_source_aux();
837 source_aux_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
842 set_has_source_aux();
843 source_aux_.SetNoArena(
844 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
849 GOOGLE_DCHECK(value != NULL);
850 set_has_source_aux();
851 source_aux_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
855 set_has_source_aux();
856 source_aux_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
857 ::std::string(
reinterpret_cast<const char*
>(value), size));
861 set_has_source_aux();
863 return source_aux_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
870 clear_has_source_aux();
871 return source_aux_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
875 set_has_source_aux();
877 clear_has_source_aux();
879 source_aux_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
source_aux);
885 return (_has_bits_[0] & 0x00000008u) != 0;
887 inline void MOOSMessage::set_has_community() {
888 _has_bits_[0] |= 0x00000008u;
890 inline void MOOSMessage::clear_has_community() {
891 _has_bits_[0] &= ~0x00000008u;
894 community_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
895 clear_has_community();
899 return community_.GetNoArena();
903 community_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
909 community_.SetNoArena(
910 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
915 GOOGLE_DCHECK(value != NULL);
917 community_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
922 community_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
923 ::std::string(
reinterpret_cast<const char*
>(value), size));
929 return community_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
936 clear_has_community();
937 return community_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
943 clear_has_community();
945 community_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
community);
949 inline bool MOOSMessage::has_value()
const {
952 inline void MOOSMessage::clear_has_value() {
959 #pragma GCC diagnostic pop
972 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::MOOSMessage_Type>() {
981 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmoos_2eproto