4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fqueue_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fqueue_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "dccl/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <boost/units/systems/si.hpp>
44 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fqueue_2eproto
49 static const ::google::protobuf::internal::ParseTableField
entries[];
50 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
51 static const ::google::protobuf::internal::ParseTable
schema[7];
62 class QueueFlushDefaultTypeInternal;
64 class QueueManagerConfig;
65 class QueueManagerConfigDefaultTypeInternal;
67 class QueueManagerConfig_DCCLEncryptRule;
68 class QueueManagerConfig_DCCLEncryptRuleDefaultTypeInternal;
71 class QueueSizeDefaultTypeInternal;
73 class QueuedMessageEntry;
74 class QueuedMessageEntryDefaultTypeInternal;
76 class QueuedMessageEntry_Role;
77 class QueuedMessageEntry_RoleDefaultTypeInternal;
79 class QueuedMessageMeta;
80 class QueuedMessageMetaDefaultTypeInternal;
111 return ::google::protobuf::internal::NameOfEnum(
116 return ::google::protobuf::internal::ParseNamedEnum<QueuedMessageEntry_Role_RoleSetting>(
131 return ::google::protobuf::internal::NameOfEnum(
136 return ::google::protobuf::internal::ParseNamedEnum<QueuedMessageEntry_RoleType>(
155 *
this = ::std::move(from);
159 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
160 if (
this != &from) InternalSwap(&from);
168 return _internal_metadata_.unknown_fields();
171 return _internal_metadata_.mutable_unknown_fields();
174 static const ::google::protobuf::Descriptor*
descriptor();
193 return CreateMaybeMessage<QueuedMessageEntry_Role>(NULL);
197 return CreateMaybeMessage<QueuedMessageEntry_Role>(arena);
199 void CopyFrom(const ::google::protobuf::Message& from)
final;
200 void MergeFrom(const ::google::protobuf::Message& from)
final;
208 ::
google::protobuf::io::CodedInputStream* input) final;
210 ::
google::protobuf::io::CodedOutputStream* output) const final;
212 bool deterministic, ::
google::protobuf::uint8* target) const final;
218 void SetCachedSize(
int size)
const final;
221 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
224 inline void* MaybeArenaPtr()
const {
247 static inline const ::google::protobuf::EnumDescriptor*
265 const ::std::string&
field()
const;
266 void set_field(const ::std::string& value);
271 void set_field(
const char* value,
size_t size);
300 void clear_has_type();
301 void set_has_setting();
302 void clear_has_setting();
303 void set_has_field();
304 void clear_has_field();
305 void set_has_static_value();
306 void clear_has_static_value();
308 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
309 ::google::protobuf::internal::HasBits<1> _has_bits_;
310 mutable ::google::protobuf::internal::CachedSize _cached_size_;
311 ::google::protobuf::internal::ArenaStringPtr field_;
315 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fqueue_2eproto::TableStruct;
333 *
this = ::std::move(from);
337 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
338 if (
this != &from) InternalSwap(&from);
346 return _internal_metadata_.unknown_fields();
349 return _internal_metadata_.mutable_unknown_fields();
352 static const ::google::protobuf::Descriptor*
descriptor();
371 return CreateMaybeMessage<QueuedMessageEntry>(NULL);
375 return CreateMaybeMessage<QueuedMessageEntry>(arena);
377 void CopyFrom(const ::google::protobuf::Message& from)
final;
378 void MergeFrom(const ::google::protobuf::Message& from)
final;
386 ::
google::protobuf::io::CodedInputStream* input) final;
388 ::
google::protobuf::io::CodedOutputStream* output) const final;
390 bool deterministic, ::
google::protobuf::uint8* target) const final;
396 void SetCachedSize(
int size)
const final;
399 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
402 inline void* MaybeArenaPtr()
const {
429 static inline const ::google::protobuf::EnumDescriptor*
450 const ::google::protobuf::RepeatedField<int>&
manipulator()
const;
460 const ::goby::acomms::protobuf::QueuedMessageEntry_Role&
role(
int index)
const;
462 const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >&
524 void set_has_protobuf_name();
525 void clear_has_protobuf_name();
527 void clear_has_ack();
528 void set_has_blackout_time();
529 void clear_has_blackout_time();
530 void set_has_max_queue();
531 void clear_has_max_queue();
532 void set_has_newest_first();
533 void clear_has_newest_first();
535 void clear_has_ttl();
536 void set_has_value_base();
537 void clear_has_value_base();
539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
540 ::google::protobuf::internal::HasBits<1> _has_bits_;
541 mutable ::google::protobuf::internal::CachedSize _cached_size_;
544 ::google::protobuf::internal::ArenaStringPtr protobuf_name_;
551 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fqueue_2eproto::TableStruct;
569 *
this = ::std::move(from);
573 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
574 if (
this != &from) InternalSwap(&from);
582 return _internal_metadata_.unknown_fields();
585 return _internal_metadata_.mutable_unknown_fields();
588 static const ::google::protobuf::Descriptor*
descriptor();
607 return CreateMaybeMessage<QueueManagerConfig_DCCLEncryptRule>(NULL);
611 return CreateMaybeMessage<QueueManagerConfig_DCCLEncryptRule>(arena);
613 void CopyFrom(const ::google::protobuf::Message& from)
final;
614 void MergeFrom(const ::google::protobuf::Message& from)
final;
622 ::
google::protobuf::io::CodedInputStream* input) final;
624 ::
google::protobuf::io::CodedOutputStream* output) const final;
626 bool deterministic, ::
google::protobuf::uint8* target) const final;
632 void SetCachedSize(
int size)
const final;
635 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
638 inline void* MaybeArenaPtr()
const {
675 void set_has_crypto_passphrase();
676 void clear_has_crypto_passphrase();
678 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
679 ::google::protobuf::internal::HasBits<1> _has_bits_;
680 mutable ::google::protobuf::internal::CachedSize _cached_size_;
681 ::google::protobuf::internal::ArenaStringPtr crypto_passphrase_;
683 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fqueue_2eproto::TableStruct;
701 *
this = ::std::move(from);
705 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
706 if (
this != &from) InternalSwap(&from);
714 return _internal_metadata_.unknown_fields();
717 return _internal_metadata_.mutable_unknown_fields();
720 static const ::google::protobuf::Descriptor*
descriptor();
739 return CreateMaybeMessage<QueueManagerConfig>(NULL);
743 return CreateMaybeMessage<QueueManagerConfig>(arena);
745 void CopyFrom(const ::google::protobuf::Message& from)
final;
746 void MergeFrom(const ::google::protobuf::Message& from)
final;
754 ::
google::protobuf::io::CodedInputStream* input) final;
756 ::
google::protobuf::io::CodedOutputStream* output) const final;
758 bool deterministic, ::
google::protobuf::uint8* target) const final;
764 void SetCachedSize(
int size)
const final;
767 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
770 inline void* MaybeArenaPtr()
const {
861 void set_has_modem_id();
862 void clear_has_modem_id();
863 void set_has_on_demand_skew_seconds();
864 void clear_has_on_demand_skew_seconds();
865 void set_has_minimum_ack_wait_seconds();
866 void clear_has_minimum_ack_wait_seconds();
867 void set_has_skip_decoding();
868 void clear_has_skip_decoding();
870 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
871 ::
google::protobuf::internal::HasBits<1> _has_bits_;
872 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
874 ::
google::protobuf::RepeatedField< ::
google::protobuf::
int32 > make_network_ack_for_src_id_;
875 ::
google::protobuf::RepeatedField< ::
google::protobuf::
int32 > route_for_additional_modem_id_;
879 double minimum_ack_wait_seconds_;
880 double on_demand_skew_seconds_;
899 *
this = ::std::move(from);
902 inline QueueSize&
operator=(QueueSize&& from) noexcept {
903 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
904 if (
this != &from) InternalSwap(&from);
912 return _internal_metadata_.unknown_fields();
915 return _internal_metadata_.mutable_unknown_fields();
918 static const ::google::protobuf::Descriptor*
descriptor();
923 return reinterpret_cast<const QueueSize*
>(
937 return CreateMaybeMessage<QueueSize>(NULL);
941 return CreateMaybeMessage<QueueSize>(arena);
943 void CopyFrom(const ::google::protobuf::Message& from)
final;
944 void MergeFrom(const ::google::protobuf::Message& from)
final;
952 ::
google::protobuf::io::CodedInputStream* input) final;
954 ::
google::protobuf::io::CodedOutputStream* output) const final;
956 bool deterministic, ::
google::protobuf::uint8* target) const final;
962 void SetCachedSize(
int size)
const final;
965 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
968 inline void* MaybeArenaPtr()
const {
980 bool has_dccl_id() const;
981 void clear_dccl_id();
982 static const
int kDcclIdFieldNumber = 1;
987 bool has_size() const;
989 static const
int kSizeFieldNumber = 2;
995 void set_has_dccl_id();
996 void clear_has_dccl_id();
998 void clear_has_size();
1001 size_t RequiredFieldsByteSizeFallback() const;
1003 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1004 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1005 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1026 *
this = ::std::move(from);
1029 inline QueueFlush&
operator=(QueueFlush&& from) noexcept {
1030 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1031 if (
this != &from) InternalSwap(&from);
1039 return _internal_metadata_.unknown_fields();
1042 return _internal_metadata_.mutable_unknown_fields();
1045 static const ::google::protobuf::Descriptor*
descriptor();
1064 return CreateMaybeMessage<QueueFlush>(NULL);
1068 return CreateMaybeMessage<QueueFlush>(arena);
1070 void CopyFrom(const ::google::protobuf::Message& from)
final;
1071 void MergeFrom(const ::google::protobuf::Message& from)
final;
1079 ::
google::protobuf::io::CodedInputStream* input) final;
1081 ::
google::protobuf::io::CodedOutputStream* output) const final;
1083 bool deterministic, ::
google::protobuf::uint8* target) const final;
1089 void SetCachedSize(
int size)
const final;
1092 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1095 inline void* MaybeArenaPtr()
const {
1107 bool has_dccl_id() const;
1108 void clear_dccl_id();
1109 static const
int kDcclIdFieldNumber = 1;
1115 void set_has_dccl_id();
1116 void clear_has_dccl_id();
1118 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1119 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1120 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1140 *
this = ::std::move(from);
1143 inline QueuedMessageMeta&
operator=(QueuedMessageMeta&& from) noexcept {
1144 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1145 if (
this != &from) InternalSwap(&from);
1153 return _internal_metadata_.unknown_fields();
1156 return _internal_metadata_.mutable_unknown_fields();
1159 static const ::google::protobuf::Descriptor*
descriptor();
1178 return CreateMaybeMessage<QueuedMessageMeta>(NULL);
1182 return CreateMaybeMessage<QueuedMessageMeta>(arena);
1184 void CopyFrom(const ::google::protobuf::Message& from)
final;
1185 void MergeFrom(const ::google::protobuf::Message& from)
final;
1193 ::
google::protobuf::io::CodedInputStream* input) final;
1195 ::
google::protobuf::io::CodedOutputStream* output) const final;
1197 bool deterministic, ::
google::protobuf::uint8* target) const final;
1203 void SetCachedSize(
int size)
const final;
1206 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1209 inline void* MaybeArenaPtr()
const {
1221 bool has_encoded_message() const;
1222 void clear_encoded_message();
1223 static const
int kEncodedMessageFieldNumber = 20;
1224 const ::std::
string& encoded_message() const;
1225 void set_encoded_message(const ::std::
string& value);
1227 void set_encoded_message(::std::string&& value);
1229 void set_encoded_message(
const char* value);
1230 void set_encoded_message(
const void* value,
size_t size);
1231 ::std::string* mutable_encoded_message();
1232 ::std::string* release_encoded_message();
1233 void set_allocated_encoded_message(::std::string* encoded_message);
1236 bool has_non_repeated_size()
const;
1237 void clear_non_repeated_size();
1238 static const int kNonRepeatedSizeFieldNumber = 1;
1243 bool has_ack_requested()
const;
1244 void clear_ack_requested();
1245 static const int kAckRequestedFieldNumber = 2;
1246 bool ack_requested()
const;
1247 void set_ack_requested(
bool value);
1250 bool has_src()
const;
1252 static const int kSrcFieldNumber = 3;
1257 bool has_dest()
const;
1259 static const int kDestFieldNumber = 4;
1264 bool has_time()
const;
1266 static const int kTimeFieldNumber = 5;
1271 bool has_last_sent_time()
const;
1272 void clear_last_sent_time();
1273 static const int kLastSentTimeFieldNumber = 10;
1279 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >
::type time_unit;
1281 template<
typename Quantity >
1283 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1285 template<
typename Quantity >
1290 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1294 typedef boost::units::make_scaled_unit<boost::units::unit<last_sent_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >
::type last_sent_time_unit;
1296 template<
typename Quantity >
1298 { set_last_sent_time(boost::units::quantity<last_sent_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1300 template<
typename Quantity >
1305 {
return last_sent_time_with_units<boost::units::quantity< last_sent_time_unit,google::protobuf::uint64 > >(); };
1309 void set_has_non_repeated_size();
1310 void clear_has_non_repeated_size();
1311 void set_has_ack_requested();
1312 void clear_has_ack_requested();
1314 void clear_has_src();
1315 void set_has_dest();
1316 void clear_has_dest();
1317 void set_has_time();
1318 void clear_has_time();
1319 void set_has_last_sent_time();
1320 void clear_has_last_sent_time();
1321 void set_has_encoded_message();
1322 void clear_has_encoded_message();
1324 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1325 ::google::protobuf::internal::HasBits<1> _has_bits_;
1326 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1327 ::google::protobuf::internal::ArenaStringPtr encoded_message_;
1329 bool ack_requested_;
1334 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fqueue_2eproto::TableStruct;
1342 #pragma GCC diagnostic push
1343 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1349 return (_has_bits_[0] & 0x00000004u) != 0;
1351 inline void QueuedMessageEntry_Role::set_has_type() {
1352 _has_bits_[0] |= 0x00000004u;
1354 inline void QueuedMessageEntry_Role::clear_has_type() {
1355 _has_bits_[0] &= ~0x00000004u;
1374 return (_has_bits_[0] & 0x00000008u) != 0;
1376 inline void QueuedMessageEntry_Role::set_has_setting() {
1377 _has_bits_[0] |= 0x00000008u;
1379 inline void QueuedMessageEntry_Role::clear_has_setting() {
1380 _has_bits_[0] &= ~0x00000008u;
1384 clear_has_setting();
1399 return (_has_bits_[0] & 0x00000001u) != 0;
1401 inline void QueuedMessageEntry_Role::set_has_field() {
1402 _has_bits_[0] |= 0x00000001u;
1404 inline void QueuedMessageEntry_Role::clear_has_field() {
1405 _has_bits_[0] &= ~0x00000001u;
1413 return field_.GetNoArena();
1429 GOOGLE_DCHECK(value != NULL);
1437 ::std::string(
reinterpret_cast<const char*
>(value), size));
1454 if (
field != NULL) {
1465 return (_has_bits_[0] & 0x00000002u) != 0;
1467 inline void QueuedMessageEntry_Role::set_has_static_value() {
1468 _has_bits_[0] |= 0x00000002u;
1470 inline void QueuedMessageEntry_Role::clear_has_static_value() {
1471 _has_bits_[0] &= ~0x00000002u;
1475 clear_has_static_value();
1479 return static_value_;
1482 set_has_static_value();
1483 static_value_ = value;
1493 return (_has_bits_[0] & 0x00000001u) != 0;
1495 inline void QueuedMessageEntry::set_has_protobuf_name() {
1496 _has_bits_[0] |= 0x00000001u;
1498 inline void QueuedMessageEntry::clear_has_protobuf_name() {
1499 _has_bits_[0] &= ~0x00000001u;
1503 clear_has_protobuf_name();
1507 return protobuf_name_.GetNoArena();
1510 set_has_protobuf_name();
1516 set_has_protobuf_name();
1517 protobuf_name_.SetNoArena(
1523 GOOGLE_DCHECK(value != NULL);
1524 set_has_protobuf_name();
1529 set_has_protobuf_name();
1531 ::std::string(
reinterpret_cast<const char*
>(value), size));
1535 set_has_protobuf_name();
1541 if (!has_protobuf_name()) {
1544 clear_has_protobuf_name();
1548 if (protobuf_name != NULL) {
1549 set_has_protobuf_name();
1551 clear_has_protobuf_name();
1559 return (_has_bits_[0] & 0x00000008u) != 0;
1561 inline void QueuedMessageEntry::set_has_ack() {
1562 _has_bits_[0] |= 0x00000008u;
1564 inline void QueuedMessageEntry::clear_has_ack() {
1565 _has_bits_[0] &= ~0x00000008u;
1583 return (_has_bits_[0] & 0x00000002u) != 0;
1585 inline void QueuedMessageEntry::set_has_blackout_time() {
1586 _has_bits_[0] |= 0x00000002u;
1588 inline void QueuedMessageEntry::clear_has_blackout_time() {
1589 _has_bits_[0] &= ~0x00000002u;
1592 blackout_time_ = 0u;
1593 clear_has_blackout_time();
1597 return blackout_time_;
1600 set_has_blackout_time();
1601 blackout_time_ = value;
1607 return (_has_bits_[0] & 0x00000020u) != 0;
1609 inline void QueuedMessageEntry::set_has_max_queue() {
1610 _has_bits_[0] |= 0x00000020u;
1612 inline void QueuedMessageEntry::clear_has_max_queue() {
1613 _has_bits_[0] &= ~0x00000020u;
1617 clear_has_max_queue();
1624 set_has_max_queue();
1631 return (_has_bits_[0] & 0x00000010u) != 0;
1633 inline void QueuedMessageEntry::set_has_newest_first() {
1634 _has_bits_[0] |= 0x00000010u;
1636 inline void QueuedMessageEntry::clear_has_newest_first() {
1637 _has_bits_[0] &= ~0x00000010u;
1640 newest_first_ =
true;
1641 clear_has_newest_first();
1645 return newest_first_;
1648 set_has_newest_first();
1649 newest_first_ = value;
1655 return (_has_bits_[0] & 0x00000004u) != 0;
1657 inline void QueuedMessageEntry::set_has_ttl() {
1658 _has_bits_[0] |= 0x00000004u;
1660 inline void QueuedMessageEntry::clear_has_ttl() {
1661 _has_bits_[0] &= ~0x00000004u;
1679 return (_has_bits_[0] & 0x00000040u) != 0;
1681 inline void QueuedMessageEntry::set_has_value_base() {
1682 _has_bits_[0] |= 0x00000040u;
1684 inline void QueuedMessageEntry::clear_has_value_base() {
1685 _has_bits_[0] &= ~0x00000040u;
1689 clear_has_value_base();
1696 set_has_value_base();
1697 value_base_ = value;
1703 return manipulator_.size();
1706 manipulator_.Clear();
1714 manipulator_.Set(index, value);
1719 manipulator_.Add(value);
1722 inline const ::google::protobuf::RepeatedField<int>&
1725 return manipulator_;
1727 inline ::google::protobuf::RepeatedField<int>*
1730 return &manipulator_;
1735 return role_.size();
1742 return role_.Mutable(index);
1744 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >*
1751 return role_.Get(index);
1757 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry_Role >&
1769 return (_has_bits_[0] & 0x00000002u) != 0;
1771 inline void QueueManagerConfig_DCCLEncryptRule::set_has_id() {
1772 _has_bits_[0] |= 0x00000002u;
1774 inline void QueueManagerConfig_DCCLEncryptRule::clear_has_id() {
1775 _has_bits_[0] &= ~0x00000002u;
1793 return (_has_bits_[0] & 0x00000001u) != 0;
1795 inline void QueueManagerConfig_DCCLEncryptRule::set_has_crypto_passphrase() {
1796 _has_bits_[0] |= 0x00000001u;
1798 inline void QueueManagerConfig_DCCLEncryptRule::clear_has_crypto_passphrase() {
1799 _has_bits_[0] &= ~0x00000001u;
1803 clear_has_crypto_passphrase();
1807 return crypto_passphrase_.GetNoArena();
1810 set_has_crypto_passphrase();
1816 set_has_crypto_passphrase();
1817 crypto_passphrase_.SetNoArena(
1823 GOOGLE_DCHECK(value != NULL);
1824 set_has_crypto_passphrase();
1829 set_has_crypto_passphrase();
1831 ::std::string(
reinterpret_cast<const char*
>(value), size));
1835 set_has_crypto_passphrase();
1841 if (!has_crypto_passphrase()) {
1844 clear_has_crypto_passphrase();
1848 if (crypto_passphrase != NULL) {
1849 set_has_crypto_passphrase();
1851 clear_has_crypto_passphrase();
1863 return (_has_bits_[0] & 0x00000001u) != 0;
1865 inline void QueueManagerConfig::set_has_modem_id() {
1866 _has_bits_[0] |= 0x00000001u;
1868 inline void QueueManagerConfig::clear_has_modem_id() {
1869 _has_bits_[0] &= ~0x00000001u;
1873 clear_has_modem_id();
1887 return message_entry_.size();
1890 message_entry_.Clear();
1894 return message_entry_.Mutable(index);
1896 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >*
1899 return &message_entry_;
1903 return message_entry_.Get(index);
1907 return message_entry_.Add();
1909 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueuedMessageEntry >&
1912 return message_entry_;
1917 return (_has_bits_[0] & 0x00000008u) != 0;
1919 inline void QueueManagerConfig::set_has_on_demand_skew_seconds() {
1920 _has_bits_[0] |= 0x00000008u;
1922 inline void QueueManagerConfig::clear_has_on_demand_skew_seconds() {
1923 _has_bits_[0] &= ~0x00000008u;
1926 on_demand_skew_seconds_ = 1;
1927 clear_has_on_demand_skew_seconds();
1931 return on_demand_skew_seconds_;
1934 set_has_on_demand_skew_seconds();
1935 on_demand_skew_seconds_ = value;
1941 return (_has_bits_[0] & 0x00000004u) != 0;
1943 inline void QueueManagerConfig::set_has_minimum_ack_wait_seconds() {
1944 _has_bits_[0] |= 0x00000004u;
1946 inline void QueueManagerConfig::clear_has_minimum_ack_wait_seconds() {
1947 _has_bits_[0] &= ~0x00000004u;
1950 minimum_ack_wait_seconds_ = 0;
1951 clear_has_minimum_ack_wait_seconds();
1955 return minimum_ack_wait_seconds_;
1958 set_has_minimum_ack_wait_seconds();
1959 minimum_ack_wait_seconds_ = value;
1965 return (_has_bits_[0] & 0x00000002u) != 0;
1967 inline void QueueManagerConfig::set_has_skip_decoding() {
1968 _has_bits_[0] |= 0x00000002u;
1970 inline void QueueManagerConfig::clear_has_skip_decoding() {
1971 _has_bits_[0] &= ~0x00000002u;
1974 skip_decoding_ =
false;
1975 clear_has_skip_decoding();
1979 return skip_decoding_;
1982 set_has_skip_decoding();
1983 skip_decoding_ = value;
1989 return make_network_ack_for_src_id_.size();
1992 make_network_ack_for_src_id_.Clear();
1996 return make_network_ack_for_src_id_.Get(index);
1999 make_network_ack_for_src_id_.Set(index, value);
2003 make_network_ack_for_src_id_.Add(value);
2006 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2009 return make_network_ack_for_src_id_;
2011 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2014 return &make_network_ack_for_src_id_;
2019 return route_for_additional_modem_id_.size();
2022 route_for_additional_modem_id_.Clear();
2026 return route_for_additional_modem_id_.Get(index);
2029 route_for_additional_modem_id_.Set(index, value);
2033 route_for_additional_modem_id_.Add(value);
2036 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2039 return route_for_additional_modem_id_;
2041 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2044 return &route_for_additional_modem_id_;
2049 return encrypt_rule_.size();
2052 encrypt_rule_.Clear();
2056 return encrypt_rule_.Mutable(index);
2058 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >*
2061 return &encrypt_rule_;
2065 return encrypt_rule_.Get(index);
2069 return encrypt_rule_.Add();
2071 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::QueueManagerConfig_DCCLEncryptRule >&
2074 return encrypt_rule_;
2083 return (_has_bits_[0] & 0x00000001u) != 0;
2085 inline void QueueSize::set_has_dccl_id() {
2086 _has_bits_[0] |= 0x00000001u;
2088 inline void QueueSize::clear_has_dccl_id() {
2089 _has_bits_[0] &= ~0x00000001u;
2093 clear_has_dccl_id();
2107 return (_has_bits_[0] & 0x00000002u) != 0;
2109 inline void QueueSize::set_has_size() {
2110 _has_bits_[0] |= 0x00000002u;
2112 inline void QueueSize::clear_has_size() {
2113 _has_bits_[0] &= ~0x00000002u;
2135 return (_has_bits_[0] & 0x00000001u) != 0;
2137 inline void QueueFlush::set_has_dccl_id() {
2138 _has_bits_[0] |= 0x00000001u;
2140 inline void QueueFlush::clear_has_dccl_id() {
2141 _has_bits_[0] &= ~0x00000001u;
2145 clear_has_dccl_id();
2163 return (_has_bits_[0] & 0x00000002u) != 0;
2165 inline void QueuedMessageMeta::set_has_non_repeated_size() {
2166 _has_bits_[0] |= 0x00000002u;
2168 inline void QueuedMessageMeta::clear_has_non_repeated_size() {
2169 _has_bits_[0] &= ~0x00000002u;
2172 non_repeated_size_ = 0u;
2173 clear_has_non_repeated_size();
2177 return non_repeated_size_;
2180 set_has_non_repeated_size();
2181 non_repeated_size_ = value;
2187 return (_has_bits_[0] & 0x00000004u) != 0;
2189 inline void QueuedMessageMeta::set_has_ack_requested() {
2190 _has_bits_[0] |= 0x00000004u;
2192 inline void QueuedMessageMeta::clear_has_ack_requested() {
2193 _has_bits_[0] &= ~0x00000004u;
2196 ack_requested_ =
false;
2197 clear_has_ack_requested();
2201 return ack_requested_;
2204 set_has_ack_requested();
2205 ack_requested_ = value;
2211 return (_has_bits_[0] & 0x00000008u) != 0;
2213 inline void QueuedMessageMeta::set_has_src() {
2214 _has_bits_[0] |= 0x00000008u;
2216 inline void QueuedMessageMeta::clear_has_src() {
2217 _has_bits_[0] &= ~0x00000008u;
2235 return (_has_bits_[0] & 0x00000010u) != 0;
2237 inline void QueuedMessageMeta::set_has_dest() {
2238 _has_bits_[0] |= 0x00000010u;
2240 inline void QueuedMessageMeta::clear_has_dest() {
2241 _has_bits_[0] &= ~0x00000010u;
2259 return (_has_bits_[0] & 0x00000020u) != 0;
2261 inline void QueuedMessageMeta::set_has_time() {
2262 _has_bits_[0] |= 0x00000020u;
2264 inline void QueuedMessageMeta::clear_has_time() {
2265 _has_bits_[0] &= ~0x00000020u;
2268 time_ = GOOGLE_ULONGLONG(0);
2283 return (_has_bits_[0] & 0x00000040u) != 0;
2285 inline void QueuedMessageMeta::set_has_last_sent_time() {
2286 _has_bits_[0] |= 0x00000040u;
2288 inline void QueuedMessageMeta::clear_has_last_sent_time() {
2289 _has_bits_[0] &= ~0x00000040u;
2292 last_sent_time_ = GOOGLE_ULONGLONG(0);
2293 clear_has_last_sent_time();
2297 return last_sent_time_;
2300 set_has_last_sent_time();
2301 last_sent_time_ = value;
2307 return (_has_bits_[0] & 0x00000001u) != 0;
2309 inline void QueuedMessageMeta::set_has_encoded_message() {
2310 _has_bits_[0] |= 0x00000001u;
2312 inline void QueuedMessageMeta::clear_has_encoded_message() {
2313 _has_bits_[0] &= ~0x00000001u;
2317 clear_has_encoded_message();
2321 return encoded_message_.GetNoArena();
2324 set_has_encoded_message();
2330 set_has_encoded_message();
2331 encoded_message_.SetNoArena(
2337 GOOGLE_DCHECK(value != NULL);
2338 set_has_encoded_message();
2343 set_has_encoded_message();
2345 ::std::string(
reinterpret_cast<const char*
>(value), size));
2349 set_has_encoded_message();
2355 if (!has_encoded_message()) {
2358 clear_has_encoded_message();
2362 if (encoded_message != NULL) {
2363 set_has_encoded_message();
2365 clear_has_encoded_message();
2372 #pragma GCC diagnostic pop
2394 namespace protobuf {
2398 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::QueuedMessageEntry_Role_RoleSetting>() {
2403 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::QueuedMessageEntry_RoleType>() {
2412 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fqueue_2eproto