4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2fqueue_2eproto__INCLUDED 5 #define PROTOBUF_goby_2facomms_2fprotobuf_2fqueue_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 2006000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/generated_message_util.h> 23 #include <google/protobuf/message.h> 24 #include <google/protobuf/repeated_field.h> 25 #include <google/protobuf/extension_set.h> 26 #include <google/protobuf/generated_enum_reflection.h> 27 #include <google/protobuf/unknown_field_set.h> 28 #include "goby/common/protobuf/option_extensions.pb.h" 29 #include "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> 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();
45 class QueuedMessageEntry;
46 class QueuedMessageEntry_Role;
47 class QueueManagerConfig;
48 class QueueManagerConfig_DCCLEncryptRule;
51 class QueuedMessageMeta;
53 enum QueuedMessageEntry_Role_RoleSetting {
54 QueuedMessageEntry_Role_RoleSetting_STATIC = 1,
55 QueuedMessageEntry_Role_RoleSetting_FIELD_VALUE = 2
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;
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);
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);
72 enum QueuedMessageEntry_RoleType {
73 QueuedMessageEntry_RoleType_SOURCE_ID = 1,
74 QueuedMessageEntry_RoleType_DESTINATION_ID = 2,
75 QueuedMessageEntry_RoleType_TIMESTAMP = 3
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;
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);
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);
106 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
107 return _unknown_fields_;
110 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
111 return &_unknown_fields_;
114 static const ::google::protobuf::Descriptor* descriptor();
122 void CopyFrom(const ::google::protobuf::Message& from);
123 void MergeFrom(const ::google::protobuf::Message& from);
127 bool IsInitialized()
const;
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_; }
139 void SetCachedSize(
int size)
const;
141 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
161 static inline const ::std::string& RoleSetting_Name(RoleSetting value) {
162 return QueuedMessageEntry_Role_RoleSetting_Name(value);
164 static inline bool RoleSetting_Parse(const ::std::string& name,
165 RoleSetting* value) {
166 return QueuedMessageEntry_Role_RoleSetting_Parse(name, value);
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);
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);
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);
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);
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();
215 ::google::protobuf::UnknownFieldSet _unknown_fields_;
217 ::google::protobuf::uint32 _has_bits_[1];
218 mutable int _cached_size_;
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();
227 void InitAsDefaultInstance();
244 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
245 return _unknown_fields_;
248 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
249 return &_unknown_fields_;
252 static const ::google::protobuf::Descriptor* descriptor();
260 void CopyFrom(const ::google::protobuf::Message& from);
261 void MergeFrom(const ::google::protobuf::Message& from);
265 bool IsInitialized()
const;
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_; }
277 void SetCachedSize(
int size)
const;
279 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
302 static inline const ::std::string& RoleType_Name(RoleType value) {
303 return QueuedMessageEntry_RoleType_Name(value);
305 static inline bool RoleType_Parse(const ::std::string& name,
307 return QueuedMessageEntry_RoleType_Parse(name, value);
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);
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);
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);
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);
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);
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);
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);
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();
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 >&
385 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >*
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();
405 ::google::protobuf::UnknownFieldSet _unknown_fields_;
407 ::google::protobuf::uint32 _has_bits_[1];
408 mutable int _cached_size_;
409 ::std::string* protobuf_name_;
410 ::google::protobuf::uint32 blackout_time_;
413 ::google::protobuf::uint32 max_queue_;
414 ::google::protobuf::int32 ttl_;
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();
422 void InitAsDefaultInstance();
439 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
440 return _unknown_fields_;
443 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
444 return &_unknown_fields_;
447 static const ::google::protobuf::Descriptor* descriptor();
455 void CopyFrom(const ::google::protobuf::Message& from);
456 void MergeFrom(const ::google::protobuf::Message& from);
460 bool IsInitialized()
const;
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_; }
472 void SetCachedSize(
int size)
const;
474 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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();
506 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
516 void InitAsDefaultInstance();
533 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
534 return _unknown_fields_;
537 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
538 return &_unknown_fields_;
541 static const ::google::protobuf::Descriptor* descriptor();
549 void CopyFrom(const ::google::protobuf::Message& from);
550 void MergeFrom(const ::google::protobuf::Message& from);
554 bool IsInitialized()
const;
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_; }
566 void SetCachedSize(
int size)
const;
568 ::google::protobuf::Metadata GetMetadata()
const;
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);
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();
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);
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);
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);
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();
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();
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();
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();
663 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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_;
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();
679 void InitAsDefaultInstance();
696 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
697 return _unknown_fields_;
700 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
701 return &_unknown_fields_;
704 static const ::google::protobuf::Descriptor* descriptor();
705 static const QueueSize& default_instance();
712 void CopyFrom(const ::google::protobuf::Message& from);
713 void MergeFrom(const ::google::protobuf::Message& from);
717 bool IsInitialized()
const;
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_; }
729 void SetCachedSize(
int size)
const;
731 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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();
758 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
768 void InitAsDefaultInstance();
785 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
786 return _unknown_fields_;
789 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
790 return &_unknown_fields_;
793 static const ::google::protobuf::Descriptor* descriptor();
801 void CopyFrom(const ::google::protobuf::Message& from);
802 void MergeFrom(const ::google::protobuf::Message& from);
806 bool IsInitialized()
const;
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_; }
818 void SetCachedSize(
int size)
const;
820 ::google::protobuf::Metadata GetMetadata()
const;
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);
835 inline void set_has_dccl_id();
836 inline void clear_has_dccl_id();
838 ::google::protobuf::UnknownFieldSet _unknown_fields_;
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();
847 void InitAsDefaultInstance();
864 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
865 return _unknown_fields_;
868 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
869 return &_unknown_fields_;
872 static const ::google::protobuf::Descriptor* descriptor();
880 void CopyFrom(const ::google::protobuf::Message& from);
881 void MergeFrom(const ::google::protobuf::Message& from);
885 bool IsInitialized()
const;
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_; }
897 void SetCachedSize(
int size)
const;
899 ::google::protobuf::Metadata GetMetadata()
const;
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);
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);
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);
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);
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);
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);
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);
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();
976 ::google::protobuf::UnknownFieldSet _unknown_fields_;
978 ::google::protobuf::uint32 _has_bits_[1];
979 mutable int _cached_size_;
980 ::google::protobuf::uint32 non_repeated_size_;
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();
991 void InitAsDefaultInstance();
1002 inline bool QueuedMessageEntry_Role::has_type()
const {
1003 return (_has_bits_[0] & 0x00000001u) != 0;
1005 inline void QueuedMessageEntry_Role::set_has_type() {
1006 _has_bits_[0] |= 0x00000001u;
1008 inline void QueuedMessageEntry_Role::clear_has_type() {
1009 _has_bits_[0] &= ~0x00000001u;
1011 inline void QueuedMessageEntry_Role::clear_type() {
1015 inline ::goby::acomms::protobuf::QueuedMessageEntry_RoleType QueuedMessageEntry_Role::type()
const {
1017 return static_cast< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType
>(type_);
1019 inline void QueuedMessageEntry_Role::set_type(::goby::acomms::protobuf::QueuedMessageEntry_RoleType value) {
1020 assert(::goby::acomms::protobuf::QueuedMessageEntry_RoleType_IsValid(value));
1027 inline bool QueuedMessageEntry_Role::has_setting()
const {
1028 return (_has_bits_[0] & 0x00000002u) != 0;
1030 inline void QueuedMessageEntry_Role::set_has_setting() {
1031 _has_bits_[0] |= 0x00000002u;
1033 inline void QueuedMessageEntry_Role::clear_has_setting() {
1034 _has_bits_[0] &= ~0x00000002u;
1036 inline void QueuedMessageEntry_Role::clear_setting() {
1038 clear_has_setting();
1040 inline ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting QueuedMessageEntry_Role::setting()
const {
1042 return static_cast< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting
>(setting_);
1044 inline void QueuedMessageEntry_Role::set_setting(::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting value) {
1045 assert(::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting_IsValid(value));
1052 inline bool QueuedMessageEntry_Role::has_field()
const {
1053 return (_has_bits_[0] & 0x00000004u) != 0;
1055 inline void QueuedMessageEntry_Role::set_has_field() {
1056 _has_bits_[0] |= 0x00000004u;
1058 inline void QueuedMessageEntry_Role::clear_has_field() {
1059 _has_bits_[0] &= ~0x00000004u;
1061 inline void QueuedMessageEntry_Role::clear_field() {
1062 if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1067 inline const ::std::string& QueuedMessageEntry_Role::field()
const {
1071 inline void QueuedMessageEntry_Role::set_field(const ::std::string& value) {
1073 if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1074 field_ = new ::std::string;
1076 field_->assign(value);
1079 inline void QueuedMessageEntry_Role::set_field(
const char* value) {
1081 if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1082 field_ = new ::std::string;
1084 field_->assign(value);
1087 inline void QueuedMessageEntry_Role::set_field(
const char* value,
size_t size) {
1089 if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1090 field_ = new ::std::string;
1092 field_->assign(reinterpret_cast<const char*>(value), size);
1095 inline ::std::string* QueuedMessageEntry_Role::mutable_field() {
1097 if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1098 field_ = new ::std::string;
1103 inline ::std::string* QueuedMessageEntry_Role::release_field() {
1105 if (field_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1108 ::std::string* temp = field_;
1109 field_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1113 inline void QueuedMessageEntry_Role::set_allocated_field(::std::string* field) {
1114 if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1122 field_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1128 inline bool QueuedMessageEntry_Role::has_static_value()
const {
1129 return (_has_bits_[0] & 0x00000008u) != 0;
1131 inline void QueuedMessageEntry_Role::set_has_static_value() {
1132 _has_bits_[0] |= 0x00000008u;
1134 inline void QueuedMessageEntry_Role::clear_has_static_value() {
1135 _has_bits_[0] &= ~0x00000008u;
1137 inline void QueuedMessageEntry_Role::clear_static_value() {
1139 clear_has_static_value();
1141 inline ::google::protobuf::int32 QueuedMessageEntry_Role::static_value()
const {
1143 return static_value_;
1145 inline void QueuedMessageEntry_Role::set_static_value(::google::protobuf::int32 value) {
1146 set_has_static_value();
1147 static_value_ = value;
1156 inline bool QueuedMessageEntry::has_protobuf_name()
const {
1157 return (_has_bits_[0] & 0x00000001u) != 0;
1159 inline void QueuedMessageEntry::set_has_protobuf_name() {
1160 _has_bits_[0] |= 0x00000001u;
1162 inline void QueuedMessageEntry::clear_has_protobuf_name() {
1163 _has_bits_[0] &= ~0x00000001u;
1165 inline void QueuedMessageEntry::clear_protobuf_name() {
1166 if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1167 protobuf_name_->clear();
1169 clear_has_protobuf_name();
1171 inline const ::std::string& QueuedMessageEntry::protobuf_name()
const {
1173 return *protobuf_name_;
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;
1180 protobuf_name_->assign(value);
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;
1188 protobuf_name_->assign(value);
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;
1196 protobuf_name_->assign(reinterpret_cast<const char*>(value), size);
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;
1205 return protobuf_name_;
1207 inline ::std::string* QueuedMessageEntry::release_protobuf_name() {
1208 clear_has_protobuf_name();
1209 if (protobuf_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1212 ::std::string* temp = protobuf_name_;
1213 protobuf_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1217 inline void QueuedMessageEntry::set_allocated_protobuf_name(::std::string* protobuf_name) {
1218 if (protobuf_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1219 delete protobuf_name_;
1221 if (protobuf_name) {
1222 set_has_protobuf_name();
1223 protobuf_name_ = protobuf_name;
1225 clear_has_protobuf_name();
1226 protobuf_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1232 inline bool QueuedMessageEntry::has_ack()
const {
1233 return (_has_bits_[0] & 0x00000002u) != 0;
1235 inline void QueuedMessageEntry::set_has_ack() {
1236 _has_bits_[0] |= 0x00000002u;
1238 inline void QueuedMessageEntry::clear_has_ack() {
1239 _has_bits_[0] &= ~0x00000002u;
1241 inline void QueuedMessageEntry::clear_ack() {
1245 inline bool QueuedMessageEntry::ack()
const {
1249 inline void QueuedMessageEntry::set_ack(
bool value) {
1256 inline bool QueuedMessageEntry::has_blackout_time()
const {
1257 return (_has_bits_[0] & 0x00000004u) != 0;
1259 inline void QueuedMessageEntry::set_has_blackout_time() {
1260 _has_bits_[0] |= 0x00000004u;
1262 inline void QueuedMessageEntry::clear_has_blackout_time() {
1263 _has_bits_[0] &= ~0x00000004u;
1265 inline void QueuedMessageEntry::clear_blackout_time() {
1266 blackout_time_ = 0u;
1267 clear_has_blackout_time();
1269 inline ::google::protobuf::uint32 QueuedMessageEntry::blackout_time()
const {
1271 return blackout_time_;
1273 inline void QueuedMessageEntry::set_blackout_time(::google::protobuf::uint32 value) {
1274 set_has_blackout_time();
1275 blackout_time_ = value;
1280 inline bool QueuedMessageEntry::has_max_queue()
const {
1281 return (_has_bits_[0] & 0x00000008u) != 0;
1283 inline void QueuedMessageEntry::set_has_max_queue() {
1284 _has_bits_[0] |= 0x00000008u;
1286 inline void QueuedMessageEntry::clear_has_max_queue() {
1287 _has_bits_[0] &= ~0x00000008u;
1289 inline void QueuedMessageEntry::clear_max_queue() {
1291 clear_has_max_queue();
1293 inline ::google::protobuf::uint32 QueuedMessageEntry::max_queue()
const {
1297 inline void QueuedMessageEntry::set_max_queue(::google::protobuf::uint32 value) {
1298 set_has_max_queue();
1304 inline bool QueuedMessageEntry::has_newest_first()
const {
1305 return (_has_bits_[0] & 0x00000010u) != 0;
1307 inline void QueuedMessageEntry::set_has_newest_first() {
1308 _has_bits_[0] |= 0x00000010u;
1310 inline void QueuedMessageEntry::clear_has_newest_first() {
1311 _has_bits_[0] &= ~0x00000010u;
1313 inline void QueuedMessageEntry::clear_newest_first() {
1314 newest_first_ =
true;
1315 clear_has_newest_first();
1317 inline bool QueuedMessageEntry::newest_first()
const {
1319 return newest_first_;
1321 inline void QueuedMessageEntry::set_newest_first(
bool value) {
1322 set_has_newest_first();
1323 newest_first_ = value;
1328 inline bool QueuedMessageEntry::has_ttl()
const {
1329 return (_has_bits_[0] & 0x00000020u) != 0;
1331 inline void QueuedMessageEntry::set_has_ttl() {
1332 _has_bits_[0] |= 0x00000020u;
1334 inline void QueuedMessageEntry::clear_has_ttl() {
1335 _has_bits_[0] &= ~0x00000020u;
1337 inline void QueuedMessageEntry::clear_ttl() {
1341 inline ::google::protobuf::int32 QueuedMessageEntry::ttl()
const {
1345 inline void QueuedMessageEntry::set_ttl(::google::protobuf::int32 value) {
1352 inline bool QueuedMessageEntry::has_value_base()
const {
1353 return (_has_bits_[0] & 0x00000040u) != 0;
1355 inline void QueuedMessageEntry::set_has_value_base() {
1356 _has_bits_[0] |= 0x00000040u;
1358 inline void QueuedMessageEntry::clear_has_value_base() {
1359 _has_bits_[0] &= ~0x00000040u;
1361 inline void QueuedMessageEntry::clear_value_base() {
1363 clear_has_value_base();
1365 inline double QueuedMessageEntry::value_base()
const {
1369 inline void QueuedMessageEntry::set_value_base(
double value) {
1370 set_has_value_base();
1371 value_base_ = value;
1376 inline int QueuedMessageEntry::manipulator_size()
const {
1377 return manipulator_.size();
1379 inline void QueuedMessageEntry::clear_manipulator() {
1380 manipulator_.Clear();
1382 inline ::goby::acomms::protobuf::Manipulator QueuedMessageEntry::manipulator(
int index)
const {
1384 return static_cast< ::goby::acomms::protobuf::Manipulator
>(manipulator_.Get(index));
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);
1391 inline void QueuedMessageEntry::add_manipulator(::goby::acomms::protobuf::Manipulator value) {
1392 assert(::goby::acomms::protobuf::Manipulator_IsValid(value));
1393 manipulator_.Add(value);
1396 inline const ::google::protobuf::RepeatedField<int>&
1397 QueuedMessageEntry::manipulator()
const {
1399 return manipulator_;
1401 inline ::google::protobuf::RepeatedField<int>*
1402 QueuedMessageEntry::mutable_manipulator() {
1404 return &manipulator_;
1408 inline int QueuedMessageEntry::role_size()
const {
1409 return role_.size();
1411 inline void QueuedMessageEntry::clear_role() {
1414 inline const ::goby::acomms::protobuf::QueuedMessageEntry_Role& QueuedMessageEntry::role(
int index)
const {
1416 return role_.Get(index);
1418 inline ::goby::acomms::protobuf::QueuedMessageEntry_Role* QueuedMessageEntry::mutable_role(
int index) {
1420 return role_.Mutable(index);
1422 inline ::goby::acomms::protobuf::QueuedMessageEntry_Role* QueuedMessageEntry::add_role() {
1426 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >&
1427 QueuedMessageEntry::role()
const {
1431 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >*
1432 QueuedMessageEntry::mutable_role() {
1442 inline bool QueueManagerConfig_DCCLEncryptRule::has_id()
const {
1443 return (_has_bits_[0] & 0x00000001u) != 0;
1445 inline void QueueManagerConfig_DCCLEncryptRule::set_has_id() {
1446 _has_bits_[0] |= 0x00000001u;
1448 inline void QueueManagerConfig_DCCLEncryptRule::clear_has_id() {
1449 _has_bits_[0] &= ~0x00000001u;
1451 inline void QueueManagerConfig_DCCLEncryptRule::clear_id() {
1455 inline ::google::protobuf::int32 QueueManagerConfig_DCCLEncryptRule::id()
const {
1459 inline void QueueManagerConfig_DCCLEncryptRule::set_id(::google::protobuf::int32 value) {
1466 inline bool QueueManagerConfig_DCCLEncryptRule::has_crypto_passphrase()
const {
1467 return (_has_bits_[0] & 0x00000002u) != 0;
1469 inline void QueueManagerConfig_DCCLEncryptRule::set_has_crypto_passphrase() {
1470 _has_bits_[0] |= 0x00000002u;
1472 inline void QueueManagerConfig_DCCLEncryptRule::clear_has_crypto_passphrase() {
1473 _has_bits_[0] &= ~0x00000002u;
1475 inline void QueueManagerConfig_DCCLEncryptRule::clear_crypto_passphrase() {
1476 if (crypto_passphrase_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1477 crypto_passphrase_->clear();
1479 clear_has_crypto_passphrase();
1481 inline const ::std::string& QueueManagerConfig_DCCLEncryptRule::crypto_passphrase()
const {
1483 return *crypto_passphrase_;
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;
1490 crypto_passphrase_->assign(value);
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;
1498 crypto_passphrase_->assign(value);
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;
1506 crypto_passphrase_->assign(reinterpret_cast<const char*>(value), size);
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;
1515 return crypto_passphrase_;
1517 inline ::std::string* QueueManagerConfig_DCCLEncryptRule::release_crypto_passphrase() {
1518 clear_has_crypto_passphrase();
1519 if (crypto_passphrase_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1522 ::std::string* temp = crypto_passphrase_;
1523 crypto_passphrase_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
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_;
1531 if (crypto_passphrase) {
1532 set_has_crypto_passphrase();
1533 crypto_passphrase_ = crypto_passphrase;
1535 clear_has_crypto_passphrase();
1536 crypto_passphrase_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1546 inline bool QueueManagerConfig::has_modem_id()
const {
1547 return (_has_bits_[0] & 0x00000001u) != 0;
1549 inline void QueueManagerConfig::set_has_modem_id() {
1550 _has_bits_[0] |= 0x00000001u;
1552 inline void QueueManagerConfig::clear_has_modem_id() {
1553 _has_bits_[0] &= ~0x00000001u;
1555 inline void QueueManagerConfig::clear_modem_id() {
1557 clear_has_modem_id();
1559 inline ::google::protobuf::int32 QueueManagerConfig::modem_id()
const {
1563 inline void QueueManagerConfig::set_modem_id(::google::protobuf::int32 value) {
1570 inline int QueueManagerConfig::message_entry_size()
const {
1571 return message_entry_.size();
1573 inline void QueueManagerConfig::clear_message_entry() {
1574 message_entry_.Clear();
1576 inline const ::goby::acomms::protobuf::QueuedMessageEntry& QueueManagerConfig::message_entry(
int index)
const {
1578 return message_entry_.Get(index);
1580 inline ::goby::acomms::protobuf::QueuedMessageEntry* QueueManagerConfig::mutable_message_entry(
int index) {
1582 return message_entry_.Mutable(index);
1584 inline ::goby::acomms::protobuf::QueuedMessageEntry* QueueManagerConfig::add_message_entry() {
1586 return message_entry_.Add();
1588 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >&
1589 QueueManagerConfig::message_entry()
const {
1591 return message_entry_;
1593 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >*
1594 QueueManagerConfig::mutable_message_entry() {
1596 return &message_entry_;
1600 inline bool QueueManagerConfig::has_on_demand_skew_seconds()
const {
1601 return (_has_bits_[0] & 0x00000004u) != 0;
1603 inline void QueueManagerConfig::set_has_on_demand_skew_seconds() {
1604 _has_bits_[0] |= 0x00000004u;
1606 inline void QueueManagerConfig::clear_has_on_demand_skew_seconds() {
1607 _has_bits_[0] &= ~0x00000004u;
1609 inline void QueueManagerConfig::clear_on_demand_skew_seconds() {
1610 on_demand_skew_seconds_ = 1;
1611 clear_has_on_demand_skew_seconds();
1613 inline double QueueManagerConfig::on_demand_skew_seconds()
const {
1615 return on_demand_skew_seconds_;
1617 inline void QueueManagerConfig::set_on_demand_skew_seconds(
double value) {
1618 set_has_on_demand_skew_seconds();
1619 on_demand_skew_seconds_ = value;
1624 inline bool QueueManagerConfig::has_minimum_ack_wait_seconds()
const {
1625 return (_has_bits_[0] & 0x00000008u) != 0;
1627 inline void QueueManagerConfig::set_has_minimum_ack_wait_seconds() {
1628 _has_bits_[0] |= 0x00000008u;
1630 inline void QueueManagerConfig::clear_has_minimum_ack_wait_seconds() {
1631 _has_bits_[0] &= ~0x00000008u;
1633 inline void QueueManagerConfig::clear_minimum_ack_wait_seconds() {
1634 minimum_ack_wait_seconds_ = 0;
1635 clear_has_minimum_ack_wait_seconds();
1637 inline double QueueManagerConfig::minimum_ack_wait_seconds()
const {
1639 return minimum_ack_wait_seconds_;
1641 inline void QueueManagerConfig::set_minimum_ack_wait_seconds(
double value) {
1642 set_has_minimum_ack_wait_seconds();
1643 minimum_ack_wait_seconds_ = value;
1648 inline bool QueueManagerConfig::has_skip_decoding()
const {
1649 return (_has_bits_[0] & 0x00000010u) != 0;
1651 inline void QueueManagerConfig::set_has_skip_decoding() {
1652 _has_bits_[0] |= 0x00000010u;
1654 inline void QueueManagerConfig::clear_has_skip_decoding() {
1655 _has_bits_[0] &= ~0x00000010u;
1657 inline void QueueManagerConfig::clear_skip_decoding() {
1658 skip_decoding_ =
false;
1659 clear_has_skip_decoding();
1661 inline bool QueueManagerConfig::skip_decoding()
const {
1663 return skip_decoding_;
1665 inline void QueueManagerConfig::set_skip_decoding(
bool value) {
1666 set_has_skip_decoding();
1667 skip_decoding_ = value;
1672 inline int QueueManagerConfig::make_network_ack_for_src_id_size()
const {
1673 return make_network_ack_for_src_id_.size();
1675 inline void QueueManagerConfig::clear_make_network_ack_for_src_id() {
1676 make_network_ack_for_src_id_.Clear();
1678 inline ::google::protobuf::int32 QueueManagerConfig::make_network_ack_for_src_id(
int index)
const {
1680 return make_network_ack_for_src_id_.Get(index);
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);
1686 inline void QueueManagerConfig::add_make_network_ack_for_src_id(::google::protobuf::int32 value) {
1687 make_network_ack_for_src_id_.Add(value);
1690 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1691 QueueManagerConfig::make_network_ack_for_src_id()
const {
1693 return make_network_ack_for_src_id_;
1695 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1696 QueueManagerConfig::mutable_make_network_ack_for_src_id() {
1698 return &make_network_ack_for_src_id_;
1702 inline int QueueManagerConfig::route_for_additional_modem_id_size()
const {
1703 return route_for_additional_modem_id_.size();
1705 inline void QueueManagerConfig::clear_route_for_additional_modem_id() {
1706 route_for_additional_modem_id_.Clear();
1708 inline ::google::protobuf::int32 QueueManagerConfig::route_for_additional_modem_id(
int index)
const {
1710 return route_for_additional_modem_id_.Get(index);
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);
1716 inline void QueueManagerConfig::add_route_for_additional_modem_id(::google::protobuf::int32 value) {
1717 route_for_additional_modem_id_.Add(value);
1720 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1721 QueueManagerConfig::route_for_additional_modem_id()
const {
1723 return route_for_additional_modem_id_;
1725 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1726 QueueManagerConfig::mutable_route_for_additional_modem_id() {
1728 return &route_for_additional_modem_id_;
1732 inline int QueueManagerConfig::encrypt_rule_size()
const {
1733 return encrypt_rule_.size();
1735 inline void QueueManagerConfig::clear_encrypt_rule() {
1736 encrypt_rule_.Clear();
1738 inline const ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule& QueueManagerConfig::encrypt_rule(
int index)
const {
1740 return encrypt_rule_.Get(index);
1742 inline ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule* QueueManagerConfig::mutable_encrypt_rule(
int index) {
1744 return encrypt_rule_.Mutable(index);
1746 inline ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule* QueueManagerConfig::add_encrypt_rule() {
1748 return encrypt_rule_.Add();
1750 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >&
1751 QueueManagerConfig::encrypt_rule()
const {
1753 return encrypt_rule_;
1755 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >*
1756 QueueManagerConfig::mutable_encrypt_rule() {
1758 return &encrypt_rule_;
1766 inline bool QueueSize::has_dccl_id()
const {
1767 return (_has_bits_[0] & 0x00000001u) != 0;
1769 inline void QueueSize::set_has_dccl_id() {
1770 _has_bits_[0] |= 0x00000001u;
1772 inline void QueueSize::clear_has_dccl_id() {
1773 _has_bits_[0] &= ~0x00000001u;
1775 inline void QueueSize::clear_dccl_id() {
1777 clear_has_dccl_id();
1779 inline ::google::protobuf::uint32 QueueSize::dccl_id()
const {
1783 inline void QueueSize::set_dccl_id(::google::protobuf::uint32 value) {
1790 inline bool QueueSize::has_size()
const {
1791 return (_has_bits_[0] & 0x00000002u) != 0;
1793 inline void QueueSize::set_has_size() {
1794 _has_bits_[0] |= 0x00000002u;
1796 inline void QueueSize::clear_has_size() {
1797 _has_bits_[0] &= ~0x00000002u;
1799 inline void QueueSize::clear_size() {
1803 inline ::google::protobuf::uint32 QueueSize::size()
const {
1807 inline void QueueSize::set_size(::google::protobuf::uint32 value) {
1818 inline bool QueueFlush::has_dccl_id()
const {
1819 return (_has_bits_[0] & 0x00000001u) != 0;
1821 inline void QueueFlush::set_has_dccl_id() {
1822 _has_bits_[0] |= 0x00000001u;
1824 inline void QueueFlush::clear_has_dccl_id() {
1825 _has_bits_[0] &= ~0x00000001u;
1827 inline void QueueFlush::clear_dccl_id() {
1829 clear_has_dccl_id();
1831 inline ::google::protobuf::uint32 QueueFlush::dccl_id()
const {
1835 inline void QueueFlush::set_dccl_id(::google::protobuf::uint32 value) {
1846 inline bool QueuedMessageMeta::has_non_repeated_size()
const {
1847 return (_has_bits_[0] & 0x00000001u) != 0;
1849 inline void QueuedMessageMeta::set_has_non_repeated_size() {
1850 _has_bits_[0] |= 0x00000001u;
1852 inline void QueuedMessageMeta::clear_has_non_repeated_size() {
1853 _has_bits_[0] &= ~0x00000001u;
1855 inline void QueuedMessageMeta::clear_non_repeated_size() {
1856 non_repeated_size_ = 0u;
1857 clear_has_non_repeated_size();
1859 inline ::google::protobuf::uint32 QueuedMessageMeta::non_repeated_size()
const {
1861 return non_repeated_size_;
1863 inline void QueuedMessageMeta::set_non_repeated_size(::google::protobuf::uint32 value) {
1864 set_has_non_repeated_size();
1865 non_repeated_size_ = value;
1870 inline bool QueuedMessageMeta::has_ack_requested()
const {
1871 return (_has_bits_[0] & 0x00000002u) != 0;
1873 inline void QueuedMessageMeta::set_has_ack_requested() {
1874 _has_bits_[0] |= 0x00000002u;
1876 inline void QueuedMessageMeta::clear_has_ack_requested() {
1877 _has_bits_[0] &= ~0x00000002u;
1879 inline void QueuedMessageMeta::clear_ack_requested() {
1880 ack_requested_ =
false;
1881 clear_has_ack_requested();
1883 inline bool QueuedMessageMeta::ack_requested()
const {
1885 return ack_requested_;
1887 inline void QueuedMessageMeta::set_ack_requested(
bool value) {
1888 set_has_ack_requested();
1889 ack_requested_ = value;
1894 inline bool QueuedMessageMeta::has_src()
const {
1895 return (_has_bits_[0] & 0x00000004u) != 0;
1897 inline void QueuedMessageMeta::set_has_src() {
1898 _has_bits_[0] |= 0x00000004u;
1900 inline void QueuedMessageMeta::clear_has_src() {
1901 _has_bits_[0] &= ~0x00000004u;
1903 inline void QueuedMessageMeta::clear_src() {
1907 inline ::google::protobuf::int32 QueuedMessageMeta::src()
const {
1911 inline void QueuedMessageMeta::set_src(::google::protobuf::int32 value) {
1918 inline bool QueuedMessageMeta::has_dest()
const {
1919 return (_has_bits_[0] & 0x00000008u) != 0;
1921 inline void QueuedMessageMeta::set_has_dest() {
1922 _has_bits_[0] |= 0x00000008u;
1924 inline void QueuedMessageMeta::clear_has_dest() {
1925 _has_bits_[0] &= ~0x00000008u;
1927 inline void QueuedMessageMeta::clear_dest() {
1931 inline ::google::protobuf::int32 QueuedMessageMeta::dest()
const {
1935 inline void QueuedMessageMeta::set_dest(::google::protobuf::int32 value) {
1942 inline bool QueuedMessageMeta::has_time()
const {
1943 return (_has_bits_[0] & 0x00000010u) != 0;
1945 inline void QueuedMessageMeta::set_has_time() {
1946 _has_bits_[0] |= 0x00000010u;
1948 inline void QueuedMessageMeta::clear_has_time() {
1949 _has_bits_[0] &= ~0x00000010u;
1951 inline void QueuedMessageMeta::clear_time() {
1952 time_ = GOOGLE_ULONGLONG(0);
1955 inline ::google::protobuf::uint64 QueuedMessageMeta::time()
const {
1959 inline void QueuedMessageMeta::set_time(::google::protobuf::uint64 value) {
1966 inline bool QueuedMessageMeta::has_last_sent_time()
const {
1967 return (_has_bits_[0] & 0x00000020u) != 0;
1969 inline void QueuedMessageMeta::set_has_last_sent_time() {
1970 _has_bits_[0] |= 0x00000020u;
1972 inline void QueuedMessageMeta::clear_has_last_sent_time() {
1973 _has_bits_[0] &= ~0x00000020u;
1975 inline void QueuedMessageMeta::clear_last_sent_time() {
1976 last_sent_time_ = GOOGLE_ULONGLONG(0);
1977 clear_has_last_sent_time();
1979 inline ::google::protobuf::uint64 QueuedMessageMeta::last_sent_time()
const {
1981 return last_sent_time_;
1983 inline void QueuedMessageMeta::set_last_sent_time(::google::protobuf::uint64 value) {
1984 set_has_last_sent_time();
1985 last_sent_time_ = value;
1990 inline bool QueuedMessageMeta::has_encoded_message()
const {
1991 return (_has_bits_[0] & 0x00000040u) != 0;
1993 inline void QueuedMessageMeta::set_has_encoded_message() {
1994 _has_bits_[0] |= 0x00000040u;
1996 inline void QueuedMessageMeta::clear_has_encoded_message() {
1997 _has_bits_[0] &= ~0x00000040u;
1999 inline void QueuedMessageMeta::clear_encoded_message() {
2000 if (encoded_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2001 encoded_message_->clear();
2003 clear_has_encoded_message();
2005 inline const ::std::string& QueuedMessageMeta::encoded_message()
const {
2007 return *encoded_message_;
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;
2014 encoded_message_->assign(value);
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;
2022 encoded_message_->assign(value);
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;
2030 encoded_message_->assign(reinterpret_cast<const char*>(value), size);
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;
2039 return encoded_message_;
2041 inline ::std::string* QueuedMessageMeta::release_encoded_message() {
2042 clear_has_encoded_message();
2043 if (encoded_message_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2046 ::std::string* temp = encoded_message_;
2047 encoded_message_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2051 inline void QueuedMessageMeta::set_allocated_encoded_message(::std::string* encoded_message) {
2052 if (encoded_message_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2053 delete encoded_message_;
2055 if (encoded_message) {
2056 set_has_encoded_message();
2057 encoded_message_ = encoded_message;
2059 clear_has_encoded_message();
2060 encoded_message_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2074 namespace protobuf {
2076 template <>
struct is_proto_enum< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting> : ::google::protobuf::internal::true_type {};
2078 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting>() {
2079 return ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting_descriptor();
2081 template <>
struct is_proto_enum< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType> : ::google::protobuf::internal::true_type {};
2083 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType>() {
2084 return ::goby::acomms::protobuf::QueuedMessageEntry_RoleType_descriptor();
2093 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2fqueue_2eproto__INCLUDED
The global namespace for the Goby project.