Goby v2
transitional.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/moos/protobuf/transitional.proto
3 
4 #ifndef PROTOBUF_goby_2fmoos_2fprotobuf_2ftransitional_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fmoos_2fprotobuf_2ftransitional_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/acomms/protobuf/manipulator.pb.h"
29 #include "goby/common/protobuf/option_extensions.pb.h"
30 #include <boost/units/quantity.hpp>
31 #include <boost/units/absolute.hpp>
32 #include <boost/units/dimensionless_type.hpp>
33 #include <boost/units/make_scaled_unit.hpp>
34 // @@protoc_insertion_point(includes)
35 
36 namespace goby {
37 namespace transitional {
38 namespace protobuf {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
42 void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
43 void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
44 
45 class DCCLTransitionalConfig;
46 class MessageFile;
47 class QueueKey;
48 class QueueConfig;
49 
50 enum QueueType {
51  QUEUE_DCCL = 1,
52  QUEUE_CCL = 2
53 };
54 bool QueueType_IsValid(int value);
55 const QueueType QueueType_MIN = QUEUE_DCCL;
56 const QueueType QueueType_MAX = QUEUE_CCL;
57 const int QueueType_ARRAYSIZE = QueueType_MAX + 1;
58 
59 const ::google::protobuf::EnumDescriptor* QueueType_descriptor();
60 inline const ::std::string& QueueType_Name(QueueType value) {
61  return ::google::protobuf::internal::NameOfEnum(
62  QueueType_descriptor(), value);
63 }
64 inline bool QueueType_Parse(
65  const ::std::string& name, QueueType* value) {
66  return ::google::protobuf::internal::ParseNamedEnum<QueueType>(
67  QueueType_descriptor(), name, value);
68 }
69 // ===================================================================
70 
71 class DCCLTransitionalConfig : public ::google::protobuf::Message {
72  public:
74  virtual ~DCCLTransitionalConfig();
75 
77 
78  inline DCCLTransitionalConfig& operator=(const DCCLTransitionalConfig& from) {
79  CopyFrom(from);
80  return *this;
81  }
82 
83  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
84  return _unknown_fields_;
85  }
86 
87  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
88  return &_unknown_fields_;
89  }
90 
91  static const ::google::protobuf::Descriptor* descriptor();
92  static const DCCLTransitionalConfig& default_instance();
93 
94  void Swap(DCCLTransitionalConfig* other);
95 
96  // implements Message ----------------------------------------------
97 
98  DCCLTransitionalConfig* New() const;
99  void CopyFrom(const ::google::protobuf::Message& from);
100  void MergeFrom(const ::google::protobuf::Message& from);
101  void CopyFrom(const DCCLTransitionalConfig& from);
102  void MergeFrom(const DCCLTransitionalConfig& from);
103  void Clear();
104  bool IsInitialized() const;
105 
106  int ByteSize() const;
107  bool MergePartialFromCodedStream(
108  ::google::protobuf::io::CodedInputStream* input);
109  void SerializeWithCachedSizes(
110  ::google::protobuf::io::CodedOutputStream* output) const;
111  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
112  int GetCachedSize() const { return _cached_size_; }
113  private:
114  void SharedCtor();
115  void SharedDtor();
116  void SetCachedSize(int size) const;
117  public:
118  ::google::protobuf::Metadata GetMetadata() const;
119 
120  // nested types ----------------------------------------------------
121 
122  // accessors -------------------------------------------------------
123 
124  // optional int32 modem_id = 1;
125  inline bool has_modem_id() const;
126  inline void clear_modem_id();
127  static const int kModemIdFieldNumber = 1;
128  inline ::google::protobuf::int32 modem_id() const;
129  inline void set_modem_id(::google::protobuf::int32 value);
130 
131  // repeated .goby.transitional.protobuf.MessageFile message_file = 2;
132  inline int message_file_size() const;
133  inline void clear_message_file();
134  static const int kMessageFileFieldNumber = 2;
135  inline const ::goby::transitional::protobuf::MessageFile& message_file(int index) const;
136  inline ::goby::transitional::protobuf::MessageFile* mutable_message_file(int index);
137  inline ::goby::transitional::protobuf::MessageFile* add_message_file();
138  inline const ::google::protobuf::RepeatedPtrField< ::goby::transitional::protobuf::MessageFile >&
139  message_file() const;
140  inline ::google::protobuf::RepeatedPtrField< ::goby::transitional::protobuf::MessageFile >*
141  mutable_message_file();
142 
143  // optional string generated_proto_dir = 4 [default = "/tmp"];
144  inline bool has_generated_proto_dir() const;
145  inline void clear_generated_proto_dir();
146  static const int kGeneratedProtoDirFieldNumber = 4;
147  inline const ::std::string& generated_proto_dir() const;
148  inline void set_generated_proto_dir(const ::std::string& value);
149  inline void set_generated_proto_dir(const char* value);
150  inline void set_generated_proto_dir(const char* value, size_t size);
151  inline ::std::string* mutable_generated_proto_dir();
152  inline ::std::string* release_generated_proto_dir();
153  inline void set_allocated_generated_proto_dir(::std::string* generated_proto_dir);
154 
155  // @@protoc_insertion_point(class_scope:goby.transitional.protobuf.DCCLTransitionalConfig)
156  private:
157  inline void set_has_modem_id();
158  inline void clear_has_modem_id();
159  inline void set_has_generated_proto_dir();
160  inline void clear_has_generated_proto_dir();
161 
162  ::google::protobuf::UnknownFieldSet _unknown_fields_;
163 
164  ::google::protobuf::uint32 _has_bits_[1];
165  mutable int _cached_size_;
166  ::google::protobuf::RepeatedPtrField< ::goby::transitional::protobuf::MessageFile > message_file_;
167  static ::std::string* _default_generated_proto_dir_;
168  ::std::string* generated_proto_dir_;
169  ::google::protobuf::int32 modem_id_;
170  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
171  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
172  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
173 
174  void InitAsDefaultInstance();
175  static DCCLTransitionalConfig* default_instance_;
176 };
177 // -------------------------------------------------------------------
178 
179 class MessageFile : public ::google::protobuf::Message {
180  public:
181  MessageFile();
182  virtual ~MessageFile();
183 
184  MessageFile(const MessageFile& from);
185 
186  inline MessageFile& operator=(const MessageFile& from) {
187  CopyFrom(from);
188  return *this;
189  }
190 
191  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
192  return _unknown_fields_;
193  }
194 
195  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
196  return &_unknown_fields_;
197  }
198 
199  static const ::google::protobuf::Descriptor* descriptor();
200  static const MessageFile& default_instance();
201 
202  void Swap(MessageFile* other);
203 
204  // implements Message ----------------------------------------------
205 
206  MessageFile* New() const;
207  void CopyFrom(const ::google::protobuf::Message& from);
208  void MergeFrom(const ::google::protobuf::Message& from);
209  void CopyFrom(const MessageFile& from);
210  void MergeFrom(const MessageFile& from);
211  void Clear();
212  bool IsInitialized() const;
213 
214  int ByteSize() const;
215  bool MergePartialFromCodedStream(
216  ::google::protobuf::io::CodedInputStream* input);
217  void SerializeWithCachedSizes(
218  ::google::protobuf::io::CodedOutputStream* output) const;
219  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
220  int GetCachedSize() const { return _cached_size_; }
221  private:
222  void SharedCtor();
223  void SharedDtor();
224  void SetCachedSize(int size) const;
225  public:
226  ::google::protobuf::Metadata GetMetadata() const;
227 
228  // nested types ----------------------------------------------------
229 
230  // accessors -------------------------------------------------------
231 
232  // required string path = 1;
233  inline bool has_path() const;
234  inline void clear_path();
235  static const int kPathFieldNumber = 1;
236  inline const ::std::string& path() const;
237  inline void set_path(const ::std::string& value);
238  inline void set_path(const char* value);
239  inline void set_path(const char* value, size_t size);
240  inline ::std::string* mutable_path();
241  inline ::std::string* release_path();
242  inline void set_allocated_path(::std::string* path);
243 
244  // repeated .goby.acomms.protobuf.Manipulator manipulator = 2;
245  inline int manipulator_size() const;
246  inline void clear_manipulator();
247  static const int kManipulatorFieldNumber = 2;
248  inline ::goby::acomms::protobuf::Manipulator manipulator(int index) const;
249  inline void set_manipulator(int index, ::goby::acomms::protobuf::Manipulator value);
250  inline void add_manipulator(::goby::acomms::protobuf::Manipulator value);
251  inline const ::google::protobuf::RepeatedField<int>& manipulator() const;
252  inline ::google::protobuf::RepeatedField<int>* mutable_manipulator();
253 
254  // @@protoc_insertion_point(class_scope:goby.transitional.protobuf.MessageFile)
255  private:
256  inline void set_has_path();
257  inline void clear_has_path();
258 
259  ::google::protobuf::UnknownFieldSet _unknown_fields_;
260 
261  ::google::protobuf::uint32 _has_bits_[1];
262  mutable int _cached_size_;
263  ::std::string* path_;
264  ::google::protobuf::RepeatedField<int> manipulator_;
265  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
266  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
267  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
268 
269  void InitAsDefaultInstance();
270  static MessageFile* default_instance_;
271 };
272 // -------------------------------------------------------------------
273 
274 class QueueKey : public ::google::protobuf::Message {
275  public:
276  QueueKey();
277  virtual ~QueueKey();
278 
279  QueueKey(const QueueKey& from);
280 
281  inline QueueKey& operator=(const QueueKey& from) {
282  CopyFrom(from);
283  return *this;
284  }
285 
286  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
287  return _unknown_fields_;
288  }
289 
290  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
291  return &_unknown_fields_;
292  }
293 
294  static const ::google::protobuf::Descriptor* descriptor();
295  static const QueueKey& default_instance();
296 
297  void Swap(QueueKey* other);
298 
299  // implements Message ----------------------------------------------
300 
301  QueueKey* New() const;
302  void CopyFrom(const ::google::protobuf::Message& from);
303  void MergeFrom(const ::google::protobuf::Message& from);
304  void CopyFrom(const QueueKey& from);
305  void MergeFrom(const QueueKey& from);
306  void Clear();
307  bool IsInitialized() const;
308 
309  int ByteSize() const;
310  bool MergePartialFromCodedStream(
311  ::google::protobuf::io::CodedInputStream* input);
312  void SerializeWithCachedSizes(
313  ::google::protobuf::io::CodedOutputStream* output) const;
314  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
315  int GetCachedSize() const { return _cached_size_; }
316  private:
317  void SharedCtor();
318  void SharedDtor();
319  void SetCachedSize(int size) const;
320  public:
321  ::google::protobuf::Metadata GetMetadata() const;
322 
323  // nested types ----------------------------------------------------
324 
325  // accessors -------------------------------------------------------
326 
327  // required .goby.transitional.protobuf.QueueType type = 1 [default = QUEUE_DCCL];
328  inline bool has_type() const;
329  inline void clear_type();
330  static const int kTypeFieldNumber = 1;
331  inline ::goby::transitional::protobuf::QueueType type() const;
332  inline void set_type(::goby::transitional::protobuf::QueueType value);
333 
334  // required uint32 id = 2;
335  inline bool has_id() const;
336  inline void clear_id();
337  static const int kIdFieldNumber = 2;
338  inline ::google::protobuf::uint32 id() const;
339  inline void set_id(::google::protobuf::uint32 value);
340 
341  // @@protoc_insertion_point(class_scope:goby.transitional.protobuf.QueueKey)
342  private:
343  inline void set_has_type();
344  inline void clear_has_type();
345  inline void set_has_id();
346  inline void clear_has_id();
347 
348  ::google::protobuf::UnknownFieldSet _unknown_fields_;
349 
350  ::google::protobuf::uint32 _has_bits_[1];
351  mutable int _cached_size_;
352  int type_;
353  ::google::protobuf::uint32 id_;
354  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
355  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
356  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
357 
358  void InitAsDefaultInstance();
359  static QueueKey* default_instance_;
360 };
361 // -------------------------------------------------------------------
362 
363 class QueueConfig : public ::google::protobuf::Message {
364  public:
365  QueueConfig();
366  virtual ~QueueConfig();
367 
368  QueueConfig(const QueueConfig& from);
369 
370  inline QueueConfig& operator=(const QueueConfig& from) {
371  CopyFrom(from);
372  return *this;
373  }
374 
375  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
376  return _unknown_fields_;
377  }
378 
379  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
380  return &_unknown_fields_;
381  }
382 
383  static const ::google::protobuf::Descriptor* descriptor();
384  static const QueueConfig& default_instance();
385 
386  void Swap(QueueConfig* other);
387 
388  // implements Message ----------------------------------------------
389 
390  QueueConfig* New() const;
391  void CopyFrom(const ::google::protobuf::Message& from);
392  void MergeFrom(const ::google::protobuf::Message& from);
393  void CopyFrom(const QueueConfig& from);
394  void MergeFrom(const QueueConfig& from);
395  void Clear();
396  bool IsInitialized() const;
397 
398  int ByteSize() const;
399  bool MergePartialFromCodedStream(
400  ::google::protobuf::io::CodedInputStream* input);
401  void SerializeWithCachedSizes(
402  ::google::protobuf::io::CodedOutputStream* output) const;
403  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
404  int GetCachedSize() const { return _cached_size_; }
405  private:
406  void SharedCtor();
407  void SharedDtor();
408  void SetCachedSize(int size) const;
409  public:
410  ::google::protobuf::Metadata GetMetadata() const;
411 
412  // nested types ----------------------------------------------------
413 
414  // accessors -------------------------------------------------------
415 
416  // optional bool ack = 1 [default = true];
417  inline bool has_ack() const;
418  inline void clear_ack();
419  static const int kAckFieldNumber = 1;
420  inline bool ack() const;
421  inline void set_ack(bool value);
422 
423  // optional uint32 blackout_time = 2 [default = 0];
424  inline bool has_blackout_time() const;
425  inline void clear_blackout_time();
426  static const int kBlackoutTimeFieldNumber = 2;
427  inline ::google::protobuf::uint32 blackout_time() const;
428  inline void set_blackout_time(::google::protobuf::uint32 value);
429 
430  // optional uint32 max_queue = 3 [default = 0];
431  inline bool has_max_queue() const;
432  inline void clear_max_queue();
433  static const int kMaxQueueFieldNumber = 3;
434  inline ::google::protobuf::uint32 max_queue() const;
435  inline void set_max_queue(::google::protobuf::uint32 value);
436 
437  // optional bool newest_first = 4 [default = true];
438  inline bool has_newest_first() const;
439  inline void clear_newest_first();
440  static const int kNewestFirstFieldNumber = 4;
441  inline bool newest_first() const;
442  inline void set_newest_first(bool value);
443 
444  // optional double value_base = 5 [default = 1];
445  inline bool has_value_base() const;
446  inline void clear_value_base();
447  static const int kValueBaseFieldNumber = 5;
448  inline double value_base() const;
449  inline void set_value_base(double value);
450 
451  // optional uint32 ttl = 6 [default = 1800];
452  inline bool has_ttl() const;
453  inline void clear_ttl();
454  static const int kTtlFieldNumber = 6;
455  inline ::google::protobuf::uint32 ttl() const;
456  inline void set_ttl(::google::protobuf::uint32 value);
457 
458  // optional .goby.transitional.protobuf.QueueKey key = 7;
459  inline bool has_key() const;
460  inline void clear_key();
461  static const int kKeyFieldNumber = 7;
462  inline const ::goby::transitional::protobuf::QueueKey& key() const;
463  inline ::goby::transitional::protobuf::QueueKey* mutable_key();
464  inline ::goby::transitional::protobuf::QueueKey* release_key();
465  inline void set_allocated_key(::goby::transitional::protobuf::QueueKey* key);
466 
467  // required string name = 8;
468  inline bool has_name() const;
469  inline void clear_name();
470  static const int kNameFieldNumber = 8;
471  inline const ::std::string& name() const;
472  inline void set_name(const ::std::string& value);
473  inline void set_name(const char* value);
474  inline void set_name(const char* value, size_t size);
475  inline ::std::string* mutable_name();
476  inline ::std::string* release_name();
477  inline void set_allocated_name(::std::string* name);
478 
479  // optional string in_pubsub_var = 9;
480  inline bool has_in_pubsub_var() const;
481  inline void clear_in_pubsub_var();
482  static const int kInPubsubVarFieldNumber = 9;
483  inline const ::std::string& in_pubsub_var() const;
484  inline void set_in_pubsub_var(const ::std::string& value);
485  inline void set_in_pubsub_var(const char* value);
486  inline void set_in_pubsub_var(const char* value, size_t size);
487  inline ::std::string* mutable_in_pubsub_var();
488  inline ::std::string* release_in_pubsub_var();
489  inline void set_allocated_in_pubsub_var(::std::string* in_pubsub_var);
490 
491  // optional string out_pubsub_var = 10;
492  inline bool has_out_pubsub_var() const;
493  inline void clear_out_pubsub_var();
494  static const int kOutPubsubVarFieldNumber = 10;
495  inline const ::std::string& out_pubsub_var() const;
496  inline void set_out_pubsub_var(const ::std::string& value);
497  inline void set_out_pubsub_var(const char* value);
498  inline void set_out_pubsub_var(const char* value, size_t size);
499  inline ::std::string* mutable_out_pubsub_var();
500  inline ::std::string* release_out_pubsub_var();
501  inline void set_allocated_out_pubsub_var(::std::string* out_pubsub_var);
502 
503  // @@protoc_insertion_point(class_scope:goby.transitional.protobuf.QueueConfig)
504  private:
505  inline void set_has_ack();
506  inline void clear_has_ack();
507  inline void set_has_blackout_time();
508  inline void clear_has_blackout_time();
509  inline void set_has_max_queue();
510  inline void clear_has_max_queue();
511  inline void set_has_newest_first();
512  inline void clear_has_newest_first();
513  inline void set_has_value_base();
514  inline void clear_has_value_base();
515  inline void set_has_ttl();
516  inline void clear_has_ttl();
517  inline void set_has_key();
518  inline void clear_has_key();
519  inline void set_has_name();
520  inline void clear_has_name();
521  inline void set_has_in_pubsub_var();
522  inline void clear_has_in_pubsub_var();
523  inline void set_has_out_pubsub_var();
524  inline void clear_has_out_pubsub_var();
525 
526  ::google::protobuf::UnknownFieldSet _unknown_fields_;
527 
528  ::google::protobuf::uint32 _has_bits_[1];
529  mutable int _cached_size_;
530  ::google::protobuf::uint32 blackout_time_;
531  bool ack_;
532  bool newest_first_;
533  ::google::protobuf::uint32 max_queue_;
534  ::google::protobuf::uint32 ttl_;
535  double value_base_;
537  ::std::string* name_;
538  ::std::string* in_pubsub_var_;
539  ::std::string* out_pubsub_var_;
540  friend void protobuf_AddDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
541  friend void protobuf_AssignDesc_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
542  friend void protobuf_ShutdownFile_goby_2fmoos_2fprotobuf_2ftransitional_2eproto();
543 
544  void InitAsDefaultInstance();
545  static QueueConfig* default_instance_;
546 };
547 // ===================================================================
548 
549 
550 // ===================================================================
551 
552 // DCCLTransitionalConfig
553 
554 // optional int32 modem_id = 1;
555 inline bool DCCLTransitionalConfig::has_modem_id() const {
556  return (_has_bits_[0] & 0x00000001u) != 0;
557 }
558 inline void DCCLTransitionalConfig::set_has_modem_id() {
559  _has_bits_[0] |= 0x00000001u;
560 }
561 inline void DCCLTransitionalConfig::clear_has_modem_id() {
562  _has_bits_[0] &= ~0x00000001u;
563 }
564 inline void DCCLTransitionalConfig::clear_modem_id() {
565  modem_id_ = 0;
566  clear_has_modem_id();
567 }
568 inline ::google::protobuf::int32 DCCLTransitionalConfig::modem_id() const {
569  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.DCCLTransitionalConfig.modem_id)
570  return modem_id_;
571 }
572 inline void DCCLTransitionalConfig::set_modem_id(::google::protobuf::int32 value) {
573  set_has_modem_id();
574  modem_id_ = value;
575  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.DCCLTransitionalConfig.modem_id)
576 }
577 
578 // repeated .goby.transitional.protobuf.MessageFile message_file = 2;
579 inline int DCCLTransitionalConfig::message_file_size() const {
580  return message_file_.size();
581 }
582 inline void DCCLTransitionalConfig::clear_message_file() {
583  message_file_.Clear();
584 }
585 inline const ::goby::transitional::protobuf::MessageFile& DCCLTransitionalConfig::message_file(int index) const {
586  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.DCCLTransitionalConfig.message_file)
587  return message_file_.Get(index);
588 }
589 inline ::goby::transitional::protobuf::MessageFile* DCCLTransitionalConfig::mutable_message_file(int index) {
590  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.DCCLTransitionalConfig.message_file)
591  return message_file_.Mutable(index);
592 }
593 inline ::goby::transitional::protobuf::MessageFile* DCCLTransitionalConfig::add_message_file() {
594  // @@protoc_insertion_point(field_add:goby.transitional.protobuf.DCCLTransitionalConfig.message_file)
595  return message_file_.Add();
596 }
597 inline const ::google::protobuf::RepeatedPtrField< ::goby::transitional::protobuf::MessageFile >&
598 DCCLTransitionalConfig::message_file() const {
599  // @@protoc_insertion_point(field_list:goby.transitional.protobuf.DCCLTransitionalConfig.message_file)
600  return message_file_;
601 }
602 inline ::google::protobuf::RepeatedPtrField< ::goby::transitional::protobuf::MessageFile >*
603 DCCLTransitionalConfig::mutable_message_file() {
604  // @@protoc_insertion_point(field_mutable_list:goby.transitional.protobuf.DCCLTransitionalConfig.message_file)
605  return &message_file_;
606 }
607 
608 // optional string generated_proto_dir = 4 [default = "/tmp"];
609 inline bool DCCLTransitionalConfig::has_generated_proto_dir() const {
610  return (_has_bits_[0] & 0x00000004u) != 0;
611 }
612 inline void DCCLTransitionalConfig::set_has_generated_proto_dir() {
613  _has_bits_[0] |= 0x00000004u;
614 }
615 inline void DCCLTransitionalConfig::clear_has_generated_proto_dir() {
616  _has_bits_[0] &= ~0x00000004u;
617 }
618 inline void DCCLTransitionalConfig::clear_generated_proto_dir() {
619  if (generated_proto_dir_ != _default_generated_proto_dir_) {
620  generated_proto_dir_->assign(*_default_generated_proto_dir_);
621  }
622  clear_has_generated_proto_dir();
623 }
624 inline const ::std::string& DCCLTransitionalConfig::generated_proto_dir() const {
625  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.DCCLTransitionalConfig.generated_proto_dir)
626  return *generated_proto_dir_;
627 }
628 inline void DCCLTransitionalConfig::set_generated_proto_dir(const ::std::string& value) {
629  set_has_generated_proto_dir();
630  if (generated_proto_dir_ == _default_generated_proto_dir_) {
631  generated_proto_dir_ = new ::std::string;
632  }
633  generated_proto_dir_->assign(value);
634  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.DCCLTransitionalConfig.generated_proto_dir)
635 }
636 inline void DCCLTransitionalConfig::set_generated_proto_dir(const char* value) {
637  set_has_generated_proto_dir();
638  if (generated_proto_dir_ == _default_generated_proto_dir_) {
639  generated_proto_dir_ = new ::std::string;
640  }
641  generated_proto_dir_->assign(value);
642  // @@protoc_insertion_point(field_set_char:goby.transitional.protobuf.DCCLTransitionalConfig.generated_proto_dir)
643 }
644 inline void DCCLTransitionalConfig::set_generated_proto_dir(const char* value, size_t size) {
645  set_has_generated_proto_dir();
646  if (generated_proto_dir_ == _default_generated_proto_dir_) {
647  generated_proto_dir_ = new ::std::string;
648  }
649  generated_proto_dir_->assign(reinterpret_cast<const char*>(value), size);
650  // @@protoc_insertion_point(field_set_pointer:goby.transitional.protobuf.DCCLTransitionalConfig.generated_proto_dir)
651 }
652 inline ::std::string* DCCLTransitionalConfig::mutable_generated_proto_dir() {
653  set_has_generated_proto_dir();
654  if (generated_proto_dir_ == _default_generated_proto_dir_) {
655  generated_proto_dir_ = new ::std::string(*_default_generated_proto_dir_);
656  }
657  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.DCCLTransitionalConfig.generated_proto_dir)
658  return generated_proto_dir_;
659 }
660 inline ::std::string* DCCLTransitionalConfig::release_generated_proto_dir() {
661  clear_has_generated_proto_dir();
662  if (generated_proto_dir_ == _default_generated_proto_dir_) {
663  return NULL;
664  } else {
665  ::std::string* temp = generated_proto_dir_;
666  generated_proto_dir_ = const_cast< ::std::string*>(_default_generated_proto_dir_);
667  return temp;
668  }
669 }
670 inline void DCCLTransitionalConfig::set_allocated_generated_proto_dir(::std::string* generated_proto_dir) {
671  if (generated_proto_dir_ != _default_generated_proto_dir_) {
672  delete generated_proto_dir_;
673  }
674  if (generated_proto_dir) {
675  set_has_generated_proto_dir();
676  generated_proto_dir_ = generated_proto_dir;
677  } else {
678  clear_has_generated_proto_dir();
679  generated_proto_dir_ = const_cast< ::std::string*>(_default_generated_proto_dir_);
680  }
681  // @@protoc_insertion_point(field_set_allocated:goby.transitional.protobuf.DCCLTransitionalConfig.generated_proto_dir)
682 }
683 
684 // -------------------------------------------------------------------
685 
686 // MessageFile
687 
688 // required string path = 1;
689 inline bool MessageFile::has_path() const {
690  return (_has_bits_[0] & 0x00000001u) != 0;
691 }
692 inline void MessageFile::set_has_path() {
693  _has_bits_[0] |= 0x00000001u;
694 }
695 inline void MessageFile::clear_has_path() {
696  _has_bits_[0] &= ~0x00000001u;
697 }
698 inline void MessageFile::clear_path() {
699  if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
700  path_->clear();
701  }
702  clear_has_path();
703 }
704 inline const ::std::string& MessageFile::path() const {
705  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.MessageFile.path)
706  return *path_;
707 }
708 inline void MessageFile::set_path(const ::std::string& value) {
709  set_has_path();
710  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
711  path_ = new ::std::string;
712  }
713  path_->assign(value);
714  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.MessageFile.path)
715 }
716 inline void MessageFile::set_path(const char* value) {
717  set_has_path();
718  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
719  path_ = new ::std::string;
720  }
721  path_->assign(value);
722  // @@protoc_insertion_point(field_set_char:goby.transitional.protobuf.MessageFile.path)
723 }
724 inline void MessageFile::set_path(const char* value, size_t size) {
725  set_has_path();
726  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
727  path_ = new ::std::string;
728  }
729  path_->assign(reinterpret_cast<const char*>(value), size);
730  // @@protoc_insertion_point(field_set_pointer:goby.transitional.protobuf.MessageFile.path)
731 }
732 inline ::std::string* MessageFile::mutable_path() {
733  set_has_path();
734  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
735  path_ = new ::std::string;
736  }
737  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.MessageFile.path)
738  return path_;
739 }
740 inline ::std::string* MessageFile::release_path() {
741  clear_has_path();
742  if (path_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
743  return NULL;
744  } else {
745  ::std::string* temp = path_;
746  path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
747  return temp;
748  }
749 }
750 inline void MessageFile::set_allocated_path(::std::string* path) {
751  if (path_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
752  delete path_;
753  }
754  if (path) {
755  set_has_path();
756  path_ = path;
757  } else {
758  clear_has_path();
759  path_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
760  }
761  // @@protoc_insertion_point(field_set_allocated:goby.transitional.protobuf.MessageFile.path)
762 }
763 
764 // repeated .goby.acomms.protobuf.Manipulator manipulator = 2;
765 inline int MessageFile::manipulator_size() const {
766  return manipulator_.size();
767 }
768 inline void MessageFile::clear_manipulator() {
769  manipulator_.Clear();
770 }
771 inline ::goby::acomms::protobuf::Manipulator MessageFile::manipulator(int index) const {
772  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.MessageFile.manipulator)
773  return static_cast< ::goby::acomms::protobuf::Manipulator >(manipulator_.Get(index));
774 }
775 inline void MessageFile::set_manipulator(int index, ::goby::acomms::protobuf::Manipulator value) {
776  assert(::goby::acomms::protobuf::Manipulator_IsValid(value));
777  manipulator_.Set(index, value);
778  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.MessageFile.manipulator)
779 }
780 inline void MessageFile::add_manipulator(::goby::acomms::protobuf::Manipulator value) {
781  assert(::goby::acomms::protobuf::Manipulator_IsValid(value));
782  manipulator_.Add(value);
783  // @@protoc_insertion_point(field_add:goby.transitional.protobuf.MessageFile.manipulator)
784 }
785 inline const ::google::protobuf::RepeatedField<int>&
786 MessageFile::manipulator() const {
787  // @@protoc_insertion_point(field_list:goby.transitional.protobuf.MessageFile.manipulator)
788  return manipulator_;
789 }
790 inline ::google::protobuf::RepeatedField<int>*
791 MessageFile::mutable_manipulator() {
792  // @@protoc_insertion_point(field_mutable_list:goby.transitional.protobuf.MessageFile.manipulator)
793  return &manipulator_;
794 }
795 
796 // -------------------------------------------------------------------
797 
798 // QueueKey
799 
800 // required .goby.transitional.protobuf.QueueType type = 1 [default = QUEUE_DCCL];
801 inline bool QueueKey::has_type() const {
802  return (_has_bits_[0] & 0x00000001u) != 0;
803 }
804 inline void QueueKey::set_has_type() {
805  _has_bits_[0] |= 0x00000001u;
806 }
807 inline void QueueKey::clear_has_type() {
808  _has_bits_[0] &= ~0x00000001u;
809 }
810 inline void QueueKey::clear_type() {
811  type_ = 1;
812  clear_has_type();
813 }
814 inline ::goby::transitional::protobuf::QueueType QueueKey::type() const {
815  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueKey.type)
816  return static_cast< ::goby::transitional::protobuf::QueueType >(type_);
817 }
818 inline void QueueKey::set_type(::goby::transitional::protobuf::QueueType value) {
819  assert(::goby::transitional::protobuf::QueueType_IsValid(value));
820  set_has_type();
821  type_ = value;
822  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueKey.type)
823 }
824 
825 // required uint32 id = 2;
826 inline bool QueueKey::has_id() const {
827  return (_has_bits_[0] & 0x00000002u) != 0;
828 }
829 inline void QueueKey::set_has_id() {
830  _has_bits_[0] |= 0x00000002u;
831 }
832 inline void QueueKey::clear_has_id() {
833  _has_bits_[0] &= ~0x00000002u;
834 }
835 inline void QueueKey::clear_id() {
836  id_ = 0u;
837  clear_has_id();
838 }
839 inline ::google::protobuf::uint32 QueueKey::id() const {
840  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueKey.id)
841  return id_;
842 }
843 inline void QueueKey::set_id(::google::protobuf::uint32 value) {
844  set_has_id();
845  id_ = value;
846  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueKey.id)
847 }
848 
849 // -------------------------------------------------------------------
850 
851 // QueueConfig
852 
853 // optional bool ack = 1 [default = true];
854 inline bool QueueConfig::has_ack() const {
855  return (_has_bits_[0] & 0x00000001u) != 0;
856 }
857 inline void QueueConfig::set_has_ack() {
858  _has_bits_[0] |= 0x00000001u;
859 }
860 inline void QueueConfig::clear_has_ack() {
861  _has_bits_[0] &= ~0x00000001u;
862 }
863 inline void QueueConfig::clear_ack() {
864  ack_ = true;
865  clear_has_ack();
866 }
867 inline bool QueueConfig::ack() const {
868  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.ack)
869  return ack_;
870 }
871 inline void QueueConfig::set_ack(bool value) {
872  set_has_ack();
873  ack_ = value;
874  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.ack)
875 }
876 
877 // optional uint32 blackout_time = 2 [default = 0];
878 inline bool QueueConfig::has_blackout_time() const {
879  return (_has_bits_[0] & 0x00000002u) != 0;
880 }
881 inline void QueueConfig::set_has_blackout_time() {
882  _has_bits_[0] |= 0x00000002u;
883 }
884 inline void QueueConfig::clear_has_blackout_time() {
885  _has_bits_[0] &= ~0x00000002u;
886 }
887 inline void QueueConfig::clear_blackout_time() {
888  blackout_time_ = 0u;
889  clear_has_blackout_time();
890 }
891 inline ::google::protobuf::uint32 QueueConfig::blackout_time() const {
892  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.blackout_time)
893  return blackout_time_;
894 }
895 inline void QueueConfig::set_blackout_time(::google::protobuf::uint32 value) {
896  set_has_blackout_time();
897  blackout_time_ = value;
898  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.blackout_time)
899 }
900 
901 // optional uint32 max_queue = 3 [default = 0];
902 inline bool QueueConfig::has_max_queue() const {
903  return (_has_bits_[0] & 0x00000004u) != 0;
904 }
905 inline void QueueConfig::set_has_max_queue() {
906  _has_bits_[0] |= 0x00000004u;
907 }
908 inline void QueueConfig::clear_has_max_queue() {
909  _has_bits_[0] &= ~0x00000004u;
910 }
911 inline void QueueConfig::clear_max_queue() {
912  max_queue_ = 0u;
913  clear_has_max_queue();
914 }
915 inline ::google::protobuf::uint32 QueueConfig::max_queue() const {
916  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.max_queue)
917  return max_queue_;
918 }
919 inline void QueueConfig::set_max_queue(::google::protobuf::uint32 value) {
920  set_has_max_queue();
921  max_queue_ = value;
922  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.max_queue)
923 }
924 
925 // optional bool newest_first = 4 [default = true];
926 inline bool QueueConfig::has_newest_first() const {
927  return (_has_bits_[0] & 0x00000008u) != 0;
928 }
929 inline void QueueConfig::set_has_newest_first() {
930  _has_bits_[0] |= 0x00000008u;
931 }
932 inline void QueueConfig::clear_has_newest_first() {
933  _has_bits_[0] &= ~0x00000008u;
934 }
935 inline void QueueConfig::clear_newest_first() {
936  newest_first_ = true;
937  clear_has_newest_first();
938 }
939 inline bool QueueConfig::newest_first() const {
940  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.newest_first)
941  return newest_first_;
942 }
943 inline void QueueConfig::set_newest_first(bool value) {
944  set_has_newest_first();
945  newest_first_ = value;
946  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.newest_first)
947 }
948 
949 // optional double value_base = 5 [default = 1];
950 inline bool QueueConfig::has_value_base() const {
951  return (_has_bits_[0] & 0x00000010u) != 0;
952 }
953 inline void QueueConfig::set_has_value_base() {
954  _has_bits_[0] |= 0x00000010u;
955 }
956 inline void QueueConfig::clear_has_value_base() {
957  _has_bits_[0] &= ~0x00000010u;
958 }
959 inline void QueueConfig::clear_value_base() {
960  value_base_ = 1;
961  clear_has_value_base();
962 }
963 inline double QueueConfig::value_base() const {
964  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.value_base)
965  return value_base_;
966 }
967 inline void QueueConfig::set_value_base(double value) {
968  set_has_value_base();
969  value_base_ = value;
970  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.value_base)
971 }
972 
973 // optional uint32 ttl = 6 [default = 1800];
974 inline bool QueueConfig::has_ttl() const {
975  return (_has_bits_[0] & 0x00000020u) != 0;
976 }
977 inline void QueueConfig::set_has_ttl() {
978  _has_bits_[0] |= 0x00000020u;
979 }
980 inline void QueueConfig::clear_has_ttl() {
981  _has_bits_[0] &= ~0x00000020u;
982 }
983 inline void QueueConfig::clear_ttl() {
984  ttl_ = 1800u;
985  clear_has_ttl();
986 }
987 inline ::google::protobuf::uint32 QueueConfig::ttl() const {
988  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.ttl)
989  return ttl_;
990 }
991 inline void QueueConfig::set_ttl(::google::protobuf::uint32 value) {
992  set_has_ttl();
993  ttl_ = value;
994  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.ttl)
995 }
996 
997 // optional .goby.transitional.protobuf.QueueKey key = 7;
998 inline bool QueueConfig::has_key() const {
999  return (_has_bits_[0] & 0x00000040u) != 0;
1000 }
1001 inline void QueueConfig::set_has_key() {
1002  _has_bits_[0] |= 0x00000040u;
1003 }
1004 inline void QueueConfig::clear_has_key() {
1005  _has_bits_[0] &= ~0x00000040u;
1006 }
1007 inline void QueueConfig::clear_key() {
1008  if (key_ != NULL) key_->::goby::transitional::protobuf::QueueKey::Clear();
1009  clear_has_key();
1010 }
1011 inline const ::goby::transitional::protobuf::QueueKey& QueueConfig::key() const {
1012  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.key)
1013  return key_ != NULL ? *key_ : *default_instance_->key_;
1014 }
1015 inline ::goby::transitional::protobuf::QueueKey* QueueConfig::mutable_key() {
1016  set_has_key();
1017  if (key_ == NULL) key_ = new ::goby::transitional::protobuf::QueueKey;
1018  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.QueueConfig.key)
1019  return key_;
1020 }
1021 inline ::goby::transitional::protobuf::QueueKey* QueueConfig::release_key() {
1022  clear_has_key();
1024  key_ = NULL;
1025  return temp;
1026 }
1027 inline void QueueConfig::set_allocated_key(::goby::transitional::protobuf::QueueKey* key) {
1028  delete key_;
1029  key_ = key;
1030  if (key) {
1031  set_has_key();
1032  } else {
1033  clear_has_key();
1034  }
1035  // @@protoc_insertion_point(field_set_allocated:goby.transitional.protobuf.QueueConfig.key)
1036 }
1037 
1038 // required string name = 8;
1039 inline bool QueueConfig::has_name() const {
1040  return (_has_bits_[0] & 0x00000080u) != 0;
1041 }
1042 inline void QueueConfig::set_has_name() {
1043  _has_bits_[0] |= 0x00000080u;
1044 }
1045 inline void QueueConfig::clear_has_name() {
1046  _has_bits_[0] &= ~0x00000080u;
1047 }
1048 inline void QueueConfig::clear_name() {
1049  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1050  name_->clear();
1051  }
1052  clear_has_name();
1053 }
1054 inline const ::std::string& QueueConfig::name() const {
1055  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.name)
1056  return *name_;
1057 }
1058 inline void QueueConfig::set_name(const ::std::string& value) {
1059  set_has_name();
1060  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1061  name_ = new ::std::string;
1062  }
1063  name_->assign(value);
1064  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.name)
1065 }
1066 inline void QueueConfig::set_name(const char* value) {
1067  set_has_name();
1068  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1069  name_ = new ::std::string;
1070  }
1071  name_->assign(value);
1072  // @@protoc_insertion_point(field_set_char:goby.transitional.protobuf.QueueConfig.name)
1073 }
1074 inline void QueueConfig::set_name(const char* value, size_t size) {
1075  set_has_name();
1076  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1077  name_ = new ::std::string;
1078  }
1079  name_->assign(reinterpret_cast<const char*>(value), size);
1080  // @@protoc_insertion_point(field_set_pointer:goby.transitional.protobuf.QueueConfig.name)
1081 }
1082 inline ::std::string* QueueConfig::mutable_name() {
1083  set_has_name();
1084  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1085  name_ = new ::std::string;
1086  }
1087  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.QueueConfig.name)
1088  return name_;
1089 }
1090 inline ::std::string* QueueConfig::release_name() {
1091  clear_has_name();
1092  if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1093  return NULL;
1094  } else {
1095  ::std::string* temp = name_;
1096  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1097  return temp;
1098  }
1099 }
1100 inline void QueueConfig::set_allocated_name(::std::string* name) {
1101  if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1102  delete name_;
1103  }
1104  if (name) {
1105  set_has_name();
1106  name_ = name;
1107  } else {
1108  clear_has_name();
1109  name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1110  }
1111  // @@protoc_insertion_point(field_set_allocated:goby.transitional.protobuf.QueueConfig.name)
1112 }
1113 
1114 // optional string in_pubsub_var = 9;
1115 inline bool QueueConfig::has_in_pubsub_var() const {
1116  return (_has_bits_[0] & 0x00000100u) != 0;
1117 }
1118 inline void QueueConfig::set_has_in_pubsub_var() {
1119  _has_bits_[0] |= 0x00000100u;
1120 }
1121 inline void QueueConfig::clear_has_in_pubsub_var() {
1122  _has_bits_[0] &= ~0x00000100u;
1123 }
1124 inline void QueueConfig::clear_in_pubsub_var() {
1125  if (in_pubsub_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1126  in_pubsub_var_->clear();
1127  }
1128  clear_has_in_pubsub_var();
1129 }
1130 inline const ::std::string& QueueConfig::in_pubsub_var() const {
1131  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.in_pubsub_var)
1132  return *in_pubsub_var_;
1133 }
1134 inline void QueueConfig::set_in_pubsub_var(const ::std::string& value) {
1135  set_has_in_pubsub_var();
1136  if (in_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1137  in_pubsub_var_ = new ::std::string;
1138  }
1139  in_pubsub_var_->assign(value);
1140  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.in_pubsub_var)
1141 }
1142 inline void QueueConfig::set_in_pubsub_var(const char* value) {
1143  set_has_in_pubsub_var();
1144  if (in_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1145  in_pubsub_var_ = new ::std::string;
1146  }
1147  in_pubsub_var_->assign(value);
1148  // @@protoc_insertion_point(field_set_char:goby.transitional.protobuf.QueueConfig.in_pubsub_var)
1149 }
1150 inline void QueueConfig::set_in_pubsub_var(const char* value, size_t size) {
1151  set_has_in_pubsub_var();
1152  if (in_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1153  in_pubsub_var_ = new ::std::string;
1154  }
1155  in_pubsub_var_->assign(reinterpret_cast<const char*>(value), size);
1156  // @@protoc_insertion_point(field_set_pointer:goby.transitional.protobuf.QueueConfig.in_pubsub_var)
1157 }
1158 inline ::std::string* QueueConfig::mutable_in_pubsub_var() {
1159  set_has_in_pubsub_var();
1160  if (in_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1161  in_pubsub_var_ = new ::std::string;
1162  }
1163  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.QueueConfig.in_pubsub_var)
1164  return in_pubsub_var_;
1165 }
1166 inline ::std::string* QueueConfig::release_in_pubsub_var() {
1167  clear_has_in_pubsub_var();
1168  if (in_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1169  return NULL;
1170  } else {
1171  ::std::string* temp = in_pubsub_var_;
1172  in_pubsub_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1173  return temp;
1174  }
1175 }
1176 inline void QueueConfig::set_allocated_in_pubsub_var(::std::string* in_pubsub_var) {
1177  if (in_pubsub_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1178  delete in_pubsub_var_;
1179  }
1180  if (in_pubsub_var) {
1181  set_has_in_pubsub_var();
1182  in_pubsub_var_ = in_pubsub_var;
1183  } else {
1184  clear_has_in_pubsub_var();
1185  in_pubsub_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1186  }
1187  // @@protoc_insertion_point(field_set_allocated:goby.transitional.protobuf.QueueConfig.in_pubsub_var)
1188 }
1189 
1190 // optional string out_pubsub_var = 10;
1191 inline bool QueueConfig::has_out_pubsub_var() const {
1192  return (_has_bits_[0] & 0x00000200u) != 0;
1193 }
1194 inline void QueueConfig::set_has_out_pubsub_var() {
1195  _has_bits_[0] |= 0x00000200u;
1196 }
1197 inline void QueueConfig::clear_has_out_pubsub_var() {
1198  _has_bits_[0] &= ~0x00000200u;
1199 }
1200 inline void QueueConfig::clear_out_pubsub_var() {
1201  if (out_pubsub_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1202  out_pubsub_var_->clear();
1203  }
1204  clear_has_out_pubsub_var();
1205 }
1206 inline const ::std::string& QueueConfig::out_pubsub_var() const {
1207  // @@protoc_insertion_point(field_get:goby.transitional.protobuf.QueueConfig.out_pubsub_var)
1208  return *out_pubsub_var_;
1209 }
1210 inline void QueueConfig::set_out_pubsub_var(const ::std::string& value) {
1211  set_has_out_pubsub_var();
1212  if (out_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1213  out_pubsub_var_ = new ::std::string;
1214  }
1215  out_pubsub_var_->assign(value);
1216  // @@protoc_insertion_point(field_set:goby.transitional.protobuf.QueueConfig.out_pubsub_var)
1217 }
1218 inline void QueueConfig::set_out_pubsub_var(const char* value) {
1219  set_has_out_pubsub_var();
1220  if (out_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1221  out_pubsub_var_ = new ::std::string;
1222  }
1223  out_pubsub_var_->assign(value);
1224  // @@protoc_insertion_point(field_set_char:goby.transitional.protobuf.QueueConfig.out_pubsub_var)
1225 }
1226 inline void QueueConfig::set_out_pubsub_var(const char* value, size_t size) {
1227  set_has_out_pubsub_var();
1228  if (out_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1229  out_pubsub_var_ = new ::std::string;
1230  }
1231  out_pubsub_var_->assign(reinterpret_cast<const char*>(value), size);
1232  // @@protoc_insertion_point(field_set_pointer:goby.transitional.protobuf.QueueConfig.out_pubsub_var)
1233 }
1234 inline ::std::string* QueueConfig::mutable_out_pubsub_var() {
1235  set_has_out_pubsub_var();
1236  if (out_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1237  out_pubsub_var_ = new ::std::string;
1238  }
1239  // @@protoc_insertion_point(field_mutable:goby.transitional.protobuf.QueueConfig.out_pubsub_var)
1240  return out_pubsub_var_;
1241 }
1242 inline ::std::string* QueueConfig::release_out_pubsub_var() {
1243  clear_has_out_pubsub_var();
1244  if (out_pubsub_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1245  return NULL;
1246  } else {
1247  ::std::string* temp = out_pubsub_var_;
1248  out_pubsub_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1249  return temp;
1250  }
1251 }
1252 inline void QueueConfig::set_allocated_out_pubsub_var(::std::string* out_pubsub_var) {
1253  if (out_pubsub_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1254  delete out_pubsub_var_;
1255  }
1256  if (out_pubsub_var) {
1257  set_has_out_pubsub_var();
1258  out_pubsub_var_ = out_pubsub_var;
1259  } else {
1260  clear_has_out_pubsub_var();
1261  out_pubsub_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1262  }
1263  // @@protoc_insertion_point(field_set_allocated:goby.transitional.protobuf.QueueConfig.out_pubsub_var)
1264 }
1265 
1266 
1267 // @@protoc_insertion_point(namespace_scope)
1268 
1269 } // namespace protobuf
1270 } // namespace transitional
1271 } // namespace goby
1272 
1273 #ifndef SWIG
1274 namespace google {
1275 namespace protobuf {
1276 
1277 template <> struct is_proto_enum< ::goby::transitional::protobuf::QueueType> : ::google::protobuf::internal::true_type {};
1278 template <>
1279 inline const EnumDescriptor* GetEnumDescriptor< ::goby::transitional::protobuf::QueueType>() {
1280  return ::goby::transitional::protobuf::QueueType_descriptor();
1281 }
1282 
1283 } // namespace google
1284 } // namespace protobuf
1285 #endif // SWIG
1286 
1287 // @@protoc_insertion_point(global_scope)
1288 
1289 #endif // PROTOBUF_goby_2fmoos_2fprotobuf_2ftransitional_2eproto__INCLUDED
The global namespace for the Goby project.