4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fdriver_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>
37 #include "dccl/option_extensions.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <boost/units/systems/angle/degrees.hpp>
45 #include <boost/units/systems/si.hpp>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto
52 static const ::google::protobuf::internal::ParseTableField
entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
54 static const ::google::protobuf::internal::ParseTable
schema[7];
66 class ConfigDefaultTypeInternal;
69 class Config_RemoteDefaultTypeInternal;
72 class IridiumHeaderDefaultTypeInternal;
75 class ReportDefaultTypeInternal;
77 class RockblockReceive;
78 class RockblockReceiveDefaultTypeInternal;
80 class RockblockTransmit;
81 class RockblockTransmitDefaultTypeInternal;
84 class TransmissionDefaultTypeInternal;
140 return ::google::protobuf::internal::NameOfEnum(
145 return ::google::protobuf::internal::ParseNamedEnum<RockblockTransmit_Error>(
163 return ::google::protobuf::internal::NameOfEnum(
168 return ::google::protobuf::internal::ParseNamedEnum<Report_RSSI>(
182 return ::google::protobuf::internal::NameOfEnum(
186 const ::std::string& name,
DeviceType* value) {
187 return ::google::protobuf::internal::ParseNamedEnum<DeviceType>(
206 *
this = ::std::move(from);
210 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
211 if (
this != &from) InternalSwap(&from);
219 return _internal_metadata_.unknown_fields();
222 return _internal_metadata_.mutable_unknown_fields();
225 static const ::google::protobuf::Descriptor*
descriptor();
244 return CreateMaybeMessage<Config_Remote>(NULL);
248 return CreateMaybeMessage<Config_Remote>(arena);
250 void CopyFrom(const ::google::protobuf::Message& from)
final;
251 void MergeFrom(const ::google::protobuf::Message& from)
final;
259 ::
google::protobuf::io::CodedInputStream* input) final;
261 ::
google::protobuf::io::CodedOutputStream* output) const final;
263 bool deterministic, ::
google::protobuf::uint8* target) const final;
269 void SetCachedSize(
int size)
const final;
272 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
275 inline void* MaybeArenaPtr()
const {
310 void set_has_iridium_number();
311 void clear_has_iridium_number();
312 void set_has_modem_id();
313 void clear_has_modem_id();
316 size_t RequiredFieldsByteSizeFallback()
const;
318 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
319 ::google::protobuf::internal::HasBits<1> _has_bits_;
320 mutable ::google::protobuf::internal::CachedSize _cached_size_;
321 ::google::protobuf::internal::ArenaStringPtr iridium_number_;
323 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto::TableStruct;
341 *
this = ::std::move(from);
345 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
346 if (
this != &from) InternalSwap(&from);
354 return _internal_metadata_.unknown_fields();
357 return _internal_metadata_.mutable_unknown_fields();
360 static const ::google::protobuf::Descriptor*
descriptor();
365 return reinterpret_cast<const Config*
>(
379 return CreateMaybeMessage<Config>(NULL);
383 return CreateMaybeMessage<Config>(arena);
385 void CopyFrom(const ::google::protobuf::Message& from)
final;
386 void MergeFrom(const ::google::protobuf::Message& from)
final;
394 ::
google::protobuf::io::CodedInputStream* input) final;
396 ::
google::protobuf::io::CodedOutputStream* output) const final;
398 bool deterministic, ::
google::protobuf::uint8* target) const final;
404 void SetCachedSize(
int size)
const final;
405 void InternalSwap(
Config* other);
407 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
410 inline void* MaybeArenaPtr()
const {
427 const ::std::
string&
config(
int index) const;
429 void set_config(
int index, const ::std::
string& value);
431 void set_config(
int index, ::std::string&& value);
433 void set_config(
int index,
const char* value);
434 void set_config(
int index,
const char* value,
size_t size);
441 void add_config(
const char* value,
size_t size);
442 const ::google::protobuf::RepeatedPtrField< ::std::string>&
config()
const;
450 const ::goby::acomms::iridium::protobuf::Config_Remote& _internal_remote()
const;
452 const ::goby::acomms::iridium::protobuf::Config_Remote&
remote()
const;
529 void set_has_remote();
530 void clear_has_remote();
531 void set_has_max_frame_size();
532 void clear_has_max_frame_size();
533 void set_has_target_bit_rate();
534 void clear_has_target_bit_rate();
535 void set_has_dial_attempts();
536 void clear_has_dial_attempts();
537 void set_has_debug_client_port();
538 void clear_has_debug_client_port();
539 void set_has_hangup_seconds_after_empty();
540 void clear_has_hangup_seconds_after_empty();
541 void set_has_start_timeout();
542 void clear_has_start_timeout();
543 void set_has_use_dtr();
544 void clear_has_use_dtr();
545 void set_has_handshake_hangup_seconds();
546 void clear_has_handshake_hangup_seconds();
547 void set_has_enable_sbdring_automatic_registration();
548 void clear_has_enable_sbdring_automatic_registration();
549 void set_has_device();
550 void clear_has_device();
552 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
553 ::google::protobuf::internal::HasBits<1> _has_bits_;
554 mutable ::google::protobuf::internal::CachedSize _cached_size_;
565 bool enable_sbdring_automatic_registration_;
567 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto::TableStruct;
585 *
this = ::std::move(from);
589 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
590 if (
this != &from) InternalSwap(&from);
598 return _internal_metadata_.unknown_fields();
601 return _internal_metadata_.mutable_unknown_fields();
604 static const ::google::protobuf::Descriptor*
descriptor();
623 return CreateMaybeMessage<RockblockReceive>(NULL);
627 return CreateMaybeMessage<RockblockReceive>(arena);
629 void CopyFrom(const ::google::protobuf::Message& from)
final;
630 void MergeFrom(const ::google::protobuf::Message& from)
final;
638 ::
google::protobuf::io::CodedInputStream* input) final;
640 ::
google::protobuf::io::CodedOutputStream* output) const final;
642 bool deterministic, ::
google::protobuf::uint8* target) const final;
648 void SetCachedSize(
int size)
const final;
651 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
654 inline void* MaybeArenaPtr()
const {
669 const ::std::
string&
imei() const;
670 void set_imei(const ::std::
string& value);
672 void set_imei(::std::string&& value);
675 void set_imei(
const char* value,
size_t size);
756 template<
typename Quantity >
758 {
set_iridium_latitude(boost::units::quantity<iridium_latitude_unit,double >(value_w_units).value() ); };
760 template<
typename Quantity >
765 {
return iridium_latitude_with_units<boost::units::quantity< iridium_latitude_unit,double > >(); };
771 template<
typename Quantity >
773 {
set_iridium_longitude(boost::units::quantity<iridium_longitude_unit,double >(value_w_units).value() ); };
775 template<
typename Quantity >
780 {
return iridium_longitude_with_units<boost::units::quantity< iridium_longitude_unit,double > >(); };
784 typedef boost::units::make_scaled_unit<boost::units::unit<iridium_cep_radius_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<3> > >
::type iridium_cep_radius_unit;
786 template<
typename Quantity >
788 {
set_iridium_cep_radius(boost::units::quantity<iridium_cep_radius_unit,double >(value_w_units).value() ); };
790 template<
typename Quantity >
795 {
return iridium_cep_radius_with_units<boost::units::quantity< iridium_cep_radius_unit,double > >(); };
799 void set_has_momsn();
800 void clear_has_momsn();
801 void set_has_iridium_latitude();
802 void clear_has_iridium_latitude();
803 void set_has_iridium_longitude();
804 void clear_has_iridium_longitude();
805 void set_has_iridium_cep_radius();
806 void clear_has_iridium_cep_radius();
807 void set_has_serial();
808 void clear_has_serial();
810 void clear_has_imei();
811 void set_has_device_type();
812 void clear_has_device_type();
813 void set_has_transmit_time();
814 void clear_has_transmit_time();
815 void set_has_jwt_verified();
816 void clear_has_jwt_verified();
818 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
819 ::google::protobuf::internal::HasBits<1> _has_bits_;
820 mutable ::google::protobuf::internal::CachedSize _cached_size_;
821 ::google::protobuf::internal::ArenaStringPtr imei_;
822 ::google::protobuf::internal::ArenaStringPtr device_type_;
823 ::google::protobuf::internal::ArenaStringPtr transmit_time_;
824 double iridium_latitude_;
825 double iridium_longitude_;
828 double iridium_cep_radius_;
830 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto::TableStruct;
848 *
this = ::std::move(from);
852 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
853 if (
this != &from) InternalSwap(&from);
861 return _internal_metadata_.unknown_fields();
864 return _internal_metadata_.mutable_unknown_fields();
867 static const ::google::protobuf::Descriptor*
descriptor();
886 return CreateMaybeMessage<RockblockTransmit>(NULL);
890 return CreateMaybeMessage<RockblockTransmit>(arena);
892 void CopyFrom(const ::google::protobuf::Message& from)
final;
893 void MergeFrom(const ::google::protobuf::Message& from)
final;
901 ::
google::protobuf::io::CodedInputStream* input) final;
903 ::
google::protobuf::io::CodedOutputStream* output) const final;
905 bool deterministic, ::
google::protobuf::uint8* target) const final;
911 void SetCachedSize(
int size)
const final;
914 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
917 inline void* MaybeArenaPtr()
const {
986 static inline const ::google::protobuf::EnumDescriptor*
1023 void set_has_success();
1024 void clear_has_success();
1025 void set_has_mt_id();
1026 void clear_has_mt_id();
1027 void set_has_error();
1028 void clear_has_error();
1030 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1031 ::google::protobuf::internal::HasBits<1> _has_bits_;
1032 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1036 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto::TableStruct;
1054 *
this = ::std::move(from);
1058 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1059 if (
this != &from) InternalSwap(&from);
1067 return _internal_metadata_.unknown_fields();
1070 return _internal_metadata_.mutable_unknown_fields();
1073 static const ::google::protobuf::Descriptor*
descriptor();
1092 return CreateMaybeMessage<Transmission>(NULL);
1096 return CreateMaybeMessage<Transmission>(arena);
1098 void CopyFrom(const ::google::protobuf::Message& from)
final;
1099 void MergeFrom(const ::google::protobuf::Message& from)
final;
1107 ::
google::protobuf::io::CodedInputStream* input) final;
1109 ::
google::protobuf::io::CodedOutputStream* output) const final;
1111 bool deterministic, ::
google::protobuf::uint8* target) const final;
1117 void SetCachedSize(
int size)
const final;
1120 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1123 inline void* MaybeArenaPtr()
const {
1167 void set_has_if_no_data_do_mailbox_check();
1168 void clear_has_if_no_data_do_mailbox_check();
1169 void set_has_rockblock_rx();
1170 void clear_has_rockblock_rx();
1171 void set_has_rockblock_tx();
1172 void clear_has_rockblock_tx();
1174 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1175 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1176 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1179 bool if_no_data_do_mailbox_check_;
1198 *
this = ::std::move(from);
1201 inline Report&
operator=(Report&& from) noexcept {
1202 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1203 if (
this != &from) InternalSwap(&from);
1211 return _internal_metadata_.unknown_fields();
1214 return _internal_metadata_.mutable_unknown_fields();
1217 static const ::google::protobuf::Descriptor*
descriptor();
1222 return reinterpret_cast<const Report*
>(
1236 return CreateMaybeMessage<Report>(NULL);
1240 return CreateMaybeMessage<Report>(arena);
1242 void CopyFrom(const ::google::protobuf::Message& from)
final;
1243 void MergeFrom(const ::google::protobuf::Message& from)
final;
1251 ::
google::protobuf::io::CodedInputStream* input) final;
1253 ::
google::protobuf::io::CodedOutputStream* output) const final;
1255 bool deterministic, ::
google::protobuf::uint8* target) const final;
1261 void SetCachedSize(
int size)
const final;
1262 void InternalSwap(
Report* other);
1264 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1267 inline void* MaybeArenaPtr()
const {
1289 static inline
bool RSSI_IsValid(
int value) {
1296 static const int RSSI_ARRAYSIZE =
1298 static inline const ::google::protobuf::EnumDescriptor*
1313 bool has_rssi()
const;
1315 static const int kRssiFieldNumber = 1;
1321 void set_has_rssi();
1322 void clear_has_rssi();
1324 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1325 ::google::protobuf::internal::HasBits<1> _has_bits_;
1326 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1328 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto::TableStruct;
1346 *
this = ::std::move(from);
1349 inline IridiumHeader&
operator=(IridiumHeader&& from) noexcept {
1350 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1351 if (
this != &from) InternalSwap(&from);
1359 return _internal_metadata_.unknown_fields();
1362 return _internal_metadata_.mutable_unknown_fields();
1365 static const ::google::protobuf::Descriptor*
descriptor();
1384 return CreateMaybeMessage<IridiumHeader>(NULL);
1388 return CreateMaybeMessage<IridiumHeader>(arena);
1390 void CopyFrom(const ::google::protobuf::Message& from)
final;
1391 void MergeFrom(const ::google::protobuf::Message& from)
final;
1399 ::
google::protobuf::io::CodedInputStream* input) final;
1401 ::
google::protobuf::io::CodedOutputStream* output) const final;
1403 bool deterministic, ::
google::protobuf::uint8* target) const final;
1409 void SetCachedSize(
int size)
const final;
1412 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1415 inline void* MaybeArenaPtr()
const {
1427 bool has_src() const;
1429 static const
int kSrcFieldNumber = 1;
1434 bool has_dest() const;
1436 static const
int kDestFieldNumber = 2;
1441 bool has_rate() const;
1443 static const
int kRateFieldNumber = 3;
1448 bool has_ack_requested() const;
1449 void clear_ack_requested();
1450 static const
int kAckRequestedFieldNumber = 5;
1451 bool ack_requested() const;
1452 void set_ack_requested(
bool value);
1455 bool has_frame_start() const;
1456 void clear_frame_start();
1457 static const
int kFrameStartFieldNumber = 6;
1459 void set_frame_start(::
google::protobuf::
uint32 value);
1462 bool has_acked_frame() const;
1463 void clear_acked_frame();
1464 static const
int kAckedFrameFieldNumber = 7;
1466 void set_acked_frame(::
google::protobuf::
int32 value);
1469 bool has_type() const;
1471 static const
int kTypeFieldNumber = 4;
1478 void clear_has_src();
1479 void set_has_dest();
1480 void clear_has_dest();
1481 void set_has_rate();
1482 void clear_has_rate();
1483 void set_has_type();
1484 void clear_has_type();
1485 void set_has_ack_requested();
1486 void clear_has_ack_requested();
1487 void set_has_frame_start();
1488 void clear_has_frame_start();
1489 void set_has_acked_frame();
1490 void clear_has_acked_frame();
1493 size_t RequiredFieldsByteSizeFallback() const;
1495 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1496 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1497 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1501 bool ack_requested_;
1510 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
goby::acomms::protobuf::DriverConfig,
1511 ::
google::protobuf::internal::MessageTypeTraits< ::
goby::acomms::iridium::protobuf::
Config >, 11, false >
1514 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
goby::acomms::protobuf::ModemTransmission,
1515 ::
google::protobuf::internal::MessageTypeTraits< ::
goby::acomms::iridium::protobuf::
Transmission >, 11, false >
1518 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
goby::acomms::protobuf::ModemReport,
1519 ::
google::protobuf::internal::MessageTypeTraits< ::
goby::acomms::iridium::protobuf::
Report >, 11, false >
1525 #pragma GCC diagnostic push
1526 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1532 return (_has_bits_[0] & 0x00000001u) != 0;
1534 inline void Config_Remote::set_has_iridium_number() {
1535 _has_bits_[0] |= 0x00000001u;
1537 inline void Config_Remote::clear_has_iridium_number() {
1538 _has_bits_[0] &= ~0x00000001u;
1542 clear_has_iridium_number();
1546 return iridium_number_.GetNoArena();
1549 set_has_iridium_number();
1555 set_has_iridium_number();
1556 iridium_number_.SetNoArena(
1562 GOOGLE_DCHECK(value != NULL);
1563 set_has_iridium_number();
1568 set_has_iridium_number();
1570 ::std::string(
reinterpret_cast<const char*
>(value), size));
1574 set_has_iridium_number();
1580 if (!has_iridium_number()) {
1583 clear_has_iridium_number();
1587 if (iridium_number != NULL) {
1588 set_has_iridium_number();
1590 clear_has_iridium_number();
1598 return (_has_bits_[0] & 0x00000002u) != 0;
1600 inline void Config_Remote::set_has_modem_id() {
1601 _has_bits_[0] |= 0x00000002u;
1603 inline void Config_Remote::clear_has_modem_id() {
1604 _has_bits_[0] &= ~0x00000002u;
1608 clear_has_modem_id();
1626 return (_has_bits_[0] & 0x00000001u) != 0;
1628 inline void Config::set_has_remote() {
1629 _has_bits_[0] |= 0x00000001u;
1631 inline void Config::clear_has_remote() {
1632 _has_bits_[0] &= ~0x00000001u;
1635 if (remote_ != NULL) remote_->Clear();
1638 inline const ::goby::acomms::iridium::protobuf::Config_Remote& Config::_internal_remote()
const {
1641 inline const ::goby::acomms::iridium::protobuf::Config_Remote&
Config::remote()
const {
1642 const ::goby::acomms::iridium::protobuf::Config_Remote* p = remote_;
1656 if (remote_ == NULL) {
1657 auto* p = CreateMaybeMessage<::goby::acomms::iridium::protobuf::Config_Remote>(GetArenaNoVirtual());
1665 if (message_arena == NULL) {
1670 if (message_arena != submessage_arena) {
1671 remote = ::google::protobuf::internal::GetOwnedMessage(
1672 message_arena, remote, submessage_arena);
1684 return (_has_bits_[0] & 0x00000008u) != 0;
1686 inline void Config::set_has_max_frame_size() {
1687 _has_bits_[0] |= 0x00000008u;
1689 inline void Config::clear_has_max_frame_size() {
1690 _has_bits_[0] &= ~0x00000008u;
1693 max_frame_size_ = 1500u;
1694 clear_has_max_frame_size();
1698 return max_frame_size_;
1701 set_has_max_frame_size();
1702 max_frame_size_ = value;
1708 return (_has_bits_[0] & 0x00000010u) != 0;
1710 inline void Config::set_has_target_bit_rate() {
1711 _has_bits_[0] |= 0x00000010u;
1713 inline void Config::clear_has_target_bit_rate() {
1714 _has_bits_[0] &= ~0x00000010u;
1717 target_bit_rate_ = 2400;
1718 clear_has_target_bit_rate();
1722 return target_bit_rate_;
1725 set_has_target_bit_rate();
1726 target_bit_rate_ = value;
1732 return config_.size();
1739 return config_.Get(index);
1743 return config_.Mutable(index);
1747 config_.Mutable(index)->assign(value);
1752 config_.Mutable(index)->assign(std::move(value));
1756 GOOGLE_DCHECK(value != NULL);
1757 config_.Mutable(index)->assign(value);
1761 config_.Mutable(index)->assign(
1762 reinterpret_cast<const char*
>(value), size);
1767 return config_.Add();
1770 config_.Add()->assign(value);
1775 config_.Add(std::move(value));
1780 GOOGLE_DCHECK(value != NULL);
1781 config_.Add()->assign(value);
1785 config_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1788 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1793 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1801 return (_has_bits_[0] & 0x00000020u) != 0;
1803 inline void Config::set_has_dial_attempts() {
1804 _has_bits_[0] |= 0x00000020u;
1806 inline void Config::clear_has_dial_attempts() {
1807 _has_bits_[0] &= ~0x00000020u;
1811 clear_has_dial_attempts();
1815 return dial_attempts_;
1818 set_has_dial_attempts();
1819 dial_attempts_ = value;
1825 return (_has_bits_[0] & 0x00000002u) != 0;
1827 inline void Config::set_has_debug_client_port() {
1828 _has_bits_[0] |= 0x00000002u;
1830 inline void Config::clear_has_debug_client_port() {
1831 _has_bits_[0] &= ~0x00000002u;
1834 debug_client_port_ = 0;
1835 clear_has_debug_client_port();
1839 return debug_client_port_;
1842 set_has_debug_client_port();
1843 debug_client_port_ = value;
1849 return (_has_bits_[0] & 0x00000040u) != 0;
1851 inline void Config::set_has_hangup_seconds_after_empty() {
1852 _has_bits_[0] |= 0x00000040u;
1854 inline void Config::clear_has_hangup_seconds_after_empty() {
1855 _has_bits_[0] &= ~0x00000040u;
1858 hangup_seconds_after_empty_ = 30;
1859 clear_has_hangup_seconds_after_empty();
1863 return hangup_seconds_after_empty_;
1866 set_has_hangup_seconds_after_empty();
1867 hangup_seconds_after_empty_ = value;
1873 return (_has_bits_[0] & 0x00000080u) != 0;
1875 inline void Config::set_has_start_timeout() {
1876 _has_bits_[0] |= 0x00000080u;
1878 inline void Config::clear_has_start_timeout() {
1879 _has_bits_[0] &= ~0x00000080u;
1882 start_timeout_ = 20;
1883 clear_has_start_timeout();
1887 return start_timeout_;
1890 set_has_start_timeout();
1891 start_timeout_ = value;
1897 return (_has_bits_[0] & 0x00000004u) != 0;
1899 inline void Config::set_has_use_dtr() {
1900 _has_bits_[0] |= 0x00000004u;
1902 inline void Config::clear_has_use_dtr() {
1903 _has_bits_[0] &= ~0x00000004u;
1907 clear_has_use_dtr();
1921 return (_has_bits_[0] & 0x00000100u) != 0;
1923 inline void Config::set_has_handshake_hangup_seconds() {
1924 _has_bits_[0] |= 0x00000100u;
1926 inline void Config::clear_has_handshake_hangup_seconds() {
1927 _has_bits_[0] &= ~0x00000100u;
1930 handshake_hangup_seconds_ = 5;
1931 clear_has_handshake_hangup_seconds();
1935 return handshake_hangup_seconds_;
1938 set_has_handshake_hangup_seconds();
1939 handshake_hangup_seconds_ = value;
1945 return (_has_bits_[0] & 0x00000200u) != 0;
1947 inline void Config::set_has_enable_sbdring_automatic_registration() {
1948 _has_bits_[0] |= 0x00000200u;
1950 inline void Config::clear_has_enable_sbdring_automatic_registration() {
1951 _has_bits_[0] &= ~0x00000200u;
1954 enable_sbdring_automatic_registration_ =
true;
1955 clear_has_enable_sbdring_automatic_registration();
1959 return enable_sbdring_automatic_registration_;
1962 set_has_enable_sbdring_automatic_registration();
1963 enable_sbdring_automatic_registration_ = value;
1969 return (_has_bits_[0] & 0x00000400u) != 0;
1971 inline void Config::set_has_device() {
1972 _has_bits_[0] |= 0x00000400u;
1974 inline void Config::clear_has_device() {
1975 _has_bits_[0] &= ~0x00000400u;
1998 return (_has_bits_[0] & 0x00000020u) != 0;
2000 inline void RockblockReceive::set_has_momsn() {
2001 _has_bits_[0] |= 0x00000020u;
2003 inline void RockblockReceive::clear_has_momsn() {
2004 _has_bits_[0] &= ~0x00000020u;
2022 return (_has_bits_[0] & 0x00000008u) != 0;
2024 inline void RockblockReceive::set_has_iridium_latitude() {
2025 _has_bits_[0] |= 0x00000008u;
2027 inline void RockblockReceive::clear_has_iridium_latitude() {
2028 _has_bits_[0] &= ~0x00000008u;
2031 iridium_latitude_ = 0;
2032 clear_has_iridium_latitude();
2036 return iridium_latitude_;
2039 set_has_iridium_latitude();
2040 iridium_latitude_ = value;
2046 return (_has_bits_[0] & 0x00000010u) != 0;
2048 inline void RockblockReceive::set_has_iridium_longitude() {
2049 _has_bits_[0] |= 0x00000010u;
2051 inline void RockblockReceive::clear_has_iridium_longitude() {
2052 _has_bits_[0] &= ~0x00000010u;
2055 iridium_longitude_ = 0;
2056 clear_has_iridium_longitude();
2060 return iridium_longitude_;
2063 set_has_iridium_longitude();
2064 iridium_longitude_ = value;
2070 return (_has_bits_[0] & 0x00000080u) != 0;
2072 inline void RockblockReceive::set_has_iridium_cep_radius() {
2073 _has_bits_[0] |= 0x00000080u;
2075 inline void RockblockReceive::clear_has_iridium_cep_radius() {
2076 _has_bits_[0] &= ~0x00000080u;
2079 iridium_cep_radius_ = 0;
2080 clear_has_iridium_cep_radius();
2084 return iridium_cep_radius_;
2087 set_has_iridium_cep_radius();
2088 iridium_cep_radius_ = value;
2094 return (_has_bits_[0] & 0x00000040u) != 0;
2096 inline void RockblockReceive::set_has_serial() {
2097 _has_bits_[0] |= 0x00000040u;
2099 inline void RockblockReceive::clear_has_serial() {
2100 _has_bits_[0] &= ~0x00000040u;
2118 return (_has_bits_[0] & 0x00000001u) != 0;
2120 inline void RockblockReceive::set_has_imei() {
2121 _has_bits_[0] |= 0x00000001u;
2123 inline void RockblockReceive::clear_has_imei() {
2124 _has_bits_[0] &= ~0x00000001u;
2132 return imei_.GetNoArena();
2148 GOOGLE_DCHECK(value != NULL);
2156 ::std::string(
reinterpret_cast<const char*
>(value), size));
2184 return (_has_bits_[0] & 0x00000002u) != 0;
2186 inline void RockblockReceive::set_has_device_type() {
2187 _has_bits_[0] |= 0x00000002u;
2189 inline void RockblockReceive::clear_has_device_type() {
2190 _has_bits_[0] &= ~0x00000002u;
2194 clear_has_device_type();
2198 return device_type_.GetNoArena();
2201 set_has_device_type();
2207 set_has_device_type();
2208 device_type_.SetNoArena(
2214 GOOGLE_DCHECK(value != NULL);
2215 set_has_device_type();
2220 set_has_device_type();
2222 ::std::string(
reinterpret_cast<const char*
>(value), size));
2226 set_has_device_type();
2232 if (!has_device_type()) {
2235 clear_has_device_type();
2239 if (device_type != NULL) {
2240 set_has_device_type();
2242 clear_has_device_type();
2250 return (_has_bits_[0] & 0x00000004u) != 0;
2252 inline void RockblockReceive::set_has_transmit_time() {
2253 _has_bits_[0] |= 0x00000004u;
2255 inline void RockblockReceive::clear_has_transmit_time() {
2256 _has_bits_[0] &= ~0x00000004u;
2260 clear_has_transmit_time();
2264 return transmit_time_.GetNoArena();
2267 set_has_transmit_time();
2273 set_has_transmit_time();
2274 transmit_time_.SetNoArena(
2280 GOOGLE_DCHECK(value != NULL);
2281 set_has_transmit_time();
2286 set_has_transmit_time();
2288 ::std::string(
reinterpret_cast<const char*
>(value), size));
2292 set_has_transmit_time();
2298 if (!has_transmit_time()) {
2301 clear_has_transmit_time();
2305 if (transmit_time != NULL) {
2306 set_has_transmit_time();
2308 clear_has_transmit_time();
2316 return (_has_bits_[0] & 0x00000100u) != 0;
2318 inline void RockblockReceive::set_has_jwt_verified() {
2319 _has_bits_[0] |= 0x00000100u;
2321 inline void RockblockReceive::clear_has_jwt_verified() {
2322 _has_bits_[0] &= ~0x00000100u;
2325 jwt_verified_ =
false;
2326 clear_has_jwt_verified();
2330 return jwt_verified_;
2333 set_has_jwt_verified();
2334 jwt_verified_ = value;
2344 return (_has_bits_[0] & 0x00000001u) != 0;
2346 inline void RockblockTransmit::set_has_success() {
2347 _has_bits_[0] |= 0x00000001u;
2349 inline void RockblockTransmit::clear_has_success() {
2350 _has_bits_[0] &= ~0x00000001u;
2354 clear_has_success();
2368 return (_has_bits_[0] & 0x00000002u) != 0;
2370 inline void RockblockTransmit::set_has_mt_id() {
2371 _has_bits_[0] |= 0x00000002u;
2373 inline void RockblockTransmit::clear_has_mt_id() {
2374 _has_bits_[0] &= ~0x00000002u;
2392 return (_has_bits_[0] & 0x00000004u) != 0;
2394 inline void RockblockTransmit::set_has_error() {
2395 _has_bits_[0] |= 0x00000004u;
2397 inline void RockblockTransmit::clear_has_error() {
2398 _has_bits_[0] &= ~0x00000004u;
2421 return (_has_bits_[0] & 0x00000004u) != 0;
2423 inline void Transmission::set_has_if_no_data_do_mailbox_check() {
2424 _has_bits_[0] |= 0x00000004u;
2426 inline void Transmission::clear_has_if_no_data_do_mailbox_check() {
2427 _has_bits_[0] &= ~0x00000004u;
2430 if_no_data_do_mailbox_check_ =
true;
2431 clear_has_if_no_data_do_mailbox_check();
2435 return if_no_data_do_mailbox_check_;
2438 set_has_if_no_data_do_mailbox_check();
2439 if_no_data_do_mailbox_check_ = value;
2445 return (_has_bits_[0] & 0x00000001u) != 0;
2447 inline void Transmission::set_has_rockblock_rx() {
2448 _has_bits_[0] |= 0x00000001u;
2450 inline void Transmission::clear_has_rockblock_rx() {
2451 _has_bits_[0] &= ~0x00000001u;
2454 if (rockblock_rx_ != NULL) rockblock_rx_->Clear();
2455 clear_has_rockblock_rx();
2457 inline const ::goby::acomms::iridium::protobuf::RockblockReceive& Transmission::_internal_rockblock_rx()
const {
2458 return *rockblock_rx_;
2461 const ::goby::acomms::iridium::protobuf::RockblockReceive* p = rockblock_rx_;
2468 clear_has_rockblock_rx();
2470 rockblock_rx_ = NULL;
2474 set_has_rockblock_rx();
2475 if (rockblock_rx_ == NULL) {
2476 auto* p = CreateMaybeMessage<::goby::acomms::iridium::protobuf::RockblockReceive>(GetArenaNoVirtual());
2480 return rockblock_rx_;
2484 if (message_arena == NULL) {
2485 delete rockblock_rx_;
2489 if (message_arena != submessage_arena) {
2490 rockblock_rx = ::google::protobuf::internal::GetOwnedMessage(
2493 set_has_rockblock_rx();
2495 clear_has_rockblock_rx();
2503 return (_has_bits_[0] & 0x00000002u) != 0;
2505 inline void Transmission::set_has_rockblock_tx() {
2506 _has_bits_[0] |= 0x00000002u;
2508 inline void Transmission::clear_has_rockblock_tx() {
2509 _has_bits_[0] &= ~0x00000002u;
2512 if (rockblock_tx_ != NULL) rockblock_tx_->Clear();
2513 clear_has_rockblock_tx();
2515 inline const ::goby::acomms::iridium::protobuf::RockblockTransmit& Transmission::_internal_rockblock_tx()
const {
2516 return *rockblock_tx_;
2519 const ::goby::acomms::iridium::protobuf::RockblockTransmit* p = rockblock_tx_;
2526 clear_has_rockblock_tx();
2528 rockblock_tx_ = NULL;
2532 set_has_rockblock_tx();
2533 if (rockblock_tx_ == NULL) {
2534 auto* p = CreateMaybeMessage<::goby::acomms::iridium::protobuf::RockblockTransmit>(GetArenaNoVirtual());
2538 return rockblock_tx_;
2542 if (message_arena == NULL) {
2543 delete rockblock_tx_;
2547 if (message_arena != submessage_arena) {
2548 rockblock_tx = ::google::protobuf::internal::GetOwnedMessage(
2551 set_has_rockblock_tx();
2553 clear_has_rockblock_tx();
2565 return (_has_bits_[0] & 0x00000001u) != 0;
2567 inline void Report::set_has_rssi() {
2568 _has_bits_[0] |= 0x00000001u;
2570 inline void Report::clear_has_rssi() {
2571 _has_bits_[0] &= ~0x00000001u;
2594 return (_has_bits_[0] & 0x00000001u) != 0;
2596 inline void IridiumHeader::set_has_src() {
2597 _has_bits_[0] |= 0x00000001u;
2599 inline void IridiumHeader::clear_has_src() {
2600 _has_bits_[0] &= ~0x00000001u;
2618 return (_has_bits_[0] & 0x00000002u) != 0;
2620 inline void IridiumHeader::set_has_dest() {
2621 _has_bits_[0] |= 0x00000002u;
2623 inline void IridiumHeader::clear_has_dest() {
2624 _has_bits_[0] &= ~0x00000002u;
2642 return (_has_bits_[0] & 0x00000004u) != 0;
2644 inline void IridiumHeader::set_has_rate() {
2645 _has_bits_[0] |= 0x00000004u;
2647 inline void IridiumHeader::clear_has_rate() {
2648 _has_bits_[0] &= ~0x00000004u;
2666 return (_has_bits_[0] & 0x00000040u) != 0;
2668 inline void IridiumHeader::set_has_type() {
2669 _has_bits_[0] |= 0x00000040u;
2671 inline void IridiumHeader::clear_has_type() {
2672 _has_bits_[0] &= ~0x00000040u;
2691 return (_has_bits_[0] & 0x00000008u) != 0;
2693 inline void IridiumHeader::set_has_ack_requested() {
2694 _has_bits_[0] |= 0x00000008u;
2696 inline void IridiumHeader::clear_has_ack_requested() {
2697 _has_bits_[0] &= ~0x00000008u;
2700 ack_requested_ =
false;
2701 clear_has_ack_requested();
2705 return ack_requested_;
2708 set_has_ack_requested();
2709 ack_requested_ = value;
2715 return (_has_bits_[0] & 0x00000010u) != 0;
2717 inline void IridiumHeader::set_has_frame_start() {
2718 _has_bits_[0] |= 0x00000010u;
2720 inline void IridiumHeader::clear_has_frame_start() {
2721 _has_bits_[0] &= ~0x00000010u;
2725 clear_has_frame_start();
2729 return frame_start_;
2732 set_has_frame_start();
2733 frame_start_ = value;
2739 return (_has_bits_[0] & 0x00000020u) != 0;
2741 inline void IridiumHeader::set_has_acked_frame() {
2742 _has_bits_[0] |= 0x00000020u;
2744 inline void IridiumHeader::clear_has_acked_frame() {
2745 _has_bits_[0] &= ~0x00000020u;
2749 clear_has_acked_frame();
2753 return acked_frame_;
2756 set_has_acked_frame();
2757 acked_frame_ = value;
2762 #pragma GCC diagnostic pop
2785 namespace protobuf {
2789 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::iridium::protobuf::RockblockTransmit_Error>() {
2794 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::iridium::protobuf::Report_RSSI>() {
2799 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::iridium::protobuf::DeviceType>() {
2808 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fdriver_2eproto