Goby v2
translator.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/moos/protobuf/translator.proto
3 
4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2ftranslator_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2ftranslator_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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>
33 // @@protoc_insertion_point(includes)
34 
35 namespace goby {
36 namespace moos {
37 namespace protobuf {
38 
39 // Internal implementation detail -- do not call these.
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();
43 
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;
50 
51 enum TranslatorEntry_Trigger_Type {
52  TranslatorEntry_Trigger_Type_TRIGGER_PUBLISH = 1,
53  TranslatorEntry_Trigger_Type_TRIGGER_TIME = 2
54 };
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;
59 
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);
64 }
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);
69 }
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
79 };
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;
84 
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);
89 }
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);
94 }
95 // ===================================================================
96 
97 class TranslatorEntry_Trigger : public ::google::protobuf::Message {
98  public:
100  virtual ~TranslatorEntry_Trigger();
101 
103 
104  inline TranslatorEntry_Trigger& operator=(const TranslatorEntry_Trigger& from) {
105  CopyFrom(from);
106  return *this;
107  }
108 
109  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
110  return _unknown_fields_;
111  }
112 
113  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
114  return &_unknown_fields_;
115  }
116 
117  static const ::google::protobuf::Descriptor* descriptor();
118  static const TranslatorEntry_Trigger& default_instance();
119 
120  void Swap(TranslatorEntry_Trigger* other);
121 
122  // implements Message ----------------------------------------------
123 
124  TranslatorEntry_Trigger* New() const;
125  void CopyFrom(const ::google::protobuf::Message& from);
126  void MergeFrom(const ::google::protobuf::Message& from);
127  void CopyFrom(const TranslatorEntry_Trigger& from);
128  void MergeFrom(const TranslatorEntry_Trigger& from);
129  void Clear();
130  bool IsInitialized() const;
131 
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_; }
139  private:
140  void SharedCtor();
141  void SharedDtor();
142  void SetCachedSize(int size) const;
143  public:
144  ::google::protobuf::Metadata GetMetadata() const;
145 
146  // nested types ----------------------------------------------------
147 
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);
153  }
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*
161  Type_descriptor() {
162  return TranslatorEntry_Trigger_Type_descriptor();
163  }
164  static inline const ::std::string& Type_Name(Type value) {
165  return TranslatorEntry_Trigger_Type_Name(value);
166  }
167  static inline bool Type_Parse(const ::std::string& name,
168  Type* value) {
169  return TranslatorEntry_Trigger_Type_Parse(name, value);
170  }
171 
172  // accessors -------------------------------------------------------
173 
174  // optional .goby.moos.protobuf.TranslatorEntry.Trigger.Type type = 1 [default = TRIGGER_PUBLISH];
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);
180 
181  // optional string moos_var = 2;
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);
192 
193  // optional uint32 period = 3;
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);
199 
200  // optional string mandatory_content = 4;
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);
211 
212  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.Trigger)
213  private:
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();
222 
223  ::google::protobuf::UnknownFieldSet _unknown_fields_;
224 
225  ::google::protobuf::uint32 _has_bits_[1];
226  mutable int _cached_size_;
227  ::std::string* moos_var_;
228  int type_;
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();
234 
235  void InitAsDefaultInstance();
236  static TranslatorEntry_Trigger* default_instance_;
237 };
238 // -------------------------------------------------------------------
239 
240 class TranslatorEntry_CreateParser_Algorithm : public ::google::protobuf::Message {
241  public:
244 
246 
248  CopyFrom(from);
249  return *this;
250  }
251 
252  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
253  return _unknown_fields_;
254  }
255 
256  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
257  return &_unknown_fields_;
258  }
259 
260  static const ::google::protobuf::Descriptor* descriptor();
261  static const TranslatorEntry_CreateParser_Algorithm& default_instance();
262 
263  void Swap(TranslatorEntry_CreateParser_Algorithm* other);
264 
265  // implements Message ----------------------------------------------
266 
268  void CopyFrom(const ::google::protobuf::Message& from);
269  void MergeFrom(const ::google::protobuf::Message& from);
270  void CopyFrom(const TranslatorEntry_CreateParser_Algorithm& from);
271  void MergeFrom(const TranslatorEntry_CreateParser_Algorithm& from);
272  void Clear();
273  bool IsInitialized() const;
274 
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_; }
282  private:
283  void SharedCtor();
284  void SharedDtor();
285  void SetCachedSize(int size) const;
286  public:
287  ::google::protobuf::Metadata GetMetadata() const;
288 
289  // nested types ----------------------------------------------------
290 
291  // accessors -------------------------------------------------------
292 
293  // required string name = 1;
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);
304 
305  // required int32 primary_field = 2;
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);
311 
312  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm)
313  private:
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();
318 
319  ::google::protobuf::UnknownFieldSet _unknown_fields_;
320 
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();
328 
329  void InitAsDefaultInstance();
330  static TranslatorEntry_CreateParser_Algorithm* default_instance_;
331 };
332 // -------------------------------------------------------------------
333 
334 class TranslatorEntry_CreateParser : public ::google::protobuf::Message {
335  public:
337  virtual ~TranslatorEntry_CreateParser();
338 
340 
341  inline TranslatorEntry_CreateParser& operator=(const TranslatorEntry_CreateParser& from) {
342  CopyFrom(from);
343  return *this;
344  }
345 
346  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
347  return _unknown_fields_;
348  }
349 
350  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
351  return &_unknown_fields_;
352  }
353 
354  static const ::google::protobuf::Descriptor* descriptor();
355  static const TranslatorEntry_CreateParser& default_instance();
356 
357  void Swap(TranslatorEntry_CreateParser* other);
358 
359  // implements Message ----------------------------------------------
360 
361  TranslatorEntry_CreateParser* New() const;
362  void CopyFrom(const ::google::protobuf::Message& from);
363  void MergeFrom(const ::google::protobuf::Message& from);
364  void CopyFrom(const TranslatorEntry_CreateParser& from);
365  void MergeFrom(const TranslatorEntry_CreateParser& from);
366  void Clear();
367  bool IsInitialized() const;
368 
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_; }
376  private:
377  void SharedCtor();
378  void SharedDtor();
379  void SetCachedSize(int size) const;
380  public:
381  ::google::protobuf::Metadata GetMetadata() const;
382 
383  // nested types ----------------------------------------------------
384 
386 
387  // accessors -------------------------------------------------------
388 
389  // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
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);
395 
396  // required string moos_var = 2;
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);
407 
408  // optional string format = 3;
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);
419 
420  // optional string repeated_delimiter = 4 [default = ","];
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);
431 
432  // repeated .goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm algorithm = 5;
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 >&
440  algorithm() const;
441  inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
442  mutable_algorithm();
443 
444  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.CreateParser)
445  private:
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();
454 
455  ::google::protobuf::UnknownFieldSet _unknown_fields_;
456 
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_;
464  int technique_;
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();
468 
469  void InitAsDefaultInstance();
470  static TranslatorEntry_CreateParser* default_instance_;
471 };
472 // -------------------------------------------------------------------
473 
474 class TranslatorEntry_PublishSerializer_Algorithm : public ::google::protobuf::Message {
475  public:
478 
480 
482  CopyFrom(from);
483  return *this;
484  }
485 
486  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
487  return _unknown_fields_;
488  }
489 
490  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
491  return &_unknown_fields_;
492  }
493 
494  static const ::google::protobuf::Descriptor* descriptor();
495  static const TranslatorEntry_PublishSerializer_Algorithm& default_instance();
496 
498 
499  // implements Message ----------------------------------------------
500 
502  void CopyFrom(const ::google::protobuf::Message& from);
503  void MergeFrom(const ::google::protobuf::Message& from);
504  void CopyFrom(const TranslatorEntry_PublishSerializer_Algorithm& from);
505  void MergeFrom(const TranslatorEntry_PublishSerializer_Algorithm& from);
506  void Clear();
507  bool IsInitialized() const;
508 
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_; }
516  private:
517  void SharedCtor();
518  void SharedDtor();
519  void SetCachedSize(int size) const;
520  public:
521  ::google::protobuf::Metadata GetMetadata() const;
522 
523  // nested types ----------------------------------------------------
524 
525  // accessors -------------------------------------------------------
526 
527  // required string name = 1;
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);
538 
539  // required int32 output_virtual_field = 2;
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);
545 
546  // required int32 primary_field = 3;
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);
552 
553  // repeated int32 reference_field = 4;
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();
564 
565  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm)
566  private:
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();
573 
574  ::google::protobuf::UnknownFieldSet _unknown_fields_;
575 
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();
585 
586  void InitAsDefaultInstance();
587  static TranslatorEntry_PublishSerializer_Algorithm* default_instance_;
588 };
589 // -------------------------------------------------------------------
590 
591 class TranslatorEntry_PublishSerializer : public ::google::protobuf::Message {
592  public:
595 
597 
599  CopyFrom(from);
600  return *this;
601  }
602 
603  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
604  return _unknown_fields_;
605  }
606 
607  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
608  return &_unknown_fields_;
609  }
610 
611  static const ::google::protobuf::Descriptor* descriptor();
612  static const TranslatorEntry_PublishSerializer& default_instance();
613 
614  void Swap(TranslatorEntry_PublishSerializer* other);
615 
616  // implements Message ----------------------------------------------
617 
619  void CopyFrom(const ::google::protobuf::Message& from);
620  void MergeFrom(const ::google::protobuf::Message& from);
621  void CopyFrom(const TranslatorEntry_PublishSerializer& from);
622  void MergeFrom(const TranslatorEntry_PublishSerializer& from);
623  void Clear();
624  bool IsInitialized() const;
625 
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_; }
633  private:
634  void SharedCtor();
635  void SharedDtor();
636  void SetCachedSize(int size) const;
637  public:
638  ::google::protobuf::Metadata GetMetadata() const;
639 
640  // nested types ----------------------------------------------------
641 
643 
644  // accessors -------------------------------------------------------
645 
646  // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
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);
652 
653  // required string moos_var = 2;
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);
664 
665  // optional string format = 3;
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);
676 
677  // optional string repeated_delimiter = 4 [default = ","];
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);
688 
689  // repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm algorithm = 5;
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 >&
697  algorithm() const;
698  inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
699  mutable_algorithm();
700 
701  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry.PublishSerializer)
702  private:
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();
711 
712  ::google::protobuf::UnknownFieldSet _unknown_fields_;
713 
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_;
721  int technique_;
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();
725 
726  void InitAsDefaultInstance();
727  static TranslatorEntry_PublishSerializer* default_instance_;
728 };
729 // -------------------------------------------------------------------
730 
731 class TranslatorEntry : public ::google::protobuf::Message {
732  public:
733  TranslatorEntry();
734  virtual ~TranslatorEntry();
735 
736  TranslatorEntry(const TranslatorEntry& from);
737 
738  inline TranslatorEntry& operator=(const TranslatorEntry& from) {
739  CopyFrom(from);
740  return *this;
741  }
742 
743  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
744  return _unknown_fields_;
745  }
746 
747  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
748  return &_unknown_fields_;
749  }
750 
751  static const ::google::protobuf::Descriptor* descriptor();
752  static const TranslatorEntry& default_instance();
753 
754  void Swap(TranslatorEntry* other);
755 
756  // implements Message ----------------------------------------------
757 
758  TranslatorEntry* New() const;
759  void CopyFrom(const ::google::protobuf::Message& from);
760  void MergeFrom(const ::google::protobuf::Message& from);
761  void CopyFrom(const TranslatorEntry& from);
762  void MergeFrom(const TranslatorEntry& from);
763  void Clear();
764  bool IsInitialized() const;
765 
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_; }
773  private:
774  void SharedCtor();
775  void SharedDtor();
776  void SetCachedSize(int size) const;
777  public:
778  ::google::protobuf::Metadata GetMetadata() const;
779 
780  // nested types ----------------------------------------------------
781 
785 
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);
797  }
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();
807  }
808  static inline const ::std::string& ParserSerializerTechnique_Name(ParserSerializerTechnique value) {
809  return TranslatorEntry_ParserSerializerTechnique_Name(value);
810  }
811  static inline bool ParserSerializerTechnique_Parse(const ::std::string& name,
812  ParserSerializerTechnique* value) {
813  return TranslatorEntry_ParserSerializerTechnique_Parse(name, value);
814  }
815 
816  // accessors -------------------------------------------------------
817 
818  // required string protobuf_name = 1;
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);
829 
830  // optional .goby.moos.protobuf.TranslatorEntry.Trigger trigger = 2;
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();
837  inline void set_allocated_trigger(::goby::moos::protobuf::TranslatorEntry_Trigger* trigger);
838 
839  // repeated .goby.moos.protobuf.TranslatorEntry.CreateParser create = 3;
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 >&
847  create() const;
848  inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
849  mutable_create();
850 
851  // repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer publish = 4;
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 >&
859  publish() const;
860  inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
861  mutable_publish();
862 
863  // optional bool use_short_enum = 5 [default = false];
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);
869 
870  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.TranslatorEntry)
871  private:
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();
878 
879  ::google::protobuf::UnknownFieldSet _unknown_fields_;
880 
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();
891 
892  void InitAsDefaultInstance();
893  static TranslatorEntry* default_instance_;
894 };
895 // ===================================================================
896 
897 
898 // ===================================================================
899 
900 // TranslatorEntry_Trigger
901 
902 // optional .goby.moos.protobuf.TranslatorEntry.Trigger.Type type = 1 [default = TRIGGER_PUBLISH];
903 inline bool TranslatorEntry_Trigger::has_type() const {
904  return (_has_bits_[0] & 0x00000001u) != 0;
905 }
906 inline void TranslatorEntry_Trigger::set_has_type() {
907  _has_bits_[0] |= 0x00000001u;
908 }
909 inline void TranslatorEntry_Trigger::clear_has_type() {
910  _has_bits_[0] &= ~0x00000001u;
911 }
912 inline void TranslatorEntry_Trigger::clear_type() {
913  type_ = 1;
914  clear_has_type();
915 }
916 inline ::goby::moos::protobuf::TranslatorEntry_Trigger_Type TranslatorEntry_Trigger::type() const {
917  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.type)
918  return static_cast< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type >(type_);
919 }
920 inline void TranslatorEntry_Trigger::set_type(::goby::moos::protobuf::TranslatorEntry_Trigger_Type value) {
921  assert(::goby::moos::protobuf::TranslatorEntry_Trigger_Type_IsValid(value));
922  set_has_type();
923  type_ = value;
924  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.type)
925 }
926 
927 // optional string moos_var = 2;
928 inline bool TranslatorEntry_Trigger::has_moos_var() const {
929  return (_has_bits_[0] & 0x00000002u) != 0;
930 }
931 inline void TranslatorEntry_Trigger::set_has_moos_var() {
932  _has_bits_[0] |= 0x00000002u;
933 }
934 inline void TranslatorEntry_Trigger::clear_has_moos_var() {
935  _has_bits_[0] &= ~0x00000002u;
936 }
937 inline void TranslatorEntry_Trigger::clear_moos_var() {
938  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
939  moos_var_->clear();
940  }
941  clear_has_moos_var();
942 }
943 inline const ::std::string& TranslatorEntry_Trigger::moos_var() const {
944  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
945  return *moos_var_;
946 }
947 inline void TranslatorEntry_Trigger::set_moos_var(const ::std::string& value) {
948  set_has_moos_var();
949  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
950  moos_var_ = new ::std::string;
951  }
952  moos_var_->assign(value);
953  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
954 }
955 inline void TranslatorEntry_Trigger::set_moos_var(const char* value) {
956  set_has_moos_var();
957  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
958  moos_var_ = new ::std::string;
959  }
960  moos_var_->assign(value);
961  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
962 }
963 inline void TranslatorEntry_Trigger::set_moos_var(const char* value, size_t size) {
964  set_has_moos_var();
965  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
966  moos_var_ = new ::std::string;
967  }
968  moos_var_->assign(reinterpret_cast<const char*>(value), size);
969  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
970 }
971 inline ::std::string* TranslatorEntry_Trigger::mutable_moos_var() {
972  set_has_moos_var();
973  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
974  moos_var_ = new ::std::string;
975  }
976  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
977  return moos_var_;
978 }
979 inline ::std::string* TranslatorEntry_Trigger::release_moos_var() {
980  clear_has_moos_var();
981  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
982  return NULL;
983  } else {
984  ::std::string* temp = moos_var_;
985  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
986  return temp;
987  }
988 }
989 inline void TranslatorEntry_Trigger::set_allocated_moos_var(::std::string* moos_var) {
990  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
991  delete moos_var_;
992  }
993  if (moos_var) {
994  set_has_moos_var();
995  moos_var_ = moos_var;
996  } else {
997  clear_has_moos_var();
998  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
999  }
1000  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.Trigger.moos_var)
1001 }
1002 
1003 // optional uint32 period = 3;
1004 inline bool TranslatorEntry_Trigger::has_period() const {
1005  return (_has_bits_[0] & 0x00000004u) != 0;
1006 }
1007 inline void TranslatorEntry_Trigger::set_has_period() {
1008  _has_bits_[0] |= 0x00000004u;
1009 }
1010 inline void TranslatorEntry_Trigger::clear_has_period() {
1011  _has_bits_[0] &= ~0x00000004u;
1012 }
1013 inline void TranslatorEntry_Trigger::clear_period() {
1014  period_ = 0u;
1015  clear_has_period();
1016 }
1017 inline ::google::protobuf::uint32 TranslatorEntry_Trigger::period() const {
1018  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.period)
1019  return period_;
1020 }
1021 inline void TranslatorEntry_Trigger::set_period(::google::protobuf::uint32 value) {
1022  set_has_period();
1023  period_ = value;
1024  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.period)
1025 }
1026 
1027 // optional string mandatory_content = 4;
1028 inline bool TranslatorEntry_Trigger::has_mandatory_content() const {
1029  return (_has_bits_[0] & 0x00000008u) != 0;
1030 }
1031 inline void TranslatorEntry_Trigger::set_has_mandatory_content() {
1032  _has_bits_[0] |= 0x00000008u;
1033 }
1034 inline void TranslatorEntry_Trigger::clear_has_mandatory_content() {
1035  _has_bits_[0] &= ~0x00000008u;
1036 }
1037 inline void TranslatorEntry_Trigger::clear_mandatory_content() {
1038  if (mandatory_content_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1039  mandatory_content_->clear();
1040  }
1041  clear_has_mandatory_content();
1042 }
1043 inline const ::std::string& TranslatorEntry_Trigger::mandatory_content() const {
1044  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1045  return *mandatory_content_;
1046 }
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;
1051  }
1052  mandatory_content_->assign(value);
1053  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1054 }
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;
1059  }
1060  mandatory_content_->assign(value);
1061  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1062 }
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;
1067  }
1068  mandatory_content_->assign(reinterpret_cast<const char*>(value), size);
1069  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1070 }
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;
1075  }
1076  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1077  return mandatory_content_;
1078 }
1079 inline ::std::string* TranslatorEntry_Trigger::release_mandatory_content() {
1080  clear_has_mandatory_content();
1081  if (mandatory_content_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1082  return NULL;
1083  } else {
1084  ::std::string* temp = mandatory_content_;
1085  mandatory_content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1086  return temp;
1087  }
1088 }
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_;
1092  }
1093  if (mandatory_content) {
1094  set_has_mandatory_content();
1095  mandatory_content_ = mandatory_content;
1096  } else {
1097  clear_has_mandatory_content();
1098  mandatory_content_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1099  }
1100  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.Trigger.mandatory_content)
1101 }
1102 
1103 // -------------------------------------------------------------------
1104 
1105 // TranslatorEntry_CreateParser_Algorithm
1106 
1107 // required string name = 1;
1108 inline bool TranslatorEntry_CreateParser_Algorithm::has_name() const {
1109  return (_has_bits_[0] & 0x00000001u) != 0;
1110 }
1111 inline void TranslatorEntry_CreateParser_Algorithm::set_has_name() {
1112  _has_bits_[0] |= 0x00000001u;
1113 }
1114 inline void TranslatorEntry_CreateParser_Algorithm::clear_has_name() {
1115  _has_bits_[0] &= ~0x00000001u;
1116 }
1117 inline void TranslatorEntry_CreateParser_Algorithm::clear_name() {
1118  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1119  name_->clear();
1120  }
1121  clear_has_name();
1122 }
1123 inline const ::std::string& TranslatorEntry_CreateParser_Algorithm::name() const {
1124  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1125  return *name_;
1126 }
1127 inline void TranslatorEntry_CreateParser_Algorithm::set_name(const ::std::string& value) {
1128  set_has_name();
1129  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1130  name_ = new ::std::string;
1131  }
1132  name_->assign(value);
1133  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1134 }
1135 inline void TranslatorEntry_CreateParser_Algorithm::set_name(const char* value) {
1136  set_has_name();
1137  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1138  name_ = new ::std::string;
1139  }
1140  name_->assign(value);
1141  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1142 }
1143 inline void TranslatorEntry_CreateParser_Algorithm::set_name(const char* value, size_t size) {
1144  set_has_name();
1145  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1146  name_ = new ::std::string;
1147  }
1148  name_->assign(reinterpret_cast<const char*>(value), size);
1149  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1150 }
1151 inline ::std::string* TranslatorEntry_CreateParser_Algorithm::mutable_name() {
1152  set_has_name();
1153  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1154  name_ = new ::std::string;
1155  }
1156  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1157  return name_;
1158 }
1159 inline ::std::string* TranslatorEntry_CreateParser_Algorithm::release_name() {
1160  clear_has_name();
1161  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1162  return NULL;
1163  } else {
1164  ::std::string* temp = name_;
1165  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1166  return temp;
1167  }
1168 }
1169 inline void TranslatorEntry_CreateParser_Algorithm::set_allocated_name(::std::string* name) {
1170  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1171  delete name_;
1172  }
1173  if (name) {
1174  set_has_name();
1175  name_ = name;
1176  } else {
1177  clear_has_name();
1178  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1179  }
1180  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.name)
1181 }
1182 
1183 // required int32 primary_field = 2;
1184 inline bool TranslatorEntry_CreateParser_Algorithm::has_primary_field() const {
1185  return (_has_bits_[0] & 0x00000002u) != 0;
1186 }
1187 inline void TranslatorEntry_CreateParser_Algorithm::set_has_primary_field() {
1188  _has_bits_[0] |= 0x00000002u;
1189 }
1190 inline void TranslatorEntry_CreateParser_Algorithm::clear_has_primary_field() {
1191  _has_bits_[0] &= ~0x00000002u;
1192 }
1193 inline void TranslatorEntry_CreateParser_Algorithm::clear_primary_field() {
1194  primary_field_ = 0;
1195  clear_has_primary_field();
1196 }
1197 inline ::google::protobuf::int32 TranslatorEntry_CreateParser_Algorithm::primary_field() const {
1198  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.primary_field)
1199  return primary_field_;
1200 }
1201 inline void TranslatorEntry_CreateParser_Algorithm::set_primary_field(::google::protobuf::int32 value) {
1202  set_has_primary_field();
1203  primary_field_ = value;
1204  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm.primary_field)
1205 }
1206 
1207 // -------------------------------------------------------------------
1208 
1209 // TranslatorEntry_CreateParser
1210 
1211 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
1212 inline bool TranslatorEntry_CreateParser::has_technique() const {
1213  return (_has_bits_[0] & 0x00000001u) != 0;
1214 }
1215 inline void TranslatorEntry_CreateParser::set_has_technique() {
1216  _has_bits_[0] |= 0x00000001u;
1217 }
1218 inline void TranslatorEntry_CreateParser::clear_has_technique() {
1219  _has_bits_[0] &= ~0x00000001u;
1220 }
1221 inline void TranslatorEntry_CreateParser::clear_technique() {
1222  technique_ = 1;
1223  clear_has_technique();
1224 }
1225 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_CreateParser::technique() const {
1226  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.technique)
1227  return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(technique_);
1228 }
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();
1232  technique_ = value;
1233  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.technique)
1234 }
1235 
1236 // required string moos_var = 2;
1237 inline bool TranslatorEntry_CreateParser::has_moos_var() const {
1238  return (_has_bits_[0] & 0x00000002u) != 0;
1239 }
1240 inline void TranslatorEntry_CreateParser::set_has_moos_var() {
1241  _has_bits_[0] |= 0x00000002u;
1242 }
1243 inline void TranslatorEntry_CreateParser::clear_has_moos_var() {
1244  _has_bits_[0] &= ~0x00000002u;
1245 }
1246 inline void TranslatorEntry_CreateParser::clear_moos_var() {
1247  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1248  moos_var_->clear();
1249  }
1250  clear_has_moos_var();
1251 }
1252 inline const ::std::string& TranslatorEntry_CreateParser::moos_var() const {
1253  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1254  return *moos_var_;
1255 }
1256 inline void TranslatorEntry_CreateParser::set_moos_var(const ::std::string& value) {
1257  set_has_moos_var();
1258  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1259  moos_var_ = new ::std::string;
1260  }
1261  moos_var_->assign(value);
1262  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1263 }
1264 inline void TranslatorEntry_CreateParser::set_moos_var(const char* value) {
1265  set_has_moos_var();
1266  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1267  moos_var_ = new ::std::string;
1268  }
1269  moos_var_->assign(value);
1270  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1271 }
1272 inline void TranslatorEntry_CreateParser::set_moos_var(const char* value, size_t size) {
1273  set_has_moos_var();
1274  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1275  moos_var_ = new ::std::string;
1276  }
1277  moos_var_->assign(reinterpret_cast<const char*>(value), size);
1278  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1279 }
1280 inline ::std::string* TranslatorEntry_CreateParser::mutable_moos_var() {
1281  set_has_moos_var();
1282  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1283  moos_var_ = new ::std::string;
1284  }
1285  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1286  return moos_var_;
1287 }
1288 inline ::std::string* TranslatorEntry_CreateParser::release_moos_var() {
1289  clear_has_moos_var();
1290  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1291  return NULL;
1292  } else {
1293  ::std::string* temp = moos_var_;
1294  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1295  return temp;
1296  }
1297 }
1298 inline void TranslatorEntry_CreateParser::set_allocated_moos_var(::std::string* moos_var) {
1299  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1300  delete moos_var_;
1301  }
1302  if (moos_var) {
1303  set_has_moos_var();
1304  moos_var_ = moos_var;
1305  } else {
1306  clear_has_moos_var();
1307  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1308  }
1309  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.moos_var)
1310 }
1311 
1312 // optional string format = 3;
1313 inline bool TranslatorEntry_CreateParser::has_format() const {
1314  return (_has_bits_[0] & 0x00000004u) != 0;
1315 }
1316 inline void TranslatorEntry_CreateParser::set_has_format() {
1317  _has_bits_[0] |= 0x00000004u;
1318 }
1319 inline void TranslatorEntry_CreateParser::clear_has_format() {
1320  _has_bits_[0] &= ~0x00000004u;
1321 }
1322 inline void TranslatorEntry_CreateParser::clear_format() {
1323  if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1324  format_->clear();
1325  }
1326  clear_has_format();
1327 }
1328 inline const ::std::string& TranslatorEntry_CreateParser::format() const {
1329  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1330  return *format_;
1331 }
1332 inline void TranslatorEntry_CreateParser::set_format(const ::std::string& value) {
1333  set_has_format();
1334  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1335  format_ = new ::std::string;
1336  }
1337  format_->assign(value);
1338  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1339 }
1340 inline void TranslatorEntry_CreateParser::set_format(const char* value) {
1341  set_has_format();
1342  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1343  format_ = new ::std::string;
1344  }
1345  format_->assign(value);
1346  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1347 }
1348 inline void TranslatorEntry_CreateParser::set_format(const char* value, size_t size) {
1349  set_has_format();
1350  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1351  format_ = new ::std::string;
1352  }
1353  format_->assign(reinterpret_cast<const char*>(value), size);
1354  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1355 }
1356 inline ::std::string* TranslatorEntry_CreateParser::mutable_format() {
1357  set_has_format();
1358  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1359  format_ = new ::std::string;
1360  }
1361  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1362  return format_;
1363 }
1364 inline ::std::string* TranslatorEntry_CreateParser::release_format() {
1365  clear_has_format();
1366  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1367  return NULL;
1368  } else {
1369  ::std::string* temp = format_;
1370  format_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1371  return temp;
1372  }
1373 }
1374 inline void TranslatorEntry_CreateParser::set_allocated_format(::std::string* format) {
1375  if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1376  delete format_;
1377  }
1378  if (format) {
1379  set_has_format();
1380  format_ = format;
1381  } else {
1382  clear_has_format();
1383  format_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1384  }
1385  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.format)
1386 }
1387 
1388 // optional string repeated_delimiter = 4 [default = ","];
1389 inline bool TranslatorEntry_CreateParser::has_repeated_delimiter() const {
1390  return (_has_bits_[0] & 0x00000008u) != 0;
1391 }
1392 inline void TranslatorEntry_CreateParser::set_has_repeated_delimiter() {
1393  _has_bits_[0] |= 0x00000008u;
1394 }
1395 inline void TranslatorEntry_CreateParser::clear_has_repeated_delimiter() {
1396  _has_bits_[0] &= ~0x00000008u;
1397 }
1398 inline void TranslatorEntry_CreateParser::clear_repeated_delimiter() {
1399  if (repeated_delimiter_ != _default_repeated_delimiter_) {
1400  repeated_delimiter_->assign(*_default_repeated_delimiter_);
1401  }
1402  clear_has_repeated_delimiter();
1403 }
1404 inline const ::std::string& TranslatorEntry_CreateParser::repeated_delimiter() const {
1405  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
1406  return *repeated_delimiter_;
1407 }
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;
1412  }
1413  repeated_delimiter_->assign(value);
1414  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
1415 }
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;
1420  }
1421  repeated_delimiter_->assign(value);
1422  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
1423 }
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;
1428  }
1429  repeated_delimiter_->assign(reinterpret_cast<const char*>(value), size);
1430  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
1431 }
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_);
1436  }
1437  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
1438  return repeated_delimiter_;
1439 }
1440 inline ::std::string* TranslatorEntry_CreateParser::release_repeated_delimiter() {
1441  clear_has_repeated_delimiter();
1442  if (repeated_delimiter_ == _default_repeated_delimiter_) {
1443  return NULL;
1444  } else {
1445  ::std::string* temp = repeated_delimiter_;
1446  repeated_delimiter_ = const_cast< ::std::string*>(_default_repeated_delimiter_);
1447  return temp;
1448  }
1449 }
1450 inline void TranslatorEntry_CreateParser::set_allocated_repeated_delimiter(::std::string* repeated_delimiter) {
1451  if (repeated_delimiter_ != _default_repeated_delimiter_) {
1452  delete repeated_delimiter_;
1453  }
1454  if (repeated_delimiter) {
1455  set_has_repeated_delimiter();
1456  repeated_delimiter_ = repeated_delimiter;
1457  } else {
1458  clear_has_repeated_delimiter();
1459  repeated_delimiter_ = const_cast< ::std::string*>(_default_repeated_delimiter_);
1460  }
1461  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.CreateParser.repeated_delimiter)
1462 }
1463 
1464 // repeated .goby.moos.protobuf.TranslatorEntry.CreateParser.Algorithm algorithm = 5;
1465 inline int TranslatorEntry_CreateParser::algorithm_size() const {
1466  return algorithm_.size();
1467 }
1468 inline void TranslatorEntry_CreateParser::clear_algorithm() {
1469  algorithm_.Clear();
1470 }
1471 inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm& TranslatorEntry_CreateParser::algorithm(int index) const {
1472  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
1473  return algorithm_.Get(index);
1474 }
1475 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::mutable_algorithm(int index) {
1476  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
1477  return algorithm_.Mutable(index);
1478 }
1479 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm* TranslatorEntry_CreateParser::add_algorithm() {
1480  // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
1481  return algorithm_.Add();
1482 }
1483 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >&
1484 TranslatorEntry_CreateParser::algorithm() const {
1485  // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
1486  return algorithm_;
1487 }
1488 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser_Algorithm >*
1489 TranslatorEntry_CreateParser::mutable_algorithm() {
1490  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.CreateParser.algorithm)
1491  return &algorithm_;
1492 }
1493 
1494 // -------------------------------------------------------------------
1495 
1496 // TranslatorEntry_PublishSerializer_Algorithm
1497 
1498 // required string name = 1;
1499 inline bool TranslatorEntry_PublishSerializer_Algorithm::has_name() const {
1500  return (_has_bits_[0] & 0x00000001u) != 0;
1501 }
1502 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_name() {
1503  _has_bits_[0] |= 0x00000001u;
1504 }
1505 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_name() {
1506  _has_bits_[0] &= ~0x00000001u;
1507 }
1508 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_name() {
1509  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1510  name_->clear();
1511  }
1512  clear_has_name();
1513 }
1514 inline const ::std::string& TranslatorEntry_PublishSerializer_Algorithm::name() const {
1515  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
1516  return *name_;
1517 }
1518 inline void TranslatorEntry_PublishSerializer_Algorithm::set_name(const ::std::string& value) {
1519  set_has_name();
1520  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1521  name_ = new ::std::string;
1522  }
1523  name_->assign(value);
1524  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
1525 }
1526 inline void TranslatorEntry_PublishSerializer_Algorithm::set_name(const char* value) {
1527  set_has_name();
1528  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1529  name_ = new ::std::string;
1530  }
1531  name_->assign(value);
1532  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
1533 }
1534 inline void TranslatorEntry_PublishSerializer_Algorithm::set_name(const char* value, size_t size) {
1535  set_has_name();
1536  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1537  name_ = new ::std::string;
1538  }
1539  name_->assign(reinterpret_cast<const char*>(value), size);
1540  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
1541 }
1542 inline ::std::string* TranslatorEntry_PublishSerializer_Algorithm::mutable_name() {
1543  set_has_name();
1544  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1545  name_ = new ::std::string;
1546  }
1547  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
1548  return name_;
1549 }
1550 inline ::std::string* TranslatorEntry_PublishSerializer_Algorithm::release_name() {
1551  clear_has_name();
1552  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1553  return NULL;
1554  } else {
1555  ::std::string* temp = name_;
1556  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1557  return temp;
1558  }
1559 }
1560 inline void TranslatorEntry_PublishSerializer_Algorithm::set_allocated_name(::std::string* name) {
1561  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1562  delete name_;
1563  }
1564  if (name) {
1565  set_has_name();
1566  name_ = name;
1567  } else {
1568  clear_has_name();
1569  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1570  }
1571  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.name)
1572 }
1573 
1574 // required int32 output_virtual_field = 2;
1575 inline bool TranslatorEntry_PublishSerializer_Algorithm::has_output_virtual_field() const {
1576  return (_has_bits_[0] & 0x00000002u) != 0;
1577 }
1578 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_output_virtual_field() {
1579  _has_bits_[0] |= 0x00000002u;
1580 }
1581 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_output_virtual_field() {
1582  _has_bits_[0] &= ~0x00000002u;
1583 }
1584 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_output_virtual_field() {
1585  output_virtual_field_ = 0;
1586  clear_has_output_virtual_field();
1587 }
1588 inline ::google::protobuf::int32 TranslatorEntry_PublishSerializer_Algorithm::output_virtual_field() const {
1589  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.output_virtual_field)
1590  return output_virtual_field_;
1591 }
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;
1595  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.output_virtual_field)
1596 }
1597 
1598 // required int32 primary_field = 3;
1599 inline bool TranslatorEntry_PublishSerializer_Algorithm::has_primary_field() const {
1600  return (_has_bits_[0] & 0x00000004u) != 0;
1601 }
1602 inline void TranslatorEntry_PublishSerializer_Algorithm::set_has_primary_field() {
1603  _has_bits_[0] |= 0x00000004u;
1604 }
1605 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_has_primary_field() {
1606  _has_bits_[0] &= ~0x00000004u;
1607 }
1608 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_primary_field() {
1609  primary_field_ = 0;
1610  clear_has_primary_field();
1611 }
1612 inline ::google::protobuf::int32 TranslatorEntry_PublishSerializer_Algorithm::primary_field() const {
1613  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.primary_field)
1614  return primary_field_;
1615 }
1616 inline void TranslatorEntry_PublishSerializer_Algorithm::set_primary_field(::google::protobuf::int32 value) {
1617  set_has_primary_field();
1618  primary_field_ = value;
1619  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.primary_field)
1620 }
1621 
1622 // repeated int32 reference_field = 4;
1623 inline int TranslatorEntry_PublishSerializer_Algorithm::reference_field_size() const {
1624  return reference_field_.size();
1625 }
1626 inline void TranslatorEntry_PublishSerializer_Algorithm::clear_reference_field() {
1627  reference_field_.Clear();
1628 }
1629 inline ::google::protobuf::int32 TranslatorEntry_PublishSerializer_Algorithm::reference_field(int index) const {
1630  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
1631  return reference_field_.Get(index);
1632 }
1633 inline void TranslatorEntry_PublishSerializer_Algorithm::set_reference_field(int index, ::google::protobuf::int32 value) {
1634  reference_field_.Set(index, value);
1635  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
1636 }
1637 inline void TranslatorEntry_PublishSerializer_Algorithm::add_reference_field(::google::protobuf::int32 value) {
1638  reference_field_.Add(value);
1639  // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
1640 }
1641 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1642 TranslatorEntry_PublishSerializer_Algorithm::reference_field() const {
1643  // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
1644  return reference_field_;
1645 }
1646 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1647 TranslatorEntry_PublishSerializer_Algorithm::mutable_reference_field() {
1648  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm.reference_field)
1649  return &reference_field_;
1650 }
1651 
1652 // -------------------------------------------------------------------
1653 
1654 // TranslatorEntry_PublishSerializer
1655 
1656 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique technique = 1 [default = TECHNIQUE_PROTOBUF_TEXT_FORMAT];
1657 inline bool TranslatorEntry_PublishSerializer::has_technique() const {
1658  return (_has_bits_[0] & 0x00000001u) != 0;
1659 }
1660 inline void TranslatorEntry_PublishSerializer::set_has_technique() {
1661  _has_bits_[0] |= 0x00000001u;
1662 }
1663 inline void TranslatorEntry_PublishSerializer::clear_has_technique() {
1664  _has_bits_[0] &= ~0x00000001u;
1665 }
1666 inline void TranslatorEntry_PublishSerializer::clear_technique() {
1667  technique_ = 1;
1668  clear_has_technique();
1669 }
1670 inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique TranslatorEntry_PublishSerializer::technique() const {
1671  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.technique)
1672  return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(technique_);
1673 }
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();
1677  technique_ = value;
1678  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.technique)
1679 }
1680 
1681 // required string moos_var = 2;
1682 inline bool TranslatorEntry_PublishSerializer::has_moos_var() const {
1683  return (_has_bits_[0] & 0x00000002u) != 0;
1684 }
1685 inline void TranslatorEntry_PublishSerializer::set_has_moos_var() {
1686  _has_bits_[0] |= 0x00000002u;
1687 }
1688 inline void TranslatorEntry_PublishSerializer::clear_has_moos_var() {
1689  _has_bits_[0] &= ~0x00000002u;
1690 }
1691 inline void TranslatorEntry_PublishSerializer::clear_moos_var() {
1692  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1693  moos_var_->clear();
1694  }
1695  clear_has_moos_var();
1696 }
1697 inline const ::std::string& TranslatorEntry_PublishSerializer::moos_var() const {
1698  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
1699  return *moos_var_;
1700 }
1701 inline void TranslatorEntry_PublishSerializer::set_moos_var(const ::std::string& value) {
1702  set_has_moos_var();
1703  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1704  moos_var_ = new ::std::string;
1705  }
1706  moos_var_->assign(value);
1707  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
1708 }
1709 inline void TranslatorEntry_PublishSerializer::set_moos_var(const char* value) {
1710  set_has_moos_var();
1711  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1712  moos_var_ = new ::std::string;
1713  }
1714  moos_var_->assign(value);
1715  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
1716 }
1717 inline void TranslatorEntry_PublishSerializer::set_moos_var(const char* value, size_t size) {
1718  set_has_moos_var();
1719  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1720  moos_var_ = new ::std::string;
1721  }
1722  moos_var_->assign(reinterpret_cast<const char*>(value), size);
1723  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
1724 }
1725 inline ::std::string* TranslatorEntry_PublishSerializer::mutable_moos_var() {
1726  set_has_moos_var();
1727  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1728  moos_var_ = new ::std::string;
1729  }
1730  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
1731  return moos_var_;
1732 }
1733 inline ::std::string* TranslatorEntry_PublishSerializer::release_moos_var() {
1734  clear_has_moos_var();
1735  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1736  return NULL;
1737  } else {
1738  ::std::string* temp = moos_var_;
1739  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1740  return temp;
1741  }
1742 }
1743 inline void TranslatorEntry_PublishSerializer::set_allocated_moos_var(::std::string* moos_var) {
1744  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1745  delete moos_var_;
1746  }
1747  if (moos_var) {
1748  set_has_moos_var();
1749  moos_var_ = moos_var;
1750  } else {
1751  clear_has_moos_var();
1752  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1753  }
1754  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.moos_var)
1755 }
1756 
1757 // optional string format = 3;
1758 inline bool TranslatorEntry_PublishSerializer::has_format() const {
1759  return (_has_bits_[0] & 0x00000004u) != 0;
1760 }
1761 inline void TranslatorEntry_PublishSerializer::set_has_format() {
1762  _has_bits_[0] |= 0x00000004u;
1763 }
1764 inline void TranslatorEntry_PublishSerializer::clear_has_format() {
1765  _has_bits_[0] &= ~0x00000004u;
1766 }
1767 inline void TranslatorEntry_PublishSerializer::clear_format() {
1768  if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1769  format_->clear();
1770  }
1771  clear_has_format();
1772 }
1773 inline const ::std::string& TranslatorEntry_PublishSerializer::format() const {
1774  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
1775  return *format_;
1776 }
1777 inline void TranslatorEntry_PublishSerializer::set_format(const ::std::string& value) {
1778  set_has_format();
1779  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1780  format_ = new ::std::string;
1781  }
1782  format_->assign(value);
1783  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
1784 }
1785 inline void TranslatorEntry_PublishSerializer::set_format(const char* value) {
1786  set_has_format();
1787  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1788  format_ = new ::std::string;
1789  }
1790  format_->assign(value);
1791  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
1792 }
1793 inline void TranslatorEntry_PublishSerializer::set_format(const char* value, size_t size) {
1794  set_has_format();
1795  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1796  format_ = new ::std::string;
1797  }
1798  format_->assign(reinterpret_cast<const char*>(value), size);
1799  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
1800 }
1801 inline ::std::string* TranslatorEntry_PublishSerializer::mutable_format() {
1802  set_has_format();
1803  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1804  format_ = new ::std::string;
1805  }
1806  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
1807  return format_;
1808 }
1809 inline ::std::string* TranslatorEntry_PublishSerializer::release_format() {
1810  clear_has_format();
1811  if (format_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1812  return NULL;
1813  } else {
1814  ::std::string* temp = format_;
1815  format_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1816  return temp;
1817  }
1818 }
1819 inline void TranslatorEntry_PublishSerializer::set_allocated_format(::std::string* format) {
1820  if (format_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1821  delete format_;
1822  }
1823  if (format) {
1824  set_has_format();
1825  format_ = format;
1826  } else {
1827  clear_has_format();
1828  format_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1829  }
1830  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.format)
1831 }
1832 
1833 // optional string repeated_delimiter = 4 [default = ","];
1834 inline bool TranslatorEntry_PublishSerializer::has_repeated_delimiter() const {
1835  return (_has_bits_[0] & 0x00000008u) != 0;
1836 }
1837 inline void TranslatorEntry_PublishSerializer::set_has_repeated_delimiter() {
1838  _has_bits_[0] |= 0x00000008u;
1839 }
1840 inline void TranslatorEntry_PublishSerializer::clear_has_repeated_delimiter() {
1841  _has_bits_[0] &= ~0x00000008u;
1842 }
1843 inline void TranslatorEntry_PublishSerializer::clear_repeated_delimiter() {
1844  if (repeated_delimiter_ != _default_repeated_delimiter_) {
1845  repeated_delimiter_->assign(*_default_repeated_delimiter_);
1846  }
1847  clear_has_repeated_delimiter();
1848 }
1849 inline const ::std::string& TranslatorEntry_PublishSerializer::repeated_delimiter() const {
1850  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
1851  return *repeated_delimiter_;
1852 }
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;
1857  }
1858  repeated_delimiter_->assign(value);
1859  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
1860 }
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;
1865  }
1866  repeated_delimiter_->assign(value);
1867  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
1868 }
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;
1873  }
1874  repeated_delimiter_->assign(reinterpret_cast<const char*>(value), size);
1875  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
1876 }
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_);
1881  }
1882  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
1883  return repeated_delimiter_;
1884 }
1885 inline ::std::string* TranslatorEntry_PublishSerializer::release_repeated_delimiter() {
1886  clear_has_repeated_delimiter();
1887  if (repeated_delimiter_ == _default_repeated_delimiter_) {
1888  return NULL;
1889  } else {
1890  ::std::string* temp = repeated_delimiter_;
1891  repeated_delimiter_ = const_cast< ::std::string*>(_default_repeated_delimiter_);
1892  return temp;
1893  }
1894 }
1895 inline void TranslatorEntry_PublishSerializer::set_allocated_repeated_delimiter(::std::string* repeated_delimiter) {
1896  if (repeated_delimiter_ != _default_repeated_delimiter_) {
1897  delete repeated_delimiter_;
1898  }
1899  if (repeated_delimiter) {
1900  set_has_repeated_delimiter();
1901  repeated_delimiter_ = repeated_delimiter;
1902  } else {
1903  clear_has_repeated_delimiter();
1904  repeated_delimiter_ = const_cast< ::std::string*>(_default_repeated_delimiter_);
1905  }
1906  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.PublishSerializer.repeated_delimiter)
1907 }
1908 
1909 // repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer.Algorithm algorithm = 5;
1910 inline int TranslatorEntry_PublishSerializer::algorithm_size() const {
1911  return algorithm_.size();
1912 }
1913 inline void TranslatorEntry_PublishSerializer::clear_algorithm() {
1914  algorithm_.Clear();
1915 }
1916 inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm& TranslatorEntry_PublishSerializer::algorithm(int index) const {
1917  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
1918  return algorithm_.Get(index);
1919 }
1920 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::mutable_algorithm(int index) {
1921  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
1922  return algorithm_.Mutable(index);
1923 }
1924 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm* TranslatorEntry_PublishSerializer::add_algorithm() {
1925  // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
1926  return algorithm_.Add();
1927 }
1928 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >&
1929 TranslatorEntry_PublishSerializer::algorithm() const {
1930  // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
1931  return algorithm_;
1932 }
1933 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer_Algorithm >*
1934 TranslatorEntry_PublishSerializer::mutable_algorithm() {
1935  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.PublishSerializer.algorithm)
1936  return &algorithm_;
1937 }
1938 
1939 // -------------------------------------------------------------------
1940 
1941 // TranslatorEntry
1942 
1943 // required string protobuf_name = 1;
1944 inline bool TranslatorEntry::has_protobuf_name() const {
1945  return (_has_bits_[0] & 0x00000001u) != 0;
1946 }
1947 inline void TranslatorEntry::set_has_protobuf_name() {
1948  _has_bits_[0] |= 0x00000001u;
1949 }
1950 inline void TranslatorEntry::clear_has_protobuf_name() {
1951  _has_bits_[0] &= ~0x00000001u;
1952 }
1953 inline void TranslatorEntry::clear_protobuf_name() {
1954  if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1955  protobuf_name_->clear();
1956  }
1957  clear_has_protobuf_name();
1958 }
1959 inline const ::std::string& TranslatorEntry::protobuf_name() const {
1960  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.protobuf_name)
1961  return *protobuf_name_;
1962 }
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;
1967  }
1968  protobuf_name_->assign(value);
1969  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.protobuf_name)
1970 }
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;
1975  }
1976  protobuf_name_->assign(value);
1977  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.TranslatorEntry.protobuf_name)
1978 }
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;
1983  }
1984  protobuf_name_->assign(reinterpret_cast<const char*>(value), size);
1985  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.TranslatorEntry.protobuf_name)
1986 }
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;
1991  }
1992  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.protobuf_name)
1993  return protobuf_name_;
1994 }
1995 inline ::std::string* TranslatorEntry::release_protobuf_name() {
1996  clear_has_protobuf_name();
1997  if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1998  return NULL;
1999  } else {
2000  ::std::string* temp = protobuf_name_;
2001  protobuf_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2002  return temp;
2003  }
2004 }
2005 inline void TranslatorEntry::set_allocated_protobuf_name(::std::string* protobuf_name) {
2006  if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2007  delete protobuf_name_;
2008  }
2009  if (protobuf_name) {
2010  set_has_protobuf_name();
2011  protobuf_name_ = protobuf_name;
2012  } else {
2013  clear_has_protobuf_name();
2014  protobuf_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2015  }
2016  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.protobuf_name)
2017 }
2018 
2019 // optional .goby.moos.protobuf.TranslatorEntry.Trigger trigger = 2;
2020 inline bool TranslatorEntry::has_trigger() const {
2021  return (_has_bits_[0] & 0x00000002u) != 0;
2022 }
2023 inline void TranslatorEntry::set_has_trigger() {
2024  _has_bits_[0] |= 0x00000002u;
2025 }
2026 inline void TranslatorEntry::clear_has_trigger() {
2027  _has_bits_[0] &= ~0x00000002u;
2028 }
2029 inline void TranslatorEntry::clear_trigger() {
2030  if (trigger_ != NULL) trigger_->::goby::moos::protobuf::TranslatorEntry_Trigger::Clear();
2031  clear_has_trigger();
2032 }
2033 inline const ::goby::moos::protobuf::TranslatorEntry_Trigger& TranslatorEntry::trigger() const {
2034  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.trigger)
2035  return trigger_ != NULL ? *trigger_ : *default_instance_->trigger_;
2036 }
2037 inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::mutable_trigger() {
2038  set_has_trigger();
2039  if (trigger_ == NULL) trigger_ = new ::goby::moos::protobuf::TranslatorEntry_Trigger;
2040  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.trigger)
2041  return trigger_;
2042 }
2043 inline ::goby::moos::protobuf::TranslatorEntry_Trigger* TranslatorEntry::release_trigger() {
2044  clear_has_trigger();
2046  trigger_ = NULL;
2047  return temp;
2048 }
2049 inline void TranslatorEntry::set_allocated_trigger(::goby::moos::protobuf::TranslatorEntry_Trigger* trigger) {
2050  delete trigger_;
2051  trigger_ = trigger;
2052  if (trigger) {
2053  set_has_trigger();
2054  } else {
2055  clear_has_trigger();
2056  }
2057  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.TranslatorEntry.trigger)
2058 }
2059 
2060 // repeated .goby.moos.protobuf.TranslatorEntry.CreateParser create = 3;
2061 inline int TranslatorEntry::create_size() const {
2062  return create_.size();
2063 }
2064 inline void TranslatorEntry::clear_create() {
2065  create_.Clear();
2066 }
2067 inline const ::goby::moos::protobuf::TranslatorEntry_CreateParser& TranslatorEntry::create(int index) const {
2068  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.create)
2069  return create_.Get(index);
2070 }
2071 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::mutable_create(int index) {
2072  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.create)
2073  return create_.Mutable(index);
2074 }
2075 inline ::goby::moos::protobuf::TranslatorEntry_CreateParser* TranslatorEntry::add_create() {
2076  // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.create)
2077  return create_.Add();
2078 }
2079 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >&
2080 TranslatorEntry::create() const {
2081  // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.create)
2082  return create_;
2083 }
2084 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_CreateParser >*
2085 TranslatorEntry::mutable_create() {
2086  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.create)
2087  return &create_;
2088 }
2089 
2090 // repeated .goby.moos.protobuf.TranslatorEntry.PublishSerializer publish = 4;
2091 inline int TranslatorEntry::publish_size() const {
2092  return publish_.size();
2093 }
2094 inline void TranslatorEntry::clear_publish() {
2095  publish_.Clear();
2096 }
2097 inline const ::goby::moos::protobuf::TranslatorEntry_PublishSerializer& TranslatorEntry::publish(int index) const {
2098  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.publish)
2099  return publish_.Get(index);
2100 }
2101 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::mutable_publish(int index) {
2102  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.TranslatorEntry.publish)
2103  return publish_.Mutable(index);
2104 }
2105 inline ::goby::moos::protobuf::TranslatorEntry_PublishSerializer* TranslatorEntry::add_publish() {
2106  // @@protoc_insertion_point(field_add:goby.moos.protobuf.TranslatorEntry.publish)
2107  return publish_.Add();
2108 }
2109 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >&
2110 TranslatorEntry::publish() const {
2111  // @@protoc_insertion_point(field_list:goby.moos.protobuf.TranslatorEntry.publish)
2112  return publish_;
2113 }
2114 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::TranslatorEntry_PublishSerializer >*
2115 TranslatorEntry::mutable_publish() {
2116  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.TranslatorEntry.publish)
2117  return &publish_;
2118 }
2119 
2120 // optional bool use_short_enum = 5 [default = false];
2121 inline bool TranslatorEntry::has_use_short_enum() const {
2122  return (_has_bits_[0] & 0x00000010u) != 0;
2123 }
2124 inline void TranslatorEntry::set_has_use_short_enum() {
2125  _has_bits_[0] |= 0x00000010u;
2126 }
2127 inline void TranslatorEntry::clear_has_use_short_enum() {
2128  _has_bits_[0] &= ~0x00000010u;
2129 }
2130 inline void TranslatorEntry::clear_use_short_enum() {
2131  use_short_enum_ = false;
2132  clear_has_use_short_enum();
2133 }
2134 inline bool TranslatorEntry::use_short_enum() const {
2135  // @@protoc_insertion_point(field_get:goby.moos.protobuf.TranslatorEntry.use_short_enum)
2136  return use_short_enum_;
2137 }
2138 inline void TranslatorEntry::set_use_short_enum(bool value) {
2139  set_has_use_short_enum();
2140  use_short_enum_ = value;
2141  // @@protoc_insertion_point(field_set:goby.moos.protobuf.TranslatorEntry.use_short_enum)
2142 }
2143 
2144 
2145 // @@protoc_insertion_point(namespace_scope)
2146 
2147 } // namespace protobuf
2148 } // namespace moos
2149 } // namespace goby
2150 
2151 #ifndef SWIG
2152 namespace google {
2153 namespace protobuf {
2154 
2155 template <> struct is_proto_enum< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type> : ::google::protobuf::internal::true_type {};
2156 template <>
2157 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_Trigger_Type>() {
2158  return ::goby::moos::protobuf::TranslatorEntry_Trigger_Type_descriptor();
2159 }
2160 template <> struct is_proto_enum< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique> : ::google::protobuf::internal::true_type {};
2161 template <>
2162 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique>() {
2163  return ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique_descriptor();
2164 }
2165 
2166 } // namespace google
2167 } // namespace protobuf
2168 #endif // SWIG
2169 
2170 // @@protoc_insertion_point(global_scope)
2171 
2172 #endif // PROTOBUF_goby_2fmoos_2fprotobuf_2ftranslator_2eproto__INCLUDED
The global namespace for the Goby project.