Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
translator.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/moos/protobuf/translator.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2ftranslator_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2ftranslator_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2ftranslator_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
53namespace goby {
54namespace moos {
55namespace protobuf {
56class TranslatorEntry;
57struct TranslatorEntryDefaultTypeInternal;
58extern TranslatorEntryDefaultTypeInternal _TranslatorEntry_default_instance_;
59class TranslatorEntry_CreateParser;
60struct TranslatorEntry_CreateParserDefaultTypeInternal;
61extern TranslatorEntry_CreateParserDefaultTypeInternal _TranslatorEntry_CreateParser_default_instance_;
62class TranslatorEntry_CreateParser_Algorithm;
63struct TranslatorEntry_CreateParser_AlgorithmDefaultTypeInternal;
64extern TranslatorEntry_CreateParser_AlgorithmDefaultTypeInternal _TranslatorEntry_CreateParser_Algorithm_default_instance_;
65class TranslatorEntry_PublishSerializer;
66struct TranslatorEntry_PublishSerializerDefaultTypeInternal;
67extern TranslatorEntry_PublishSerializerDefaultTypeInternal _TranslatorEntry_PublishSerializer_default_instance_;
68class TranslatorEntry_PublishSerializer_Algorithm;
69struct TranslatorEntry_PublishSerializer_AlgorithmDefaultTypeInternal;
70extern TranslatorEntry_PublishSerializer_AlgorithmDefaultTypeInternal _TranslatorEntry_PublishSerializer_Algorithm_default_instance_;
71class TranslatorEntry_Trigger;
72struct TranslatorEntry_TriggerDefaultTypeInternal;
73extern TranslatorEntry_TriggerDefaultTypeInternal _TranslatorEntry_Trigger_default_instance_;
74} // namespace protobuf
75} // namespace moos
76} // namespace goby
77PROTOBUF_NAMESPACE_OPEN
78template<> ::goby::moos::protobuf::TranslatorEntry* Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry>(Arena*);
79template<> ::goby::moos::protobuf::TranslatorEntry_CreateParser* Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_CreateParser>(Arena*);
80template<> ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm>(Arena*);
81template<> ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_PublishSerializer>(Arena*);
82template<> ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm>(Arena*);
83template<> ::goby::moos::protobuf::TranslatorEntry_Trigger* Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_Trigger>(Arena*);
84PROTOBUF_NAMESPACE_CLOSE
85namespace goby {
86namespace moos {
87namespace protobuf {
88
97
98const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TranslatorEntry_Trigger_Type_descriptor();
99template<typename T>
100inline const std::string& TranslatorEntry_Trigger_Type_Name(T enum_t_value) {
101 static_assert(::std::is_same<T, TranslatorEntry_Trigger_Type>::value ||
102 ::std::is_integral<T>::value,
103 "Incorrect type passed to function TranslatorEntry_Trigger_Type_Name.");
104 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
106}
108 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslatorEntry_Trigger_Type* value) {
109 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TranslatorEntry_Trigger_Type>(
111}
126
127const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TranslatorEntry_ParserSerializerTechnique_descriptor();
128template<typename T>
129inline const std::string& TranslatorEntry_ParserSerializerTechnique_Name(T enum_t_value) {
130 static_assert(::std::is_same<T, TranslatorEntry_ParserSerializerTechnique>::value ||
131 ::std::is_integral<T>::value,
132 "Incorrect type passed to function TranslatorEntry_ParserSerializerTechnique_Name.");
133 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
135}
137 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslatorEntry_ParserSerializerTechnique* value) {
138 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TranslatorEntry_ParserSerializerTechnique>(
140}
141// ===================================================================
142
144 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.TranslatorEntry.Trigger) */ {
145 public:
148 explicit PROTOBUF_CONSTEXPR TranslatorEntry_Trigger(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
149
153 *this = ::std::move(from);
154 }
155
157 CopyFrom(from);
158 return *this;
159 }
161 if (this == &from) return *this;
162 if (GetOwningArena() == from.GetOwningArena()
163 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
164 && GetOwningArena() != nullptr
165 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
166 ) {
167 InternalSwap(&from);
168 } else {
169 CopyFrom(from);
170 }
171 return *this;
172 }
173
174 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
175 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
176 }
177 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
178 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
179 }
180
181 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
182 return GetDescriptor();
183 }
184 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
185 return default_instance().GetMetadata().descriptor;
186 }
187 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
188 return default_instance().GetMetadata().reflection;
189 }
194 return reinterpret_cast<const TranslatorEntry_Trigger*>(
196 }
197 static constexpr int kIndexInFileMessages =
198 0;
199
201 a.Swap(&b);
202 }
203 inline void Swap(TranslatorEntry_Trigger* other) {
204 if (other == this) return;
205 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
206 if (GetOwningArena() != nullptr &&
207 GetOwningArena() == other->GetOwningArena()) {
208 #else // PROTOBUF_FORCE_COPY_IN_SWAP
209 if (GetOwningArena() == other->GetOwningArena()) {
210 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
211 InternalSwap(other);
212 } else {
213 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
214 }
215 }
217 if (other == this) return;
218 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
219 InternalSwap(other);
220 }
221
222 // implements Message ----------------------------------------------
223
224 TranslatorEntry_Trigger* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
225 return CreateMaybeMessage<TranslatorEntry_Trigger>(arena);
226 }
227 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
229 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
231 TranslatorEntry_Trigger::MergeImpl(*this, from);
232 }
233 private:
234 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
235 public:
236 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
237 bool IsInitialized() const final;
238
239 size_t ByteSizeLong() const final;
240 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
242 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
243 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
244
245 private:
246 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
247 void SharedDtor();
248 void SetCachedSize(int size) const final;
249 void InternalSwap(TranslatorEntry_Trigger* other);
250
251 private:
252 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
253 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
254 return "goby.moos.protobuf.TranslatorEntry.Trigger";
255 }
256 protected:
257 explicit TranslatorEntry_Trigger(::PROTOBUF_NAMESPACE_ID::Arena* arena,
258 bool is_message_owned = false);
259 public:
260
261 static const ClassData _class_data_;
262 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
263
264 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
265
266 // nested types ----------------------------------------------------
267
269 static constexpr Type TRIGGER_PUBLISH =
271 static constexpr Type TRIGGER_TIME =
273 static inline bool Type_IsValid(int value) {
275 }
276 static constexpr Type Type_MIN =
278 static constexpr Type Type_MAX =
280 static constexpr int Type_ARRAYSIZE =
282 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
286 template<typename T>
287 static inline const std::string& Type_Name(T enum_t_value) {
288 static_assert(::std::is_same<T, Type>::value ||
289 ::std::is_integral<T>::value,
290 "Incorrect type passed to function Type_Name.");
291 return TranslatorEntry_Trigger_Type_Name(enum_t_value);
292 }
293 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
294 Type* value) {
295 return TranslatorEntry_Trigger_Type_Parse(name, value);
296 }
297
298 // accessors -------------------------------------------------------
299
300 enum : int {
305 };
306 // optional string moos_var = 2;
307 bool has_moos_var() const;
308 private:
309 bool _internal_has_moos_var() const;
310 public:
311 void clear_moos_var();
312 const std::string& moos_var() const;
313 template <typename ArgT0 = const std::string&, typename... ArgT>
314 void set_moos_var(ArgT0&& arg0, ArgT... args);
315 std::string* mutable_moos_var();
316 PROTOBUF_NODISCARD std::string* release_moos_var();
317 void set_allocated_moos_var(std::string* moos_var);
318 private:
319 const std::string& _internal_moos_var() const;
320 inline PROTOBUF_ALWAYS_INLINE void _internal_set_moos_var(const std::string& value);
321 std::string* _internal_mutable_moos_var();
322 public:
323
324 // optional string mandatory_content = 4;
325 bool has_mandatory_content() const;
326 private:
327 bool _internal_has_mandatory_content() const;
328 public:
330 const std::string& mandatory_content() const;
331 template <typename ArgT0 = const std::string&, typename... ArgT>
332 void set_mandatory_content(ArgT0&& arg0, ArgT... args);
333 std::string* mutable_mandatory_content();
334 PROTOBUF_NODISCARD std::string* release_mandatory_content();
336 private:
337 const std::string& _internal_mandatory_content() const;
338 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mandatory_content(const std::string& value);
339 std::string* _internal_mutable_mandatory_content();
340 public:
341
342 // optional uint32 period = 3;
343 bool has_period() const;
344 private:
345 bool _internal_has_period() const;
346 public:
347 void clear_period();
348 uint32_t period() const;
349 void set_period(uint32_t value);
350 private:
351 uint32_t _internal_period() const;
352 void _internal_set_period(uint32_t value);
353 public:
354
355 // optional .goby.moos.protobuf.TranslatorEntry.Trigger.Type type = 1 [default = TRIGGER_PUBLISH];
356 bool has_type() const;
357 private:
358 bool _internal_has_type() const;
359 public:
360 void clear_type();
363 private:
365 void _internal_set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value);
366 public:
367
368 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.Trigger)
369 private:
370 class _Internal;
371
372 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
373 typedef void InternalArenaConstructable_;
374 typedef void DestructorSkippable_;
375 struct Impl_ {
376 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
377 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
378 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr moos_var_;
379 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mandatory_content_;
380 uint32_t period_;
381 int type_;
382 };
383 union { Impl_ _impl_; };
384 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
385};
386// -------------------------------------------------------------------
387
389 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm) */ {
390 public:
393 explicit PROTOBUF_CONSTEXPR TranslatorEntry_CreateParser_Algorithm(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
394
400
402 CopyFrom(from);
403 return *this;
404 }
406 if (this == &from) return *this;
407 if (GetOwningArena() == from.GetOwningArena()
408 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
409 && GetOwningArena() != nullptr
410 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
411 ) {
412 InternalSwap(&from);
413 } else {
414 CopyFrom(from);
415 }
416 return *this;
417 }
418
419 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
420 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
421 }
422 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
423 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
424 }
425
426 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
427 return GetDescriptor();
428 }
429 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
430 return default_instance().GetMetadata().descriptor;
431 }
432 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
433 return default_instance().GetMetadata().reflection;
434 }
436 return *internal_default_instance();
437 }
442 static constexpr int kIndexInFileMessages =
443 1;
444
449 if (other == this) return;
450 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
451 if (GetOwningArena() != nullptr &&
452 GetOwningArena() == other->GetOwningArena()) {
453 #else // PROTOBUF_FORCE_COPY_IN_SWAP
454 if (GetOwningArena() == other->GetOwningArena()) {
455 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
456 InternalSwap(other);
457 } else {
458 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
459 }
460 }
462 if (other == this) return;
463 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
464 InternalSwap(other);
465 }
466
467 // implements Message ----------------------------------------------
468
469 TranslatorEntry_CreateParser_Algorithm* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
470 return CreateMaybeMessage<TranslatorEntry_CreateParser_Algorithm>(arena);
471 }
472 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
474 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
476 TranslatorEntry_CreateParser_Algorithm::MergeImpl(*this, from);
477 }
478 private:
479 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
480 public:
481 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
482 bool IsInitialized() const final;
483
484 size_t ByteSizeLong() const final;
485 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
486 uint8_t* _InternalSerialize(
487 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
488 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
489
490 private:
491 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
492 void SharedDtor();
493 void SetCachedSize(int size) const final;
494 void InternalSwap(TranslatorEntry_CreateParser_Algorithm* other);
495
496 private:
497 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
498 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
499 return "goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm";
500 }
501 protected:
502 explicit TranslatorEntry_CreateParser_Algorithm(::PROTOBUF_NAMESPACE_ID::Arena* arena,
503 bool is_message_owned = false);
504 public:
505
506 static const ClassData _class_data_;
507 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
508
509 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
510
511 // nested types ----------------------------------------------------
512
513 // accessors -------------------------------------------------------
514
515 enum : int {
516 kNameFieldNumber = 1,
517 kPrimaryFieldFieldNumber = 2,
518 };
519 // required string name = 1;
520 bool has_name() const;
521 private:
522 bool _internal_has_name() const;
523 public:
524 void clear_name();
525 const std::string& name() const;
526 template <typename ArgT0 = const std::string&, typename... ArgT>
527 void set_name(ArgT0&& arg0, ArgT... args);
528 std::string* mutable_name();
529 PROTOBUF_NODISCARD std::string* release_name();
530 void set_allocated_name(std::string* name);
531 private:
532 const std::string& _internal_name() const;
533 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
534 std::string* _internal_mutable_name();
535 public:
536
537 // required int32 primary_field = 2;
538 bool has_primary_field() const;
539 private:
540 bool _internal_has_primary_field() const;
541 public:
542 void clear_primary_field();
543 int32_t primary_field() const;
544 void set_primary_field(int32_t value);
545 private:
546 int32_t _internal_primary_field() const;
547 void _internal_set_primary_field(int32_t value);
548 public:
549
550 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm)
551 private:
552 class _Internal;
553
554 // helper for ByteSizeLong()
555 size_t RequiredFieldsByteSizeFallback() const;
556
557 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
558 typedef void InternalArenaConstructable_;
559 typedef void DestructorSkippable_;
560 struct Impl_ {
561 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
562 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
563 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
564 int32_t primary_field_;
565 };
566 union { Impl_ _impl_; };
567 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
568};
569// -------------------------------------------------------------------
570
572 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.TranslatorEntry.CreateParser) */ {
573 public:
576 explicit PROTOBUF_CONSTEXPR TranslatorEntry_CreateParser(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
577
581 *this = ::std::move(from);
582 }
583
585 CopyFrom(from);
586 return *this;
587 }
589 if (this == &from) return *this;
590 if (GetOwningArena() == from.GetOwningArena()
591 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
592 && GetOwningArena() != nullptr
593 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
594 ) {
595 InternalSwap(&from);
596 } else {
597 CopyFrom(from);
598 }
599 return *this;
600 }
601
602 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
603 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
604 }
605 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
606 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
607 }
608
609 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
610 return GetDescriptor();
611 }
612 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
613 return default_instance().GetMetadata().descriptor;
614 }
615 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
616 return default_instance().GetMetadata().reflection;
617 }
619 return *internal_default_instance();
620 }
625 static constexpr int kIndexInFileMessages =
626 2;
627
631 inline void Swap(TranslatorEntry_CreateParser* other) {
632 if (other == this) return;
633 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
634 if (GetOwningArena() != nullptr &&
635 GetOwningArena() == other->GetOwningArena()) {
636 #else // PROTOBUF_FORCE_COPY_IN_SWAP
637 if (GetOwningArena() == other->GetOwningArena()) {
638 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
639 InternalSwap(other);
640 } else {
641 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
642 }
643 }
645 if (other == this) return;
646 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
647 InternalSwap(other);
648 }
649
650 // implements Message ----------------------------------------------
651
652 TranslatorEntry_CreateParser* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
653 return CreateMaybeMessage<TranslatorEntry_CreateParser>(arena);
654 }
655 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
657 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
659 TranslatorEntry_CreateParser::MergeImpl(*this, from);
660 }
661 private:
662 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
663 public:
664 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
665 bool IsInitialized() const final;
666
667 size_t ByteSizeLong() const final;
668 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
669 uint8_t* _InternalSerialize(
670 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
671 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
672
673 private:
674 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
675 void SharedDtor();
676 void SetCachedSize(int size) const final;
677 void InternalSwap(TranslatorEntry_CreateParser* other);
678
679 private:
680 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
681 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
682 return "goby.moos.protobuf.TranslatorEntry.CreateParser";
683 }
684 protected:
685 explicit TranslatorEntry_CreateParser(::PROTOBUF_NAMESPACE_ID::Arena* arena,
686 bool is_message_owned = false);
687 public:
688
689 static const ClassData _class_data_;
690 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
691
692 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
693
694 // nested types ----------------------------------------------------
695
697
698 // accessors -------------------------------------------------------
699
700 enum : int {
701 kAlgorithmFieldNumber = 5,
702 kMoosVarFieldNumber = 2,
703 kFormatFieldNumber = 3,
704 kRepeatedDelimiterFieldNumber = 4,
705 kTechniqueFieldNumber = 1,
706 };
707 // repeated .goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm algorithm = 5;
708 int algorithm_size() const;
709 private:
710 int _internal_algorithm_size() const;
711 public:
712 void clear_algorithm();
714 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
715 mutable_algorithm();
716 private:
717 const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& _internal_algorithm(int index) const;
719 public:
720 const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& algorithm(int index) const;
722 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >&
723 algorithm() const;
724
725 // required string moos_var = 2;
726 bool has_moos_var() const;
727 private:
728 bool _internal_has_moos_var() const;
729 public:
730 void clear_moos_var();
731 const std::string& moos_var() const;
732 template <typename ArgT0 = const std::string&, typename... ArgT>
733 void set_moos_var(ArgT0&& arg0, ArgT... args);
734 std::string* mutable_moos_var();
735 PROTOBUF_NODISCARD std::string* release_moos_var();
736 void set_allocated_moos_var(std::string* moos_var);
737 private:
738 const std::string& _internal_moos_var() const;
739 inline PROTOBUF_ALWAYS_INLINE void _internal_set_moos_var(const std::string& value);
740 std::string* _internal_mutable_moos_var();
741 public:
742
743 // optional string format = 3;
744 bool has_format() const;
745 private:
746 bool _internal_has_format() const;
747 public:
748 void clear_format();
749 const std::string& format() const;
750 template <typename ArgT0 = const std::string&, typename... ArgT>
751 void set_format(ArgT0&& arg0, ArgT... args);
752 std::string* mutable_format();
753 PROTOBUF_NODISCARD std::string* release_format();
754 void set_allocated_format(std::string* format);
755 private:
756 const std::string& _internal_format() const;
757 inline PROTOBUF_ALWAYS_INLINE void _internal_set_format(const std::string& value);
758 std::string* _internal_mutable_format();
759 public:
760
761 // optional string repeated_delimiter = 4 [default = ","];
762 bool has_repeated_delimiter() const;
763 private:
764 bool _internal_has_repeated_delimiter() const;
765 public:
766 void clear_repeated_delimiter();
767 const std::string& repeated_delimiter() const;
768 template <typename ArgT0 = const std::string&, typename... ArgT>
769 void set_repeated_delimiter(ArgT0&& arg0, ArgT... args);
770 std::string* mutable_repeated_delimiter();
771 PROTOBUF_NODISCARD std::string* release_repeated_delimiter();
772 void set_allocated_repeated_delimiter(std::string* repeated_delimiter);
773 private:
774 const std::string& _internal_repeated_delimiter() const;
775 inline PROTOBUF_ALWAYS_INLINE void _internal_set_repeated_delimiter(const std::string& value);
776 std::string* _internal_mutable_repeated_delimiter();
777 public:
778
779 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
780 bool has_technique() const;
781 private:
782 bool _internal_has_technique() const;
783 public:
784 void clear_technique();
787 private:
790 public:
791
792 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.CreateParser)
793 private:
794 class _Internal;
795
796 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
797 typedef void InternalArenaConstructable_;
798 typedef void DestructorSkippable_;
799 struct Impl_ {
800 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
801 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
802 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm > algorithm_;
803 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr moos_var_;
804 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr format_;
805 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_repeated_delimiter_;
806 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repeated_delimiter_;
807 int technique_;
808 };
809 union { Impl_ _impl_; };
810 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
811};
812// -------------------------------------------------------------------
813
815 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm) */ {
816 public:
819 explicit PROTOBUF_CONSTEXPR TranslatorEntry_PublishSerializer_Algorithm(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
820
826
828 CopyFrom(from);
829 return *this;
830 }
832 if (this == &from) return *this;
833 if (GetOwningArena() == from.GetOwningArena()
834 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
835 && GetOwningArena() != nullptr
836 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
837 ) {
838 InternalSwap(&from);
839 } else {
840 CopyFrom(from);
841 }
842 return *this;
843 }
844
845 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
846 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
847 }
848 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
849 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
850 }
851
852 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
853 return GetDescriptor();
854 }
855 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
856 return default_instance().GetMetadata().descriptor;
857 }
858 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
859 return default_instance().GetMetadata().reflection;
860 }
862 return *internal_default_instance();
863 }
868 static constexpr int kIndexInFileMessages =
869 3;
870
875 if (other == this) return;
876 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
877 if (GetOwningArena() != nullptr &&
878 GetOwningArena() == other->GetOwningArena()) {
879 #else // PROTOBUF_FORCE_COPY_IN_SWAP
880 if (GetOwningArena() == other->GetOwningArena()) {
881 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
882 InternalSwap(other);
883 } else {
884 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
885 }
886 }
888 if (other == this) return;
889 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
890 InternalSwap(other);
891 }
892
893 // implements Message ----------------------------------------------
894
895 TranslatorEntry_PublishSerializer_Algorithm* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
896 return CreateMaybeMessage<TranslatorEntry_PublishSerializer_Algorithm>(arena);
897 }
898 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
900 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
902 TranslatorEntry_PublishSerializer_Algorithm::MergeImpl(*this, from);
903 }
904 private:
905 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
906 public:
907 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
908 bool IsInitialized() const final;
909
910 size_t ByteSizeLong() const final;
911 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
912 uint8_t* _InternalSerialize(
913 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
914 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
915
916 private:
917 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
918 void SharedDtor();
919 void SetCachedSize(int size) const final;
920 void InternalSwap(TranslatorEntry_PublishSerializer_Algorithm* other);
921
922 private:
923 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
924 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
925 return "goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm";
926 }
927 protected:
928 explicit TranslatorEntry_PublishSerializer_Algorithm(::PROTOBUF_NAMESPACE_ID::Arena* arena,
929 bool is_message_owned = false);
930 public:
931
932 static const ClassData _class_data_;
933 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
934
935 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
936
937 // nested types ----------------------------------------------------
938
939 // accessors -------------------------------------------------------
940
941 enum : int {
942 kReferenceFieldFieldNumber = 4,
943 kNameFieldNumber = 1,
944 kOutputVirtualFieldFieldNumber = 2,
945 kPrimaryFieldFieldNumber = 3,
946 };
947 // repeated int32 reference_field = 4;
948 int reference_field_size() const;
949 private:
950 int _internal_reference_field_size() const;
951 public:
952 void clear_reference_field();
953 private:
954 int32_t _internal_reference_field(int index) const;
955 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
956 _internal_reference_field() const;
957 void _internal_add_reference_field(int32_t value);
958 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
959 _internal_mutable_reference_field();
960 public:
961 int32_t reference_field(int index) const;
962 void set_reference_field(int index, int32_t value);
963 void add_reference_field(int32_t value);
964 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
965 reference_field() const;
966 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
967 mutable_reference_field();
968
969 // required string name = 1;
970 bool has_name() const;
971 private:
972 bool _internal_has_name() const;
973 public:
974 void clear_name();
975 const std::string& name() const;
976 template <typename ArgT0 = const std::string&, typename... ArgT>
977 void set_name(ArgT0&& arg0, ArgT... args);
978 std::string* mutable_name();
979 PROTOBUF_NODISCARD std::string* release_name();
980 void set_allocated_name(std::string* name);
981 private:
982 const std::string& _internal_name() const;
983 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
984 std::string* _internal_mutable_name();
985 public:
986
987 // required int32 output_virtual_field = 2;
988 bool has_output_virtual_field() const;
989 private:
990 bool _internal_has_output_virtual_field() const;
991 public:
992 void clear_output_virtual_field();
993 int32_t output_virtual_field() const;
994 void set_output_virtual_field(int32_t value);
995 private:
996 int32_t _internal_output_virtual_field() const;
997 void _internal_set_output_virtual_field(int32_t value);
998 public:
999
1000 // required int32 primary_field = 3;
1001 bool has_primary_field() const;
1002 private:
1003 bool _internal_has_primary_field() const;
1004 public:
1005 void clear_primary_field();
1006 int32_t primary_field() const;
1007 void set_primary_field(int32_t value);
1008 private:
1009 int32_t _internal_primary_field() const;
1010 void _internal_set_primary_field(int32_t value);
1011 public:
1012
1013 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm)
1014 private:
1015 class _Internal;
1016
1017 // helper for ByteSizeLong()
1018 size_t RequiredFieldsByteSizeFallback() const;
1019
1020 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1021 typedef void InternalArenaConstructable_;
1022 typedef void DestructorSkippable_;
1023 struct Impl_ {
1024 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1025 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1026 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > reference_field_;
1027 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1028 int32_t output_virtual_field_;
1029 int32_t primary_field_;
1030 };
1031 union { Impl_ _impl_; };
1032 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
1033};
1034// -------------------------------------------------------------------
1035
1037 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.TranslatorEntry.PublishSerializer) */ {
1038 public:
1041 explicit PROTOBUF_CONSTEXPR TranslatorEntry_PublishSerializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1042
1046 *this = ::std::move(from);
1047 }
1048
1050 CopyFrom(from);
1051 return *this;
1052 }
1054 if (this == &from) return *this;
1055 if (GetOwningArena() == from.GetOwningArena()
1056 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1057 && GetOwningArena() != nullptr
1058 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1059 ) {
1060 InternalSwap(&from);
1061 } else {
1062 CopyFrom(from);
1063 }
1064 return *this;
1065 }
1066
1067 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1068 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1069 }
1070 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1071 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1072 }
1073
1074 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1075 return GetDescriptor();
1076 }
1077 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1078 return default_instance().GetMetadata().descriptor;
1079 }
1080 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1081 return default_instance().GetMetadata().reflection;
1082 }
1084 return *internal_default_instance();
1085 }
1090 static constexpr int kIndexInFileMessages =
1091 4;
1092
1097 if (other == this) return;
1098 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1099 if (GetOwningArena() != nullptr &&
1100 GetOwningArena() == other->GetOwningArena()) {
1101 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1102 if (GetOwningArena() == other->GetOwningArena()) {
1103 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1104 InternalSwap(other);
1105 } else {
1106 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1107 }
1108 }
1110 if (other == this) return;
1111 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1112 InternalSwap(other);
1113 }
1114
1115 // implements Message ----------------------------------------------
1116
1117 TranslatorEntry_PublishSerializer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1118 return CreateMaybeMessage<TranslatorEntry_PublishSerializer>(arena);
1119 }
1120 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1122 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1124 TranslatorEntry_PublishSerializer::MergeImpl(*this, from);
1125 }
1126 private:
1127 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1128 public:
1129 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1130 bool IsInitialized() const final;
1131
1132 size_t ByteSizeLong() const final;
1133 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1134 uint8_t* _InternalSerialize(
1135 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1136 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1137
1138 private:
1139 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1140 void SharedDtor();
1141 void SetCachedSize(int size) const final;
1142 void InternalSwap(TranslatorEntry_PublishSerializer* other);
1143
1144 private:
1145 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1146 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1147 return "goby.moos.protobuf.TranslatorEntry.PublishSerializer";
1148 }
1149 protected:
1150 explicit TranslatorEntry_PublishSerializer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1151 bool is_message_owned = false);
1152 public:
1153
1154 static const ClassData _class_data_;
1155 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1156
1157 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1158
1159 // nested types ----------------------------------------------------
1160
1162
1163 // accessors -------------------------------------------------------
1164
1165 enum : int {
1166 kAlgorithmFieldNumber = 5,
1167 kMoosVarFieldNumber = 2,
1168 kFormatFieldNumber = 3,
1169 kRepeatedDelimiterFieldNumber = 4,
1170 kTechniqueFieldNumber = 1,
1171 };
1172 // repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm algorithm = 5;
1173 int algorithm_size() const;
1174 private:
1175 int _internal_algorithm_size() const;
1176 public:
1177 void clear_algorithm();
1179 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
1180 mutable_algorithm();
1181 private:
1182 const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& _internal_algorithm(int index) const;
1184 public:
1185 const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& algorithm(int index) const;
1187 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >&
1188 algorithm() const;
1189
1190 // required string moos_var = 2;
1191 bool has_moos_var() const;
1192 private:
1193 bool _internal_has_moos_var() const;
1194 public:
1195 void clear_moos_var();
1196 const std::string& moos_var() const;
1197 template <typename ArgT0 = const std::string&, typename... ArgT>
1198 void set_moos_var(ArgT0&& arg0, ArgT... args);
1199 std::string* mutable_moos_var();
1200 PROTOBUF_NODISCARD std::string* release_moos_var();
1201 void set_allocated_moos_var(std::string* moos_var);
1202 private:
1203 const std::string& _internal_moos_var() const;
1204 inline PROTOBUF_ALWAYS_INLINE void _internal_set_moos_var(const std::string& value);
1205 std::string* _internal_mutable_moos_var();
1206 public:
1207
1208 // optional string format = 3;
1209 bool has_format() const;
1210 private:
1211 bool _internal_has_format() const;
1212 public:
1213 void clear_format();
1214 const std::string& format() const;
1215 template <typename ArgT0 = const std::string&, typename... ArgT>
1216 void set_format(ArgT0&& arg0, ArgT... args);
1217 std::string* mutable_format();
1218 PROTOBUF_NODISCARD std::string* release_format();
1219 void set_allocated_format(std::string* format);
1220 private:
1221 const std::string& _internal_format() const;
1222 inline PROTOBUF_ALWAYS_INLINE void _internal_set_format(const std::string& value);
1223 std::string* _internal_mutable_format();
1224 public:
1225
1226 // optional string repeated_delimiter = 4 [default = ","];
1227 bool has_repeated_delimiter() const;
1228 private:
1229 bool _internal_has_repeated_delimiter() const;
1230 public:
1231 void clear_repeated_delimiter();
1232 const std::string& repeated_delimiter() const;
1233 template <typename ArgT0 = const std::string&, typename... ArgT>
1234 void set_repeated_delimiter(ArgT0&& arg0, ArgT... args);
1235 std::string* mutable_repeated_delimiter();
1236 PROTOBUF_NODISCARD std::string* release_repeated_delimiter();
1237 void set_allocated_repeated_delimiter(std::string* repeated_delimiter);
1238 private:
1239 const std::string& _internal_repeated_delimiter() const;
1240 inline PROTOBUF_ALWAYS_INLINE void _internal_set_repeated_delimiter(const std::string& value);
1241 std::string* _internal_mutable_repeated_delimiter();
1242 public:
1243
1244 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
1245 bool has_technique() const;
1246 private:
1247 bool _internal_has_technique() const;
1248 public:
1249 void clear_technique();
1252 private:
1255 public:
1256
1257 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.PublishSerializer)
1258 private:
1259 class _Internal;
1260
1261 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1262 typedef void InternalArenaConstructable_;
1263 typedef void DestructorSkippable_;
1264 struct Impl_ {
1265 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1266 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1267 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm > algorithm_;
1268 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr moos_var_;
1269 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr format_;
1270 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_repeated_delimiter_;
1271 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repeated_delimiter_;
1272 int technique_;
1273 };
1274 union { Impl_ _impl_; };
1275 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
1276};
1277// -------------------------------------------------------------------
1278
1279class TranslatorEntry final :
1280 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.TranslatorEntry) */ {
1281 public:
1282 inline TranslatorEntry() : TranslatorEntry(nullptr) {}
1284 explicit PROTOBUF_CONSTEXPR TranslatorEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1285
1288 : TranslatorEntry() {
1289 *this = ::std::move(from);
1290 }
1291
1293 CopyFrom(from);
1294 return *this;
1295 }
1296 inline TranslatorEntry& operator=(TranslatorEntry&& from) noexcept {
1297 if (this == &from) return *this;
1298 if (GetOwningArena() == from.GetOwningArena()
1299 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1300 && GetOwningArena() != nullptr
1301 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1302 ) {
1303 InternalSwap(&from);
1304 } else {
1305 CopyFrom(from);
1306 }
1307 return *this;
1308 }
1309
1310 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1311 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1312 }
1313 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1314 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1315 }
1316
1317 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1318 return GetDescriptor();
1319 }
1320 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1321 return default_instance().GetMetadata().descriptor;
1322 }
1323 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1324 return default_instance().GetMetadata().reflection;
1325 }
1327 return *internal_default_instance();
1328 }
1330 return reinterpret_cast<const TranslatorEntry*>(
1332 }
1333 static constexpr int kIndexInFileMessages =
1334 5;
1335
1337 a.Swap(&b);
1338 }
1339 inline void Swap(TranslatorEntry* other) {
1340 if (other == this) return;
1341 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1342 if (GetOwningArena() != nullptr &&
1343 GetOwningArena() == other->GetOwningArena()) {
1344 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1345 if (GetOwningArena() == other->GetOwningArena()) {
1346 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1347 InternalSwap(other);
1348 } else {
1349 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1350 }
1351 }
1353 if (other == this) return;
1354 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1355 InternalSwap(other);
1356 }
1357
1358 // implements Message ----------------------------------------------
1359
1360 TranslatorEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1361 return CreateMaybeMessage<TranslatorEntry>(arena);
1362 }
1363 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1364 void CopyFrom(const TranslatorEntry& from);
1365 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1366 void MergeFrom( const TranslatorEntry& from) {
1367 TranslatorEntry::MergeImpl(*this, from);
1368 }
1369 private:
1370 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1371 public:
1372 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1373 bool IsInitialized() const final;
1374
1375 size_t ByteSizeLong() const final;
1376 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1377 uint8_t* _InternalSerialize(
1378 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1379 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1380
1381 private:
1382 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1383 void SharedDtor();
1384 void SetCachedSize(int size) const final;
1385 void InternalSwap(TranslatorEntry* other);
1386
1387 private:
1388 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1389 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1390 return "goby.moos.protobuf.TranslatorEntry";
1391 }
1392 protected:
1393 explicit TranslatorEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1394 bool is_message_owned = false);
1395 public:
1396
1397 static const ClassData _class_data_;
1398 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1399
1400 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1401
1402 // nested types ----------------------------------------------------
1403
1407
1409 static constexpr ParserSerializerTechnique TECHNIQUE_PROTOBUF_TEXT_FORMAT =
1410 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_TEXT_FORMAT;
1411 static constexpr ParserSerializerTechnique TECHNIQUE_PROTOBUF_NATIVE_ENCODED =
1412 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_ENCODED;
1413 static constexpr ParserSerializerTechnique TECHNIQUE_COMMA_SEPARATED_KEY_EQUALS_VALUE_PAIRS =
1414 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_COMMA_SEPARATED_KEY_EQUALS_VALUE_PAIRS;
1415 static constexpr ParserSerializerTechnique TECHNIQUE_FORMAT =
1416 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_FORMAT;
1417 static constexpr ParserSerializerTechnique TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT =
1418 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT;
1419 static constexpr ParserSerializerTechnique TECHNIQUE_PROTOBUF_NATIVE_HEX =
1420 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_HEX;
1421 static constexpr ParserSerializerTechnique TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_HEX =
1422 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_HEX;
1423 static constexpr ParserSerializerTechnique TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED =
1424 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED;
1425 static inline bool ParserSerializerTechnique_IsValid(int value) {
1427 }
1428 static constexpr ParserSerializerTechnique ParserSerializerTechnique_MIN =
1430 static constexpr ParserSerializerTechnique ParserSerializerTechnique_MAX =
1432 static constexpr int ParserSerializerTechnique_ARRAYSIZE =
1434 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1438 template<typename T>
1439 static inline const std::string& ParserSerializerTechnique_Name(T enum_t_value) {
1440 static_assert(::std::is_same<T, ParserSerializerTechnique>::value ||
1441 ::std::is_integral<T>::value,
1442 "Incorrect type passed to function ParserSerializerTechnique_Name.");
1444 }
1445 static inline bool ParserSerializerTechnique_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1448 }
1449
1450 // accessors -------------------------------------------------------
1451
1452 enum : int {
1453 kCreateFieldNumber = 3,
1454 kPublishFieldNumber = 4,
1455 kProtobufNameFieldNumber = 1,
1456 kTriggerFieldNumber = 2,
1457 kUseShortEnumFieldNumber = 5,
1458 };
1459 // repeated .goby.moos.protobuf.TranslatorEntry.CreateParser create = 3;
1460 int create_size() const;
1461 private:
1462 int _internal_create_size() const;
1463 public:
1464 void clear_create();
1466 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
1467 mutable_create();
1468 private:
1469 const ::goby::moos::protobuf::TranslatorEntry_CreateParser& _internal_create(int index) const;
1471 public:
1472 const ::goby::moos::protobuf::TranslatorEntry_CreateParser& create(int index) const;
1474 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
1475 create() const;
1476
1477 // repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer publish = 4;
1478 int publish_size() const;
1479 private:
1480 int _internal_publish_size() const;
1481 public:
1482 void clear_publish();
1484 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
1485 mutable_publish();
1486 private:
1487 const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& _internal_publish(int index) const;
1489 public:
1490 const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& publish(int index) const;
1492 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
1493 publish() const;
1494
1495 // required string protobuf_name = 1 [(.goby.field) = {
1496 bool has_protobuf_name() const;
1497 private:
1498 bool _internal_has_protobuf_name() const;
1499 public:
1500 void clear_protobuf_name();
1501 const std::string& protobuf_name() const;
1502 template <typename ArgT0 = const std::string&, typename... ArgT>
1503 void set_protobuf_name(ArgT0&& arg0, ArgT... args);
1504 std::string* mutable_protobuf_name();
1505 PROTOBUF_NODISCARD std::string* release_protobuf_name();
1506 void set_allocated_protobuf_name(std::string* protobuf_name);
1507 private:
1508 const std::string& _internal_protobuf_name() const;
1509 inline PROTOBUF_ALWAYS_INLINE void _internal_set_protobuf_name(const std::string& value);
1510 std::string* _internal_mutable_protobuf_name();
1511 public:
1512
1513 // optional .goby.moos.protobuf.TranslatorEntry.Trigger trigger = 2;
1514 bool has_trigger() const;
1515 private:
1516 bool _internal_has_trigger() const;
1517 public:
1518 void clear_trigger();
1519 const ::goby::moos::protobuf::TranslatorEntry_Trigger& trigger() const;
1520 PROTOBUF_NODISCARD ::goby::moos::protobuf::TranslatorEntry_Trigger* release_trigger();
1522 void set_allocated_trigger(::goby::moos::protobuf::TranslatorEntry_Trigger* trigger);
1523 private:
1524 const ::goby::moos::protobuf::TranslatorEntry_Trigger& _internal_trigger() const;
1525 ::goby::moos::protobuf::TranslatorEntry_Trigger* _internal_mutable_trigger();
1526 public:
1527 void unsafe_arena_set_allocated_trigger(
1529 ::goby::moos::protobuf::TranslatorEntry_Trigger* unsafe_arena_release_trigger();
1530
1531 // optional bool use_short_enum = 5 [default = false];
1532 bool has_use_short_enum() const;
1533 private:
1534 bool _internal_has_use_short_enum() const;
1535 public:
1536 void clear_use_short_enum();
1537 bool use_short_enum() const;
1538 void set_use_short_enum(bool value);
1539 private:
1540 bool _internal_use_short_enum() const;
1541 void _internal_set_use_short_enum(bool value);
1542 public:
1543
1544 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry)
1545 private:
1546 class _Internal;
1547
1548 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1549 typedef void InternalArenaConstructable_;
1550 typedef void DestructorSkippable_;
1551 struct Impl_ {
1552 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1553 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1554 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser > create_;
1555 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer > publish_;
1556 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr protobuf_name_;
1558 bool use_short_enum_;
1559 };
1560 union { Impl_ _impl_; };
1561 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2ftranslator_2eproto;
1562};
1563// ===================================================================
1564
1565
1566// ===================================================================
1567
1568#ifdef __GNUC__
1569 #pragma GCC diagnostic push
1570 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1571#endif // __GNUC__
1572// TranslatorEntry_Trigger
1573
1574// optional .goby.moos.protobuf.TranslatorEntry.Trigger.Type type = 1 [default = TRIGGER_PUBLISH];
1575inline bool TranslatorEntry_Trigger::_internal_has_type() const {
1576 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1577 return value;
1578}
1579inline bool TranslatorEntry_Trigger::has_type() const {
1580 return _internal_has_type();
1581}
1582inline void TranslatorEntry_Trigger::clear_type() {
1583 _impl_.type_ = 1;
1584 _impl_._has_bits_[0] &= ~0x00000008u;
1585}
1586inline ::goby::moos::protobuf::TranslatorEntry_Trigger_Type TranslatorEntry_Trigger::_internal_type() const {
1587 return static_cast< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type >(_impl_.type_);
1588}
1589inline ::goby::moos::protobuf::TranslatorEntry_Trigger_Type TranslatorEntry_Trigger::type() const {
1590 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.type)
1591 return _internal_type();
1592}
1593inline void TranslatorEntry_Trigger::_internal_set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value) {
1595 _impl_._has_bits_[0] |= 0x00000008u;
1596 _impl_.type_ = value;
1597}
1598inline void TranslatorEntry_Trigger::set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value) {
1599 _internal_set_type(value);
1600 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.type)
1601}
1602
1603// optional string moos_var = 2;
1604inline bool TranslatorEntry_Trigger::_internal_has_moos_var() const {
1605 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1606 return value;
1607}
1608inline bool TranslatorEntry_Trigger::has_moos_var() const {
1609 return _internal_has_moos_var();
1610}
1611inline void TranslatorEntry_Trigger::clear_moos_var() {
1612 _impl_.moos_var_.ClearToEmpty();
1613 _impl_._has_bits_[0] &= ~0x00000001u;
1614}
1615inline const std::string& TranslatorEntry_Trigger::moos_var() const {
1616 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
1617 return _internal_moos_var();
1618}
1619template <typename ArgT0, typename... ArgT>
1620inline PROTOBUF_ALWAYS_INLINE
1621void TranslatorEntry_Trigger::set_moos_var(ArgT0&& arg0, ArgT... args) {
1622 _impl_._has_bits_[0] |= 0x00000001u;
1623 _impl_.moos_var_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1624 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
1625}
1626inline std::string* TranslatorEntry_Trigger::mutable_moos_var() {
1627 std::string* _s = _internal_mutable_moos_var();
1628 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
1629 return _s;
1630}
1631inline const std::string& TranslatorEntry_Trigger::_internal_moos_var() const {
1632 return _impl_.moos_var_.Get();
1633}
1634inline void TranslatorEntry_Trigger::_internal_set_moos_var(const std::string& value) {
1635 _impl_._has_bits_[0] |= 0x00000001u;
1636 _impl_.moos_var_.Set(value, GetArenaForAllocation());
1637}
1638inline std::string* TranslatorEntry_Trigger::_internal_mutable_moos_var() {
1639 _impl_._has_bits_[0] |= 0x00000001u;
1640 return _impl_.moos_var_.Mutable(GetArenaForAllocation());
1641}
1642inline std::string* TranslatorEntry_Trigger::release_moos_var() {
1643 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
1644 if (!_internal_has_moos_var()) {
1645 return nullptr;
1646 }
1647 _impl_._has_bits_[0] &= ~0x00000001u;
1648 auto* p = _impl_.moos_var_.Release();
1649#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1650 if (_impl_.moos_var_.IsDefault()) {
1651 _impl_.moos_var_.Set("", GetArenaForAllocation());
1652 }
1653#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1654 return p;
1655}
1656inline void TranslatorEntry_Trigger::set_allocated_moos_var(std::string* moos_var) {
1657 if (moos_var != nullptr) {
1658 _impl_._has_bits_[0] |= 0x00000001u;
1659 } else {
1660 _impl_._has_bits_[0] &= ~0x00000001u;
1661 }
1662 _impl_.moos_var_.SetAllocated(moos_var, GetArenaForAllocation());
1663#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1664 if (_impl_.moos_var_.IsDefault()) {
1665 _impl_.moos_var_.Set("", GetArenaForAllocation());
1666 }
1667#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1668 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
1669}
1670
1671// optional uint32 period = 3;
1672inline bool TranslatorEntry_Trigger::_internal_has_period() const {
1673 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1674 return value;
1675}
1676inline bool TranslatorEntry_Trigger::has_period() const {
1677 return _internal_has_period();
1678}
1679inline void TranslatorEntry_Trigger::clear_period() {
1680 _impl_.period_ = 0u;
1681 _impl_._has_bits_[0] &= ~0x00000004u;
1682}
1683inline uint32_t TranslatorEntry_Trigger::_internal_period() const {
1684 return _impl_.period_;
1685}
1686inline uint32_t TranslatorEntry_Trigger::period() const {
1687 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.period)
1688 return _internal_period();
1689}
1690inline void TranslatorEntry_Trigger::_internal_set_period(uint32_t value) {
1691 _impl_._has_bits_[0] |= 0x00000004u;
1692 _impl_.period_ = value;
1693}
1694inline void TranslatorEntry_Trigger::set_period(uint32_t value) {
1695 _internal_set_period(value);
1696 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.period)
1697}
1698
1699// optional string mandatory_content = 4;
1700inline bool TranslatorEntry_Trigger::_internal_has_mandatory_content() const {
1701 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1702 return value;
1703}
1704inline bool TranslatorEntry_Trigger::has_mandatory_content() const {
1705 return _internal_has_mandatory_content();
1706}
1707inline void TranslatorEntry_Trigger::clear_mandatory_content() {
1708 _impl_.mandatory_content_.ClearToEmpty();
1709 _impl_._has_bits_[0] &= ~0x00000002u;
1710}
1711inline const std::string& TranslatorEntry_Trigger::mandatory_content() const {
1712 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1713 return _internal_mandatory_content();
1714}
1715template <typename ArgT0, typename... ArgT>
1716inline PROTOBUF_ALWAYS_INLINE
1717void TranslatorEntry_Trigger::set_mandatory_content(ArgT0&& arg0, ArgT... args) {
1718 _impl_._has_bits_[0] |= 0x00000002u;
1719 _impl_.mandatory_content_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1720 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1721}
1722inline std::string* TranslatorEntry_Trigger::mutable_mandatory_content() {
1723 std::string* _s = _internal_mutable_mandatory_content();
1724 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1725 return _s;
1726}
1727inline const std::string& TranslatorEntry_Trigger::_internal_mandatory_content() const {
1728 return _impl_.mandatory_content_.Get();
1729}
1730inline void TranslatorEntry_Trigger::_internal_set_mandatory_content(const std::string& value) {
1731 _impl_._has_bits_[0] |= 0x00000002u;
1732 _impl_.mandatory_content_.Set(value, GetArenaForAllocation());
1733}
1734inline std::string* TranslatorEntry_Trigger::_internal_mutable_mandatory_content() {
1735 _impl_._has_bits_[0] |= 0x00000002u;
1736 return _impl_.mandatory_content_.Mutable(GetArenaForAllocation());
1737}
1738inline std::string* TranslatorEntry_Trigger::release_mandatory_content() {
1739 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1740 if (!_internal_has_mandatory_content()) {
1741 return nullptr;
1742 }
1743 _impl_._has_bits_[0] &= ~0x00000002u;
1744 auto* p = _impl_.mandatory_content_.Release();
1745#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1746 if (_impl_.mandatory_content_.IsDefault()) {
1747 _impl_.mandatory_content_.Set("", GetArenaForAllocation());
1748 }
1749#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1750 return p;
1751}
1752inline void TranslatorEntry_Trigger::set_allocated_mandatory_content(std::string* mandatory_content) {
1753 if (mandatory_content != nullptr) {
1754 _impl_._has_bits_[0] |= 0x00000002u;
1755 } else {
1756 _impl_._has_bits_[0] &= ~0x00000002u;
1757 }
1758 _impl_.mandatory_content_.SetAllocated(mandatory_content, GetArenaForAllocation());
1759#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1760 if (_impl_.mandatory_content_.IsDefault()) {
1761 _impl_.mandatory_content_.Set("", GetArenaForAllocation());
1762 }
1763#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1764 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1765}
1766
1767// -------------------------------------------------------------------
1768
1769// TranslatorEntry_CreateParser_Algorithm
1770
1771// required string name = 1;
1772inline bool TranslatorEntry_CreateParser_Algorithm::_internal_has_name() const {
1773 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1774 return value;
1775}
1776inline bool TranslatorEntry_CreateParser_Algorithm::has_name() const {
1777 return _internal_has_name();
1778}
1779inline void TranslatorEntry_CreateParser_Algorithm::clear_name() {
1780 _impl_.name_.ClearToEmpty();
1781 _impl_._has_bits_[0] &= ~0x00000001u;
1782}
1783inline const std::string& TranslatorEntry_CreateParser_Algorithm::name() const {
1784 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1785 return _internal_name();
1786}
1787template <typename ArgT0, typename... ArgT>
1788inline PROTOBUF_ALWAYS_INLINE
1789void TranslatorEntry_CreateParser_Algorithm::set_name(ArgT0&& arg0, ArgT... args) {
1790 _impl_._has_bits_[0] |= 0x00000001u;
1791 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1792 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1793}
1794inline std::string* TranslatorEntry_CreateParser_Algorithm::mutable_name() {
1795 std::string* _s = _internal_mutable_name();
1796 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1797 return _s;
1798}
1799inline const std::string& TranslatorEntry_CreateParser_Algorithm::_internal_name() const {
1800 return _impl_.name_.Get();
1801}
1802inline void TranslatorEntry_CreateParser_Algorithm::_internal_set_name(const std::string& value) {
1803 _impl_._has_bits_[0] |= 0x00000001u;
1804 _impl_.name_.Set(value, GetArenaForAllocation());
1805}
1806inline std::string* TranslatorEntry_CreateParser_Algorithm::_internal_mutable_name() {
1807 _impl_._has_bits_[0] |= 0x00000001u;
1808 return _impl_.name_.Mutable(GetArenaForAllocation());
1809}
1810inline std::string* TranslatorEntry_CreateParser_Algorithm::release_name() {
1811 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1812 if (!_internal_has_name()) {
1813 return nullptr;
1814 }
1815 _impl_._has_bits_[0] &= ~0x00000001u;
1816 auto* p = _impl_.name_.Release();
1817#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1818 if (_impl_.name_.IsDefault()) {
1819 _impl_.name_.Set("", GetArenaForAllocation());
1820 }
1821#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1822 return p;
1823}
1824inline void TranslatorEntry_CreateParser_Algorithm::set_allocated_name(std::string* name) {
1825 if (name != nullptr) {
1826 _impl_._has_bits_[0] |= 0x00000001u;
1827 } else {
1828 _impl_._has_bits_[0] &= ~0x00000001u;
1829 }
1830 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1831#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1832 if (_impl_.name_.IsDefault()) {
1833 _impl_.name_.Set("", GetArenaForAllocation());
1834 }
1835#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1836 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1837}
1838
1839// required int32 primary_field = 2;
1840inline bool TranslatorEntry_CreateParser_Algorithm::_internal_has_primary_field() const {
1841 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1842 return value;
1843}
1844inline bool TranslatorEntry_CreateParser_Algorithm::has_primary_field() const {
1845 return _internal_has_primary_field();
1846}
1847inline void TranslatorEntry_CreateParser_Algorithm::clear_primary_field() {
1848 _impl_.primary_field_ = 0;
1849 _impl_._has_bits_[0] &= ~0x00000002u;
1850}
1851inline int32_t TranslatorEntry_CreateParser_Algorithm::_internal_primary_field() const {
1852 return _impl_.primary_field_;
1853}
1854inline int32_t TranslatorEntry_CreateParser_Algorithm::primary_field() const {
1855 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.primary_field)
1856 return _internal_primary_field();
1857}
1858inline void TranslatorEntry_CreateParser_Algorithm::_internal_set_primary_field(int32_t value) {
1859 _impl_._has_bits_[0] |= 0x00000002u;
1860 _impl_.primary_field_ = value;
1861}
1862inline void TranslatorEntry_CreateParser_Algorithm::set_primary_field(int32_t value) {
1863 _internal_set_primary_field(value);
1864 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.primary_field)
1865}
1866
1867// -------------------------------------------------------------------
1868
1869// TranslatorEntry_CreateParser
1870
1871// optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
1872inline bool TranslatorEntry_CreateParser::_internal_has_technique() const {
1873 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1874 return value;
1875}
1876inline bool TranslatorEntry_CreateParser::has_technique() const {
1877 return _internal_has_technique();
1878}
1879inline void TranslatorEntry_CreateParser::clear_technique() {
1880 _impl_.technique_ = 1;
1881 _impl_._has_bits_[0] &= ~0x00000008u;
1882}
1883inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_CreateParser::_internal_technique() const {
1884 return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(_impl_.technique_);
1885}
1886inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_CreateParser::technique() const {
1887 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.technique)
1888 return _internal_technique();
1889}
1890inline void TranslatorEntry_CreateParser::_internal_set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1892 _impl_._has_bits_[0] |= 0x00000008u;
1893 _impl_.technique_ = value;
1894}
1895inline void TranslatorEntry_CreateParser::set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1896 _internal_set_technique(value);
1897 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.technique)
1898}
1899
1900// required string moos_var = 2;
1901inline bool TranslatorEntry_CreateParser::_internal_has_moos_var() const {
1902 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1903 return value;
1904}
1905inline bool TranslatorEntry_CreateParser::has_moos_var() const {
1906 return _internal_has_moos_var();
1907}
1908inline void TranslatorEntry_CreateParser::clear_moos_var() {
1909 _impl_.moos_var_.ClearToEmpty();
1910 _impl_._has_bits_[0] &= ~0x00000001u;
1911}
1912inline const std::string& TranslatorEntry_CreateParser::moos_var() const {
1913 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1914 return _internal_moos_var();
1915}
1916template <typename ArgT0, typename... ArgT>
1917inline PROTOBUF_ALWAYS_INLINE
1918void TranslatorEntry_CreateParser::set_moos_var(ArgT0&& arg0, ArgT... args) {
1919 _impl_._has_bits_[0] |= 0x00000001u;
1920 _impl_.moos_var_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1921 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1922}
1923inline std::string* TranslatorEntry_CreateParser::mutable_moos_var() {
1924 std::string* _s = _internal_mutable_moos_var();
1925 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1926 return _s;
1927}
1928inline const std::string& TranslatorEntry_CreateParser::_internal_moos_var() const {
1929 return _impl_.moos_var_.Get();
1930}
1931inline void TranslatorEntry_CreateParser::_internal_set_moos_var(const std::string& value) {
1932 _impl_._has_bits_[0] |= 0x00000001u;
1933 _impl_.moos_var_.Set(value, GetArenaForAllocation());
1934}
1935inline std::string* TranslatorEntry_CreateParser::_internal_mutable_moos_var() {
1936 _impl_._has_bits_[0] |= 0x00000001u;
1937 return _impl_.moos_var_.Mutable(GetArenaForAllocation());
1938}
1939inline std::string* TranslatorEntry_CreateParser::release_moos_var() {
1940 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1941 if (!_internal_has_moos_var()) {
1942 return nullptr;
1943 }
1944 _impl_._has_bits_[0] &= ~0x00000001u;
1945 auto* p = _impl_.moos_var_.Release();
1946#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1947 if (_impl_.moos_var_.IsDefault()) {
1948 _impl_.moos_var_.Set("", GetArenaForAllocation());
1949 }
1950#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1951 return p;
1952}
1953inline void TranslatorEntry_CreateParser::set_allocated_moos_var(std::string* moos_var) {
1954 if (moos_var != nullptr) {
1955 _impl_._has_bits_[0] |= 0x00000001u;
1956 } else {
1957 _impl_._has_bits_[0] &= ~0x00000001u;
1958 }
1959 _impl_.moos_var_.SetAllocated(moos_var, GetArenaForAllocation());
1960#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1961 if (_impl_.moos_var_.IsDefault()) {
1962 _impl_.moos_var_.Set("", GetArenaForAllocation());
1963 }
1964#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1965 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1966}
1967
1968// optional string format = 3;
1969inline bool TranslatorEntry_CreateParser::_internal_has_format() const {
1970 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1971 return value;
1972}
1973inline bool TranslatorEntry_CreateParser::has_format() const {
1974 return _internal_has_format();
1975}
1976inline void TranslatorEntry_CreateParser::clear_format() {
1977 _impl_.format_.ClearToEmpty();
1978 _impl_._has_bits_[0] &= ~0x00000002u;
1979}
1980inline const std::string& TranslatorEntry_CreateParser::format() const {
1981 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1982 return _internal_format();
1983}
1984template <typename ArgT0, typename... ArgT>
1985inline PROTOBUF_ALWAYS_INLINE
1986void TranslatorEntry_CreateParser::set_format(ArgT0&& arg0, ArgT... args) {
1987 _impl_._has_bits_[0] |= 0x00000002u;
1988 _impl_.format_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1989 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1990}
1991inline std::string* TranslatorEntry_CreateParser::mutable_format() {
1992 std::string* _s = _internal_mutable_format();
1993 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1994 return _s;
1995}
1996inline const std::string& TranslatorEntry_CreateParser::_internal_format() const {
1997 return _impl_.format_.Get();
1998}
1999inline void TranslatorEntry_CreateParser::_internal_set_format(const std::string& value) {
2000 _impl_._has_bits_[0] |= 0x00000002u;
2001 _impl_.format_.Set(value, GetArenaForAllocation());
2002}
2003inline std::string* TranslatorEntry_CreateParser::_internal_mutable_format() {
2004 _impl_._has_bits_[0] |= 0x00000002u;
2005 return _impl_.format_.Mutable(GetArenaForAllocation());
2006}
2007inline std::string* TranslatorEntry_CreateParser::release_format() {
2008 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
2009 if (!_internal_has_format()) {
2010 return nullptr;
2011 }
2012 _impl_._has_bits_[0] &= ~0x00000002u;
2013 auto* p = _impl_.format_.Release();
2014#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2015 if (_impl_.format_.IsDefault()) {
2016 _impl_.format_.Set("", GetArenaForAllocation());
2017 }
2018#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2019 return p;
2020}
2021inline void TranslatorEntry_CreateParser::set_allocated_format(std::string* format) {
2022 if (format != nullptr) {
2023 _impl_._has_bits_[0] |= 0x00000002u;
2024 } else {
2025 _impl_._has_bits_[0] &= ~0x00000002u;
2026 }
2027 _impl_.format_.SetAllocated(format, GetArenaForAllocation());
2028#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2029 if (_impl_.format_.IsDefault()) {
2030 _impl_.format_.Set("", GetArenaForAllocation());
2031 }
2032#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2033 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
2034}
2035
2036// optional string repeated_delimiter = 4 [default = ","];
2037inline bool TranslatorEntry_CreateParser::_internal_has_repeated_delimiter() const {
2038 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2039 return value;
2040}
2041inline bool TranslatorEntry_CreateParser::has_repeated_delimiter() const {
2042 return _internal_has_repeated_delimiter();
2043}
2044inline void TranslatorEntry_CreateParser::clear_repeated_delimiter() {
2045 _impl_.repeated_delimiter_.ClearToDefault(::goby::moos::protobuf::TranslatorEntry_CreateParser::Impl_::_i_give_permission_to_break_this_code_default_repeated_delimiter_, GetArenaForAllocation());
2046 _impl_._has_bits_[0] &= ~0x00000004u;
2047}
2048inline const std::string& TranslatorEntry_CreateParser::repeated_delimiter() const {
2049 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
2050 if (_impl_.repeated_delimiter_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_repeated_delimiter_.get();
2051 return _internal_repeated_delimiter();
2052}
2053template <typename ArgT0, typename... ArgT>
2054inline PROTOBUF_ALWAYS_INLINE
2055void TranslatorEntry_CreateParser::set_repeated_delimiter(ArgT0&& arg0, ArgT... args) {
2056 _impl_._has_bits_[0] |= 0x00000004u;
2057 _impl_.repeated_delimiter_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2058 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
2059}
2060inline std::string* TranslatorEntry_CreateParser::mutable_repeated_delimiter() {
2061 std::string* _s = _internal_mutable_repeated_delimiter();
2062 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
2063 return _s;
2064}
2065inline const std::string& TranslatorEntry_CreateParser::_internal_repeated_delimiter() const {
2066 return _impl_.repeated_delimiter_.Get();
2067}
2068inline void TranslatorEntry_CreateParser::_internal_set_repeated_delimiter(const std::string& value) {
2069 _impl_._has_bits_[0] |= 0x00000004u;
2070 _impl_.repeated_delimiter_.Set(value, GetArenaForAllocation());
2071}
2072inline std::string* TranslatorEntry_CreateParser::_internal_mutable_repeated_delimiter() {
2073 _impl_._has_bits_[0] |= 0x00000004u;
2074 return _impl_.repeated_delimiter_.Mutable(::goby::moos::protobuf::TranslatorEntry_CreateParser::Impl_::_i_give_permission_to_break_this_code_default_repeated_delimiter_, GetArenaForAllocation());
2075}
2076inline std::string* TranslatorEntry_CreateParser::release_repeated_delimiter() {
2077 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
2078 if (!_internal_has_repeated_delimiter()) {
2079 return nullptr;
2080 }
2081 _impl_._has_bits_[0] &= ~0x00000004u;
2082 auto* p = _impl_.repeated_delimiter_.Release();
2083 return p;
2084}
2085inline void TranslatorEntry_CreateParser::set_allocated_repeated_delimiter(std::string* repeated_delimiter) {
2086 if (repeated_delimiter != nullptr) {
2087 _impl_._has_bits_[0] |= 0x00000004u;
2088 } else {
2089 _impl_._has_bits_[0] &= ~0x00000004u;
2090 }
2091 _impl_.repeated_delimiter_.SetAllocated(repeated_delimiter, GetArenaForAllocation());
2092 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
2093}
2094
2095// repeated .goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm algorithm = 5;
2096inline int TranslatorEntry_CreateParser::_internal_algorithm_size() const {
2097 return _impl_.algorithm_.size();
2098}
2099inline int TranslatorEntry_CreateParser::algorithm_size() const {
2100 return _internal_algorithm_size();
2101}
2102inline void TranslatorEntry_CreateParser::clear_algorithm() {
2103 _impl_.algorithm_.Clear();
2104}
2105inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::mutable_algorithm(int index) {
2106 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
2107 return _impl_.algorithm_.Mutable(index);
2108}
2109inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
2110TranslatorEntry_CreateParser::mutable_algorithm() {
2111 // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
2112 return &_impl_.algorithm_;
2113}
2114inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& TranslatorEntry_CreateParser::_internal_algorithm(int index) const {
2115 return _impl_.algorithm_.Get(index);
2116}
2117inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& TranslatorEntry_CreateParser::algorithm(int index) const {
2118 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
2119 return _internal_algorithm(index);
2120}
2121inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::_internal_add_algorithm() {
2122 return _impl_.algorithm_.Add();
2123}
2124inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::add_algorithm() {
2126 // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
2127 return _add;
2128}
2129inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >&
2130TranslatorEntry_CreateParser::algorithm() const {
2131 // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
2132 return _impl_.algorithm_;
2133}
2134
2135// -------------------------------------------------------------------
2136
2137// TranslatorEntry_PublishSerializer_Algorithm
2138
2139// required string name = 1;
2140inline bool TranslatorEntry_PublishSerializer_Algorithm::_internal_has_name() const {
2141 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2142 return value;
2143}
2144inline bool TranslatorEntry_PublishSerializer_Algorithm::has_name() const {
2145 return _internal_has_name();
2146}
2147inline void TranslatorEntry_PublishSerializer_Algorithm::clear_name() {
2148 _impl_.name_.ClearToEmpty();
2149 _impl_._has_bits_[0] &= ~0x00000001u;
2150}
2151inline const std::string& TranslatorEntry_PublishSerializer_Algorithm::name() const {
2152 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
2153 return _internal_name();
2154}
2155template <typename ArgT0, typename... ArgT>
2156inline PROTOBUF_ALWAYS_INLINE
2157void TranslatorEntry_PublishSerializer_Algorithm::set_name(ArgT0&& arg0, ArgT... args) {
2158 _impl_._has_bits_[0] |= 0x00000001u;
2159 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2160 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
2161}
2162inline std::string* TranslatorEntry_PublishSerializer_Algorithm::mutable_name() {
2163 std::string* _s = _internal_mutable_name();
2164 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
2165 return _s;
2166}
2167inline const std::string& TranslatorEntry_PublishSerializer_Algorithm::_internal_name() const {
2168 return _impl_.name_.Get();
2169}
2170inline void TranslatorEntry_PublishSerializer_Algorithm::_internal_set_name(const std::string& value) {
2171 _impl_._has_bits_[0] |= 0x00000001u;
2172 _impl_.name_.Set(value, GetArenaForAllocation());
2173}
2174inline std::string* TranslatorEntry_PublishSerializer_Algorithm::_internal_mutable_name() {
2175 _impl_._has_bits_[0] |= 0x00000001u;
2176 return _impl_.name_.Mutable(GetArenaForAllocation());
2177}
2178inline std::string* TranslatorEntry_PublishSerializer_Algorithm::release_name() {
2179 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
2180 if (!_internal_has_name()) {
2181 return nullptr;
2182 }
2183 _impl_._has_bits_[0] &= ~0x00000001u;
2184 auto* p = _impl_.name_.Release();
2185#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2186 if (_impl_.name_.IsDefault()) {
2187 _impl_.name_.Set("", GetArenaForAllocation());
2188 }
2189#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2190 return p;
2191}
2192inline void TranslatorEntry_PublishSerializer_Algorithm::set_allocated_name(std::string* name) {
2193 if (name != nullptr) {
2194 _impl_._has_bits_[0] |= 0x00000001u;
2195 } else {
2196 _impl_._has_bits_[0] &= ~0x00000001u;
2197 }
2198 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
2199#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2200 if (_impl_.name_.IsDefault()) {
2201 _impl_.name_.Set("", GetArenaForAllocation());
2202 }
2203#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2204 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
2205}
2206
2207// required int32 output_virtual_field = 2;
2208inline bool TranslatorEntry_PublishSerializer_Algorithm::_internal_has_output_virtual_field() const {
2209 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2210 return value;
2211}
2212inline bool TranslatorEntry_PublishSerializer_Algorithm::has_output_virtual_field() const {
2213 return _internal_has_output_virtual_field();
2214}
2215inline void TranslatorEntry_PublishSerializer_Algorithm::clear_output_virtual_field() {
2216 _impl_.output_virtual_field_ = 0;
2217 _impl_._has_bits_[0] &= ~0x00000002u;
2218}
2219inline int32_t TranslatorEntry_PublishSerializer_Algorithm::_internal_output_virtual_field() const {
2220 return _impl_.output_virtual_field_;
2221}
2222inline int32_t TranslatorEntry_PublishSerializer_Algorithm::output_virtual_field() const {
2223 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.output_virtual_field)
2224 return _internal_output_virtual_field();
2225}
2226inline void TranslatorEntry_PublishSerializer_Algorithm::_internal_set_output_virtual_field(int32_t value) {
2227 _impl_._has_bits_[0] |= 0x00000002u;
2228 _impl_.output_virtual_field_ = value;
2229}
2230inline void TranslatorEntry_PublishSerializer_Algorithm::set_output_virtual_field(int32_t value) {
2231 _internal_set_output_virtual_field(value);
2232 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.output_virtual_field)
2233}
2234
2235// required int32 primary_field = 3;
2236inline bool TranslatorEntry_PublishSerializer_Algorithm::_internal_has_primary_field() const {
2237 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2238 return value;
2239}
2240inline bool TranslatorEntry_PublishSerializer_Algorithm::has_primary_field() const {
2241 return _internal_has_primary_field();
2242}
2243inline void TranslatorEntry_PublishSerializer_Algorithm::clear_primary_field() {
2244 _impl_.primary_field_ = 0;
2245 _impl_._has_bits_[0] &= ~0x00000004u;
2246}
2247inline int32_t TranslatorEntry_PublishSerializer_Algorithm::_internal_primary_field() const {
2248 return _impl_.primary_field_;
2249}
2250inline int32_t TranslatorEntry_PublishSerializer_Algorithm::primary_field() const {
2251 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.primary_field)
2252 return _internal_primary_field();
2253}
2254inline void TranslatorEntry_PublishSerializer_Algorithm::_internal_set_primary_field(int32_t value) {
2255 _impl_._has_bits_[0] |= 0x00000004u;
2256 _impl_.primary_field_ = value;
2257}
2258inline void TranslatorEntry_PublishSerializer_Algorithm::set_primary_field(int32_t value) {
2259 _internal_set_primary_field(value);
2260 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.primary_field)
2261}
2262
2263// repeated int32 reference_field = 4;
2264inline int TranslatorEntry_PublishSerializer_Algorithm::_internal_reference_field_size() const {
2265 return _impl_.reference_field_.size();
2266}
2267inline int TranslatorEntry_PublishSerializer_Algorithm::reference_field_size() const {
2268 return _internal_reference_field_size();
2269}
2270inline void TranslatorEntry_PublishSerializer_Algorithm::clear_reference_field() {
2271 _impl_.reference_field_.Clear();
2272}
2273inline int32_t TranslatorEntry_PublishSerializer_Algorithm::_internal_reference_field(int index) const {
2274 return _impl_.reference_field_.Get(index);
2275}
2276inline int32_t TranslatorEntry_PublishSerializer_Algorithm::reference_field(int index) const {
2277 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
2278 return _internal_reference_field(index);
2279}
2280inline void TranslatorEntry_PublishSerializer_Algorithm::set_reference_field(int index, int32_t value) {
2281 _impl_.reference_field_.Set(index, value);
2282 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
2283}
2284inline void TranslatorEntry_PublishSerializer_Algorithm::_internal_add_reference_field(int32_t value) {
2285 _impl_.reference_field_.Add(value);
2286}
2287inline void TranslatorEntry_PublishSerializer_Algorithm::add_reference_field(int32_t value) {
2288 _internal_add_reference_field(value);
2289 // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
2290}
2291inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
2292TranslatorEntry_PublishSerializer_Algorithm::_internal_reference_field() const {
2293 return _impl_.reference_field_;
2294}
2295inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
2296TranslatorEntry_PublishSerializer_Algorithm::reference_field() const {
2297 // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
2298 return _internal_reference_field();
2299}
2300inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
2301TranslatorEntry_PublishSerializer_Algorithm::_internal_mutable_reference_field() {
2302 return &_impl_.reference_field_;
2303}
2304inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
2305TranslatorEntry_PublishSerializer_Algorithm::mutable_reference_field() {
2306 // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
2307 return _internal_mutable_reference_field();
2308}
2309
2310// -------------------------------------------------------------------
2311
2312// TranslatorEntry_PublishSerializer
2313
2314// optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
2315inline bool TranslatorEntry_PublishSerializer::_internal_has_technique() const {
2316 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2317 return value;
2318}
2319inline bool TranslatorEntry_PublishSerializer::has_technique() const {
2320 return _internal_has_technique();
2321}
2322inline void TranslatorEntry_PublishSerializer::clear_technique() {
2323 _impl_.technique_ = 1;
2324 _impl_._has_bits_[0] &= ~0x00000008u;
2325}
2326inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_PublishSerializer::_internal_technique() const {
2327 return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(_impl_.technique_);
2328}
2329inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_PublishSerializer::technique() const {
2330 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.technique)
2331 return _internal_technique();
2332}
2333inline void TranslatorEntry_PublishSerializer::_internal_set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
2335 _impl_._has_bits_[0] |= 0x00000008u;
2336 _impl_.technique_ = value;
2337}
2338inline void TranslatorEntry_PublishSerializer::set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
2339 _internal_set_technique(value);
2340 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.technique)
2341}
2342
2343// required string moos_var = 2;
2344inline bool TranslatorEntry_PublishSerializer::_internal_has_moos_var() const {
2345 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2346 return value;
2347}
2348inline bool TranslatorEntry_PublishSerializer::has_moos_var() const {
2349 return _internal_has_moos_var();
2350}
2351inline void TranslatorEntry_PublishSerializer::clear_moos_var() {
2352 _impl_.moos_var_.ClearToEmpty();
2353 _impl_._has_bits_[0] &= ~0x00000001u;
2354}
2355inline const std::string& TranslatorEntry_PublishSerializer::moos_var() const {
2356 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
2357 return _internal_moos_var();
2358}
2359template <typename ArgT0, typename... ArgT>
2360inline PROTOBUF_ALWAYS_INLINE
2361void TranslatorEntry_PublishSerializer::set_moos_var(ArgT0&& arg0, ArgT... args) {
2362 _impl_._has_bits_[0] |= 0x00000001u;
2363 _impl_.moos_var_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2364 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
2365}
2366inline std::string* TranslatorEntry_PublishSerializer::mutable_moos_var() {
2367 std::string* _s = _internal_mutable_moos_var();
2368 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
2369 return _s;
2370}
2371inline const std::string& TranslatorEntry_PublishSerializer::_internal_moos_var() const {
2372 return _impl_.moos_var_.Get();
2373}
2374inline void TranslatorEntry_PublishSerializer::_internal_set_moos_var(const std::string& value) {
2375 _impl_._has_bits_[0] |= 0x00000001u;
2376 _impl_.moos_var_.Set(value, GetArenaForAllocation());
2377}
2378inline std::string* TranslatorEntry_PublishSerializer::_internal_mutable_moos_var() {
2379 _impl_._has_bits_[0] |= 0x00000001u;
2380 return _impl_.moos_var_.Mutable(GetArenaForAllocation());
2381}
2382inline std::string* TranslatorEntry_PublishSerializer::release_moos_var() {
2383 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
2384 if (!_internal_has_moos_var()) {
2385 return nullptr;
2386 }
2387 _impl_._has_bits_[0] &= ~0x00000001u;
2388 auto* p = _impl_.moos_var_.Release();
2389#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2390 if (_impl_.moos_var_.IsDefault()) {
2391 _impl_.moos_var_.Set("", GetArenaForAllocation());
2392 }
2393#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2394 return p;
2395}
2396inline void TranslatorEntry_PublishSerializer::set_allocated_moos_var(std::string* moos_var) {
2397 if (moos_var != nullptr) {
2398 _impl_._has_bits_[0] |= 0x00000001u;
2399 } else {
2400 _impl_._has_bits_[0] &= ~0x00000001u;
2401 }
2402 _impl_.moos_var_.SetAllocated(moos_var, GetArenaForAllocation());
2403#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2404 if (_impl_.moos_var_.IsDefault()) {
2405 _impl_.moos_var_.Set("", GetArenaForAllocation());
2406 }
2407#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2408 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
2409}
2410
2411// optional string format = 3;
2412inline bool TranslatorEntry_PublishSerializer::_internal_has_format() const {
2413 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2414 return value;
2415}
2416inline bool TranslatorEntry_PublishSerializer::has_format() const {
2417 return _internal_has_format();
2418}
2419inline void TranslatorEntry_PublishSerializer::clear_format() {
2420 _impl_.format_.ClearToEmpty();
2421 _impl_._has_bits_[0] &= ~0x00000002u;
2422}
2423inline const std::string& TranslatorEntry_PublishSerializer::format() const {
2424 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
2425 return _internal_format();
2426}
2427template <typename ArgT0, typename... ArgT>
2428inline PROTOBUF_ALWAYS_INLINE
2429void TranslatorEntry_PublishSerializer::set_format(ArgT0&& arg0, ArgT... args) {
2430 _impl_._has_bits_[0] |= 0x00000002u;
2431 _impl_.format_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2432 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
2433}
2434inline std::string* TranslatorEntry_PublishSerializer::mutable_format() {
2435 std::string* _s = _internal_mutable_format();
2436 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
2437 return _s;
2438}
2439inline const std::string& TranslatorEntry_PublishSerializer::_internal_format() const {
2440 return _impl_.format_.Get();
2441}
2442inline void TranslatorEntry_PublishSerializer::_internal_set_format(const std::string& value) {
2443 _impl_._has_bits_[0] |= 0x00000002u;
2444 _impl_.format_.Set(value, GetArenaForAllocation());
2445}
2446inline std::string* TranslatorEntry_PublishSerializer::_internal_mutable_format() {
2447 _impl_._has_bits_[0] |= 0x00000002u;
2448 return _impl_.format_.Mutable(GetArenaForAllocation());
2449}
2450inline std::string* TranslatorEntry_PublishSerializer::release_format() {
2451 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
2452 if (!_internal_has_format()) {
2453 return nullptr;
2454 }
2455 _impl_._has_bits_[0] &= ~0x00000002u;
2456 auto* p = _impl_.format_.Release();
2457#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2458 if (_impl_.format_.IsDefault()) {
2459 _impl_.format_.Set("", GetArenaForAllocation());
2460 }
2461#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2462 return p;
2463}
2464inline void TranslatorEntry_PublishSerializer::set_allocated_format(std::string* format) {
2465 if (format != nullptr) {
2466 _impl_._has_bits_[0] |= 0x00000002u;
2467 } else {
2468 _impl_._has_bits_[0] &= ~0x00000002u;
2469 }
2470 _impl_.format_.SetAllocated(format, GetArenaForAllocation());
2471#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2472 if (_impl_.format_.IsDefault()) {
2473 _impl_.format_.Set("", GetArenaForAllocation());
2474 }
2475#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2476 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
2477}
2478
2479// optional string repeated_delimiter = 4 [default = ","];
2480inline bool TranslatorEntry_PublishSerializer::_internal_has_repeated_delimiter() const {
2481 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2482 return value;
2483}
2484inline bool TranslatorEntry_PublishSerializer::has_repeated_delimiter() const {
2485 return _internal_has_repeated_delimiter();
2486}
2487inline void TranslatorEntry_PublishSerializer::clear_repeated_delimiter() {
2488 _impl_.repeated_delimiter_.ClearToDefault(::goby::moos::protobuf::TranslatorEntry_PublishSerializer::Impl_::_i_give_permission_to_break_this_code_default_repeated_delimiter_, GetArenaForAllocation());
2489 _impl_._has_bits_[0] &= ~0x00000004u;
2490}
2491inline const std::string& TranslatorEntry_PublishSerializer::repeated_delimiter() const {
2492 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
2493 if (_impl_.repeated_delimiter_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_repeated_delimiter_.get();
2494 return _internal_repeated_delimiter();
2495}
2496template <typename ArgT0, typename... ArgT>
2497inline PROTOBUF_ALWAYS_INLINE
2498void TranslatorEntry_PublishSerializer::set_repeated_delimiter(ArgT0&& arg0, ArgT... args) {
2499 _impl_._has_bits_[0] |= 0x00000004u;
2500 _impl_.repeated_delimiter_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2501 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
2502}
2503inline std::string* TranslatorEntry_PublishSerializer::mutable_repeated_delimiter() {
2504 std::string* _s = _internal_mutable_repeated_delimiter();
2505 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
2506 return _s;
2507}
2508inline const std::string& TranslatorEntry_PublishSerializer::_internal_repeated_delimiter() const {
2509 return _impl_.repeated_delimiter_.Get();
2510}
2511inline void TranslatorEntry_PublishSerializer::_internal_set_repeated_delimiter(const std::string& value) {
2512 _impl_._has_bits_[0] |= 0x00000004u;
2513 _impl_.repeated_delimiter_.Set(value, GetArenaForAllocation());
2514}
2515inline std::string* TranslatorEntry_PublishSerializer::_internal_mutable_repeated_delimiter() {
2516 _impl_._has_bits_[0] |= 0x00000004u;
2517 return _impl_.repeated_delimiter_.Mutable(::goby::moos::protobuf::TranslatorEntry_PublishSerializer::Impl_::_i_give_permission_to_break_this_code_default_repeated_delimiter_, GetArenaForAllocation());
2518}
2519inline std::string* TranslatorEntry_PublishSerializer::release_repeated_delimiter() {
2520 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
2521 if (!_internal_has_repeated_delimiter()) {
2522 return nullptr;
2523 }
2524 _impl_._has_bits_[0] &= ~0x00000004u;
2525 auto* p = _impl_.repeated_delimiter_.Release();
2526 return p;
2527}
2528inline void TranslatorEntry_PublishSerializer::set_allocated_repeated_delimiter(std::string* repeated_delimiter) {
2529 if (repeated_delimiter != nullptr) {
2530 _impl_._has_bits_[0] |= 0x00000004u;
2531 } else {
2532 _impl_._has_bits_[0] &= ~0x00000004u;
2533 }
2534 _impl_.repeated_delimiter_.SetAllocated(repeated_delimiter, GetArenaForAllocation());
2535 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
2536}
2537
2538// repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm algorithm = 5;
2539inline int TranslatorEntry_PublishSerializer::_internal_algorithm_size() const {
2540 return _impl_.algorithm_.size();
2541}
2542inline int TranslatorEntry_PublishSerializer::algorithm_size() const {
2543 return _internal_algorithm_size();
2544}
2545inline void TranslatorEntry_PublishSerializer::clear_algorithm() {
2546 _impl_.algorithm_.Clear();
2547}
2548inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::mutable_algorithm(int index) {
2549 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
2550 return _impl_.algorithm_.Mutable(index);
2551}
2552inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
2553TranslatorEntry_PublishSerializer::mutable_algorithm() {
2554 // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
2555 return &_impl_.algorithm_;
2556}
2557inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& TranslatorEntry_PublishSerializer::_internal_algorithm(int index) const {
2558 return _impl_.algorithm_.Get(index);
2559}
2560inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& TranslatorEntry_PublishSerializer::algorithm(int index) const {
2561 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
2562 return _internal_algorithm(index);
2563}
2564inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::_internal_add_algorithm() {
2565 return _impl_.algorithm_.Add();
2566}
2567inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::add_algorithm() {
2569 // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
2570 return _add;
2571}
2572inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >&
2573TranslatorEntry_PublishSerializer::algorithm() const {
2574 // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
2575 return _impl_.algorithm_;
2576}
2577
2578// -------------------------------------------------------------------
2579
2580// TranslatorEntry
2581
2582// required string protobuf_name = 1 [(.goby.field) = {
2583inline bool TranslatorEntry::_internal_has_protobuf_name() const {
2584 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2585 return value;
2586}
2587inline bool TranslatorEntry::has_protobuf_name() const {
2588 return _internal_has_protobuf_name();
2589}
2590inline void TranslatorEntry::clear_protobuf_name() {
2591 _impl_.protobuf_name_.ClearToEmpty();
2592 _impl_._has_bits_[0] &= ~0x00000001u;
2593}
2594inline const std::string& TranslatorEntry::protobuf_name() const {
2595 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.protobuf_name)
2596 return _internal_protobuf_name();
2597}
2598template <typename ArgT0, typename... ArgT>
2599inline PROTOBUF_ALWAYS_INLINE
2600void TranslatorEntry::set_protobuf_name(ArgT0&& arg0, ArgT... args) {
2601 _impl_._has_bits_[0] |= 0x00000001u;
2602 _impl_.protobuf_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2603 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.protobuf_name)
2604}
2605inline std::string* TranslatorEntry::mutable_protobuf_name() {
2606 std::string* _s = _internal_mutable_protobuf_name();
2607 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.protobuf_name)
2608 return _s;
2609}
2610inline const std::string& TranslatorEntry::_internal_protobuf_name() const {
2611 return _impl_.protobuf_name_.Get();
2612}
2613inline void TranslatorEntry::_internal_set_protobuf_name(const std::string& value) {
2614 _impl_._has_bits_[0] |= 0x00000001u;
2615 _impl_.protobuf_name_.Set(value, GetArenaForAllocation());
2616}
2617inline std::string* TranslatorEntry::_internal_mutable_protobuf_name() {
2618 _impl_._has_bits_[0] |= 0x00000001u;
2619 return _impl_.protobuf_name_.Mutable(GetArenaForAllocation());
2620}
2621inline std::string* TranslatorEntry::release_protobuf_name() {
2622 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.protobuf_name)
2623 if (!_internal_has_protobuf_name()) {
2624 return nullptr;
2625 }
2626 _impl_._has_bits_[0] &= ~0x00000001u;
2627 auto* p = _impl_.protobuf_name_.Release();
2628#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2629 if (_impl_.protobuf_name_.IsDefault()) {
2630 _impl_.protobuf_name_.Set("", GetArenaForAllocation());
2631 }
2632#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2633 return p;
2634}
2635inline void TranslatorEntry::set_allocated_protobuf_name(std::string* protobuf_name) {
2636 if (protobuf_name != nullptr) {
2637 _impl_._has_bits_[0] |= 0x00000001u;
2638 } else {
2639 _impl_._has_bits_[0] &= ~0x00000001u;
2640 }
2641 _impl_.protobuf_name_.SetAllocated(protobuf_name, GetArenaForAllocation());
2642#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2643 if (_impl_.protobuf_name_.IsDefault()) {
2644 _impl_.protobuf_name_.Set("", GetArenaForAllocation());
2645 }
2646#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2647 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.protobuf_name)
2648}
2649
2650// optional .goby.moos.protobuf.TranslatorEntry.Trigger trigger = 2;
2651inline bool TranslatorEntry::_internal_has_trigger() const {
2652 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2653 PROTOBUF_ASSUME(!value || _impl_.trigger_ != nullptr);
2654 return value;
2655}
2656inline bool TranslatorEntry::has_trigger() const {
2657 return _internal_has_trigger();
2658}
2659inline void TranslatorEntry::clear_trigger() {
2660 if (_impl_.trigger_ != nullptr) _impl_.trigger_->Clear();
2661 _impl_._has_bits_[0] &= ~0x00000002u;
2662}
2663inline const ::goby::moos::protobuf::TranslatorEntry_Trigger& TranslatorEntry::_internal_trigger() const {
2664 const ::goby::moos::protobuf::TranslatorEntry_Trigger* p = _impl_.trigger_;
2665 return p != nullptr ? *p : reinterpret_cast<const ::goby::moos::protobuf::TranslatorEntry_Trigger&>(
2667}
2668inline const ::goby::moos::protobuf::TranslatorEntry_Trigger& TranslatorEntry::trigger() const {
2669 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.trigger)
2670 return _internal_trigger();
2671}
2672inline void TranslatorEntry::unsafe_arena_set_allocated_trigger(
2674 if (GetArenaForAllocation() == nullptr) {
2675 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.trigger_);
2676 }
2677 _impl_.trigger_ = trigger;
2678 if (trigger) {
2679 _impl_._has_bits_[0] |= 0x00000002u;
2680 } else {
2681 _impl_._has_bits_[0] &= ~0x00000002u;
2682 }
2683 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.moos.protobuf.TranslatorEntry.trigger)
2684}
2685inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::release_trigger() {
2686 _impl_._has_bits_[0] &= ~0x00000002u;
2688 _impl_.trigger_ = nullptr;
2689#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2690 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2691 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2692 if (GetArenaForAllocation() == nullptr) { delete old; }
2693#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2694 if (GetArenaForAllocation() != nullptr) {
2695 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2696 }
2697#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2698 return temp;
2699}
2700inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::unsafe_arena_release_trigger() {
2701 // @@protoc_insertion_point(field_release:goby.moos.protobuf.TranslatorEntry.trigger)
2702 _impl_._has_bits_[0] &= ~0x00000002u;
2704 _impl_.trigger_ = nullptr;
2705 return temp;
2706}
2707inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::_internal_mutable_trigger() {
2708 _impl_._has_bits_[0] |= 0x00000002u;
2709 if (_impl_.trigger_ == nullptr) {
2711 _impl_.trigger_ = p;
2712 }
2713 return _impl_.trigger_;
2714}
2715inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::mutable_trigger() {
2716 ::goby::moos::protobuf::TranslatorEntry_Trigger* _msg = _internal_mutable_trigger();
2717 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.trigger)
2718 return _msg;
2719}
2720inline void TranslatorEntry::set_allocated_trigger(::goby::moos::protobuf::TranslatorEntry_Trigger* trigger) {
2721 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2722 if (message_arena == nullptr) {
2723 delete _impl_.trigger_;
2724 }
2725 if (trigger) {
2726 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2727 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(trigger);
2728 if (message_arena != submessage_arena) {
2729 trigger = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2730 message_arena, trigger, submessage_arena);
2731 }
2732 _impl_._has_bits_[0] |= 0x00000002u;
2733 } else {
2734 _impl_._has_bits_[0] &= ~0x00000002u;
2735 }
2736 _impl_.trigger_ = trigger;
2737 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.trigger)
2738}
2739
2740// repeated .goby.moos.protobuf.TranslatorEntry.CreateParser create = 3;
2741inline int TranslatorEntry::_internal_create_size() const {
2742 return _impl_.create_.size();
2743}
2744inline int TranslatorEntry::create_size() const {
2745 return _internal_create_size();
2746}
2747inline void TranslatorEntry::clear_create() {
2748 _impl_.create_.Clear();
2749}
2750inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::mutable_create(int index) {
2751 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.create)
2752 return _impl_.create_.Mutable(index);
2753}
2754inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
2755TranslatorEntry::mutable_create() {
2756 // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.create)
2757 return &_impl_.create_;
2758}
2759inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser& TranslatorEntry::_internal_create(int index) const {
2760 return _impl_.create_.Get(index);
2761}
2762inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser& TranslatorEntry::create(int index) const {
2763 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.create)
2764 return _internal_create(index);
2765}
2766inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::_internal_add_create() {
2767 return _impl_.create_.Add();
2768}
2769inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::add_create() {
2770 ::goby::moos::protobuf::TranslatorEntry_CreateParser* _add = _internal_add_create();
2771 // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.create)
2772 return _add;
2773}
2774inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
2775TranslatorEntry::create() const {
2776 // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.create)
2777 return _impl_.create_;
2778}
2779
2780// repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer publish = 4;
2781inline int TranslatorEntry::_internal_publish_size() const {
2782 return _impl_.publish_.size();
2783}
2784inline int TranslatorEntry::publish_size() const {
2785 return _internal_publish_size();
2786}
2787inline void TranslatorEntry::clear_publish() {
2788 _impl_.publish_.Clear();
2789}
2790inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::mutable_publish(int index) {
2791 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.publish)
2792 return _impl_.publish_.Mutable(index);
2793}
2794inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
2795TranslatorEntry::mutable_publish() {
2796 // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.publish)
2797 return &_impl_.publish_;
2798}
2799inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& TranslatorEntry::_internal_publish(int index) const {
2800 return _impl_.publish_.Get(index);
2801}
2802inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& TranslatorEntry::publish(int index) const {
2803 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.publish)
2804 return _internal_publish(index);
2805}
2806inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::_internal_add_publish() {
2807 return _impl_.publish_.Add();
2808}
2809inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::add_publish() {
2810 ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* _add = _internal_add_publish();
2811 // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.publish)
2812 return _add;
2813}
2814inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
2815TranslatorEntry::publish() const {
2816 // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.publish)
2817 return _impl_.publish_;
2818}
2819
2820// optional bool use_short_enum = 5 [default = false];
2821inline bool TranslatorEntry::_internal_has_use_short_enum() const {
2822 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2823 return value;
2824}
2825inline bool TranslatorEntry::has_use_short_enum() const {
2826 return _internal_has_use_short_enum();
2827}
2828inline void TranslatorEntry::clear_use_short_enum() {
2829 _impl_.use_short_enum_ = false;
2830 _impl_._has_bits_[0] &= ~0x00000004u;
2831}
2832inline bool TranslatorEntry::_internal_use_short_enum() const {
2833 return _impl_.use_short_enum_;
2834}
2835inline bool TranslatorEntry::use_short_enum() const {
2836 // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.use_short_enum)
2837 return _internal_use_short_enum();
2838}
2839inline void TranslatorEntry::_internal_set_use_short_enum(bool value) {
2840 _impl_._has_bits_[0] |= 0x00000004u;
2841 _impl_.use_short_enum_ = value;
2842}
2843inline void TranslatorEntry::set_use_short_enum(bool value) {
2844 _internal_set_use_short_enum(value);
2845 // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.use_short_enum)
2846}
2847
2848#ifdef __GNUC__
2849 #pragma GCC diagnostic pop
2850#endif // __GNUC__
2851// -------------------------------------------------------------------
2852
2853// -------------------------------------------------------------------
2854
2855// -------------------------------------------------------------------
2856
2857// -------------------------------------------------------------------
2858
2859// -------------------------------------------------------------------
2860
2861
2862// @@protoc_insertion_point(namespace_scope)
2863
2864} // namespace protobuf
2865} // namespace moos
2866} // namespace goby
2867
2868PROTOBUF_NAMESPACE_OPEN
2869
2870template <> struct is_proto_enum< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type> : ::std::true_type {};
2871template <>
2873 return ::goby::moos::protobuf::TranslatorEntry_Trigger_Type_descriptor();
2874}
2875template <> struct is_proto_enum< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique> : ::std::true_type {};
2876template <>
2878 return ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique_descriptor();
2879}
2880
2881PROTOBUF_NAMESPACE_CLOSE
2882
2883// @@protoc_insertion_point(global_scope)
2884
2885#include <google/protobuf/port_undef.inc>
2886#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2ftranslator_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR TranslatorEntry_CreateParser_Algorithm(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
TranslatorEntry_CreateParser_Algorithm * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TranslatorEntry_CreateParser_Algorithm(const TranslatorEntry_CreateParser_Algorithm &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TranslatorEntry_CreateParser_Algorithm & operator=(const TranslatorEntry_CreateParser_Algorithm &from)
TranslatorEntry_CreateParser_Algorithm & operator=(TranslatorEntry_CreateParser_Algorithm &&from) noexcept
static const TranslatorEntry_CreateParser_Algorithm * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(TranslatorEntry_CreateParser_Algorithm *other)
void Swap(TranslatorEntry_CreateParser_Algorithm *other)
TranslatorEntry_CreateParser_Algorithm(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const TranslatorEntry_CreateParser_Algorithm &from)
void MergeFrom(const TranslatorEntry_CreateParser_Algorithm &from)
static const TranslatorEntry_CreateParser_Algorithm & default_instance()
TranslatorEntry_CreateParser_Algorithm(TranslatorEntry_CreateParser_Algorithm &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(TranslatorEntry_CreateParser_Algorithm &a, TranslatorEntry_CreateParser_Algorithm &b)
TranslatorEntry_CreateParser * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(TranslatorEntry_CreateParser &a, TranslatorEntry_CreateParser &b)
void Swap(TranslatorEntry_CreateParser *other)
void CopyFrom(const TranslatorEntry_CreateParser &from)
TranslatorEntry_CreateParser(const TranslatorEntry_CreateParser &from)
PROTOBUF_CONSTEXPR TranslatorEntry_CreateParser(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TranslatorEntry_CreateParser(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_format(ArgT0 &&arg0, ArgT... args)
static const TranslatorEntry_CreateParser * internal_default_instance()
TranslatorEntry_CreateParser & operator=(TranslatorEntry_CreateParser &&from) noexcept
TranslatorEntry_CreateParser(TranslatorEntry_CreateParser &&from) noexcept
void set_moos_var(ArgT0 &&arg0, ArgT... args)
void set_repeated_delimiter(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void MergeFrom(const TranslatorEntry_CreateParser &from)
static const TranslatorEntry_CreateParser & default_instance()
void UnsafeArenaSwap(TranslatorEntry_CreateParser *other)
TranslatorEntry_CreateParser & operator=(const TranslatorEntry_CreateParser &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TranslatorEntry_PublishSerializer_Algorithm * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TranslatorEntry_PublishSerializer_Algorithm(TranslatorEntry_PublishSerializer_Algorithm &&from) noexcept
TranslatorEntry_PublishSerializer_Algorithm & operator=(TranslatorEntry_PublishSerializer_Algorithm &&from) noexcept
void UnsafeArenaSwap(TranslatorEntry_PublishSerializer_Algorithm *other)
static const TranslatorEntry_PublishSerializer_Algorithm & default_instance()
static const TranslatorEntry_PublishSerializer_Algorithm * internal_default_instance()
TranslatorEntry_PublishSerializer_Algorithm & operator=(const TranslatorEntry_PublishSerializer_Algorithm &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const TranslatorEntry_PublishSerializer_Algorithm &from)
TranslatorEntry_PublishSerializer_Algorithm(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(TranslatorEntry_PublishSerializer_Algorithm *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TranslatorEntry_PublishSerializer_Algorithm(const TranslatorEntry_PublishSerializer_Algorithm &from)
PROTOBUF_CONSTEXPR TranslatorEntry_PublishSerializer_Algorithm(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(TranslatorEntry_PublishSerializer_Algorithm &a, TranslatorEntry_PublishSerializer_Algorithm &b)
void CopyFrom(const TranslatorEntry_PublishSerializer_Algorithm &from)
void MergeFrom(const TranslatorEntry_PublishSerializer &from)
TranslatorEntry_PublishSerializer(const TranslatorEntry_PublishSerializer &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const TranslatorEntry_PublishSerializer & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
TranslatorEntry_PublishSerializer & operator=(TranslatorEntry_PublishSerializer &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const TranslatorEntry_PublishSerializer &from)
PROTOBUF_CONSTEXPR TranslatorEntry_PublishSerializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const TranslatorEntry_PublishSerializer * internal_default_instance()
void UnsafeArenaSwap(TranslatorEntry_PublishSerializer *other)
void Swap(TranslatorEntry_PublishSerializer *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(TranslatorEntry_PublishSerializer &a, TranslatorEntry_PublishSerializer &b)
TranslatorEntry_PublishSerializer(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_repeated_delimiter(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TranslatorEntry_PublishSerializer(TranslatorEntry_PublishSerializer &&from) noexcept
TranslatorEntry_PublishSerializer * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TranslatorEntry_PublishSerializer & operator=(const TranslatorEntry_PublishSerializer &from)
PROTOBUF_NODISCARD std::string * release_mandatory_content()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value)
PROTOBUF_CONSTEXPR TranslatorEntry_Trigger(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_allocated_moos_var(std::string *moos_var)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
TranslatorEntry_Trigger(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD std::string * release_moos_var()
TranslatorEntry_Trigger & operator=(TranslatorEntry_Trigger &&from) noexcept
::goby::moos::protobuf::TranslatorEntry_Trigger_Type type() const
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
void MergeFrom(const TranslatorEntry_Trigger &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_allocated_mandatory_content(std::string *mandatory_content)
void Swap(TranslatorEntry_Trigger *other)
friend void swap(TranslatorEntry_Trigger &a, TranslatorEntry_Trigger &b)
TranslatorEntry_Trigger(TranslatorEntry_Trigger &&from) noexcept
void CopyFrom(const TranslatorEntry_Trigger &from)
static const TranslatorEntry_Trigger * internal_default_instance()
TranslatorEntry_Trigger & operator=(const TranslatorEntry_Trigger &from)
static const TranslatorEntry_Trigger & default_instance()
TranslatorEntry_Trigger * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void UnsafeArenaSwap(TranslatorEntry_Trigger *other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const std::string & Type_Name(T enum_t_value)
const std::string & mandatory_content() const
TranslatorEntry_Trigger(const TranslatorEntry_Trigger &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_mandatory_content(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_moos_var(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const TranslatorEntry * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TranslatorEntry(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR TranslatorEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
TranslatorEntry & operator=(TranslatorEntry &&from) noexcept
void MergeFrom(const TranslatorEntry &from)
TranslatorEntry & operator=(const TranslatorEntry &from)
void set_protobuf_name(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static bool ParserSerializerTechnique_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ParserSerializerTechnique *value)
TranslatorEntry * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const std::string & ParserSerializerTechnique_Name(T enum_t_value)
static const TranslatorEntry & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const TranslatorEntry &from)
void Swap(TranslatorEntry *other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ParserSerializerTechnique_descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TranslatorEntry(TranslatorEntry &&from) noexcept
TranslatorEntry(const TranslatorEntry &from)
void UnsafeArenaSwap(TranslatorEntry *other)
friend void swap(TranslatorEntry &a, TranslatorEntry &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool TranslatorEntry_Trigger_Type_IsValid(int value)
const std::string & TranslatorEntry_ParserSerializerTechnique_Name(T enum_t_value)
constexpr int TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_ARRAYSIZE
TranslatorEntry_PublishSerializer_AlgorithmDefaultTypeInternal _TranslatorEntry_PublishSerializer_Algorithm_default_instance_
TranslatorEntry_TriggerDefaultTypeInternal _TranslatorEntry_Trigger_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TranslatorEntry_Trigger_Type_descriptor()
@ TranslatorEntry_Trigger_Type_TRIGGER_PUBLISH
@ TranslatorEntry_Trigger_Type_TRIGGER_TIME
const std::string & TranslatorEntry_Trigger_Type_Name(T enum_t_value)
bool TranslatorEntry_ParserSerializerTechnique_IsValid(int value)
TranslatorEntry_CreateParser_AlgorithmDefaultTypeInternal _TranslatorEntry_CreateParser_Algorithm_default_instance_
constexpr int TranslatorEntry_Trigger_Type_Type_ARRAYSIZE
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_HEX
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_COMMA_SEPARATED_KEY_EQUALS_VALUE_PAIRS
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_FORMAT
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_ENCODED
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_TEXT_FORMAT
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT
@ TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_HEX
TranslatorEntry_PublishSerializerDefaultTypeInternal _TranslatorEntry_PublishSerializer_default_instance_
constexpr TranslatorEntry_ParserSerializerTechnique TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MAX
bool TranslatorEntry_ParserSerializerTechnique_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslatorEntry_ParserSerializerTechnique *value)
constexpr TranslatorEntry_Trigger_Type TranslatorEntry_Trigger_Type_Type_MIN
constexpr TranslatorEntry_Trigger_Type TranslatorEntry_Trigger_Type_Type_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TranslatorEntry_ParserSerializerTechnique_descriptor()
TranslatorEntry_CreateParserDefaultTypeInternal _TranslatorEntry_CreateParser_default_instance_
TranslatorEntryDefaultTypeInternal _TranslatorEntry_default_instance_
bool TranslatorEntry_Trigger_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TranslatorEntry_Trigger_Type *value)
constexpr TranslatorEntry_ParserSerializerTechnique TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MIN
The global namespace for the Goby project.
#define ByteSizeLong
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2ftranslator_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >()
const EnumDescriptor * GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type >()
::goby::moos::protobuf::TranslatorEntry_Trigger * Arena::CreateMaybeMessage<::goby::moos::protobuf::TranslatorEntry_Trigger >(Arena *)