4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2ftranslator_2eproto__INCLUDED 5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2ftranslator_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/generated_message_util.h> 23 #include <google/protobuf/message.h> 24 #include <google/protobuf/repeated_field.h> 25 #include <google/protobuf/extension_set.h> 26 #include <google/protobuf/generated_enum_reflection.h> 27 #include <google/protobuf/unknown_field_set.h> 28 #include "goby/common/protobuf/option_extensions.pb.h" 29 #include <boost/units/quantity.hpp> 30 #include <boost/units/absolute.hpp> 31 #include <boost/units/dimensionless_type.hpp> 32 #include <boost/units/make_scaled_unit.hpp> 40 void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
41 void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
42 void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
44 class TranslatorEntry;
45 class TranslatorEntry_Trigger;
46 class TranslatorEntry_CreateParser;
47 class TranslatorEntry_CreateParser_Algorithm;
48 class TranslatorEntry_PublishSerializer;
49 class TranslatorEntry_PublishSerializer_Algorithm;
51 enum TranslatorEntry_Trigger_Type {
52 TranslatorEntry_Trigger_Type_TRIGGER_PUBLISH = 1,
53 TranslatorEntry_Trigger_Type_TRIGGER_TIME = 2
55 bool TranslatorEntry_Trigger_Type_IsValid(
int value);
56 const TranslatorEntry_Trigger_Type TranslatorEntry_Trigger_Type_Type_MIN = TranslatorEntry_Trigger_Type_TRIGGER_PUBLISH;
57 const TranslatorEntry_Trigger_Type TranslatorEntry_Trigger_Type_Type_MAX = TranslatorEntry_Trigger_Type_TRIGGER_TIME;
58 const int TranslatorEntry_Trigger_Type_Type_ARRAYSIZE = TranslatorEntry_Trigger_Type_Type_MAX + 1;
60 const ::google::protobuf::EnumDescriptor* TranslatorEntry_Trigger_Type_descriptor();
61 inline const ::std::string& TranslatorEntry_Trigger_Type_Name(TranslatorEntry_Trigger_Type value) {
62 return ::google::protobuf::internal::NameOfEnum(
63 TranslatorEntry_Trigger_Type_descriptor(), value);
65 inline bool TranslatorEntry_Trigger_Type_Parse(
66 const ::std::string& name, TranslatorEntry_Trigger_Type* value) {
67 return ::google::protobuf::internal::ParseNamedEnum<TranslatorEntry_Trigger_Type>(
68 TranslatorEntry_Trigger_Type_descriptor(), name, value);
70 enum TranslatorEntry_ParserSerializerTechnique {
71 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_TEXT_FORMAT = 1,
72 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_ENCODED = 2,
73 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_COMMA_SEPARATED_KEY_EQUALS_VALUE_PAIRS = 3,
74 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_FORMAT = 4,
75 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT = 5,
76 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_HEX = 6,
77 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_HEX = 7,
78 TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED = 8
80 bool TranslatorEntry_ParserSerializerTechnique_IsValid(
int value);
81 const TranslatorEntry_ParserSerializerTechnique TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MIN = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_TEXT_FORMAT;
82 const TranslatorEntry_ParserSerializerTechnique TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MAX = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED;
83 const int TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_ARRAYSIZE = TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MAX + 1;
85 const ::google::protobuf::EnumDescriptor* TranslatorEntry_ParserSerializerTechnique_descriptor();
86 inline const ::std::string& TranslatorEntry_ParserSerializerTechnique_Name(TranslatorEntry_ParserSerializerTechnique value) {
87 return ::google::protobuf::internal::NameOfEnum(
88 TranslatorEntry_ParserSerializerTechnique_descriptor(), value);
90 inline bool TranslatorEntry_ParserSerializerTechnique_Parse(
91 const ::std::string& name, TranslatorEntry_ParserSerializerTechnique* value) {
92 return ::google::protobuf::internal::ParseNamedEnum<TranslatorEntry_ParserSerializerTechnique>(
93 TranslatorEntry_ParserSerializerTechnique_descriptor(), name, value);
109 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
110 return _unknown_fields_;
113 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
114 return &_unknown_fields_;
117 static const ::google::protobuf::Descriptor* descriptor();
125 void CopyFrom(const ::google::protobuf::Message& from);
126 void MergeFrom(const ::google::protobuf::Message& from);
130 bool IsInitialized()
const;
132 int ByteSize()
const;
133 bool MergePartialFromCodedStream(
134 ::google::protobuf::io::CodedInputStream* input);
135 void SerializeWithCachedSizes(
136 ::google::protobuf::io::CodedOutputStream* output)
const;
137 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
138 int GetCachedSize()
const {
return _cached_size_; }
142 void SetCachedSize(
int size)
const;
144 ::google::protobuf::Metadata GetMetadata()
const;
148 typedef TranslatorEntry_Trigger_Type Type;
149 static const Type TRIGGER_PUBLISH = TranslatorEntry_Trigger_Type_TRIGGER_PUBLISH;
150 static const Type TRIGGER_TIME = TranslatorEntry_Trigger_Type_TRIGGER_TIME;
151 static inline bool Type_IsValid(
int value) {
152 return TranslatorEntry_Trigger_Type_IsValid(value);
154 static const Type Type_MIN =
155 TranslatorEntry_Trigger_Type_Type_MIN;
156 static const Type Type_MAX =
157 TranslatorEntry_Trigger_Type_Type_MAX;
158 static const int Type_ARRAYSIZE =
159 TranslatorEntry_Trigger_Type_Type_ARRAYSIZE;
160 static inline const ::google::protobuf::EnumDescriptor*
162 return TranslatorEntry_Trigger_Type_descriptor();
164 static inline const ::std::string& Type_Name(Type value) {
165 return TranslatorEntry_Trigger_Type_Name(value);
167 static inline bool Type_Parse(const ::std::string& name,
169 return TranslatorEntry_Trigger_Type_Parse(name, value);
175 inline bool has_type()
const;
176 inline void clear_type();
177 static const int kTypeFieldNumber = 1;
178 inline ::goby::moos::protobuf::TranslatorEntry_Trigger_Type type()
const;
179 inline void set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value);
182 inline bool has_moos_var()
const;
183 inline void clear_moos_var();
184 static const int kMoosVarFieldNumber = 2;
185 inline const ::std::string& moos_var()
const;
186 inline void set_moos_var(const ::std::string& value);
187 inline void set_moos_var(
const char* value);
188 inline void set_moos_var(
const char* value,
size_t size);
189 inline ::std::string* mutable_moos_var();
190 inline ::std::string* release_moos_var();
191 inline void set_allocated_moos_var(::std::string* moos_var);
194 inline bool has_period()
const;
195 inline void clear_period();
196 static const int kPeriodFieldNumber = 3;
197 inline ::google::protobuf::uint32 period()
const;
198 inline void set_period(::google::protobuf::uint32 value);
201 inline bool has_mandatory_content()
const;
202 inline void clear_mandatory_content();
203 static const int kMandatoryContentFieldNumber = 4;
204 inline const ::std::string& mandatory_content()
const;
205 inline void set_mandatory_content(const ::std::string& value);
206 inline void set_mandatory_content(
const char* value);
207 inline void set_mandatory_content(
const char* value,
size_t size);
208 inline ::std::string* mutable_mandatory_content();
209 inline ::std::string* release_mandatory_content();
210 inline void set_allocated_mandatory_content(::std::string* mandatory_content);
214 inline void set_has_type();
215 inline void clear_has_type();
216 inline void set_has_moos_var();
217 inline void clear_has_moos_var();
218 inline void set_has_period();
219 inline void clear_has_period();
220 inline void set_has_mandatory_content();
221 inline void clear_has_mandatory_content();
223 ::google::protobuf::UnknownFieldSet _unknown_fields_;
225 ::google::protobuf::uint32 _has_bits_[1];
226 mutable int _cached_size_;
227 ::std::string* moos_var_;
229 ::google::protobuf::uint32 period_;
230 ::std::string* mandatory_content_;
231 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
232 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
233 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
235 void InitAsDefaultInstance();
252 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
253 return _unknown_fields_;
256 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
257 return &_unknown_fields_;
260 static const ::google::protobuf::Descriptor* descriptor();
268 void CopyFrom(const ::google::protobuf::Message& from);
269 void MergeFrom(const ::google::protobuf::Message& from);
273 bool IsInitialized()
const;
275 int ByteSize()
const;
276 bool MergePartialFromCodedStream(
277 ::google::protobuf::io::CodedInputStream* input);
278 void SerializeWithCachedSizes(
279 ::google::protobuf::io::CodedOutputStream* output)
const;
280 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
281 int GetCachedSize()
const {
return _cached_size_; }
285 void SetCachedSize(
int size)
const;
287 ::google::protobuf::Metadata GetMetadata()
const;
294 inline bool has_name()
const;
295 inline void clear_name();
296 static const int kNameFieldNumber = 1;
297 inline const ::std::string& name()
const;
298 inline void set_name(const ::std::string& value);
299 inline void set_name(
const char* value);
300 inline void set_name(
const char* value,
size_t size);
301 inline ::std::string* mutable_name();
302 inline ::std::string* release_name();
303 inline void set_allocated_name(::std::string* name);
306 inline bool has_primary_field()
const;
307 inline void clear_primary_field();
308 static const int kPrimaryFieldFieldNumber = 2;
309 inline ::google::protobuf::int32 primary_field()
const;
310 inline void set_primary_field(::google::protobuf::int32 value);
314 inline void set_has_name();
315 inline void clear_has_name();
316 inline void set_has_primary_field();
317 inline void clear_has_primary_field();
319 ::google::protobuf::UnknownFieldSet _unknown_fields_;
321 ::google::protobuf::uint32 _has_bits_[1];
322 mutable int _cached_size_;
323 ::std::string* name_;
324 ::google::protobuf::int32 primary_field_;
325 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
326 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
327 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
329 void InitAsDefaultInstance();
346 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
347 return _unknown_fields_;
350 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
351 return &_unknown_fields_;
354 static const ::google::protobuf::Descriptor* descriptor();
362 void CopyFrom(const ::google::protobuf::Message& from);
363 void MergeFrom(const ::google::protobuf::Message& from);
367 bool IsInitialized()
const;
369 int ByteSize()
const;
370 bool MergePartialFromCodedStream(
371 ::google::protobuf::io::CodedInputStream* input);
372 void SerializeWithCachedSizes(
373 ::google::protobuf::io::CodedOutputStream* output)
const;
374 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
375 int GetCachedSize()
const {
return _cached_size_; }
379 void SetCachedSize(
int size)
const;
381 ::google::protobuf::Metadata GetMetadata()
const;
390 inline bool has_technique()
const;
391 inline void clear_technique();
392 static const int kTechniqueFieldNumber = 1;
393 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique technique()
const;
394 inline void set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
397 inline bool has_moos_var()
const;
398 inline void clear_moos_var();
399 static const int kMoosVarFieldNumber = 2;
400 inline const ::std::string& moos_var()
const;
401 inline void set_moos_var(const ::std::string& value);
402 inline void set_moos_var(
const char* value);
403 inline void set_moos_var(
const char* value,
size_t size);
404 inline ::std::string* mutable_moos_var();
405 inline ::std::string* release_moos_var();
406 inline void set_allocated_moos_var(::std::string* moos_var);
409 inline bool has_format()
const;
410 inline void clear_format();
411 static const int kFormatFieldNumber = 3;
412 inline const ::std::string& format()
const;
413 inline void set_format(const ::std::string& value);
414 inline void set_format(
const char* value);
415 inline void set_format(
const char* value,
size_t size);
416 inline ::std::string* mutable_format();
417 inline ::std::string* release_format();
418 inline void set_allocated_format(::std::string* format);
421 inline bool has_repeated_delimiter()
const;
422 inline void clear_repeated_delimiter();
423 static const int kRepeatedDelimiterFieldNumber = 4;
424 inline const ::std::string& repeated_delimiter()
const;
425 inline void set_repeated_delimiter(const ::std::string& value);
426 inline void set_repeated_delimiter(
const char* value);
427 inline void set_repeated_delimiter(
const char* value,
size_t size);
428 inline ::std::string* mutable_repeated_delimiter();
429 inline ::std::string* release_repeated_delimiter();
430 inline void set_allocated_repeated_delimiter(::std::string* repeated_delimiter);
433 inline int algorithm_size()
const;
434 inline void clear_algorithm();
435 static const int kAlgorithmFieldNumber = 5;
436 inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& algorithm(
int index)
const;
437 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* mutable_algorithm(
int index);
438 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* add_algorithm();
439 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >&
441 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
446 inline void set_has_technique();
447 inline void clear_has_technique();
448 inline void set_has_moos_var();
449 inline void clear_has_moos_var();
450 inline void set_has_format();
451 inline void clear_has_format();
452 inline void set_has_repeated_delimiter();
453 inline void clear_has_repeated_delimiter();
455 ::google::protobuf::UnknownFieldSet _unknown_fields_;
457 ::google::protobuf::uint32 _has_bits_[1];
458 mutable int _cached_size_;
459 ::std::string* moos_var_;
460 ::std::string* format_;
461 static ::std::string* _default_repeated_delimiter_;
462 ::std::string* repeated_delimiter_;
463 ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm > algorithm_;
465 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
466 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
467 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
469 void InitAsDefaultInstance();
486 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
487 return _unknown_fields_;
490 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
491 return &_unknown_fields_;
494 static const ::google::protobuf::Descriptor* descriptor();
502 void CopyFrom(const ::google::protobuf::Message& from);
503 void MergeFrom(const ::google::protobuf::Message& from);
507 bool IsInitialized()
const;
509 int ByteSize()
const;
510 bool MergePartialFromCodedStream(
511 ::google::protobuf::io::CodedInputStream* input);
512 void SerializeWithCachedSizes(
513 ::google::protobuf::io::CodedOutputStream* output)
const;
514 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
515 int GetCachedSize()
const {
return _cached_size_; }
519 void SetCachedSize(
int size)
const;
521 ::google::protobuf::Metadata GetMetadata()
const;
528 inline bool has_name()
const;
529 inline void clear_name();
530 static const int kNameFieldNumber = 1;
531 inline const ::std::string& name()
const;
532 inline void set_name(const ::std::string& value);
533 inline void set_name(
const char* value);
534 inline void set_name(
const char* value,
size_t size);
535 inline ::std::string* mutable_name();
536 inline ::std::string* release_name();
537 inline void set_allocated_name(::std::string* name);
540 inline bool has_output_virtual_field()
const;
541 inline void clear_output_virtual_field();
542 static const int kOutputVirtualFieldFieldNumber = 2;
543 inline ::google::protobuf::int32 output_virtual_field()
const;
544 inline void set_output_virtual_field(::google::protobuf::int32 value);
547 inline bool has_primary_field()
const;
548 inline void clear_primary_field();
549 static const int kPrimaryFieldFieldNumber = 3;
550 inline ::google::protobuf::int32 primary_field()
const;
551 inline void set_primary_field(::google::protobuf::int32 value);
554 inline int reference_field_size()
const;
555 inline void clear_reference_field();
556 static const int kReferenceFieldFieldNumber = 4;
557 inline ::google::protobuf::int32 reference_field(
int index)
const;
558 inline void set_reference_field(
int index, ::google::protobuf::int32 value);
559 inline void add_reference_field(::google::protobuf::int32 value);
560 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
561 reference_field()
const;
562 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
563 mutable_reference_field();
567 inline void set_has_name();
568 inline void clear_has_name();
569 inline void set_has_output_virtual_field();
570 inline void clear_has_output_virtual_field();
571 inline void set_has_primary_field();
572 inline void clear_has_primary_field();
574 ::google::protobuf::UnknownFieldSet _unknown_fields_;
576 ::google::protobuf::uint32 _has_bits_[1];
577 mutable int _cached_size_;
578 ::std::string* name_;
579 ::google::protobuf::int32 output_virtual_field_;
580 ::google::protobuf::int32 primary_field_;
581 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > reference_field_;
582 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
583 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
584 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
586 void InitAsDefaultInstance();
603 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
604 return _unknown_fields_;
607 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
608 return &_unknown_fields_;
611 static const ::google::protobuf::Descriptor* descriptor();
619 void CopyFrom(const ::google::protobuf::Message& from);
620 void MergeFrom(const ::google::protobuf::Message& from);
624 bool IsInitialized()
const;
626 int ByteSize()
const;
627 bool MergePartialFromCodedStream(
628 ::google::protobuf::io::CodedInputStream* input);
629 void SerializeWithCachedSizes(
630 ::google::protobuf::io::CodedOutputStream* output)
const;
631 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
632 int GetCachedSize()
const {
return _cached_size_; }
636 void SetCachedSize(
int size)
const;
638 ::google::protobuf::Metadata GetMetadata()
const;
647 inline bool has_technique()
const;
648 inline void clear_technique();
649 static const int kTechniqueFieldNumber = 1;
650 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique technique()
const;
651 inline void set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
654 inline bool has_moos_var()
const;
655 inline void clear_moos_var();
656 static const int kMoosVarFieldNumber = 2;
657 inline const ::std::string& moos_var()
const;
658 inline void set_moos_var(const ::std::string& value);
659 inline void set_moos_var(
const char* value);
660 inline void set_moos_var(
const char* value,
size_t size);
661 inline ::std::string* mutable_moos_var();
662 inline ::std::string* release_moos_var();
663 inline void set_allocated_moos_var(::std::string* moos_var);
666 inline bool has_format()
const;
667 inline void clear_format();
668 static const int kFormatFieldNumber = 3;
669 inline const ::std::string& format()
const;
670 inline void set_format(const ::std::string& value);
671 inline void set_format(
const char* value);
672 inline void set_format(
const char* value,
size_t size);
673 inline ::std::string* mutable_format();
674 inline ::std::string* release_format();
675 inline void set_allocated_format(::std::string* format);
678 inline bool has_repeated_delimiter()
const;
679 inline void clear_repeated_delimiter();
680 static const int kRepeatedDelimiterFieldNumber = 4;
681 inline const ::std::string& repeated_delimiter()
const;
682 inline void set_repeated_delimiter(const ::std::string& value);
683 inline void set_repeated_delimiter(
const char* value);
684 inline void set_repeated_delimiter(
const char* value,
size_t size);
685 inline ::std::string* mutable_repeated_delimiter();
686 inline ::std::string* release_repeated_delimiter();
687 inline void set_allocated_repeated_delimiter(::std::string* repeated_delimiter);
690 inline int algorithm_size()
const;
691 inline void clear_algorithm();
692 static const int kAlgorithmFieldNumber = 5;
693 inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& algorithm(
int index)
const;
694 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* mutable_algorithm(
int index);
695 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* add_algorithm();
696 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >&
698 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
703 inline void set_has_technique();
704 inline void clear_has_technique();
705 inline void set_has_moos_var();
706 inline void clear_has_moos_var();
707 inline void set_has_format();
708 inline void clear_has_format();
709 inline void set_has_repeated_delimiter();
710 inline void clear_has_repeated_delimiter();
712 ::google::protobuf::UnknownFieldSet _unknown_fields_;
714 ::google::protobuf::uint32 _has_bits_[1];
715 mutable int _cached_size_;
716 ::std::string* moos_var_;
717 ::std::string* format_;
718 static ::std::string* _default_repeated_delimiter_;
719 ::std::string* repeated_delimiter_;
720 ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm > algorithm_;
722 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
723 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
724 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
726 void InitAsDefaultInstance();
743 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
744 return _unknown_fields_;
747 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
748 return &_unknown_fields_;
751 static const ::google::protobuf::Descriptor* descriptor();
759 void CopyFrom(const ::google::protobuf::Message& from);
760 void MergeFrom(const ::google::protobuf::Message& from);
764 bool IsInitialized()
const;
766 int ByteSize()
const;
767 bool MergePartialFromCodedStream(
768 ::google::protobuf::io::CodedInputStream* input);
769 void SerializeWithCachedSizes(
770 ::google::protobuf::io::CodedOutputStream* output)
const;
771 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
772 int GetCachedSize()
const {
return _cached_size_; }
776 void SetCachedSize(
int size)
const;
778 ::google::protobuf::Metadata GetMetadata()
const;
786 typedef TranslatorEntry_ParserSerializerTechnique ParserSerializerTechnique;
787 static const ParserSerializerTechnique TECHNIQUE_PROTOBUF_TEXT_FORMAT = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_TEXT_FORMAT;
788 static const ParserSerializerTechnique TECHNIQUE_PROTOBUF_NATIVE_ENCODED = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_ENCODED;
789 static const ParserSerializerTechnique TECHNIQUE_COMMA_SEPARATED_KEY_EQUALS_VALUE_PAIRS = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_COMMA_SEPARATED_KEY_EQUALS_VALUE_PAIRS;
790 static const ParserSerializerTechnique TECHNIQUE_FORMAT = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_FORMAT;
791 static const ParserSerializerTechnique TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT;
792 static const ParserSerializerTechnique TECHNIQUE_PROTOBUF_NATIVE_HEX = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PROTOBUF_NATIVE_HEX;
793 static const ParserSerializerTechnique TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_HEX = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_HEX;
794 static const ParserSerializerTechnique TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED = TranslatorEntry_ParserSerializerTechnique_TECHNIQUE_PREFIXED_PROTOBUF_NATIVE_ENCODED;
795 static inline bool ParserSerializerTechnique_IsValid(
int value) {
796 return TranslatorEntry_ParserSerializerTechnique_IsValid(value);
798 static const ParserSerializerTechnique ParserSerializerTechnique_MIN =
799 TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MIN;
800 static const ParserSerializerTechnique ParserSerializerTechnique_MAX =
801 TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_MAX;
802 static const int ParserSerializerTechnique_ARRAYSIZE =
803 TranslatorEntry_ParserSerializerTechnique_ParserSerializerTechnique_ARRAYSIZE;
804 static inline const ::google::protobuf::EnumDescriptor*
805 ParserSerializerTechnique_descriptor() {
806 return TranslatorEntry_ParserSerializerTechnique_descriptor();
808 static inline const ::std::string& ParserSerializerTechnique_Name(ParserSerializerTechnique value) {
809 return TranslatorEntry_ParserSerializerTechnique_Name(value);
811 static inline bool ParserSerializerTechnique_Parse(const ::std::string& name,
812 ParserSerializerTechnique* value) {
813 return TranslatorEntry_ParserSerializerTechnique_Parse(name, value);
819 inline bool has_protobuf_name()
const;
820 inline void clear_protobuf_name();
821 static const int kProtobufNameFieldNumber = 1;
822 inline const ::std::string& protobuf_name()
const;
823 inline void set_protobuf_name(const ::std::string& value);
824 inline void set_protobuf_name(
const char* value);
825 inline void set_protobuf_name(
const char* value,
size_t size);
826 inline ::std::string* mutable_protobuf_name();
827 inline ::std::string* release_protobuf_name();
828 inline void set_allocated_protobuf_name(::std::string* protobuf_name);
831 inline bool has_trigger()
const;
832 inline void clear_trigger();
833 static const int kTriggerFieldNumber = 2;
834 inline const ::goby::moos::protobuf::TranslatorEntry_Trigger& trigger()
const;
835 inline ::goby::moos::protobuf::TranslatorEntry_Trigger* mutable_trigger();
836 inline ::goby::moos::protobuf::TranslatorEntry_Trigger* release_trigger();
840 inline int create_size()
const;
841 inline void clear_create();
842 static const int kCreateFieldNumber = 3;
843 inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser& create(
int index)
const;
844 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* mutable_create(
int index);
845 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* add_create();
846 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
848 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
852 inline int publish_size()
const;
853 inline void clear_publish();
854 static const int kPublishFieldNumber = 4;
855 inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& publish(
int index)
const;
856 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* mutable_publish(
int index);
857 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* add_publish();
858 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
860 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
864 inline bool has_use_short_enum()
const;
865 inline void clear_use_short_enum();
866 static const int kUseShortEnumFieldNumber = 5;
867 inline bool use_short_enum()
const;
868 inline void set_use_short_enum(
bool value);
872 inline void set_has_protobuf_name();
873 inline void clear_has_protobuf_name();
874 inline void set_has_trigger();
875 inline void clear_has_trigger();
876 inline void set_has_use_short_enum();
877 inline void clear_has_use_short_enum();
879 ::google::protobuf::UnknownFieldSet _unknown_fields_;
881 ::google::protobuf::uint32 _has_bits_[1];
882 mutable int _cached_size_;
883 ::std::string* protobuf_name_;
885 ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser > create_;
886 ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer > publish_;
887 bool use_short_enum_;
888 friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
889 friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
890 friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftranslator_2eproto();
892 void InitAsDefaultInstance();
903 inline bool TranslatorEntry_Trigger::has_type()
const {
904 return (_has_bits_[0] & 0x00000001u) != 0;
906 inline void TranslatorEntry_Trigger::set_has_type() {
907 _has_bits_[0] |= 0x00000001u;
909 inline void TranslatorEntry_Trigger::clear_has_type() {
910 _has_bits_[0] &= ~0x00000001u;
912 inline void TranslatorEntry_Trigger::clear_type() {
916 inline ::goby::moos::protobuf::TranslatorEntry_Trigger_Type TranslatorEntry_Trigger::type()
const {
918 return static_cast< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type
>(type_);
920 inline void TranslatorEntry_Trigger::set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value) {
921 assert(::goby::moos::protobuf::TranslatorEntry_Trigger_Type_IsValid(value));
928 inline bool TranslatorEntry_Trigger::has_moos_var()
const {
929 return (_has_bits_[0] & 0x00000002u) != 0;
931 inline void TranslatorEntry_Trigger::set_has_moos_var() {
932 _has_bits_[0] |= 0x00000002u;
934 inline void TranslatorEntry_Trigger::clear_has_moos_var() {
935 _has_bits_[0] &= ~0x00000002u;
937 inline void TranslatorEntry_Trigger::clear_moos_var() {
938 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
941 clear_has_moos_var();
943 inline const ::std::string& TranslatorEntry_Trigger::moos_var()
const {
947 inline void TranslatorEntry_Trigger::set_moos_var(const ::std::string& value) {
949 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
950 moos_var_ = new ::std::string;
952 moos_var_->assign(value);
955 inline void TranslatorEntry_Trigger::set_moos_var(
const char* value) {
957 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
958 moos_var_ = new ::std::string;
960 moos_var_->assign(value);
963 inline void TranslatorEntry_Trigger::set_moos_var(
const char* value,
size_t size) {
965 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
966 moos_var_ = new ::std::string;
968 moos_var_->assign(reinterpret_cast<const char*>(value), size);
971 inline ::std::string* TranslatorEntry_Trigger::mutable_moos_var() {
973 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
974 moos_var_ = new ::std::string;
979 inline ::std::string* TranslatorEntry_Trigger::release_moos_var() {
980 clear_has_moos_var();
981 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
984 ::std::string* temp = moos_var_;
985 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
989 inline void TranslatorEntry_Trigger::set_allocated_moos_var(::std::string* moos_var) {
990 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
995 moos_var_ = moos_var;
997 clear_has_moos_var();
998 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1004 inline bool TranslatorEntry_Trigger::has_period()
const {
1005 return (_has_bits_[0] & 0x00000004u) != 0;
1007 inline void TranslatorEntry_Trigger::set_has_period() {
1008 _has_bits_[0] |= 0x00000004u;
1010 inline void TranslatorEntry_Trigger::clear_has_period() {
1011 _has_bits_[0] &= ~0x00000004u;
1013 inline void TranslatorEntry_Trigger::clear_period() {
1017 inline ::google::protobuf::uint32 TranslatorEntry_Trigger::period()
const {
1021 inline void TranslatorEntry_Trigger::set_period(::google::protobuf::uint32 value) {
1028 inline bool TranslatorEntry_Trigger::has_mandatory_content()
const {
1029 return (_has_bits_[0] & 0x00000008u) != 0;
1031 inline void TranslatorEntry_Trigger::set_has_mandatory_content() {
1032 _has_bits_[0] |= 0x00000008u;
1034 inline void TranslatorEntry_Trigger::clear_has_mandatory_content() {
1035 _has_bits_[0] &= ~0x00000008u;
1037 inline void TranslatorEntry_Trigger::clear_mandatory_content() {
1038 if (mandatory_content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1039 mandatory_content_->clear();
1041 clear_has_mandatory_content();
1043 inline const ::std::string& TranslatorEntry_Trigger::mandatory_content()
const {
1045 return *mandatory_content_;
1047 inline void TranslatorEntry_Trigger::set_mandatory_content(const ::std::string& value) {
1048 set_has_mandatory_content();
1049 if (mandatory_content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1050 mandatory_content_ = new ::std::string;
1052 mandatory_content_->assign(value);
1055 inline void TranslatorEntry_Trigger::set_mandatory_content(
const char* value) {
1056 set_has_mandatory_content();
1057 if (mandatory_content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1058 mandatory_content_ = new ::std::string;
1060 mandatory_content_->assign(value);
1063 inline void TranslatorEntry_Trigger::set_mandatory_content(
const char* value,
size_t size) {
1064 set_has_mandatory_content();
1065 if (mandatory_content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1066 mandatory_content_ = new ::std::string;
1068 mandatory_content_->assign(reinterpret_cast<const char*>(value), size);
1071 inline ::std::string* TranslatorEntry_Trigger::mutable_mandatory_content() {
1072 set_has_mandatory_content();
1073 if (mandatory_content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1074 mandatory_content_ = new ::std::string;
1077 return mandatory_content_;
1079 inline ::std::string* TranslatorEntry_Trigger::release_mandatory_content() {
1080 clear_has_mandatory_content();
1081 if (mandatory_content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1084 ::std::string* temp = mandatory_content_;
1085 mandatory_content_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1089 inline void TranslatorEntry_Trigger::set_allocated_mandatory_content(::std::string* mandatory_content) {
1090 if (mandatory_content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1091 delete mandatory_content_;
1093 if (mandatory_content) {
1094 set_has_mandatory_content();
1095 mandatory_content_ = mandatory_content;
1097 clear_has_mandatory_content();
1098 mandatory_content_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1108 inline bool TranslatorEntry_CreateParser_Algorithm::has_name()
const {
1109 return (_has_bits_[0] & 0x00000001u) != 0;
1111 inline void TranslatorEntry_CreateParser_Algorithm::set_has_name() {
1112 _has_bits_[0] |= 0x00000001u;
1114 inline void TranslatorEntry_CreateParser_Algorithm::clear_has_name() {
1115 _has_bits_[0] &= ~0x00000001u;
1117 inline void TranslatorEntry_CreateParser_Algorithm::clear_name() {
1118 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1123 inline const ::std::string& TranslatorEntry_CreateParser_Algorithm::name()
const {
1127 inline void TranslatorEntry_CreateParser_Algorithm::set_name(const ::std::string& value) {
1129 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1130 name_ = new ::std::string;
1132 name_->assign(value);
1135 inline void TranslatorEntry_CreateParser_Algorithm::set_name(
const char* value) {
1137 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1138 name_ = new ::std::string;
1140 name_->assign(value);
1143 inline void TranslatorEntry_CreateParser_Algorithm::set_name(
const char* value,
size_t size) {
1145 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1146 name_ = new ::std::string;
1148 name_->assign(reinterpret_cast<const char*>(value), size);
1151 inline ::std::string* TranslatorEntry_CreateParser_Algorithm::mutable_name() {
1153 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1154 name_ = new ::std::string;
1159 inline ::std::string* TranslatorEntry_CreateParser_Algorithm::release_name() {
1161 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1164 ::std::string* temp = name_;
1165 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1169 inline void TranslatorEntry_CreateParser_Algorithm::set_allocated_name(::std::string* name) {
1170 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1178 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1184 inline bool TranslatorEntry_CreateParser_Algorithm::has_primary_field()
const {
1185 return (_has_bits_[0] & 0x00000002u) != 0;
1187 inline void TranslatorEntry_CreateParser_Algorithm::set_has_primary_field() {
1188 _has_bits_[0] |= 0x00000002u;
1190 inline void TranslatorEntry_CreateParser_Algorithm::clear_has_primary_field() {
1191 _has_bits_[0] &= ~0x00000002u;
1193 inline void TranslatorEntry_CreateParser_Algorithm::clear_primary_field() {
1195 clear_has_primary_field();
1197 inline ::google::protobuf::int32 TranslatorEntry_CreateParser_Algorithm::primary_field()
const {
1199 return primary_field_;
1201 inline void TranslatorEntry_CreateParser_Algorithm::set_primary_field(::google::protobuf::int32 value) {
1202 set_has_primary_field();
1203 primary_field_ = value;
1212 inline bool TranslatorEntry_CreateParser::has_technique()
const {
1213 return (_has_bits_[0] & 0x00000001u) != 0;
1215 inline void TranslatorEntry_CreateParser::set_has_technique() {
1216 _has_bits_[0] |= 0x00000001u;
1218 inline void TranslatorEntry_CreateParser::clear_has_technique() {
1219 _has_bits_[0] &= ~0x00000001u;
1221 inline void TranslatorEntry_CreateParser::clear_technique() {
1223 clear_has_technique();
1225 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_CreateParser::technique()
const {
1227 return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique
>(technique_);
1229 inline void TranslatorEntry_CreateParser::set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1230 assert(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique_IsValid(value));
1231 set_has_technique();
1237 inline bool TranslatorEntry_CreateParser::has_moos_var()
const {
1238 return (_has_bits_[0] & 0x00000002u) != 0;
1240 inline void TranslatorEntry_CreateParser::set_has_moos_var() {
1241 _has_bits_[0] |= 0x00000002u;
1243 inline void TranslatorEntry_CreateParser::clear_has_moos_var() {
1244 _has_bits_[0] &= ~0x00000002u;
1246 inline void TranslatorEntry_CreateParser::clear_moos_var() {
1247 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1250 clear_has_moos_var();
1252 inline const ::std::string& TranslatorEntry_CreateParser::moos_var()
const {
1256 inline void TranslatorEntry_CreateParser::set_moos_var(const ::std::string& value) {
1258 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1259 moos_var_ = new ::std::string;
1261 moos_var_->assign(value);
1264 inline void TranslatorEntry_CreateParser::set_moos_var(
const char* value) {
1266 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1267 moos_var_ = new ::std::string;
1269 moos_var_->assign(value);
1272 inline void TranslatorEntry_CreateParser::set_moos_var(
const char* value,
size_t size) {
1274 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1275 moos_var_ = new ::std::string;
1277 moos_var_->assign(reinterpret_cast<const char*>(value), size);
1280 inline ::std::string* TranslatorEntry_CreateParser::mutable_moos_var() {
1282 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1283 moos_var_ = new ::std::string;
1288 inline ::std::string* TranslatorEntry_CreateParser::release_moos_var() {
1289 clear_has_moos_var();
1290 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1293 ::std::string* temp = moos_var_;
1294 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1298 inline void TranslatorEntry_CreateParser::set_allocated_moos_var(::std::string* moos_var) {
1299 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1304 moos_var_ = moos_var;
1306 clear_has_moos_var();
1307 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1313 inline bool TranslatorEntry_CreateParser::has_format()
const {
1314 return (_has_bits_[0] & 0x00000004u) != 0;
1316 inline void TranslatorEntry_CreateParser::set_has_format() {
1317 _has_bits_[0] |= 0x00000004u;
1319 inline void TranslatorEntry_CreateParser::clear_has_format() {
1320 _has_bits_[0] &= ~0x00000004u;
1322 inline void TranslatorEntry_CreateParser::clear_format() {
1323 if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1328 inline const ::std::string& TranslatorEntry_CreateParser::format()
const {
1332 inline void TranslatorEntry_CreateParser::set_format(const ::std::string& value) {
1334 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1335 format_ = new ::std::string;
1337 format_->assign(value);
1340 inline void TranslatorEntry_CreateParser::set_format(
const char* value) {
1342 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1343 format_ = new ::std::string;
1345 format_->assign(value);
1348 inline void TranslatorEntry_CreateParser::set_format(
const char* value,
size_t size) {
1350 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1351 format_ = new ::std::string;
1353 format_->assign(reinterpret_cast<const char*>(value), size);
1356 inline ::std::string* TranslatorEntry_CreateParser::mutable_format() {
1358 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1359 format_ = new ::std::string;
1364 inline ::std::string* TranslatorEntry_CreateParser::release_format() {
1366 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1369 ::std::string* temp = format_;
1370 format_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1374 inline void TranslatorEntry_CreateParser::set_allocated_format(::std::string* format) {
1375 if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1383 format_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1389 inline bool TranslatorEntry_CreateParser::has_repeated_delimiter()
const {
1390 return (_has_bits_[0] & 0x00000008u) != 0;
1392 inline void TranslatorEntry_CreateParser::set_has_repeated_delimiter() {
1393 _has_bits_[0] |= 0x00000008u;
1395 inline void TranslatorEntry_CreateParser::clear_has_repeated_delimiter() {
1396 _has_bits_[0] &= ~0x00000008u;
1398 inline void TranslatorEntry_CreateParser::clear_repeated_delimiter() {
1399 if (repeated_delimiter_ != _default_repeated_delimiter_) {
1400 repeated_delimiter_->assign(*_default_repeated_delimiter_);
1402 clear_has_repeated_delimiter();
1404 inline const ::std::string& TranslatorEntry_CreateParser::repeated_delimiter()
const {
1406 return *repeated_delimiter_;
1408 inline void TranslatorEntry_CreateParser::set_repeated_delimiter(const ::std::string& value) {
1409 set_has_repeated_delimiter();
1410 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1411 repeated_delimiter_ = new ::std::string;
1413 repeated_delimiter_->assign(value);
1416 inline void TranslatorEntry_CreateParser::set_repeated_delimiter(
const char* value) {
1417 set_has_repeated_delimiter();
1418 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1419 repeated_delimiter_ = new ::std::string;
1421 repeated_delimiter_->assign(value);
1424 inline void TranslatorEntry_CreateParser::set_repeated_delimiter(
const char* value,
size_t size) {
1425 set_has_repeated_delimiter();
1426 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1427 repeated_delimiter_ = new ::std::string;
1429 repeated_delimiter_->assign(reinterpret_cast<const char*>(value), size);
1432 inline ::std::string* TranslatorEntry_CreateParser::mutable_repeated_delimiter() {
1433 set_has_repeated_delimiter();
1434 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1435 repeated_delimiter_ = new ::std::string(*_default_repeated_delimiter_);
1438 return repeated_delimiter_;
1440 inline ::std::string* TranslatorEntry_CreateParser::release_repeated_delimiter() {
1441 clear_has_repeated_delimiter();
1442 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1445 ::std::string* temp = repeated_delimiter_;
1446 repeated_delimiter_ =
const_cast< ::std::string*
>(_default_repeated_delimiter_);
1450 inline void TranslatorEntry_CreateParser::set_allocated_repeated_delimiter(::std::string* repeated_delimiter) {
1451 if (repeated_delimiter_ != _default_repeated_delimiter_) {
1452 delete repeated_delimiter_;
1454 if (repeated_delimiter) {
1455 set_has_repeated_delimiter();
1456 repeated_delimiter_ = repeated_delimiter;
1458 clear_has_repeated_delimiter();
1459 repeated_delimiter_ =
const_cast< ::std::string*
>(_default_repeated_delimiter_);
1465 inline int TranslatorEntry_CreateParser::algorithm_size()
const {
1466 return algorithm_.size();
1468 inline void TranslatorEntry_CreateParser::clear_algorithm() {
1471 inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& TranslatorEntry_CreateParser::algorithm(
int index)
const {
1473 return algorithm_.Get(index);
1475 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::mutable_algorithm(
int index) {
1477 return algorithm_.Mutable(index);
1479 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::add_algorithm() {
1481 return algorithm_.Add();
1483 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >&
1484 TranslatorEntry_CreateParser::algorithm()
const {
1488 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
1489 TranslatorEntry_CreateParser::mutable_algorithm() {
1499 inline bool TranslatorEntry_PublishSerializer_Algorithm::has_name()
const {
1500 return (_has_bits_[0] & 0x00000001u) != 0;
1502 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_name() {
1503 _has_bits_[0] |= 0x00000001u;
1505 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_name() {
1506 _has_bits_[0] &= ~0x00000001u;
1508 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_name() {
1509 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1514 inline const ::std::string& TranslatorEntry_PublishSerializer_Algorithm::name()
const {
1518 inline void TranslatorEntry_PublishSerializer_Algorithm::set_name(const ::std::string& value) {
1520 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1521 name_ = new ::std::string;
1523 name_->assign(value);
1526 inline void TranslatorEntry_PublishSerializer_Algorithm::set_name(
const char* value) {
1528 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1529 name_ = new ::std::string;
1531 name_->assign(value);
1534 inline void TranslatorEntry_PublishSerializer_Algorithm::set_name(
const char* value,
size_t size) {
1536 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1537 name_ = new ::std::string;
1539 name_->assign(reinterpret_cast<const char*>(value), size);
1542 inline ::std::string* TranslatorEntry_PublishSerializer_Algorithm::mutable_name() {
1544 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1545 name_ = new ::std::string;
1550 inline ::std::string* TranslatorEntry_PublishSerializer_Algorithm::release_name() {
1552 if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1555 ::std::string* temp = name_;
1556 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1560 inline void TranslatorEntry_PublishSerializer_Algorithm::set_allocated_name(::std::string* name) {
1561 if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1569 name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1575 inline bool TranslatorEntry_PublishSerializer_Algorithm::has_output_virtual_field()
const {
1576 return (_has_bits_[0] & 0x00000002u) != 0;
1578 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_output_virtual_field() {
1579 _has_bits_[0] |= 0x00000002u;
1581 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_output_virtual_field() {
1582 _has_bits_[0] &= ~0x00000002u;
1584 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_output_virtual_field() {
1585 output_virtual_field_ = 0;
1586 clear_has_output_virtual_field();
1588 inline ::google::protobuf::int32 TranslatorEntry_PublishSerializer_Algorithm::output_virtual_field()
const {
1590 return output_virtual_field_;
1592 inline void TranslatorEntry_PublishSerializer_Algorithm::set_output_virtual_field(::google::protobuf::int32 value) {
1593 set_has_output_virtual_field();
1594 output_virtual_field_ = value;
1599 inline bool TranslatorEntry_PublishSerializer_Algorithm::has_primary_field()
const {
1600 return (_has_bits_[0] & 0x00000004u) != 0;
1602 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_primary_field() {
1603 _has_bits_[0] |= 0x00000004u;
1605 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_primary_field() {
1606 _has_bits_[0] &= ~0x00000004u;
1608 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_primary_field() {
1610 clear_has_primary_field();
1612 inline ::google::protobuf::int32 TranslatorEntry_PublishSerializer_Algorithm::primary_field()
const {
1614 return primary_field_;
1616 inline void TranslatorEntry_PublishSerializer_Algorithm::set_primary_field(::google::protobuf::int32 value) {
1617 set_has_primary_field();
1618 primary_field_ = value;
1623 inline int TranslatorEntry_PublishSerializer_Algorithm::reference_field_size()
const {
1624 return reference_field_.size();
1626 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_reference_field() {
1627 reference_field_.Clear();
1629 inline ::google::protobuf::int32 TranslatorEntry_PublishSerializer_Algorithm::reference_field(
int index)
const {
1631 return reference_field_.Get(index);
1633 inline void TranslatorEntry_PublishSerializer_Algorithm::set_reference_field(
int index, ::google::protobuf::int32 value) {
1634 reference_field_.Set(index, value);
1637 inline void TranslatorEntry_PublishSerializer_Algorithm::add_reference_field(::google::protobuf::int32 value) {
1638 reference_field_.Add(value);
1641 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1642 TranslatorEntry_PublishSerializer_Algorithm::reference_field()
const {
1644 return reference_field_;
1646 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1647 TranslatorEntry_PublishSerializer_Algorithm::mutable_reference_field() {
1649 return &reference_field_;
1657 inline bool TranslatorEntry_PublishSerializer::has_technique()
const {
1658 return (_has_bits_[0] & 0x00000001u) != 0;
1660 inline void TranslatorEntry_PublishSerializer::set_has_technique() {
1661 _has_bits_[0] |= 0x00000001u;
1663 inline void TranslatorEntry_PublishSerializer::clear_has_technique() {
1664 _has_bits_[0] &= ~0x00000001u;
1666 inline void TranslatorEntry_PublishSerializer::clear_technique() {
1668 clear_has_technique();
1670 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_PublishSerializer::technique()
const {
1672 return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique
>(technique_);
1674 inline void TranslatorEntry_PublishSerializer::set_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1675 assert(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique_IsValid(value));
1676 set_has_technique();
1682 inline bool TranslatorEntry_PublishSerializer::has_moos_var()
const {
1683 return (_has_bits_[0] & 0x00000002u) != 0;
1685 inline void TranslatorEntry_PublishSerializer::set_has_moos_var() {
1686 _has_bits_[0] |= 0x00000002u;
1688 inline void TranslatorEntry_PublishSerializer::clear_has_moos_var() {
1689 _has_bits_[0] &= ~0x00000002u;
1691 inline void TranslatorEntry_PublishSerializer::clear_moos_var() {
1692 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1695 clear_has_moos_var();
1697 inline const ::std::string& TranslatorEntry_PublishSerializer::moos_var()
const {
1701 inline void TranslatorEntry_PublishSerializer::set_moos_var(const ::std::string& value) {
1703 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1704 moos_var_ = new ::std::string;
1706 moos_var_->assign(value);
1709 inline void TranslatorEntry_PublishSerializer::set_moos_var(
const char* value) {
1711 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1712 moos_var_ = new ::std::string;
1714 moos_var_->assign(value);
1717 inline void TranslatorEntry_PublishSerializer::set_moos_var(
const char* value,
size_t size) {
1719 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1720 moos_var_ = new ::std::string;
1722 moos_var_->assign(reinterpret_cast<const char*>(value), size);
1725 inline ::std::string* TranslatorEntry_PublishSerializer::mutable_moos_var() {
1727 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1728 moos_var_ = new ::std::string;
1733 inline ::std::string* TranslatorEntry_PublishSerializer::release_moos_var() {
1734 clear_has_moos_var();
1735 if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1738 ::std::string* temp = moos_var_;
1739 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1743 inline void TranslatorEntry_PublishSerializer::set_allocated_moos_var(::std::string* moos_var) {
1744 if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1749 moos_var_ = moos_var;
1751 clear_has_moos_var();
1752 moos_var_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1758 inline bool TranslatorEntry_PublishSerializer::has_format()
const {
1759 return (_has_bits_[0] & 0x00000004u) != 0;
1761 inline void TranslatorEntry_PublishSerializer::set_has_format() {
1762 _has_bits_[0] |= 0x00000004u;
1764 inline void TranslatorEntry_PublishSerializer::clear_has_format() {
1765 _has_bits_[0] &= ~0x00000004u;
1767 inline void TranslatorEntry_PublishSerializer::clear_format() {
1768 if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1773 inline const ::std::string& TranslatorEntry_PublishSerializer::format()
const {
1777 inline void TranslatorEntry_PublishSerializer::set_format(const ::std::string& value) {
1779 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1780 format_ = new ::std::string;
1782 format_->assign(value);
1785 inline void TranslatorEntry_PublishSerializer::set_format(
const char* value) {
1787 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1788 format_ = new ::std::string;
1790 format_->assign(value);
1793 inline void TranslatorEntry_PublishSerializer::set_format(
const char* value,
size_t size) {
1795 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1796 format_ = new ::std::string;
1798 format_->assign(reinterpret_cast<const char*>(value), size);
1801 inline ::std::string* TranslatorEntry_PublishSerializer::mutable_format() {
1803 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1804 format_ = new ::std::string;
1809 inline ::std::string* TranslatorEntry_PublishSerializer::release_format() {
1811 if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1814 ::std::string* temp = format_;
1815 format_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1819 inline void TranslatorEntry_PublishSerializer::set_allocated_format(::std::string* format) {
1820 if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1828 format_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1834 inline bool TranslatorEntry_PublishSerializer::has_repeated_delimiter()
const {
1835 return (_has_bits_[0] & 0x00000008u) != 0;
1837 inline void TranslatorEntry_PublishSerializer::set_has_repeated_delimiter() {
1838 _has_bits_[0] |= 0x00000008u;
1840 inline void TranslatorEntry_PublishSerializer::clear_has_repeated_delimiter() {
1841 _has_bits_[0] &= ~0x00000008u;
1843 inline void TranslatorEntry_PublishSerializer::clear_repeated_delimiter() {
1844 if (repeated_delimiter_ != _default_repeated_delimiter_) {
1845 repeated_delimiter_->assign(*_default_repeated_delimiter_);
1847 clear_has_repeated_delimiter();
1849 inline const ::std::string& TranslatorEntry_PublishSerializer::repeated_delimiter()
const {
1851 return *repeated_delimiter_;
1853 inline void TranslatorEntry_PublishSerializer::set_repeated_delimiter(const ::std::string& value) {
1854 set_has_repeated_delimiter();
1855 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1856 repeated_delimiter_ = new ::std::string;
1858 repeated_delimiter_->assign(value);
1861 inline void TranslatorEntry_PublishSerializer::set_repeated_delimiter(
const char* value) {
1862 set_has_repeated_delimiter();
1863 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1864 repeated_delimiter_ = new ::std::string;
1866 repeated_delimiter_->assign(value);
1869 inline void TranslatorEntry_PublishSerializer::set_repeated_delimiter(
const char* value,
size_t size) {
1870 set_has_repeated_delimiter();
1871 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1872 repeated_delimiter_ = new ::std::string;
1874 repeated_delimiter_->assign(reinterpret_cast<const char*>(value), size);
1877 inline ::std::string* TranslatorEntry_PublishSerializer::mutable_repeated_delimiter() {
1878 set_has_repeated_delimiter();
1879 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1880 repeated_delimiter_ = new ::std::string(*_default_repeated_delimiter_);
1883 return repeated_delimiter_;
1885 inline ::std::string* TranslatorEntry_PublishSerializer::release_repeated_delimiter() {
1886 clear_has_repeated_delimiter();
1887 if (repeated_delimiter_ == _default_repeated_delimiter_) {
1890 ::std::string* temp = repeated_delimiter_;
1891 repeated_delimiter_ =
const_cast< ::std::string*
>(_default_repeated_delimiter_);
1895 inline void TranslatorEntry_PublishSerializer::set_allocated_repeated_delimiter(::std::string* repeated_delimiter) {
1896 if (repeated_delimiter_ != _default_repeated_delimiter_) {
1897 delete repeated_delimiter_;
1899 if (repeated_delimiter) {
1900 set_has_repeated_delimiter();
1901 repeated_delimiter_ = repeated_delimiter;
1903 clear_has_repeated_delimiter();
1904 repeated_delimiter_ =
const_cast< ::std::string*
>(_default_repeated_delimiter_);
1910 inline int TranslatorEntry_PublishSerializer::algorithm_size()
const {
1911 return algorithm_.size();
1913 inline void TranslatorEntry_PublishSerializer::clear_algorithm() {
1916 inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& TranslatorEntry_PublishSerializer::algorithm(
int index)
const {
1918 return algorithm_.Get(index);
1920 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::mutable_algorithm(
int index) {
1922 return algorithm_.Mutable(index);
1924 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::add_algorithm() {
1926 return algorithm_.Add();
1928 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >&
1929 TranslatorEntry_PublishSerializer::algorithm()
const {
1933 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
1934 TranslatorEntry_PublishSerializer::mutable_algorithm() {
1944 inline bool TranslatorEntry::has_protobuf_name()
const {
1945 return (_has_bits_[0] & 0x00000001u) != 0;
1947 inline void TranslatorEntry::set_has_protobuf_name() {
1948 _has_bits_[0] |= 0x00000001u;
1950 inline void TranslatorEntry::clear_has_protobuf_name() {
1951 _has_bits_[0] &= ~0x00000001u;
1953 inline void TranslatorEntry::clear_protobuf_name() {
1954 if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1955 protobuf_name_->clear();
1957 clear_has_protobuf_name();
1959 inline const ::std::string& TranslatorEntry::protobuf_name()
const {
1961 return *protobuf_name_;
1963 inline void TranslatorEntry::set_protobuf_name(const ::std::string& value) {
1964 set_has_protobuf_name();
1965 if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1966 protobuf_name_ = new ::std::string;
1968 protobuf_name_->assign(value);
1971 inline void TranslatorEntry::set_protobuf_name(
const char* value) {
1972 set_has_protobuf_name();
1973 if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1974 protobuf_name_ = new ::std::string;
1976 protobuf_name_->assign(value);
1979 inline void TranslatorEntry::set_protobuf_name(
const char* value,
size_t size) {
1980 set_has_protobuf_name();
1981 if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1982 protobuf_name_ = new ::std::string;
1984 protobuf_name_->assign(reinterpret_cast<const char*>(value), size);
1987 inline ::std::string* TranslatorEntry::mutable_protobuf_name() {
1988 set_has_protobuf_name();
1989 if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1990 protobuf_name_ = new ::std::string;
1993 return protobuf_name_;
1995 inline ::std::string* TranslatorEntry::release_protobuf_name() {
1996 clear_has_protobuf_name();
1997 if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2000 ::std::string* temp = protobuf_name_;
2001 protobuf_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2005 inline void TranslatorEntry::set_allocated_protobuf_name(::std::string* protobuf_name) {
2006 if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2007 delete protobuf_name_;
2009 if (protobuf_name) {
2010 set_has_protobuf_name();
2011 protobuf_name_ = protobuf_name;
2013 clear_has_protobuf_name();
2014 protobuf_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2020 inline bool TranslatorEntry::has_trigger()
const {
2021 return (_has_bits_[0] & 0x00000002u) != 0;
2023 inline void TranslatorEntry::set_has_trigger() {
2024 _has_bits_[0] |= 0x00000002u;
2026 inline void TranslatorEntry::clear_has_trigger() {
2027 _has_bits_[0] &= ~0x00000002u;
2029 inline void TranslatorEntry::clear_trigger() {
2030 if (trigger_ != NULL) trigger_->::goby::moos::protobuf::TranslatorEntry_Trigger::Clear();
2031 clear_has_trigger();
2033 inline const ::goby::moos::protobuf::TranslatorEntry_Trigger& TranslatorEntry::trigger()
const {
2035 return trigger_ != NULL ? *trigger_ : *default_instance_->trigger_;
2037 inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::mutable_trigger() {
2039 if (trigger_ == NULL) trigger_ = new ::goby::moos::protobuf::TranslatorEntry_Trigger;
2043 inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::release_trigger() {
2044 clear_has_trigger();
2055 clear_has_trigger();
2061 inline int TranslatorEntry::create_size()
const {
2062 return create_.size();
2064 inline void TranslatorEntry::clear_create() {
2067 inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser& TranslatorEntry::create(
int index)
const {
2069 return create_.Get(index);
2071 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::mutable_create(
int index) {
2073 return create_.Mutable(index);
2075 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::add_create() {
2077 return create_.Add();
2079 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
2080 TranslatorEntry::create()
const {
2084 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
2085 TranslatorEntry::mutable_create() {
2091 inline int TranslatorEntry::publish_size()
const {
2092 return publish_.size();
2094 inline void TranslatorEntry::clear_publish() {
2097 inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& TranslatorEntry::publish(
int index)
const {
2099 return publish_.Get(index);
2101 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::mutable_publish(
int index) {
2103 return publish_.Mutable(index);
2105 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::add_publish() {
2107 return publish_.Add();
2109 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
2110 TranslatorEntry::publish()
const {
2114 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
2115 TranslatorEntry::mutable_publish() {
2121 inline bool TranslatorEntry::has_use_short_enum()
const {
2122 return (_has_bits_[0] & 0x00000010u) != 0;
2124 inline void TranslatorEntry::set_has_use_short_enum() {
2125 _has_bits_[0] |= 0x00000010u;
2127 inline void TranslatorEntry::clear_has_use_short_enum() {
2128 _has_bits_[0] &= ~0x00000010u;
2130 inline void TranslatorEntry::clear_use_short_enum() {
2131 use_short_enum_ =
false;
2132 clear_has_use_short_enum();
2134 inline bool TranslatorEntry::use_short_enum()
const {
2136 return use_short_enum_;
2138 inline void TranslatorEntry::set_use_short_enum(
bool value) {
2139 set_has_use_short_enum();
2140 use_short_enum_ = value;
2153 namespace protobuf {
2155 template <>
struct is_proto_enum< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type> : ::google::protobuf::internal::true_type {};
2157 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type>() {
2158 return ::goby::moos::protobuf::TranslatorEntry_Trigger_Type_descriptor();
2160 template <>
struct is_proto_enum< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique> : ::google::protobuf::internal::true_type {};
2162 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique>() {
2163 return ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique_descriptor();
2172 #endif // PROTOBUF_goby_2fmoos_2fprotobuf_2ftranslator_2eproto__INCLUDED
The global namespace for the Goby project.