4 #ifndef PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2ftranslator_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2ftranslator_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>
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>
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>
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_goby_2fmoos_2fprotobuf_2ftranslator_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[6];
57 class TranslatorEntry;
58 class TranslatorEntryDefaultTypeInternal;
60 class TranslatorEntry_CreateParser;
61 class TranslatorEntry_CreateParserDefaultTypeInternal;
63 class TranslatorEntry_CreateParser_Algorithm;
64 class TranslatorEntry_CreateParser_AlgorithmDefaultTypeInternal;
66 class TranslatorEntry_PublishSerializer;
67 class TranslatorEntry_PublishSerializerDefaultTypeInternal;
69 class TranslatorEntry_PublishSerializer_Algorithm;
70 class TranslatorEntry_PublishSerializer_AlgorithmDefaultTypeInternal;
72 class TranslatorEntry_Trigger;
73 class TranslatorEntry_TriggerDefaultTypeInternal;
103 return ::google::protobuf::internal::NameOfEnum(
108 return ::google::protobuf::internal::ParseNamedEnum<TranslatorEntry_Trigger_Type>(
128 return ::google::protobuf::internal::NameOfEnum(
133 return ::google::protobuf::internal::ParseNamedEnum<TranslatorEntry_ParserSerializerTechnique>(
152 *
this = ::std::move(from);
156 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
157 if (
this != &from) InternalSwap(&from);
165 return _internal_metadata_.unknown_fields();
168 return _internal_metadata_.mutable_unknown_fields();
171 static const ::google::protobuf::Descriptor*
descriptor();
190 return CreateMaybeMessage<TranslatorEntry_Trigger>(NULL);
194 return CreateMaybeMessage<TranslatorEntry_Trigger>(arena);
196 void CopyFrom(const ::google::protobuf::Message& from)
final;
197 void MergeFrom(const ::google::protobuf::Message& from)
final;
205 ::
google::protobuf::io::CodedInputStream* input) final;
207 ::
google::protobuf::io::CodedOutputStream* output) const final;
209 bool deterministic, ::
google::protobuf::uint8* target) const final;
215 void SetCachedSize(
int size)
const final;
218 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
221 inline void* MaybeArenaPtr()
const {
244 static inline const ::google::protobuf::EnumDescriptor*
262 const ::std::string&
moos_var()
const;
305 void clear_has_type();
306 void set_has_moos_var();
307 void clear_has_moos_var();
308 void set_has_period();
309 void clear_has_period();
310 void set_has_mandatory_content();
311 void clear_has_mandatory_content();
313 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
314 ::google::protobuf::internal::HasBits<1> _has_bits_;
315 mutable ::google::protobuf::internal::CachedSize _cached_size_;
316 ::google::protobuf::internal::ArenaStringPtr moos_var_;
317 ::google::protobuf::internal::ArenaStringPtr mandatory_content_;
320 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2ftranslator_2eproto::TableStruct;
338 *
this = ::std::move(from);
342 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
343 if (
this != &from) InternalSwap(&from);
351 return _internal_metadata_.unknown_fields();
354 return _internal_metadata_.mutable_unknown_fields();
357 static const ::google::protobuf::Descriptor*
descriptor();
376 return CreateMaybeMessage<TranslatorEntry_CreateParser_Algorithm>(NULL);
380 return CreateMaybeMessage<TranslatorEntry_CreateParser_Algorithm>(arena);
382 void CopyFrom(const ::google::protobuf::Message& from)
final;
383 void MergeFrom(const ::google::protobuf::Message& from)
final;
391 ::
google::protobuf::io::CodedInputStream* input) final;
393 ::
google::protobuf::io::CodedOutputStream* output) const final;
395 bool deterministic, ::
google::protobuf::uint8* target) const final;
401 void SetCachedSize(
int size)
const final;
404 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
407 inline void* MaybeArenaPtr()
const {
422 const ::std::
string&
name() const;
423 void set_name(const ::std::
string& value);
425 void set_name(::std::string&& value);
428 void set_name(
const char* value,
size_t size);
443 void clear_has_name();
444 void set_has_primary_field();
445 void clear_has_primary_field();
448 size_t RequiredFieldsByteSizeFallback()
const;
450 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
451 ::google::protobuf::internal::HasBits<1> _has_bits_;
452 mutable ::google::protobuf::internal::CachedSize _cached_size_;
453 ::google::protobuf::internal::ArenaStringPtr name_;
455 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2ftranslator_2eproto::TableStruct;
473 *
this = ::std::move(from);
477 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
478 if (
this != &from) InternalSwap(&from);
486 return _internal_metadata_.unknown_fields();
489 return _internal_metadata_.mutable_unknown_fields();
492 static const ::google::protobuf::Descriptor*
descriptor();
511 return CreateMaybeMessage<TranslatorEntry_CreateParser>(NULL);
515 return CreateMaybeMessage<TranslatorEntry_CreateParser>(arena);
517 void CopyFrom(const ::google::protobuf::Message& from)
final;
518 void MergeFrom(const ::google::protobuf::Message& from)
final;
526 ::
google::protobuf::io::CodedInputStream* input) final;
528 ::
google::protobuf::io::CodedOutputStream* output) const final;
530 bool deterministic, ::
google::protobuf::uint8* target) const final;
536 void SetCachedSize(
int size)
const final;
539 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
542 inline void* MaybeArenaPtr()
const {
571 const ::std::
string&
moos_var() const;
586 const ::std::string&
format()
const;
592 void set_format(
const char* value,
size_t size);
621 void set_has_technique();
622 void clear_has_technique();
623 void set_has_moos_var();
624 void clear_has_moos_var();
625 void set_has_format();
626 void clear_has_format();
627 void set_has_repeated_delimiter();
628 void clear_has_repeated_delimiter();
630 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
631 ::google::protobuf::internal::HasBits<1> _has_bits_;
632 mutable ::google::protobuf::internal::CachedSize _cached_size_;
634 ::google::protobuf::internal::ArenaStringPtr moos_var_;
635 ::google::protobuf::internal::ArenaStringPtr format_;
639 ::google::protobuf::internal::ArenaStringPtr repeated_delimiter_;
641 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2ftranslator_2eproto::TableStruct;
659 *
this = ::std::move(from);
663 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
664 if (
this != &from) InternalSwap(&from);
672 return _internal_metadata_.unknown_fields();
675 return _internal_metadata_.mutable_unknown_fields();
678 static const ::google::protobuf::Descriptor*
descriptor();
697 return CreateMaybeMessage<TranslatorEntry_PublishSerializer_Algorithm>(NULL);
701 return CreateMaybeMessage<TranslatorEntry_PublishSerializer_Algorithm>(arena);
703 void CopyFrom(const ::google::protobuf::Message& from)
final;
704 void MergeFrom(const ::google::protobuf::Message& from)
final;
712 ::
google::protobuf::io::CodedInputStream* input) final;
714 ::
google::protobuf::io::CodedOutputStream* output) const final;
716 bool deterministic, ::
google::protobuf::uint8* target) const final;
722 void SetCachedSize(
int size)
const final;
725 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
728 inline void* MaybeArenaPtr()
const {
755 const ::std::
string&
name() const;
756 void set_name(const ::std::
string& value);
758 void set_name(::std::string&& value);
761 void set_name(
const char* value,
size_t size);
783 void clear_has_name();
784 void set_has_output_virtual_field();
785 void clear_has_output_virtual_field();
786 void set_has_primary_field();
787 void clear_has_primary_field();
790 size_t RequiredFieldsByteSizeFallback()
const;
792 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
793 ::google::protobuf::internal::HasBits<1> _has_bits_;
794 mutable ::google::protobuf::internal::CachedSize _cached_size_;
796 ::google::protobuf::internal::ArenaStringPtr name_;
799 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2ftranslator_2eproto::TableStruct;
817 *
this = ::std::move(from);
821 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
822 if (
this != &from) InternalSwap(&from);
830 return _internal_metadata_.unknown_fields();
833 return _internal_metadata_.mutable_unknown_fields();
836 static const ::google::protobuf::Descriptor*
descriptor();
855 return CreateMaybeMessage<TranslatorEntry_PublishSerializer>(NULL);
859 return CreateMaybeMessage<TranslatorEntry_PublishSerializer>(arena);
861 void CopyFrom(const ::google::protobuf::Message& from)
final;
862 void MergeFrom(const ::google::protobuf::Message& from)
final;
870 ::
google::protobuf::io::CodedInputStream* input) final;
872 ::
google::protobuf::io::CodedOutputStream* output) const final;
874 bool deterministic, ::
google::protobuf::uint8* target) const final;
880 void SetCachedSize(
int size)
const final;
883 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
886 inline void* MaybeArenaPtr()
const {
915 const ::std::
string&
moos_var() const;
930 const ::std::string&
format()
const;
936 void set_format(
const char* value,
size_t size);
965 void set_has_technique();
966 void clear_has_technique();
967 void set_has_moos_var();
968 void clear_has_moos_var();
969 void set_has_format();
970 void clear_has_format();
971 void set_has_repeated_delimiter();
972 void clear_has_repeated_delimiter();
974 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
975 ::google::protobuf::internal::HasBits<1> _has_bits_;
976 mutable ::google::protobuf::internal::CachedSize _cached_size_;
978 ::google::protobuf::internal::ArenaStringPtr moos_var_;
979 ::google::protobuf::internal::ArenaStringPtr format_;
983 ::google::protobuf::internal::ArenaStringPtr repeated_delimiter_;
985 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2ftranslator_2eproto::TableStruct;
1003 *
this = ::std::move(from);
1007 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1008 if (
this != &from) InternalSwap(&from);
1016 return _internal_metadata_.unknown_fields();
1019 return _internal_metadata_.mutable_unknown_fields();
1022 static const ::google::protobuf::Descriptor*
descriptor();
1041 return CreateMaybeMessage<TranslatorEntry>(NULL);
1045 return CreateMaybeMessage<TranslatorEntry>(arena);
1047 void CopyFrom(const ::google::protobuf::Message& from)
final;
1048 void MergeFrom(const ::google::protobuf::Message& from)
final;
1056 ::
google::protobuf::io::CodedInputStream* input) final;
1058 ::
google::protobuf::io::CodedOutputStream* output) const final;
1060 bool deterministic, ::
google::protobuf::uint8* target) const final;
1066 void SetCachedSize(
int size)
const final;
1069 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1072 inline void* MaybeArenaPtr()
const {
1111 static inline const ::google::protobuf::EnumDescriptor*
1132 const ::goby::moos::protobuf::TranslatorEntry_CreateParser&
create(
int index)
const;
1134 const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
1144 const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer&
publish(
int index)
const;
1146 const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
1169 const ::goby::moos::protobuf::TranslatorEntry_Trigger& _internal_trigger()
const;
1171 const ::goby::moos::protobuf::TranslatorEntry_Trigger&
trigger()
const;
1185 void set_has_protobuf_name();
1186 void clear_has_protobuf_name();
1187 void set_has_trigger();
1188 void clear_has_trigger();
1189 void set_has_use_short_enum();
1190 void clear_has_use_short_enum();
1192 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1193 ::google::protobuf::internal::HasBits<1> _has_bits_;
1194 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1197 ::google::protobuf::internal::ArenaStringPtr protobuf_name_;
1199 bool use_short_enum_;
1200 friend struct ::protobuf_goby_2fmoos_2fprotobuf_2ftranslator_2eproto::TableStruct;
1208 #pragma GCC diagnostic push
1209 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1215 return (_has_bits_[0] & 0x00000008u) != 0;
1217 inline void TranslatorEntry_Trigger::set_has_type() {
1218 _has_bits_[0] |= 0x00000008u;
1220 inline void TranslatorEntry_Trigger::clear_has_type() {
1221 _has_bits_[0] &= ~0x00000008u;
1240 return (_has_bits_[0] & 0x00000001u) != 0;
1242 inline void TranslatorEntry_Trigger::set_has_moos_var() {
1243 _has_bits_[0] |= 0x00000001u;
1245 inline void TranslatorEntry_Trigger::clear_has_moos_var() {
1246 _has_bits_[0] &= ~0x00000001u;
1250 clear_has_moos_var();
1254 return moos_var_.GetNoArena();
1264 moos_var_.SetNoArena(
1270 GOOGLE_DCHECK(value != NULL);
1278 ::std::string(
reinterpret_cast<const char*
>(value), size));
1291 clear_has_moos_var();
1298 clear_has_moos_var();
1306 return (_has_bits_[0] & 0x00000004u) != 0;
1308 inline void TranslatorEntry_Trigger::set_has_period() {
1309 _has_bits_[0] |= 0x00000004u;
1311 inline void TranslatorEntry_Trigger::clear_has_period() {
1312 _has_bits_[0] &= ~0x00000004u;
1330 return (_has_bits_[0] & 0x00000002u) != 0;
1332 inline void TranslatorEntry_Trigger::set_has_mandatory_content() {
1333 _has_bits_[0] |= 0x00000002u;
1335 inline void TranslatorEntry_Trigger::clear_has_mandatory_content() {
1336 _has_bits_[0] &= ~0x00000002u;
1340 clear_has_mandatory_content();
1344 return mandatory_content_.GetNoArena();
1347 set_has_mandatory_content();
1353 set_has_mandatory_content();
1354 mandatory_content_.SetNoArena(
1360 GOOGLE_DCHECK(value != NULL);
1361 set_has_mandatory_content();
1366 set_has_mandatory_content();
1368 ::std::string(
reinterpret_cast<const char*
>(value), size));
1372 set_has_mandatory_content();
1381 clear_has_mandatory_content();
1386 set_has_mandatory_content();
1388 clear_has_mandatory_content();
1400 return (_has_bits_[0] & 0x00000001u) != 0;
1402 inline void TranslatorEntry_CreateParser_Algorithm::set_has_name() {
1403 _has_bits_[0] |= 0x00000001u;
1405 inline void TranslatorEntry_CreateParser_Algorithm::clear_has_name() {
1406 _has_bits_[0] &= ~0x00000001u;
1414 return name_.GetNoArena();
1430 GOOGLE_DCHECK(value != NULL);
1438 ::std::string(
reinterpret_cast<const char*
>(value), size));
1466 return (_has_bits_[0] & 0x00000002u) != 0;
1468 inline void TranslatorEntry_CreateParser_Algorithm::set_has_primary_field() {
1469 _has_bits_[0] |= 0x00000002u;
1471 inline void TranslatorEntry_CreateParser_Algorithm::clear_has_primary_field() {
1472 _has_bits_[0] &= ~0x00000002u;
1476 clear_has_primary_field();
1480 return primary_field_;
1483 set_has_primary_field();
1484 primary_field_ = value;
1494 return (_has_bits_[0] & 0x00000008u) != 0;
1496 inline void TranslatorEntry_CreateParser::set_has_technique() {
1497 _has_bits_[0] |= 0x00000008u;
1499 inline void TranslatorEntry_CreateParser::clear_has_technique() {
1500 _has_bits_[0] &= ~0x00000008u;
1504 clear_has_technique();
1512 set_has_technique();
1519 return (_has_bits_[0] & 0x00000001u) != 0;
1521 inline void TranslatorEntry_CreateParser::set_has_moos_var() {
1522 _has_bits_[0] |= 0x00000001u;
1524 inline void TranslatorEntry_CreateParser::clear_has_moos_var() {
1525 _has_bits_[0] &= ~0x00000001u;
1529 clear_has_moos_var();
1533 return moos_var_.GetNoArena();
1543 moos_var_.SetNoArena(
1549 GOOGLE_DCHECK(value != NULL);
1557 ::std::string(
reinterpret_cast<const char*
>(value), size));
1570 clear_has_moos_var();
1577 clear_has_moos_var();
1585 return (_has_bits_[0] & 0x00000002u) != 0;
1587 inline void TranslatorEntry_CreateParser::set_has_format() {
1588 _has_bits_[0] |= 0x00000002u;
1590 inline void TranslatorEntry_CreateParser::clear_has_format() {
1591 _has_bits_[0] &= ~0x00000002u;
1599 return format_.GetNoArena();
1615 GOOGLE_DCHECK(value != NULL);
1623 ::std::string(
reinterpret_cast<const char*
>(value), size));
1651 return (_has_bits_[0] & 0x00000004u) != 0;
1653 inline void TranslatorEntry_CreateParser::set_has_repeated_delimiter() {
1654 _has_bits_[0] |= 0x00000004u;
1656 inline void TranslatorEntry_CreateParser::clear_has_repeated_delimiter() {
1657 _has_bits_[0] &= ~0x00000004u;
1661 clear_has_repeated_delimiter();
1665 return repeated_delimiter_.GetNoArena();
1668 set_has_repeated_delimiter();
1674 set_has_repeated_delimiter();
1675 repeated_delimiter_.SetNoArena(
1681 GOOGLE_DCHECK(value != NULL);
1682 set_has_repeated_delimiter();
1687 set_has_repeated_delimiter();
1689 ::std::string(
reinterpret_cast<const char*
>(value), size));
1693 set_has_repeated_delimiter();
1702 clear_has_repeated_delimiter();
1707 set_has_repeated_delimiter();
1709 clear_has_repeated_delimiter();
1717 return algorithm_.size();
1724 return algorithm_.Mutable(index);
1726 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
1733 return algorithm_.Get(index);
1737 return algorithm_.Add();
1739 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >&
1751 return (_has_bits_[0] & 0x00000001u) != 0;
1753 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_name() {
1754 _has_bits_[0] |= 0x00000001u;
1756 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_name() {
1757 _has_bits_[0] &= ~0x00000001u;
1765 return name_.GetNoArena();
1781 GOOGLE_DCHECK(value != NULL);
1789 ::std::string(
reinterpret_cast<const char*
>(value), size));
1817 return (_has_bits_[0] & 0x00000002u) != 0;
1819 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_output_virtual_field() {
1820 _has_bits_[0] |= 0x00000002u;
1822 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_output_virtual_field() {
1823 _has_bits_[0] &= ~0x00000002u;
1826 output_virtual_field_ = 0;
1827 clear_has_output_virtual_field();
1831 return output_virtual_field_;
1834 set_has_output_virtual_field();
1835 output_virtual_field_ = value;
1841 return (_has_bits_[0] & 0x00000004u) != 0;
1843 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_primary_field() {
1844 _has_bits_[0] |= 0x00000004u;
1846 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_primary_field() {
1847 _has_bits_[0] &= ~0x00000004u;
1851 clear_has_primary_field();
1855 return primary_field_;
1858 set_has_primary_field();
1859 primary_field_ = value;
1865 return reference_field_.size();
1868 reference_field_.Clear();
1872 return reference_field_.Get(index);
1875 reference_field_.Set(index, value);
1879 reference_field_.Add(value);
1882 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1885 return reference_field_;
1887 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1890 return &reference_field_;
1899 return (_has_bits_[0] & 0x00000008u) != 0;
1901 inline void TranslatorEntry_PublishSerializer::set_has_technique() {
1902 _has_bits_[0] |= 0x00000008u;
1904 inline void TranslatorEntry_PublishSerializer::clear_has_technique() {
1905 _has_bits_[0] &= ~0x00000008u;
1909 clear_has_technique();
1917 set_has_technique();
1924 return (_has_bits_[0] & 0x00000001u) != 0;
1926 inline void TranslatorEntry_PublishSerializer::set_has_moos_var() {
1927 _has_bits_[0] |= 0x00000001u;
1929 inline void TranslatorEntry_PublishSerializer::clear_has_moos_var() {
1930 _has_bits_[0] &= ~0x00000001u;
1934 clear_has_moos_var();
1938 return moos_var_.GetNoArena();
1948 moos_var_.SetNoArena(
1954 GOOGLE_DCHECK(value != NULL);
1962 ::std::string(
reinterpret_cast<const char*
>(value), size));
1975 clear_has_moos_var();
1982 clear_has_moos_var();
1990 return (_has_bits_[0] & 0x00000002u) != 0;
1992 inline void TranslatorEntry_PublishSerializer::set_has_format() {
1993 _has_bits_[0] |= 0x00000002u;
1995 inline void TranslatorEntry_PublishSerializer::clear_has_format() {
1996 _has_bits_[0] &= ~0x00000002u;
2004 return format_.GetNoArena();
2020 GOOGLE_DCHECK(value != NULL);
2028 ::std::string(
reinterpret_cast<const char*
>(value), size));
2056 return (_has_bits_[0] & 0x00000004u) != 0;
2058 inline void TranslatorEntry_PublishSerializer::set_has_repeated_delimiter() {
2059 _has_bits_[0] |= 0x00000004u;
2061 inline void TranslatorEntry_PublishSerializer::clear_has_repeated_delimiter() {
2062 _has_bits_[0] &= ~0x00000004u;
2066 clear_has_repeated_delimiter();
2070 return repeated_delimiter_.GetNoArena();
2073 set_has_repeated_delimiter();
2079 set_has_repeated_delimiter();
2080 repeated_delimiter_.SetNoArena(
2086 GOOGLE_DCHECK(value != NULL);
2087 set_has_repeated_delimiter();
2092 set_has_repeated_delimiter();
2094 ::std::string(
reinterpret_cast<const char*
>(value), size));
2098 set_has_repeated_delimiter();
2107 clear_has_repeated_delimiter();
2112 set_has_repeated_delimiter();
2114 clear_has_repeated_delimiter();
2122 return algorithm_.size();
2129 return algorithm_.Mutable(index);
2131 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
2138 return algorithm_.Get(index);
2142 return algorithm_.Add();
2144 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >&
2156 return (_has_bits_[0] & 0x00000001u) != 0;
2158 inline void TranslatorEntry::set_has_protobuf_name() {
2159 _has_bits_[0] |= 0x00000001u;
2161 inline void TranslatorEntry::clear_has_protobuf_name() {
2162 _has_bits_[0] &= ~0x00000001u;
2166 clear_has_protobuf_name();
2170 return protobuf_name_.GetNoArena();
2173 set_has_protobuf_name();
2179 set_has_protobuf_name();
2180 protobuf_name_.SetNoArena(
2186 GOOGLE_DCHECK(value != NULL);
2187 set_has_protobuf_name();
2192 set_has_protobuf_name();
2194 ::std::string(
reinterpret_cast<const char*
>(value), size));
2198 set_has_protobuf_name();
2207 clear_has_protobuf_name();
2212 set_has_protobuf_name();
2214 clear_has_protobuf_name();
2222 return (_has_bits_[0] & 0x00000002u) != 0;
2224 inline void TranslatorEntry::set_has_trigger() {
2225 _has_bits_[0] |= 0x00000002u;
2227 inline void TranslatorEntry::clear_has_trigger() {
2228 _has_bits_[0] &= ~0x00000002u;
2231 if (trigger_ != NULL) trigger_->
Clear();
2232 clear_has_trigger();
2234 inline const ::goby::moos::protobuf::TranslatorEntry_Trigger& TranslatorEntry::_internal_trigger()
const {
2238 const ::goby::moos::protobuf::TranslatorEntry_Trigger* p = trigger_;
2245 clear_has_trigger();
2252 if (trigger_ == NULL) {
2253 auto* p = CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_Trigger>(GetArenaNoVirtual());
2261 if (message_arena == NULL) {
2266 if (message_arena != submessage_arena) {
2267 trigger = ::google::protobuf::internal::GetOwnedMessage(
2268 message_arena,
trigger, submessage_arena);
2272 clear_has_trigger();
2280 return create_.size();
2287 return create_.Mutable(index);
2289 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
2296 return create_.Get(index);
2300 return create_.Add();
2302 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
2310 return publish_.size();
2317 return publish_.Mutable(index);
2319 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
2326 return publish_.Get(index);
2330 return publish_.Add();
2332 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
2340 return (_has_bits_[0] & 0x00000004u) != 0;
2342 inline void TranslatorEntry::set_has_use_short_enum() {
2343 _has_bits_[0] |= 0x00000004u;
2345 inline void TranslatorEntry::clear_has_use_short_enum() {
2346 _has_bits_[0] &= ~0x00000004u;
2349 use_short_enum_ =
false;
2350 clear_has_use_short_enum();
2354 return use_short_enum_;
2357 set_has_use_short_enum();
2358 use_short_enum_ = value;
2363 #pragma GCC diagnostic pop
2383 namespace protobuf {
2387 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type>() {
2392 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique>() {
2401 #endif // PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2ftranslator_2eproto