Goby v2
queue.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/queue.proto
3 
4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2fqueue_2eproto__INCLUDED
5 #define PROTOBUF_goby_2facomms_2fprotobuf_2fqueue_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 "goby/acomms/protobuf/manipulator.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 acomms {
38 namespace protobuf {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
42 void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
43 void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
44 
45 class QueuedMessageEntry;
46 class QueuedMessageEntry_Role;
47 class QueueManagerConfig;
48 class QueueManagerConfig_DCCLEncryptRule;
49 class QueueSize;
50 class QueueFlush;
51 class QueuedMessageMeta;
52 
53 enum QueuedMessageEntry_Role_RoleSetting {
54  QueuedMessageEntry_Role_RoleSetting_STATIC = 1,
55  QueuedMessageEntry_Role_RoleSetting_FIELD_VALUE = 2
56 };
57 bool QueuedMessageEntry_Role_RoleSetting_IsValid(int value);
58 const QueuedMessageEntry_Role_RoleSetting QueuedMessageEntry_Role_RoleSetting_RoleSetting_MIN = QueuedMessageEntry_Role_RoleSetting_STATIC;
59 const QueuedMessageEntry_Role_RoleSetting QueuedMessageEntry_Role_RoleSetting_RoleSetting_MAX = QueuedMessageEntry_Role_RoleSetting_FIELD_VALUE;
60 const int QueuedMessageEntry_Role_RoleSetting_RoleSetting_ARRAYSIZE = QueuedMessageEntry_Role_RoleSetting_RoleSetting_MAX + 1;
61 
62 const ::google::protobuf::EnumDescriptor* QueuedMessageEntry_Role_RoleSetting_descriptor();
63 inline const ::std::string& QueuedMessageEntry_Role_RoleSetting_Name(QueuedMessageEntry_Role_RoleSetting value) {
64  return ::google::protobuf::internal::NameOfEnum(
65  QueuedMessageEntry_Role_RoleSetting_descriptor(), value);
66 }
67 inline bool QueuedMessageEntry_Role_RoleSetting_Parse(
68  const ::std::string& name, QueuedMessageEntry_Role_RoleSetting* value) {
69  return ::google::protobuf::internal::ParseNamedEnum<QueuedMessageEntry_Role_RoleSetting>(
70  QueuedMessageEntry_Role_RoleSetting_descriptor(), name, value);
71 }
72 enum QueuedMessageEntry_RoleType {
73  QueuedMessageEntry_RoleType_SOURCE_ID = 1,
74  QueuedMessageEntry_RoleType_DESTINATION_ID = 2,
75  QueuedMessageEntry_RoleType_TIMESTAMP = 3
76 };
77 bool QueuedMessageEntry_RoleType_IsValid(int value);
78 const QueuedMessageEntry_RoleType QueuedMessageEntry_RoleType_RoleType_MIN = QueuedMessageEntry_RoleType_SOURCE_ID;
79 const QueuedMessageEntry_RoleType QueuedMessageEntry_RoleType_RoleType_MAX = QueuedMessageEntry_RoleType_TIMESTAMP;
80 const int QueuedMessageEntry_RoleType_RoleType_ARRAYSIZE = QueuedMessageEntry_RoleType_RoleType_MAX + 1;
81 
82 const ::google::protobuf::EnumDescriptor* QueuedMessageEntry_RoleType_descriptor();
83 inline const ::std::string& QueuedMessageEntry_RoleType_Name(QueuedMessageEntry_RoleType value) {
84  return ::google::protobuf::internal::NameOfEnum(
85  QueuedMessageEntry_RoleType_descriptor(), value);
86 }
87 inline bool QueuedMessageEntry_RoleType_Parse(
88  const ::std::string& name, QueuedMessageEntry_RoleType* value) {
89  return ::google::protobuf::internal::ParseNamedEnum<QueuedMessageEntry_RoleType>(
90  QueuedMessageEntry_RoleType_descriptor(), name, value);
91 }
92 // ===================================================================
93 
94 class QueuedMessageEntry_Role : public ::google::protobuf::Message {
95  public:
97  virtual ~QueuedMessageEntry_Role();
98 
100 
101  inline QueuedMessageEntry_Role& operator=(const QueuedMessageEntry_Role& from) {
102  CopyFrom(from);
103  return *this;
104  }
105 
106  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
107  return _unknown_fields_;
108  }
109 
110  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
111  return &_unknown_fields_;
112  }
113 
114  static const ::google::protobuf::Descriptor* descriptor();
115  static const QueuedMessageEntry_Role& default_instance();
116 
117  void Swap(QueuedMessageEntry_Role* other);
118 
119  // implements Message ----------------------------------------------
120 
121  QueuedMessageEntry_Role* New() const;
122  void CopyFrom(const ::google::protobuf::Message& from);
123  void MergeFrom(const ::google::protobuf::Message& from);
124  void CopyFrom(const QueuedMessageEntry_Role& from);
125  void MergeFrom(const QueuedMessageEntry_Role& from);
126  void Clear();
127  bool IsInitialized() const;
128 
129  int ByteSize() const;
130  bool MergePartialFromCodedStream(
131  ::google::protobuf::io::CodedInputStream* input);
132  void SerializeWithCachedSizes(
133  ::google::protobuf::io::CodedOutputStream* output) const;
134  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
135  int GetCachedSize() const { return _cached_size_; }
136  private:
137  void SharedCtor();
138  void SharedDtor();
139  void SetCachedSize(int size) const;
140  public:
141  ::google::protobuf::Metadata GetMetadata() const;
142 
143  // nested types ----------------------------------------------------
144 
145  typedef QueuedMessageEntry_Role_RoleSetting RoleSetting;
146  static const RoleSetting STATIC = QueuedMessageEntry_Role_RoleSetting_STATIC;
147  static const RoleSetting FIELD_VALUE = QueuedMessageEntry_Role_RoleSetting_FIELD_VALUE;
148  static inline bool RoleSetting_IsValid(int value) {
149  return QueuedMessageEntry_Role_RoleSetting_IsValid(value);
150  }
151  static const RoleSetting RoleSetting_MIN =
152  QueuedMessageEntry_Role_RoleSetting_RoleSetting_MIN;
153  static const RoleSetting RoleSetting_MAX =
154  QueuedMessageEntry_Role_RoleSetting_RoleSetting_MAX;
155  static const int RoleSetting_ARRAYSIZE =
156  QueuedMessageEntry_Role_RoleSetting_RoleSetting_ARRAYSIZE;
157  static inline const ::google::protobuf::EnumDescriptor*
158  RoleSetting_descriptor() {
159  return QueuedMessageEntry_Role_RoleSetting_descriptor();
160  }
161  static inline const ::std::string& RoleSetting_Name(RoleSetting value) {
162  return QueuedMessageEntry_Role_RoleSetting_Name(value);
163  }
164  static inline bool RoleSetting_Parse(const ::std::string& name,
165  RoleSetting* value) {
166  return QueuedMessageEntry_Role_RoleSetting_Parse(name, value);
167  }
168 
169  // accessors -------------------------------------------------------
170 
171  // required .goby.acomms.protobuf.QueuedMessageEntry.RoleType type = 1;
172  inline bool has_type() const;
173  inline void clear_type();
174  static const int kTypeFieldNumber = 1;
175  inline ::goby::acomms::protobuf::QueuedMessageEntry_RoleType type() const;
176  inline void set_type(::goby::acomms::protobuf::QueuedMessageEntry_RoleType value);
177 
178  // optional .goby.acomms.protobuf.QueuedMessageEntry.Role.RoleSetting setting = 2 [default = FIELD_VALUE];
179  inline bool has_setting() const;
180  inline void clear_setting();
181  static const int kSettingFieldNumber = 2;
182  inline ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting setting() const;
183  inline void set_setting(::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting value);
184 
185  // optional string field = 3;
186  inline bool has_field() const;
187  inline void clear_field();
188  static const int kFieldFieldNumber = 3;
189  inline const ::std::string& field() const;
190  inline void set_field(const ::std::string& value);
191  inline void set_field(const char* value);
192  inline void set_field(const char* value, size_t size);
193  inline ::std::string* mutable_field();
194  inline ::std::string* release_field();
195  inline void set_allocated_field(::std::string* field);
196 
197  // optional int32 static_value = 4;
198  inline bool has_static_value() const;
199  inline void clear_static_value();
200  static const int kStaticValueFieldNumber = 4;
201  inline ::google::protobuf::int32 static_value() const;
202  inline void set_static_value(::google::protobuf::int32 value);
203 
204  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueuedMessageEntry.Role)
205  private:
206  inline void set_has_type();
207  inline void clear_has_type();
208  inline void set_has_setting();
209  inline void clear_has_setting();
210  inline void set_has_field();
211  inline void clear_has_field();
212  inline void set_has_static_value();
213  inline void clear_has_static_value();
214 
215  ::google::protobuf::UnknownFieldSet _unknown_fields_;
216 
217  ::google::protobuf::uint32 _has_bits_[1];
218  mutable int _cached_size_;
219  int type_;
220  int setting_;
221  ::std::string* field_;
222  ::google::protobuf::int32 static_value_;
223  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
224  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
225  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
226 
227  void InitAsDefaultInstance();
228  static QueuedMessageEntry_Role* default_instance_;
229 };
230 // -------------------------------------------------------------------
231 
232 class QueuedMessageEntry : public ::google::protobuf::Message {
233  public:
235  virtual ~QueuedMessageEntry();
236 
238 
239  inline QueuedMessageEntry& operator=(const QueuedMessageEntry& from) {
240  CopyFrom(from);
241  return *this;
242  }
243 
244  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
245  return _unknown_fields_;
246  }
247 
248  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
249  return &_unknown_fields_;
250  }
251 
252  static const ::google::protobuf::Descriptor* descriptor();
253  static const QueuedMessageEntry& default_instance();
254 
255  void Swap(QueuedMessageEntry* other);
256 
257  // implements Message ----------------------------------------------
258 
259  QueuedMessageEntry* New() const;
260  void CopyFrom(const ::google::protobuf::Message& from);
261  void MergeFrom(const ::google::protobuf::Message& from);
262  void CopyFrom(const QueuedMessageEntry& from);
263  void MergeFrom(const QueuedMessageEntry& from);
264  void Clear();
265  bool IsInitialized() const;
266 
267  int ByteSize() const;
268  bool MergePartialFromCodedStream(
269  ::google::protobuf::io::CodedInputStream* input);
270  void SerializeWithCachedSizes(
271  ::google::protobuf::io::CodedOutputStream* output) const;
272  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
273  int GetCachedSize() const { return _cached_size_; }
274  private:
275  void SharedCtor();
276  void SharedDtor();
277  void SetCachedSize(int size) const;
278  public:
279  ::google::protobuf::Metadata GetMetadata() const;
280 
281  // nested types ----------------------------------------------------
282 
284 
285  typedef QueuedMessageEntry_RoleType RoleType;
286  static const RoleType SOURCE_ID = QueuedMessageEntry_RoleType_SOURCE_ID;
287  static const RoleType DESTINATION_ID = QueuedMessageEntry_RoleType_DESTINATION_ID;
288  static const RoleType TIMESTAMP = QueuedMessageEntry_RoleType_TIMESTAMP;
289  static inline bool RoleType_IsValid(int value) {
290  return QueuedMessageEntry_RoleType_IsValid(value);
291  }
292  static const RoleType RoleType_MIN =
293  QueuedMessageEntry_RoleType_RoleType_MIN;
294  static const RoleType RoleType_MAX =
295  QueuedMessageEntry_RoleType_RoleType_MAX;
296  static const int RoleType_ARRAYSIZE =
297  QueuedMessageEntry_RoleType_RoleType_ARRAYSIZE;
298  static inline const ::google::protobuf::EnumDescriptor*
299  RoleType_descriptor() {
300  return QueuedMessageEntry_RoleType_descriptor();
301  }
302  static inline const ::std::string& RoleType_Name(RoleType value) {
303  return QueuedMessageEntry_RoleType_Name(value);
304  }
305  static inline bool RoleType_Parse(const ::std::string& name,
306  RoleType* value) {
307  return QueuedMessageEntry_RoleType_Parse(name, value);
308  }
309 
310  // accessors -------------------------------------------------------
311 
312  // required string protobuf_name = 1;
313  inline bool has_protobuf_name() const;
314  inline void clear_protobuf_name();
315  static const int kProtobufNameFieldNumber = 1;
316  inline const ::std::string& protobuf_name() const;
317  inline void set_protobuf_name(const ::std::string& value);
318  inline void set_protobuf_name(const char* value);
319  inline void set_protobuf_name(const char* value, size_t size);
320  inline ::std::string* mutable_protobuf_name();
321  inline ::std::string* release_protobuf_name();
322  inline void set_allocated_protobuf_name(::std::string* protobuf_name);
323 
324  // optional bool ack = 2 [default = true];
325  inline bool has_ack() const;
326  inline void clear_ack();
327  static const int kAckFieldNumber = 2;
328  inline bool ack() const;
329  inline void set_ack(bool value);
330 
331  // optional uint32 blackout_time = 3 [default = 0];
332  inline bool has_blackout_time() const;
333  inline void clear_blackout_time();
334  static const int kBlackoutTimeFieldNumber = 3;
335  inline ::google::protobuf::uint32 blackout_time() const;
336  inline void set_blackout_time(::google::protobuf::uint32 value);
337 
338  // optional uint32 max_queue = 4 [default = 100];
339  inline bool has_max_queue() const;
340  inline void clear_max_queue();
341  static const int kMaxQueueFieldNumber = 4;
342  inline ::google::protobuf::uint32 max_queue() const;
343  inline void set_max_queue(::google::protobuf::uint32 value);
344 
345  // optional bool newest_first = 5 [default = true];
346  inline bool has_newest_first() const;
347  inline void clear_newest_first();
348  static const int kNewestFirstFieldNumber = 5;
349  inline bool newest_first() const;
350  inline void set_newest_first(bool value);
351 
352  // optional int32 ttl = 6 [default = 1800];
353  inline bool has_ttl() const;
354  inline void clear_ttl();
355  static const int kTtlFieldNumber = 6;
356  inline ::google::protobuf::int32 ttl() const;
357  inline void set_ttl(::google::protobuf::int32 value);
358 
359  // optional double value_base = 7 [default = 1];
360  inline bool has_value_base() const;
361  inline void clear_value_base();
362  static const int kValueBaseFieldNumber = 7;
363  inline double value_base() const;
364  inline void set_value_base(double value);
365 
366  // repeated .goby.acomms.protobuf.Manipulator manipulator = 10;
367  inline int manipulator_size() const;
368  inline void clear_manipulator();
369  static const int kManipulatorFieldNumber = 10;
370  inline ::goby::acomms::protobuf::Manipulator manipulator(int index) const;
371  inline void set_manipulator(int index, ::goby::acomms::protobuf::Manipulator value);
372  inline void add_manipulator(::goby::acomms::protobuf::Manipulator value);
373  inline const ::google::protobuf::RepeatedField<int>& manipulator() const;
374  inline ::google::protobuf::RepeatedField<int>* mutable_manipulator();
375 
376  // repeated .goby.acomms.protobuf.QueuedMessageEntry.Role role = 20;
377  inline int role_size() const;
378  inline void clear_role();
379  static const int kRoleFieldNumber = 20;
380  inline const ::goby::acomms::protobuf::QueuedMessageEntry_Role& role(int index) const;
381  inline ::goby::acomms::protobuf::QueuedMessageEntry_Role* mutable_role(int index);
382  inline ::goby::acomms::protobuf::QueuedMessageEntry_Role* add_role();
383  inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >&
384  role() const;
385  inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >*
386  mutable_role();
387 
388  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueuedMessageEntry)
389  private:
390  inline void set_has_protobuf_name();
391  inline void clear_has_protobuf_name();
392  inline void set_has_ack();
393  inline void clear_has_ack();
394  inline void set_has_blackout_time();
395  inline void clear_has_blackout_time();
396  inline void set_has_max_queue();
397  inline void clear_has_max_queue();
398  inline void set_has_newest_first();
399  inline void clear_has_newest_first();
400  inline void set_has_ttl();
401  inline void clear_has_ttl();
402  inline void set_has_value_base();
403  inline void clear_has_value_base();
404 
405  ::google::protobuf::UnknownFieldSet _unknown_fields_;
406 
407  ::google::protobuf::uint32 _has_bits_[1];
408  mutable int _cached_size_;
409  ::std::string* protobuf_name_;
410  ::google::protobuf::uint32 blackout_time_;
411  bool ack_;
412  bool newest_first_;
413  ::google::protobuf::uint32 max_queue_;
414  ::google::protobuf::int32 ttl_;
415  double value_base_;
416  ::google::protobuf::RepeatedField<int> manipulator_;
417  ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role > role_;
418  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
419  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
420  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
421 
422  void InitAsDefaultInstance();
423  static QueuedMessageEntry* default_instance_;
424 };
425 // -------------------------------------------------------------------
426 
427 class QueueManagerConfig_DCCLEncryptRule : public ::google::protobuf::Message {
428  public:
431 
433 
435  CopyFrom(from);
436  return *this;
437  }
438 
439  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
440  return _unknown_fields_;
441  }
442 
443  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
444  return &_unknown_fields_;
445  }
446 
447  static const ::google::protobuf::Descriptor* descriptor();
448  static const QueueManagerConfig_DCCLEncryptRule& default_instance();
449 
450  void Swap(QueueManagerConfig_DCCLEncryptRule* other);
451 
452  // implements Message ----------------------------------------------
453 
455  void CopyFrom(const ::google::protobuf::Message& from);
456  void MergeFrom(const ::google::protobuf::Message& from);
457  void CopyFrom(const QueueManagerConfig_DCCLEncryptRule& from);
458  void MergeFrom(const QueueManagerConfig_DCCLEncryptRule& from);
459  void Clear();
460  bool IsInitialized() const;
461 
462  int ByteSize() const;
463  bool MergePartialFromCodedStream(
464  ::google::protobuf::io::CodedInputStream* input);
465  void SerializeWithCachedSizes(
466  ::google::protobuf::io::CodedOutputStream* output) const;
467  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
468  int GetCachedSize() const { return _cached_size_; }
469  private:
470  void SharedCtor();
471  void SharedDtor();
472  void SetCachedSize(int size) const;
473  public:
474  ::google::protobuf::Metadata GetMetadata() const;
475 
476  // nested types ----------------------------------------------------
477 
478  // accessors -------------------------------------------------------
479 
480  // optional int32 id = 1;
481  inline bool has_id() const;
482  inline void clear_id();
483  static const int kIdFieldNumber = 1;
484  inline ::google::protobuf::int32 id() const;
485  inline void set_id(::google::protobuf::int32 value);
486 
487  // required string crypto_passphrase = 2;
488  inline bool has_crypto_passphrase() const;
489  inline void clear_crypto_passphrase();
490  static const int kCryptoPassphraseFieldNumber = 2;
491  inline const ::std::string& crypto_passphrase() const;
492  inline void set_crypto_passphrase(const ::std::string& value);
493  inline void set_crypto_passphrase(const char* value);
494  inline void set_crypto_passphrase(const char* value, size_t size);
495  inline ::std::string* mutable_crypto_passphrase();
496  inline ::std::string* release_crypto_passphrase();
497  inline void set_allocated_crypto_passphrase(::std::string* crypto_passphrase);
498 
499  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule)
500  private:
501  inline void set_has_id();
502  inline void clear_has_id();
503  inline void set_has_crypto_passphrase();
504  inline void clear_has_crypto_passphrase();
505 
506  ::google::protobuf::UnknownFieldSet _unknown_fields_;
507 
508  ::google::protobuf::uint32 _has_bits_[1];
509  mutable int _cached_size_;
510  ::std::string* crypto_passphrase_;
511  ::google::protobuf::int32 id_;
512  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
513  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
514  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
515 
516  void InitAsDefaultInstance();
517  static QueueManagerConfig_DCCLEncryptRule* default_instance_;
518 };
519 // -------------------------------------------------------------------
520 
521 class QueueManagerConfig : public ::google::protobuf::Message {
522  public:
524  virtual ~QueueManagerConfig();
525 
527 
528  inline QueueManagerConfig& operator=(const QueueManagerConfig& from) {
529  CopyFrom(from);
530  return *this;
531  }
532 
533  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
534  return _unknown_fields_;
535  }
536 
537  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
538  return &_unknown_fields_;
539  }
540 
541  static const ::google::protobuf::Descriptor* descriptor();
542  static const QueueManagerConfig& default_instance();
543 
544  void Swap(QueueManagerConfig* other);
545 
546  // implements Message ----------------------------------------------
547 
548  QueueManagerConfig* New() const;
549  void CopyFrom(const ::google::protobuf::Message& from);
550  void MergeFrom(const ::google::protobuf::Message& from);
551  void CopyFrom(const QueueManagerConfig& from);
552  void MergeFrom(const QueueManagerConfig& from);
553  void Clear();
554  bool IsInitialized() const;
555 
556  int ByteSize() const;
557  bool MergePartialFromCodedStream(
558  ::google::protobuf::io::CodedInputStream* input);
559  void SerializeWithCachedSizes(
560  ::google::protobuf::io::CodedOutputStream* output) const;
561  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
562  int GetCachedSize() const { return _cached_size_; }
563  private:
564  void SharedCtor();
565  void SharedDtor();
566  void SetCachedSize(int size) const;
567  public:
568  ::google::protobuf::Metadata GetMetadata() const;
569 
570  // nested types ----------------------------------------------------
571 
573 
574  // accessors -------------------------------------------------------
575 
576  // optional int32 modem_id = 1;
577  inline bool has_modem_id() const;
578  inline void clear_modem_id();
579  static const int kModemIdFieldNumber = 1;
580  inline ::google::protobuf::int32 modem_id() const;
581  inline void set_modem_id(::google::protobuf::int32 value);
582 
583  // repeated .goby.acomms.protobuf.QueuedMessageEntry message_entry = 10;
584  inline int message_entry_size() const;
585  inline void clear_message_entry();
586  static const int kMessageEntryFieldNumber = 10;
587  inline const ::goby::acomms::protobuf::QueuedMessageEntry& message_entry(int index) const;
588  inline ::goby::acomms::protobuf::QueuedMessageEntry* mutable_message_entry(int index);
589  inline ::goby::acomms::protobuf::QueuedMessageEntry* add_message_entry();
590  inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >&
591  message_entry() const;
592  inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >*
593  mutable_message_entry();
594 
595  // optional double on_demand_skew_seconds = 11 [default = 1];
596  inline bool has_on_demand_skew_seconds() const;
597  inline void clear_on_demand_skew_seconds();
598  static const int kOnDemandSkewSecondsFieldNumber = 11;
599  inline double on_demand_skew_seconds() const;
600  inline void set_on_demand_skew_seconds(double value);
601 
602  // optional double minimum_ack_wait_seconds = 20 [default = 0];
603  inline bool has_minimum_ack_wait_seconds() const;
604  inline void clear_minimum_ack_wait_seconds();
605  static const int kMinimumAckWaitSecondsFieldNumber = 20;
606  inline double minimum_ack_wait_seconds() const;
607  inline void set_minimum_ack_wait_seconds(double value);
608 
609  // optional bool skip_decoding = 21 [default = false];
610  inline bool has_skip_decoding() const;
611  inline void clear_skip_decoding();
612  static const int kSkipDecodingFieldNumber = 21;
613  inline bool skip_decoding() const;
614  inline void set_skip_decoding(bool value);
615 
616  // repeated int32 make_network_ack_for_src_id = 30;
617  inline int make_network_ack_for_src_id_size() const;
618  inline void clear_make_network_ack_for_src_id();
619  static const int kMakeNetworkAckForSrcIdFieldNumber = 30;
620  inline ::google::protobuf::int32 make_network_ack_for_src_id(int index) const;
621  inline void set_make_network_ack_for_src_id(int index, ::google::protobuf::int32 value);
622  inline void add_make_network_ack_for_src_id(::google::protobuf::int32 value);
623  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
624  make_network_ack_for_src_id() const;
625  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
626  mutable_make_network_ack_for_src_id();
627 
628  // repeated int32 route_for_additional_modem_id = 40;
629  inline int route_for_additional_modem_id_size() const;
630  inline void clear_route_for_additional_modem_id();
631  static const int kRouteForAdditionalModemIdFieldNumber = 40;
632  inline ::google::protobuf::int32 route_for_additional_modem_id(int index) const;
633  inline void set_route_for_additional_modem_id(int index, ::google::protobuf::int32 value);
634  inline void add_route_for_additional_modem_id(::google::protobuf::int32 value);
635  inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
636  route_for_additional_modem_id() const;
637  inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
638  mutable_route_for_additional_modem_id();
639 
640  // repeated .goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule encrypt_rule = 50;
641  inline int encrypt_rule_size() const;
642  inline void clear_encrypt_rule();
643  static const int kEncryptRuleFieldNumber = 50;
644  inline const ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule& encrypt_rule(int index) const;
645  inline ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule* mutable_encrypt_rule(int index);
646  inline ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule* add_encrypt_rule();
647  inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >&
648  encrypt_rule() const;
649  inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >*
650  mutable_encrypt_rule();
651 
652  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueueManagerConfig)
653  private:
654  inline void set_has_modem_id();
655  inline void clear_has_modem_id();
656  inline void set_has_on_demand_skew_seconds();
657  inline void clear_has_on_demand_skew_seconds();
658  inline void set_has_minimum_ack_wait_seconds();
659  inline void clear_has_minimum_ack_wait_seconds();
660  inline void set_has_skip_decoding();
661  inline void clear_has_skip_decoding();
662 
663  ::google::protobuf::UnknownFieldSet _unknown_fields_;
664 
665  ::google::protobuf::uint32 _has_bits_[1];
666  mutable int _cached_size_;
667  ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry > message_entry_;
668  double on_demand_skew_seconds_;
669  ::google::protobuf::int32 modem_id_;
670  bool skip_decoding_;
671  double minimum_ack_wait_seconds_;
672  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > make_network_ack_for_src_id_;
673  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > route_for_additional_modem_id_;
674  ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule > encrypt_rule_;
675  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
676  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
677  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
678 
679  void InitAsDefaultInstance();
680  static QueueManagerConfig* default_instance_;
681 };
682 // -------------------------------------------------------------------
683 
684 class QueueSize : public ::google::protobuf::Message {
685  public:
686  QueueSize();
687  virtual ~QueueSize();
688 
689  QueueSize(const QueueSize& from);
690 
691  inline QueueSize& operator=(const QueueSize& from) {
692  CopyFrom(from);
693  return *this;
694  }
695 
696  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
697  return _unknown_fields_;
698  }
699 
700  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
701  return &_unknown_fields_;
702  }
703 
704  static const ::google::protobuf::Descriptor* descriptor();
705  static const QueueSize& default_instance();
706 
707  void Swap(QueueSize* other);
708 
709  // implements Message ----------------------------------------------
710 
711  QueueSize* New() const;
712  void CopyFrom(const ::google::protobuf::Message& from);
713  void MergeFrom(const ::google::protobuf::Message& from);
714  void CopyFrom(const QueueSize& from);
715  void MergeFrom(const QueueSize& from);
716  void Clear();
717  bool IsInitialized() const;
718 
719  int ByteSize() const;
720  bool MergePartialFromCodedStream(
721  ::google::protobuf::io::CodedInputStream* input);
722  void SerializeWithCachedSizes(
723  ::google::protobuf::io::CodedOutputStream* output) const;
724  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
725  int GetCachedSize() const { return _cached_size_; }
726  private:
727  void SharedCtor();
728  void SharedDtor();
729  void SetCachedSize(int size) const;
730  public:
731  ::google::protobuf::Metadata GetMetadata() const;
732 
733  // nested types ----------------------------------------------------
734 
735  // accessors -------------------------------------------------------
736 
737  // required uint32 dccl_id = 1;
738  inline bool has_dccl_id() const;
739  inline void clear_dccl_id();
740  static const int kDcclIdFieldNumber = 1;
741  inline ::google::protobuf::uint32 dccl_id() const;
742  inline void set_dccl_id(::google::protobuf::uint32 value);
743 
744  // required uint32 size = 2;
745  inline bool has_size() const;
746  inline void clear_size();
747  static const int kSizeFieldNumber = 2;
748  inline ::google::protobuf::uint32 size() const;
749  inline void set_size(::google::protobuf::uint32 value);
750 
751  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueueSize)
752  private:
753  inline void set_has_dccl_id();
754  inline void clear_has_dccl_id();
755  inline void set_has_size();
756  inline void clear_has_size();
757 
758  ::google::protobuf::UnknownFieldSet _unknown_fields_;
759 
760  ::google::protobuf::uint32 _has_bits_[1];
761  mutable int _cached_size_;
762  ::google::protobuf::uint32 dccl_id_;
763  ::google::protobuf::uint32 size_;
764  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
765  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
766  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
767 
768  void InitAsDefaultInstance();
769  static QueueSize* default_instance_;
770 };
771 // -------------------------------------------------------------------
772 
773 class QueueFlush : public ::google::protobuf::Message {
774  public:
775  QueueFlush();
776  virtual ~QueueFlush();
777 
778  QueueFlush(const QueueFlush& from);
779 
780  inline QueueFlush& operator=(const QueueFlush& from) {
781  CopyFrom(from);
782  return *this;
783  }
784 
785  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
786  return _unknown_fields_;
787  }
788 
789  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
790  return &_unknown_fields_;
791  }
792 
793  static const ::google::protobuf::Descriptor* descriptor();
794  static const QueueFlush& default_instance();
795 
796  void Swap(QueueFlush* other);
797 
798  // implements Message ----------------------------------------------
799 
800  QueueFlush* New() const;
801  void CopyFrom(const ::google::protobuf::Message& from);
802  void MergeFrom(const ::google::protobuf::Message& from);
803  void CopyFrom(const QueueFlush& from);
804  void MergeFrom(const QueueFlush& from);
805  void Clear();
806  bool IsInitialized() const;
807 
808  int ByteSize() const;
809  bool MergePartialFromCodedStream(
810  ::google::protobuf::io::CodedInputStream* input);
811  void SerializeWithCachedSizes(
812  ::google::protobuf::io::CodedOutputStream* output) const;
813  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
814  int GetCachedSize() const { return _cached_size_; }
815  private:
816  void SharedCtor();
817  void SharedDtor();
818  void SetCachedSize(int size) const;
819  public:
820  ::google::protobuf::Metadata GetMetadata() const;
821 
822  // nested types ----------------------------------------------------
823 
824  // accessors -------------------------------------------------------
825 
826  // required uint32 dccl_id = 1;
827  inline bool has_dccl_id() const;
828  inline void clear_dccl_id();
829  static const int kDcclIdFieldNumber = 1;
830  inline ::google::protobuf::uint32 dccl_id() const;
831  inline void set_dccl_id(::google::protobuf::uint32 value);
832 
833  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueueFlush)
834  private:
835  inline void set_has_dccl_id();
836  inline void clear_has_dccl_id();
837 
838  ::google::protobuf::UnknownFieldSet _unknown_fields_;
839 
840  ::google::protobuf::uint32 _has_bits_[1];
841  mutable int _cached_size_;
842  ::google::protobuf::uint32 dccl_id_;
843  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
844  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
845  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
846 
847  void InitAsDefaultInstance();
848  static QueueFlush* default_instance_;
849 };
850 // -------------------------------------------------------------------
851 
852 class QueuedMessageMeta : public ::google::protobuf::Message {
853  public:
855  virtual ~QueuedMessageMeta();
856 
858 
859  inline QueuedMessageMeta& operator=(const QueuedMessageMeta& from) {
860  CopyFrom(from);
861  return *this;
862  }
863 
864  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
865  return _unknown_fields_;
866  }
867 
868  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
869  return &_unknown_fields_;
870  }
871 
872  static const ::google::protobuf::Descriptor* descriptor();
873  static const QueuedMessageMeta& default_instance();
874 
875  void Swap(QueuedMessageMeta* other);
876 
877  // implements Message ----------------------------------------------
878 
879  QueuedMessageMeta* New() const;
880  void CopyFrom(const ::google::protobuf::Message& from);
881  void MergeFrom(const ::google::protobuf::Message& from);
882  void CopyFrom(const QueuedMessageMeta& from);
883  void MergeFrom(const QueuedMessageMeta& from);
884  void Clear();
885  bool IsInitialized() const;
886 
887  int ByteSize() const;
888  bool MergePartialFromCodedStream(
889  ::google::protobuf::io::CodedInputStream* input);
890  void SerializeWithCachedSizes(
891  ::google::protobuf::io::CodedOutputStream* output) const;
892  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
893  int GetCachedSize() const { return _cached_size_; }
894  private:
895  void SharedCtor();
896  void SharedDtor();
897  void SetCachedSize(int size) const;
898  public:
899  ::google::protobuf::Metadata GetMetadata() const;
900 
901  // nested types ----------------------------------------------------
902 
903  // accessors -------------------------------------------------------
904 
905  // optional uint32 non_repeated_size = 1;
906  inline bool has_non_repeated_size() const;
907  inline void clear_non_repeated_size();
908  static const int kNonRepeatedSizeFieldNumber = 1;
909  inline ::google::protobuf::uint32 non_repeated_size() const;
910  inline void set_non_repeated_size(::google::protobuf::uint32 value);
911 
912  // optional bool ack_requested = 2;
913  inline bool has_ack_requested() const;
914  inline void clear_ack_requested();
915  static const int kAckRequestedFieldNumber = 2;
916  inline bool ack_requested() const;
917  inline void set_ack_requested(bool value);
918 
919  // optional int32 src = 3;
920  inline bool has_src() const;
921  inline void clear_src();
922  static const int kSrcFieldNumber = 3;
923  inline ::google::protobuf::int32 src() const;
924  inline void set_src(::google::protobuf::int32 value);
925 
926  // optional int32 dest = 4;
927  inline bool has_dest() const;
928  inline void clear_dest();
929  static const int kDestFieldNumber = 4;
930  inline ::google::protobuf::int32 dest() const;
931  inline void set_dest(::google::protobuf::int32 value);
932 
933  // optional uint64 time = 5;
934  inline bool has_time() const;
935  inline void clear_time();
936  static const int kTimeFieldNumber = 5;
937  inline ::google::protobuf::uint64 time() const;
938  inline void set_time(::google::protobuf::uint64 value);
939 
940  // optional uint64 last_sent_time = 10;
941  inline bool has_last_sent_time() const;
942  inline void clear_last_sent_time();
943  static const int kLastSentTimeFieldNumber = 10;
944  inline ::google::protobuf::uint64 last_sent_time() const;
945  inline void set_last_sent_time(::google::protobuf::uint64 value);
946 
947  // optional bytes encoded_message = 20;
948  inline bool has_encoded_message() const;
949  inline void clear_encoded_message();
950  static const int kEncodedMessageFieldNumber = 20;
951  inline const ::std::string& encoded_message() const;
952  inline void set_encoded_message(const ::std::string& value);
953  inline void set_encoded_message(const char* value);
954  inline void set_encoded_message(const void* value, size_t size);
955  inline ::std::string* mutable_encoded_message();
956  inline ::std::string* release_encoded_message();
957  inline void set_allocated_encoded_message(::std::string* encoded_message);
958 
959  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.QueuedMessageMeta)
960  private:
961  inline void set_has_non_repeated_size();
962  inline void clear_has_non_repeated_size();
963  inline void set_has_ack_requested();
964  inline void clear_has_ack_requested();
965  inline void set_has_src();
966  inline void clear_has_src();
967  inline void set_has_dest();
968  inline void clear_has_dest();
969  inline void set_has_time();
970  inline void clear_has_time();
971  inline void set_has_last_sent_time();
972  inline void clear_has_last_sent_time();
973  inline void set_has_encoded_message();
974  inline void clear_has_encoded_message();
975 
976  ::google::protobuf::UnknownFieldSet _unknown_fields_;
977 
978  ::google::protobuf::uint32 _has_bits_[1];
979  mutable int _cached_size_;
980  ::google::protobuf::uint32 non_repeated_size_;
981  bool ack_requested_;
982  ::google::protobuf::int32 src_;
983  ::google::protobuf::int32 dest_;
984  ::google::protobuf::uint64 time_;
985  ::google::protobuf::uint64 last_sent_time_;
986  ::std::string* encoded_message_;
987  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
988  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fqueue_2eproto();
989  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fqueue_2eproto();
990 
991  void InitAsDefaultInstance();
992  static QueuedMessageMeta* default_instance_;
993 };
994 // ===================================================================
995 
996 
997 // ===================================================================
998 
999 // QueuedMessageEntry_Role
1000 
1001 // required .goby.acomms.protobuf.QueuedMessageEntry.RoleType type = 1;
1002 inline bool QueuedMessageEntry_Role::has_type() const {
1003  return (_has_bits_[0] & 0x00000001u) != 0;
1004 }
1005 inline void QueuedMessageEntry_Role::set_has_type() {
1006  _has_bits_[0] |= 0x00000001u;
1007 }
1008 inline void QueuedMessageEntry_Role::clear_has_type() {
1009  _has_bits_[0] &= ~0x00000001u;
1010 }
1011 inline void QueuedMessageEntry_Role::clear_type() {
1012  type_ = 1;
1013  clear_has_type();
1014 }
1015 inline ::goby::acomms::protobuf::QueuedMessageEntry_RoleType QueuedMessageEntry_Role::type() const {
1016  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.Role.type)
1017  return static_cast< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType >(type_);
1018 }
1019 inline void QueuedMessageEntry_Role::set_type(::goby::acomms::protobuf::QueuedMessageEntry_RoleType value) {
1020  assert(::goby::acomms::protobuf::QueuedMessageEntry_RoleType_IsValid(value));
1021  set_has_type();
1022  type_ = value;
1023  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.Role.type)
1024 }
1025 
1026 // optional .goby.acomms.protobuf.QueuedMessageEntry.Role.RoleSetting setting = 2 [default = FIELD_VALUE];
1027 inline bool QueuedMessageEntry_Role::has_setting() const {
1028  return (_has_bits_[0] & 0x00000002u) != 0;
1029 }
1030 inline void QueuedMessageEntry_Role::set_has_setting() {
1031  _has_bits_[0] |= 0x00000002u;
1032 }
1033 inline void QueuedMessageEntry_Role::clear_has_setting() {
1034  _has_bits_[0] &= ~0x00000002u;
1035 }
1036 inline void QueuedMessageEntry_Role::clear_setting() {
1037  setting_ = 2;
1038  clear_has_setting();
1039 }
1040 inline ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting QueuedMessageEntry_Role::setting() const {
1041  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.Role.setting)
1042  return static_cast< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting >(setting_);
1043 }
1044 inline void QueuedMessageEntry_Role::set_setting(::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting value) {
1045  assert(::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting_IsValid(value));
1046  set_has_setting();
1047  setting_ = value;
1048  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.Role.setting)
1049 }
1050 
1051 // optional string field = 3;
1052 inline bool QueuedMessageEntry_Role::has_field() const {
1053  return (_has_bits_[0] & 0x00000004u) != 0;
1054 }
1055 inline void QueuedMessageEntry_Role::set_has_field() {
1056  _has_bits_[0] |= 0x00000004u;
1057 }
1058 inline void QueuedMessageEntry_Role::clear_has_field() {
1059  _has_bits_[0] &= ~0x00000004u;
1060 }
1061 inline void QueuedMessageEntry_Role::clear_field() {
1062  if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1063  field_->clear();
1064  }
1065  clear_has_field();
1066 }
1067 inline const ::std::string& QueuedMessageEntry_Role::field() const {
1068  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.Role.field)
1069  return *field_;
1070 }
1071 inline void QueuedMessageEntry_Role::set_field(const ::std::string& value) {
1072  set_has_field();
1073  if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1074  field_ = new ::std::string;
1075  }
1076  field_->assign(value);
1077  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.Role.field)
1078 }
1079 inline void QueuedMessageEntry_Role::set_field(const char* value) {
1080  set_has_field();
1081  if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1082  field_ = new ::std::string;
1083  }
1084  field_->assign(value);
1085  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.QueuedMessageEntry.Role.field)
1086 }
1087 inline void QueuedMessageEntry_Role::set_field(const char* value, size_t size) {
1088  set_has_field();
1089  if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1090  field_ = new ::std::string;
1091  }
1092  field_->assign(reinterpret_cast<const char*>(value), size);
1093  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.QueuedMessageEntry.Role.field)
1094 }
1095 inline ::std::string* QueuedMessageEntry_Role::mutable_field() {
1096  set_has_field();
1097  if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1098  field_ = new ::std::string;
1099  }
1100  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueuedMessageEntry.Role.field)
1101  return field_;
1102 }
1103 inline ::std::string* QueuedMessageEntry_Role::release_field() {
1104  clear_has_field();
1105  if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1106  return NULL;
1107  } else {
1108  ::std::string* temp = field_;
1109  field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1110  return temp;
1111  }
1112 }
1113 inline void QueuedMessageEntry_Role::set_allocated_field(::std::string* field) {
1114  if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1115  delete field_;
1116  }
1117  if (field) {
1118  set_has_field();
1119  field_ = field;
1120  } else {
1121  clear_has_field();
1122  field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1123  }
1124  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.QueuedMessageEntry.Role.field)
1125 }
1126 
1127 // optional int32 static_value = 4;
1128 inline bool QueuedMessageEntry_Role::has_static_value() const {
1129  return (_has_bits_[0] & 0x00000008u) != 0;
1130 }
1131 inline void QueuedMessageEntry_Role::set_has_static_value() {
1132  _has_bits_[0] |= 0x00000008u;
1133 }
1134 inline void QueuedMessageEntry_Role::clear_has_static_value() {
1135  _has_bits_[0] &= ~0x00000008u;
1136 }
1137 inline void QueuedMessageEntry_Role::clear_static_value() {
1138  static_value_ = 0;
1139  clear_has_static_value();
1140 }
1141 inline ::google::protobuf::int32 QueuedMessageEntry_Role::static_value() const {
1142  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.Role.static_value)
1143  return static_value_;
1144 }
1145 inline void QueuedMessageEntry_Role::set_static_value(::google::protobuf::int32 value) {
1146  set_has_static_value();
1147  static_value_ = value;
1148  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.Role.static_value)
1149 }
1150 
1151 // -------------------------------------------------------------------
1152 
1153 // QueuedMessageEntry
1154 
1155 // required string protobuf_name = 1;
1156 inline bool QueuedMessageEntry::has_protobuf_name() const {
1157  return (_has_bits_[0] & 0x00000001u) != 0;
1158 }
1159 inline void QueuedMessageEntry::set_has_protobuf_name() {
1160  _has_bits_[0] |= 0x00000001u;
1161 }
1162 inline void QueuedMessageEntry::clear_has_protobuf_name() {
1163  _has_bits_[0] &= ~0x00000001u;
1164 }
1165 inline void QueuedMessageEntry::clear_protobuf_name() {
1166  if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1167  protobuf_name_->clear();
1168  }
1169  clear_has_protobuf_name();
1170 }
1171 inline const ::std::string& QueuedMessageEntry::protobuf_name() const {
1172  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.protobuf_name)
1173  return *protobuf_name_;
1174 }
1175 inline void QueuedMessageEntry::set_protobuf_name(const ::std::string& value) {
1176  set_has_protobuf_name();
1177  if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1178  protobuf_name_ = new ::std::string;
1179  }
1180  protobuf_name_->assign(value);
1181  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.protobuf_name)
1182 }
1183 inline void QueuedMessageEntry::set_protobuf_name(const char* value) {
1184  set_has_protobuf_name();
1185  if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1186  protobuf_name_ = new ::std::string;
1187  }
1188  protobuf_name_->assign(value);
1189  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.QueuedMessageEntry.protobuf_name)
1190 }
1191 inline void QueuedMessageEntry::set_protobuf_name(const char* value, size_t size) {
1192  set_has_protobuf_name();
1193  if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1194  protobuf_name_ = new ::std::string;
1195  }
1196  protobuf_name_->assign(reinterpret_cast<const char*>(value), size);
1197  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.QueuedMessageEntry.protobuf_name)
1198 }
1199 inline ::std::string* QueuedMessageEntry::mutable_protobuf_name() {
1200  set_has_protobuf_name();
1201  if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1202  protobuf_name_ = new ::std::string;
1203  }
1204  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueuedMessageEntry.protobuf_name)
1205  return protobuf_name_;
1206 }
1207 inline ::std::string* QueuedMessageEntry::release_protobuf_name() {
1208  clear_has_protobuf_name();
1209  if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1210  return NULL;
1211  } else {
1212  ::std::string* temp = protobuf_name_;
1213  protobuf_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1214  return temp;
1215  }
1216 }
1217 inline void QueuedMessageEntry::set_allocated_protobuf_name(::std::string* protobuf_name) {
1218  if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1219  delete protobuf_name_;
1220  }
1221  if (protobuf_name) {
1222  set_has_protobuf_name();
1223  protobuf_name_ = protobuf_name;
1224  } else {
1225  clear_has_protobuf_name();
1226  protobuf_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1227  }
1228  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.QueuedMessageEntry.protobuf_name)
1229 }
1230 
1231 // optional bool ack = 2 [default = true];
1232 inline bool QueuedMessageEntry::has_ack() const {
1233  return (_has_bits_[0] & 0x00000002u) != 0;
1234 }
1235 inline void QueuedMessageEntry::set_has_ack() {
1236  _has_bits_[0] |= 0x00000002u;
1237 }
1238 inline void QueuedMessageEntry::clear_has_ack() {
1239  _has_bits_[0] &= ~0x00000002u;
1240 }
1241 inline void QueuedMessageEntry::clear_ack() {
1242  ack_ = true;
1243  clear_has_ack();
1244 }
1245 inline bool QueuedMessageEntry::ack() const {
1246  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.ack)
1247  return ack_;
1248 }
1249 inline void QueuedMessageEntry::set_ack(bool value) {
1250  set_has_ack();
1251  ack_ = value;
1252  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.ack)
1253 }
1254 
1255 // optional uint32 blackout_time = 3 [default = 0];
1256 inline bool QueuedMessageEntry::has_blackout_time() const {
1257  return (_has_bits_[0] & 0x00000004u) != 0;
1258 }
1259 inline void QueuedMessageEntry::set_has_blackout_time() {
1260  _has_bits_[0] |= 0x00000004u;
1261 }
1262 inline void QueuedMessageEntry::clear_has_blackout_time() {
1263  _has_bits_[0] &= ~0x00000004u;
1264 }
1265 inline void QueuedMessageEntry::clear_blackout_time() {
1266  blackout_time_ = 0u;
1267  clear_has_blackout_time();
1268 }
1269 inline ::google::protobuf::uint32 QueuedMessageEntry::blackout_time() const {
1270  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.blackout_time)
1271  return blackout_time_;
1272 }
1273 inline void QueuedMessageEntry::set_blackout_time(::google::protobuf::uint32 value) {
1274  set_has_blackout_time();
1275  blackout_time_ = value;
1276  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.blackout_time)
1277 }
1278 
1279 // optional uint32 max_queue = 4 [default = 100];
1280 inline bool QueuedMessageEntry::has_max_queue() const {
1281  return (_has_bits_[0] & 0x00000008u) != 0;
1282 }
1283 inline void QueuedMessageEntry::set_has_max_queue() {
1284  _has_bits_[0] |= 0x00000008u;
1285 }
1286 inline void QueuedMessageEntry::clear_has_max_queue() {
1287  _has_bits_[0] &= ~0x00000008u;
1288 }
1289 inline void QueuedMessageEntry::clear_max_queue() {
1290  max_queue_ = 100u;
1291  clear_has_max_queue();
1292 }
1293 inline ::google::protobuf::uint32 QueuedMessageEntry::max_queue() const {
1294  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.max_queue)
1295  return max_queue_;
1296 }
1297 inline void QueuedMessageEntry::set_max_queue(::google::protobuf::uint32 value) {
1298  set_has_max_queue();
1299  max_queue_ = value;
1300  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.max_queue)
1301 }
1302 
1303 // optional bool newest_first = 5 [default = true];
1304 inline bool QueuedMessageEntry::has_newest_first() const {
1305  return (_has_bits_[0] & 0x00000010u) != 0;
1306 }
1307 inline void QueuedMessageEntry::set_has_newest_first() {
1308  _has_bits_[0] |= 0x00000010u;
1309 }
1310 inline void QueuedMessageEntry::clear_has_newest_first() {
1311  _has_bits_[0] &= ~0x00000010u;
1312 }
1313 inline void QueuedMessageEntry::clear_newest_first() {
1314  newest_first_ = true;
1315  clear_has_newest_first();
1316 }
1317 inline bool QueuedMessageEntry::newest_first() const {
1318  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.newest_first)
1319  return newest_first_;
1320 }
1321 inline void QueuedMessageEntry::set_newest_first(bool value) {
1322  set_has_newest_first();
1323  newest_first_ = value;
1324  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.newest_first)
1325 }
1326 
1327 // optional int32 ttl = 6 [default = 1800];
1328 inline bool QueuedMessageEntry::has_ttl() const {
1329  return (_has_bits_[0] & 0x00000020u) != 0;
1330 }
1331 inline void QueuedMessageEntry::set_has_ttl() {
1332  _has_bits_[0] |= 0x00000020u;
1333 }
1334 inline void QueuedMessageEntry::clear_has_ttl() {
1335  _has_bits_[0] &= ~0x00000020u;
1336 }
1337 inline void QueuedMessageEntry::clear_ttl() {
1338  ttl_ = 1800;
1339  clear_has_ttl();
1340 }
1341 inline ::google::protobuf::int32 QueuedMessageEntry::ttl() const {
1342  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.ttl)
1343  return ttl_;
1344 }
1345 inline void QueuedMessageEntry::set_ttl(::google::protobuf::int32 value) {
1346  set_has_ttl();
1347  ttl_ = value;
1348  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.ttl)
1349 }
1350 
1351 // optional double value_base = 7 [default = 1];
1352 inline bool QueuedMessageEntry::has_value_base() const {
1353  return (_has_bits_[0] & 0x00000040u) != 0;
1354 }
1355 inline void QueuedMessageEntry::set_has_value_base() {
1356  _has_bits_[0] |= 0x00000040u;
1357 }
1358 inline void QueuedMessageEntry::clear_has_value_base() {
1359  _has_bits_[0] &= ~0x00000040u;
1360 }
1361 inline void QueuedMessageEntry::clear_value_base() {
1362  value_base_ = 1;
1363  clear_has_value_base();
1364 }
1365 inline double QueuedMessageEntry::value_base() const {
1366  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.value_base)
1367  return value_base_;
1368 }
1369 inline void QueuedMessageEntry::set_value_base(double value) {
1370  set_has_value_base();
1371  value_base_ = value;
1372  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.value_base)
1373 }
1374 
1375 // repeated .goby.acomms.protobuf.Manipulator manipulator = 10;
1376 inline int QueuedMessageEntry::manipulator_size() const {
1377  return manipulator_.size();
1378 }
1379 inline void QueuedMessageEntry::clear_manipulator() {
1380  manipulator_.Clear();
1381 }
1382 inline ::goby::acomms::protobuf::Manipulator QueuedMessageEntry::manipulator(int index) const {
1383  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.manipulator)
1384  return static_cast< ::goby::acomms::protobuf::Manipulator >(manipulator_.Get(index));
1385 }
1386 inline void QueuedMessageEntry::set_manipulator(int index, ::goby::acomms::protobuf::Manipulator value) {
1387  assert(::goby::acomms::protobuf::Manipulator_IsValid(value));
1388  manipulator_.Set(index, value);
1389  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageEntry.manipulator)
1390 }
1391 inline void QueuedMessageEntry::add_manipulator(::goby::acomms::protobuf::Manipulator value) {
1392  assert(::goby::acomms::protobuf::Manipulator_IsValid(value));
1393  manipulator_.Add(value);
1394  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.QueuedMessageEntry.manipulator)
1395 }
1396 inline const ::google::protobuf::RepeatedField<int>&
1397 QueuedMessageEntry::manipulator() const {
1398  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.QueuedMessageEntry.manipulator)
1399  return manipulator_;
1400 }
1401 inline ::google::protobuf::RepeatedField<int>*
1402 QueuedMessageEntry::mutable_manipulator() {
1403  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.QueuedMessageEntry.manipulator)
1404  return &manipulator_;
1405 }
1406 
1407 // repeated .goby.acomms.protobuf.QueuedMessageEntry.Role role = 20;
1408 inline int QueuedMessageEntry::role_size() const {
1409  return role_.size();
1410 }
1411 inline void QueuedMessageEntry::clear_role() {
1412  role_.Clear();
1413 }
1414 inline const ::goby::acomms::protobuf::QueuedMessageEntry_Role& QueuedMessageEntry::role(int index) const {
1415  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageEntry.role)
1416  return role_.Get(index);
1417 }
1418 inline ::goby::acomms::protobuf::QueuedMessageEntry_Role* QueuedMessageEntry::mutable_role(int index) {
1419  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueuedMessageEntry.role)
1420  return role_.Mutable(index);
1421 }
1422 inline ::goby::acomms::protobuf::QueuedMessageEntry_Role* QueuedMessageEntry::add_role() {
1423  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.QueuedMessageEntry.role)
1424  return role_.Add();
1425 }
1426 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >&
1427 QueuedMessageEntry::role() const {
1428  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.QueuedMessageEntry.role)
1429  return role_;
1430 }
1431 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >*
1432 QueuedMessageEntry::mutable_role() {
1433  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.QueuedMessageEntry.role)
1434  return &role_;
1435 }
1436 
1437 // -------------------------------------------------------------------
1438 
1439 // QueueManagerConfig_DCCLEncryptRule
1440 
1441 // optional int32 id = 1;
1442 inline bool QueueManagerConfig_DCCLEncryptRule::has_id() const {
1443  return (_has_bits_[0] & 0x00000001u) != 0;
1444 }
1445 inline void QueueManagerConfig_DCCLEncryptRule::set_has_id() {
1446  _has_bits_[0] |= 0x00000001u;
1447 }
1448 inline void QueueManagerConfig_DCCLEncryptRule::clear_has_id() {
1449  _has_bits_[0] &= ~0x00000001u;
1450 }
1451 inline void QueueManagerConfig_DCCLEncryptRule::clear_id() {
1452  id_ = 0;
1453  clear_has_id();
1454 }
1455 inline ::google::protobuf::int32 QueueManagerConfig_DCCLEncryptRule::id() const {
1456  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.id)
1457  return id_;
1458 }
1459 inline void QueueManagerConfig_DCCLEncryptRule::set_id(::google::protobuf::int32 value) {
1460  set_has_id();
1461  id_ = value;
1462  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.id)
1463 }
1464 
1465 // required string crypto_passphrase = 2;
1466 inline bool QueueManagerConfig_DCCLEncryptRule::has_crypto_passphrase() const {
1467  return (_has_bits_[0] & 0x00000002u) != 0;
1468 }
1469 inline void QueueManagerConfig_DCCLEncryptRule::set_has_crypto_passphrase() {
1470  _has_bits_[0] |= 0x00000002u;
1471 }
1472 inline void QueueManagerConfig_DCCLEncryptRule::clear_has_crypto_passphrase() {
1473  _has_bits_[0] &= ~0x00000002u;
1474 }
1475 inline void QueueManagerConfig_DCCLEncryptRule::clear_crypto_passphrase() {
1476  if (crypto_passphrase_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1477  crypto_passphrase_->clear();
1478  }
1479  clear_has_crypto_passphrase();
1480 }
1481 inline const ::std::string& QueueManagerConfig_DCCLEncryptRule::crypto_passphrase() const {
1482  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.crypto_passphrase)
1483  return *crypto_passphrase_;
1484 }
1485 inline void QueueManagerConfig_DCCLEncryptRule::set_crypto_passphrase(const ::std::string& value) {
1486  set_has_crypto_passphrase();
1487  if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1488  crypto_passphrase_ = new ::std::string;
1489  }
1490  crypto_passphrase_->assign(value);
1491  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.crypto_passphrase)
1492 }
1493 inline void QueueManagerConfig_DCCLEncryptRule::set_crypto_passphrase(const char* value) {
1494  set_has_crypto_passphrase();
1495  if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1496  crypto_passphrase_ = new ::std::string;
1497  }
1498  crypto_passphrase_->assign(value);
1499  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.crypto_passphrase)
1500 }
1501 inline void QueueManagerConfig_DCCLEncryptRule::set_crypto_passphrase(const char* value, size_t size) {
1502  set_has_crypto_passphrase();
1503  if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1504  crypto_passphrase_ = new ::std::string;
1505  }
1506  crypto_passphrase_->assign(reinterpret_cast<const char*>(value), size);
1507  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.crypto_passphrase)
1508 }
1509 inline ::std::string* QueueManagerConfig_DCCLEncryptRule::mutable_crypto_passphrase() {
1510  set_has_crypto_passphrase();
1511  if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1512  crypto_passphrase_ = new ::std::string;
1513  }
1514  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.crypto_passphrase)
1515  return crypto_passphrase_;
1516 }
1517 inline ::std::string* QueueManagerConfig_DCCLEncryptRule::release_crypto_passphrase() {
1518  clear_has_crypto_passphrase();
1519  if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1520  return NULL;
1521  } else {
1522  ::std::string* temp = crypto_passphrase_;
1523  crypto_passphrase_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1524  return temp;
1525  }
1526 }
1527 inline void QueueManagerConfig_DCCLEncryptRule::set_allocated_crypto_passphrase(::std::string* crypto_passphrase) {
1528  if (crypto_passphrase_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1529  delete crypto_passphrase_;
1530  }
1531  if (crypto_passphrase) {
1532  set_has_crypto_passphrase();
1533  crypto_passphrase_ = crypto_passphrase;
1534  } else {
1535  clear_has_crypto_passphrase();
1536  crypto_passphrase_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1537  }
1538  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule.crypto_passphrase)
1539 }
1540 
1541 // -------------------------------------------------------------------
1542 
1543 // QueueManagerConfig
1544 
1545 // optional int32 modem_id = 1;
1546 inline bool QueueManagerConfig::has_modem_id() const {
1547  return (_has_bits_[0] & 0x00000001u) != 0;
1548 }
1549 inline void QueueManagerConfig::set_has_modem_id() {
1550  _has_bits_[0] |= 0x00000001u;
1551 }
1552 inline void QueueManagerConfig::clear_has_modem_id() {
1553  _has_bits_[0] &= ~0x00000001u;
1554 }
1555 inline void QueueManagerConfig::clear_modem_id() {
1556  modem_id_ = 0;
1557  clear_has_modem_id();
1558 }
1559 inline ::google::protobuf::int32 QueueManagerConfig::modem_id() const {
1560  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.modem_id)
1561  return modem_id_;
1562 }
1563 inline void QueueManagerConfig::set_modem_id(::google::protobuf::int32 value) {
1564  set_has_modem_id();
1565  modem_id_ = value;
1566  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.modem_id)
1567 }
1568 
1569 // repeated .goby.acomms.protobuf.QueuedMessageEntry message_entry = 10;
1570 inline int QueueManagerConfig::message_entry_size() const {
1571  return message_entry_.size();
1572 }
1573 inline void QueueManagerConfig::clear_message_entry() {
1574  message_entry_.Clear();
1575 }
1576 inline const ::goby::acomms::protobuf::QueuedMessageEntry& QueueManagerConfig::message_entry(int index) const {
1577  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.message_entry)
1578  return message_entry_.Get(index);
1579 }
1580 inline ::goby::acomms::protobuf::QueuedMessageEntry* QueueManagerConfig::mutable_message_entry(int index) {
1581  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueueManagerConfig.message_entry)
1582  return message_entry_.Mutable(index);
1583 }
1584 inline ::goby::acomms::protobuf::QueuedMessageEntry* QueueManagerConfig::add_message_entry() {
1585  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.QueueManagerConfig.message_entry)
1586  return message_entry_.Add();
1587 }
1588 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >&
1589 QueueManagerConfig::message_entry() const {
1590  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.QueueManagerConfig.message_entry)
1591  return message_entry_;
1592 }
1593 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >*
1594 QueueManagerConfig::mutable_message_entry() {
1595  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.QueueManagerConfig.message_entry)
1596  return &message_entry_;
1597 }
1598 
1599 // optional double on_demand_skew_seconds = 11 [default = 1];
1600 inline bool QueueManagerConfig::has_on_demand_skew_seconds() const {
1601  return (_has_bits_[0] & 0x00000004u) != 0;
1602 }
1603 inline void QueueManagerConfig::set_has_on_demand_skew_seconds() {
1604  _has_bits_[0] |= 0x00000004u;
1605 }
1606 inline void QueueManagerConfig::clear_has_on_demand_skew_seconds() {
1607  _has_bits_[0] &= ~0x00000004u;
1608 }
1609 inline void QueueManagerConfig::clear_on_demand_skew_seconds() {
1610  on_demand_skew_seconds_ = 1;
1611  clear_has_on_demand_skew_seconds();
1612 }
1613 inline double QueueManagerConfig::on_demand_skew_seconds() const {
1614  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.on_demand_skew_seconds)
1615  return on_demand_skew_seconds_;
1616 }
1617 inline void QueueManagerConfig::set_on_demand_skew_seconds(double value) {
1618  set_has_on_demand_skew_seconds();
1619  on_demand_skew_seconds_ = value;
1620  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.on_demand_skew_seconds)
1621 }
1622 
1623 // optional double minimum_ack_wait_seconds = 20 [default = 0];
1624 inline bool QueueManagerConfig::has_minimum_ack_wait_seconds() const {
1625  return (_has_bits_[0] & 0x00000008u) != 0;
1626 }
1627 inline void QueueManagerConfig::set_has_minimum_ack_wait_seconds() {
1628  _has_bits_[0] |= 0x00000008u;
1629 }
1630 inline void QueueManagerConfig::clear_has_minimum_ack_wait_seconds() {
1631  _has_bits_[0] &= ~0x00000008u;
1632 }
1633 inline void QueueManagerConfig::clear_minimum_ack_wait_seconds() {
1634  minimum_ack_wait_seconds_ = 0;
1635  clear_has_minimum_ack_wait_seconds();
1636 }
1637 inline double QueueManagerConfig::minimum_ack_wait_seconds() const {
1638  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.minimum_ack_wait_seconds)
1639  return minimum_ack_wait_seconds_;
1640 }
1641 inline void QueueManagerConfig::set_minimum_ack_wait_seconds(double value) {
1642  set_has_minimum_ack_wait_seconds();
1643  minimum_ack_wait_seconds_ = value;
1644  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.minimum_ack_wait_seconds)
1645 }
1646 
1647 // optional bool skip_decoding = 21 [default = false];
1648 inline bool QueueManagerConfig::has_skip_decoding() const {
1649  return (_has_bits_[0] & 0x00000010u) != 0;
1650 }
1651 inline void QueueManagerConfig::set_has_skip_decoding() {
1652  _has_bits_[0] |= 0x00000010u;
1653 }
1654 inline void QueueManagerConfig::clear_has_skip_decoding() {
1655  _has_bits_[0] &= ~0x00000010u;
1656 }
1657 inline void QueueManagerConfig::clear_skip_decoding() {
1658  skip_decoding_ = false;
1659  clear_has_skip_decoding();
1660 }
1661 inline bool QueueManagerConfig::skip_decoding() const {
1662  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.skip_decoding)
1663  return skip_decoding_;
1664 }
1665 inline void QueueManagerConfig::set_skip_decoding(bool value) {
1666  set_has_skip_decoding();
1667  skip_decoding_ = value;
1668  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.skip_decoding)
1669 }
1670 
1671 // repeated int32 make_network_ack_for_src_id = 30;
1672 inline int QueueManagerConfig::make_network_ack_for_src_id_size() const {
1673  return make_network_ack_for_src_id_.size();
1674 }
1675 inline void QueueManagerConfig::clear_make_network_ack_for_src_id() {
1676  make_network_ack_for_src_id_.Clear();
1677 }
1678 inline ::google::protobuf::int32 QueueManagerConfig::make_network_ack_for_src_id(int index) const {
1679  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.make_network_ack_for_src_id)
1680  return make_network_ack_for_src_id_.Get(index);
1681 }
1682 inline void QueueManagerConfig::set_make_network_ack_for_src_id(int index, ::google::protobuf::int32 value) {
1683  make_network_ack_for_src_id_.Set(index, value);
1684  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.make_network_ack_for_src_id)
1685 }
1686 inline void QueueManagerConfig::add_make_network_ack_for_src_id(::google::protobuf::int32 value) {
1687  make_network_ack_for_src_id_.Add(value);
1688  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.QueueManagerConfig.make_network_ack_for_src_id)
1689 }
1690 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1691 QueueManagerConfig::make_network_ack_for_src_id() const {
1692  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.QueueManagerConfig.make_network_ack_for_src_id)
1693  return make_network_ack_for_src_id_;
1694 }
1695 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1696 QueueManagerConfig::mutable_make_network_ack_for_src_id() {
1697  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.QueueManagerConfig.make_network_ack_for_src_id)
1698  return &make_network_ack_for_src_id_;
1699 }
1700 
1701 // repeated int32 route_for_additional_modem_id = 40;
1702 inline int QueueManagerConfig::route_for_additional_modem_id_size() const {
1703  return route_for_additional_modem_id_.size();
1704 }
1705 inline void QueueManagerConfig::clear_route_for_additional_modem_id() {
1706  route_for_additional_modem_id_.Clear();
1707 }
1708 inline ::google::protobuf::int32 QueueManagerConfig::route_for_additional_modem_id(int index) const {
1709  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.route_for_additional_modem_id)
1710  return route_for_additional_modem_id_.Get(index);
1711 }
1712 inline void QueueManagerConfig::set_route_for_additional_modem_id(int index, ::google::protobuf::int32 value) {
1713  route_for_additional_modem_id_.Set(index, value);
1714  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueManagerConfig.route_for_additional_modem_id)
1715 }
1716 inline void QueueManagerConfig::add_route_for_additional_modem_id(::google::protobuf::int32 value) {
1717  route_for_additional_modem_id_.Add(value);
1718  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.QueueManagerConfig.route_for_additional_modem_id)
1719 }
1720 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1721 QueueManagerConfig::route_for_additional_modem_id() const {
1722  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.QueueManagerConfig.route_for_additional_modem_id)
1723  return route_for_additional_modem_id_;
1724 }
1725 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1726 QueueManagerConfig::mutable_route_for_additional_modem_id() {
1727  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.QueueManagerConfig.route_for_additional_modem_id)
1728  return &route_for_additional_modem_id_;
1729 }
1730 
1731 // repeated .goby.acomms.protobuf.QueueManagerConfig.DCCLEncryptRule encrypt_rule = 50;
1732 inline int QueueManagerConfig::encrypt_rule_size() const {
1733  return encrypt_rule_.size();
1734 }
1735 inline void QueueManagerConfig::clear_encrypt_rule() {
1736  encrypt_rule_.Clear();
1737 }
1738 inline const ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule& QueueManagerConfig::encrypt_rule(int index) const {
1739  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueManagerConfig.encrypt_rule)
1740  return encrypt_rule_.Get(index);
1741 }
1742 inline ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule* QueueManagerConfig::mutable_encrypt_rule(int index) {
1743  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueueManagerConfig.encrypt_rule)
1744  return encrypt_rule_.Mutable(index);
1745 }
1746 inline ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule* QueueManagerConfig::add_encrypt_rule() {
1747  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.QueueManagerConfig.encrypt_rule)
1748  return encrypt_rule_.Add();
1749 }
1750 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >&
1751 QueueManagerConfig::encrypt_rule() const {
1752  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.QueueManagerConfig.encrypt_rule)
1753  return encrypt_rule_;
1754 }
1755 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >*
1756 QueueManagerConfig::mutable_encrypt_rule() {
1757  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.QueueManagerConfig.encrypt_rule)
1758  return &encrypt_rule_;
1759 }
1760 
1761 // -------------------------------------------------------------------
1762 
1763 // QueueSize
1764 
1765 // required uint32 dccl_id = 1;
1766 inline bool QueueSize::has_dccl_id() const {
1767  return (_has_bits_[0] & 0x00000001u) != 0;
1768 }
1769 inline void QueueSize::set_has_dccl_id() {
1770  _has_bits_[0] |= 0x00000001u;
1771 }
1772 inline void QueueSize::clear_has_dccl_id() {
1773  _has_bits_[0] &= ~0x00000001u;
1774 }
1775 inline void QueueSize::clear_dccl_id() {
1776  dccl_id_ = 0u;
1777  clear_has_dccl_id();
1778 }
1779 inline ::google::protobuf::uint32 QueueSize::dccl_id() const {
1780  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueSize.dccl_id)
1781  return dccl_id_;
1782 }
1783 inline void QueueSize::set_dccl_id(::google::protobuf::uint32 value) {
1784  set_has_dccl_id();
1785  dccl_id_ = value;
1786  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueSize.dccl_id)
1787 }
1788 
1789 // required uint32 size = 2;
1790 inline bool QueueSize::has_size() const {
1791  return (_has_bits_[0] & 0x00000002u) != 0;
1792 }
1793 inline void QueueSize::set_has_size() {
1794  _has_bits_[0] |= 0x00000002u;
1795 }
1796 inline void QueueSize::clear_has_size() {
1797  _has_bits_[0] &= ~0x00000002u;
1798 }
1799 inline void QueueSize::clear_size() {
1800  size_ = 0u;
1801  clear_has_size();
1802 }
1803 inline ::google::protobuf::uint32 QueueSize::size() const {
1804  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueSize.size)
1805  return size_;
1806 }
1807 inline void QueueSize::set_size(::google::protobuf::uint32 value) {
1808  set_has_size();
1809  size_ = value;
1810  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueSize.size)
1811 }
1812 
1813 // -------------------------------------------------------------------
1814 
1815 // QueueFlush
1816 
1817 // required uint32 dccl_id = 1;
1818 inline bool QueueFlush::has_dccl_id() const {
1819  return (_has_bits_[0] & 0x00000001u) != 0;
1820 }
1821 inline void QueueFlush::set_has_dccl_id() {
1822  _has_bits_[0] |= 0x00000001u;
1823 }
1824 inline void QueueFlush::clear_has_dccl_id() {
1825  _has_bits_[0] &= ~0x00000001u;
1826 }
1827 inline void QueueFlush::clear_dccl_id() {
1828  dccl_id_ = 0u;
1829  clear_has_dccl_id();
1830 }
1831 inline ::google::protobuf::uint32 QueueFlush::dccl_id() const {
1832  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueueFlush.dccl_id)
1833  return dccl_id_;
1834 }
1835 inline void QueueFlush::set_dccl_id(::google::protobuf::uint32 value) {
1836  set_has_dccl_id();
1837  dccl_id_ = value;
1838  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueueFlush.dccl_id)
1839 }
1840 
1841 // -------------------------------------------------------------------
1842 
1843 // QueuedMessageMeta
1844 
1845 // optional uint32 non_repeated_size = 1;
1846 inline bool QueuedMessageMeta::has_non_repeated_size() const {
1847  return (_has_bits_[0] & 0x00000001u) != 0;
1848 }
1849 inline void QueuedMessageMeta::set_has_non_repeated_size() {
1850  _has_bits_[0] |= 0x00000001u;
1851 }
1852 inline void QueuedMessageMeta::clear_has_non_repeated_size() {
1853  _has_bits_[0] &= ~0x00000001u;
1854 }
1855 inline void QueuedMessageMeta::clear_non_repeated_size() {
1856  non_repeated_size_ = 0u;
1857  clear_has_non_repeated_size();
1858 }
1859 inline ::google::protobuf::uint32 QueuedMessageMeta::non_repeated_size() const {
1860  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.non_repeated_size)
1861  return non_repeated_size_;
1862 }
1863 inline void QueuedMessageMeta::set_non_repeated_size(::google::protobuf::uint32 value) {
1864  set_has_non_repeated_size();
1865  non_repeated_size_ = value;
1866  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.non_repeated_size)
1867 }
1868 
1869 // optional bool ack_requested = 2;
1870 inline bool QueuedMessageMeta::has_ack_requested() const {
1871  return (_has_bits_[0] & 0x00000002u) != 0;
1872 }
1873 inline void QueuedMessageMeta::set_has_ack_requested() {
1874  _has_bits_[0] |= 0x00000002u;
1875 }
1876 inline void QueuedMessageMeta::clear_has_ack_requested() {
1877  _has_bits_[0] &= ~0x00000002u;
1878 }
1879 inline void QueuedMessageMeta::clear_ack_requested() {
1880  ack_requested_ = false;
1881  clear_has_ack_requested();
1882 }
1883 inline bool QueuedMessageMeta::ack_requested() const {
1884  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.ack_requested)
1885  return ack_requested_;
1886 }
1887 inline void QueuedMessageMeta::set_ack_requested(bool value) {
1888  set_has_ack_requested();
1889  ack_requested_ = value;
1890  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.ack_requested)
1891 }
1892 
1893 // optional int32 src = 3;
1894 inline bool QueuedMessageMeta::has_src() const {
1895  return (_has_bits_[0] & 0x00000004u) != 0;
1896 }
1897 inline void QueuedMessageMeta::set_has_src() {
1898  _has_bits_[0] |= 0x00000004u;
1899 }
1900 inline void QueuedMessageMeta::clear_has_src() {
1901  _has_bits_[0] &= ~0x00000004u;
1902 }
1903 inline void QueuedMessageMeta::clear_src() {
1904  src_ = 0;
1905  clear_has_src();
1906 }
1907 inline ::google::protobuf::int32 QueuedMessageMeta::src() const {
1908  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.src)
1909  return src_;
1910 }
1911 inline void QueuedMessageMeta::set_src(::google::protobuf::int32 value) {
1912  set_has_src();
1913  src_ = value;
1914  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.src)
1915 }
1916 
1917 // optional int32 dest = 4;
1918 inline bool QueuedMessageMeta::has_dest() const {
1919  return (_has_bits_[0] & 0x00000008u) != 0;
1920 }
1921 inline void QueuedMessageMeta::set_has_dest() {
1922  _has_bits_[0] |= 0x00000008u;
1923 }
1924 inline void QueuedMessageMeta::clear_has_dest() {
1925  _has_bits_[0] &= ~0x00000008u;
1926 }
1927 inline void QueuedMessageMeta::clear_dest() {
1928  dest_ = 0;
1929  clear_has_dest();
1930 }
1931 inline ::google::protobuf::int32 QueuedMessageMeta::dest() const {
1932  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.dest)
1933  return dest_;
1934 }
1935 inline void QueuedMessageMeta::set_dest(::google::protobuf::int32 value) {
1936  set_has_dest();
1937  dest_ = value;
1938  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.dest)
1939 }
1940 
1941 // optional uint64 time = 5;
1942 inline bool QueuedMessageMeta::has_time() const {
1943  return (_has_bits_[0] & 0x00000010u) != 0;
1944 }
1945 inline void QueuedMessageMeta::set_has_time() {
1946  _has_bits_[0] |= 0x00000010u;
1947 }
1948 inline void QueuedMessageMeta::clear_has_time() {
1949  _has_bits_[0] &= ~0x00000010u;
1950 }
1951 inline void QueuedMessageMeta::clear_time() {
1952  time_ = GOOGLE_ULONGLONG(0);
1953  clear_has_time();
1954 }
1955 inline ::google::protobuf::uint64 QueuedMessageMeta::time() const {
1956  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.time)
1957  return time_;
1958 }
1959 inline void QueuedMessageMeta::set_time(::google::protobuf::uint64 value) {
1960  set_has_time();
1961  time_ = value;
1962  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.time)
1963 }
1964 
1965 // optional uint64 last_sent_time = 10;
1966 inline bool QueuedMessageMeta::has_last_sent_time() const {
1967  return (_has_bits_[0] & 0x00000020u) != 0;
1968 }
1969 inline void QueuedMessageMeta::set_has_last_sent_time() {
1970  _has_bits_[0] |= 0x00000020u;
1971 }
1972 inline void QueuedMessageMeta::clear_has_last_sent_time() {
1973  _has_bits_[0] &= ~0x00000020u;
1974 }
1975 inline void QueuedMessageMeta::clear_last_sent_time() {
1976  last_sent_time_ = GOOGLE_ULONGLONG(0);
1977  clear_has_last_sent_time();
1978 }
1979 inline ::google::protobuf::uint64 QueuedMessageMeta::last_sent_time() const {
1980  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.last_sent_time)
1981  return last_sent_time_;
1982 }
1983 inline void QueuedMessageMeta::set_last_sent_time(::google::protobuf::uint64 value) {
1984  set_has_last_sent_time();
1985  last_sent_time_ = value;
1986  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.last_sent_time)
1987 }
1988 
1989 // optional bytes encoded_message = 20;
1990 inline bool QueuedMessageMeta::has_encoded_message() const {
1991  return (_has_bits_[0] & 0x00000040u) != 0;
1992 }
1993 inline void QueuedMessageMeta::set_has_encoded_message() {
1994  _has_bits_[0] |= 0x00000040u;
1995 }
1996 inline void QueuedMessageMeta::clear_has_encoded_message() {
1997  _has_bits_[0] &= ~0x00000040u;
1998 }
1999 inline void QueuedMessageMeta::clear_encoded_message() {
2000  if (encoded_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2001  encoded_message_->clear();
2002  }
2003  clear_has_encoded_message();
2004 }
2005 inline const ::std::string& QueuedMessageMeta::encoded_message() const {
2006  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.QueuedMessageMeta.encoded_message)
2007  return *encoded_message_;
2008 }
2009 inline void QueuedMessageMeta::set_encoded_message(const ::std::string& value) {
2010  set_has_encoded_message();
2011  if (encoded_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2012  encoded_message_ = new ::std::string;
2013  }
2014  encoded_message_->assign(value);
2015  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.QueuedMessageMeta.encoded_message)
2016 }
2017 inline void QueuedMessageMeta::set_encoded_message(const char* value) {
2018  set_has_encoded_message();
2019  if (encoded_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2020  encoded_message_ = new ::std::string;
2021  }
2022  encoded_message_->assign(value);
2023  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.QueuedMessageMeta.encoded_message)
2024 }
2025 inline void QueuedMessageMeta::set_encoded_message(const void* value, size_t size) {
2026  set_has_encoded_message();
2027  if (encoded_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2028  encoded_message_ = new ::std::string;
2029  }
2030  encoded_message_->assign(reinterpret_cast<const char*>(value), size);
2031  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.QueuedMessageMeta.encoded_message)
2032 }
2033 inline ::std::string* QueuedMessageMeta::mutable_encoded_message() {
2034  set_has_encoded_message();
2035  if (encoded_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2036  encoded_message_ = new ::std::string;
2037  }
2038  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.QueuedMessageMeta.encoded_message)
2039  return encoded_message_;
2040 }
2041 inline ::std::string* QueuedMessageMeta::release_encoded_message() {
2042  clear_has_encoded_message();
2043  if (encoded_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2044  return NULL;
2045  } else {
2046  ::std::string* temp = encoded_message_;
2047  encoded_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2048  return temp;
2049  }
2050 }
2051 inline void QueuedMessageMeta::set_allocated_encoded_message(::std::string* encoded_message) {
2052  if (encoded_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2053  delete encoded_message_;
2054  }
2055  if (encoded_message) {
2056  set_has_encoded_message();
2057  encoded_message_ = encoded_message;
2058  } else {
2059  clear_has_encoded_message();
2060  encoded_message_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2061  }
2062  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.QueuedMessageMeta.encoded_message)
2063 }
2064 
2065 
2066 // @@protoc_insertion_point(namespace_scope)
2067 
2068 } // namespace protobuf
2069 } // namespace acomms
2070 } // namespace goby
2071 
2072 #ifndef SWIG
2073 namespace google {
2074 namespace protobuf {
2075 
2076 template <> struct is_proto_enum< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting> : ::google::protobuf::internal::true_type {};
2077 template <>
2078 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting>() {
2079  return ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting_descriptor();
2080 }
2081 template <> struct is_proto_enum< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType> : ::google::protobuf::internal::true_type {};
2082 template <>
2083 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType>() {
2084  return ::goby::acomms::protobuf::QueuedMessageEntry_RoleType_descriptor();
2085 }
2086 
2087 } // namespace google
2088 } // namespace protobuf
2089 #endif // SWIG
2090 
2091 // @@protoc_insertion_point(global_scope)
2092 
2093 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2fqueue_2eproto__INCLUDED
The global namespace for the Goby project.