4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fshore_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 <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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[3];
61 class ShoreConfigDefaultTypeInternal;
63 class ShoreConfig_ModemIDIMEIPair;
64 class ShoreConfig_ModemIDIMEIPairDefaultTypeInternal;
66 class ShoreConfig_RockBlock;
67 class ShoreConfig_RockBlockDefaultTypeInternal;
96 return ::google::protobuf::internal::NameOfEnum(
101 return ::google::protobuf::internal::ParseNamedEnum<ShoreConfig_SBDType>(
120 *
this = ::std::move(from);
124 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
125 if (
this != &from) InternalSwap(&from);
133 return _internal_metadata_.unknown_fields();
136 return _internal_metadata_.mutable_unknown_fields();
139 static const ::google::protobuf::Descriptor*
descriptor();
158 return CreateMaybeMessage<ShoreConfig_ModemIDIMEIPair>(NULL);
162 return CreateMaybeMessage<ShoreConfig_ModemIDIMEIPair>(arena);
164 void CopyFrom(const ::google::protobuf::Message& from)
final;
165 void MergeFrom(const ::google::protobuf::Message& from)
final;
173 ::
google::protobuf::io::CodedInputStream* input) final;
175 ::
google::protobuf::io::CodedOutputStream* output) const final;
177 bool deterministic, ::
google::protobuf::uint8* target) const final;
183 void SetCachedSize(
int size)
const final;
186 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
189 inline void* MaybeArenaPtr()
const {
204 const ::std::
string&
imei() const;
205 void set_imei(const ::std::
string& value);
207 void set_imei(::std::string&& value);
210 void set_imei(
const char* value,
size_t size);
224 void set_has_modem_id();
225 void clear_has_modem_id();
227 void clear_has_imei();
230 size_t RequiredFieldsByteSizeFallback()
const;
232 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
233 ::google::protobuf::internal::HasBits<1> _has_bits_;
234 mutable ::google::protobuf::internal::CachedSize _cached_size_;
235 ::google::protobuf::internal::ArenaStringPtr imei_;
237 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto::TableStruct;
255 *
this = ::std::move(from);
259 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
260 if (
this != &from) InternalSwap(&from);
268 return _internal_metadata_.unknown_fields();
271 return _internal_metadata_.mutable_unknown_fields();
274 static const ::google::protobuf::Descriptor*
descriptor();
293 return CreateMaybeMessage<ShoreConfig_RockBlock>(NULL);
297 return CreateMaybeMessage<ShoreConfig_RockBlock>(arena);
299 void CopyFrom(const ::google::protobuf::Message& from)
final;
300 void MergeFrom(const ::google::protobuf::Message& from)
final;
308 ::
google::protobuf::io::CodedInputStream* input) final;
310 ::
google::protobuf::io::CodedOutputStream* output) const final;
312 bool deterministic, ::
google::protobuf::uint8* target) const final;
318 void SetCachedSize(
int size)
const final;
321 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
324 inline void* MaybeArenaPtr()
const {
339 const ::std::
string&
username() const;
354 const ::std::string&
password()
const;
369 const ::std::string&
server()
const;
375 void set_server(
const char* value,
size_t size);
404 void set_has_username();
405 void clear_has_username();
406 void set_has_password();
407 void clear_has_password();
408 void set_has_server();
409 void clear_has_server();
410 void set_has_mt_endpoint();
411 void clear_has_mt_endpoint();
412 void set_has_skip_jwt_verification();
413 void clear_has_skip_jwt_verification();
416 size_t RequiredFieldsByteSizeFallback()
const;
418 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
419 ::google::protobuf::internal::HasBits<1> _has_bits_;
420 mutable ::google::protobuf::internal::CachedSize _cached_size_;
421 ::google::protobuf::internal::ArenaStringPtr username_;
422 ::google::protobuf::internal::ArenaStringPtr password_;
426 ::google::protobuf::internal::ArenaStringPtr server_;
430 ::google::protobuf::internal::ArenaStringPtr mt_endpoint_;
431 bool skip_jwt_verification_;
432 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto::TableStruct;
450 *
this = ::std::move(from);
454 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
455 if (
this != &from) InternalSwap(&from);
463 return _internal_metadata_.unknown_fields();
466 return _internal_metadata_.mutable_unknown_fields();
469 static const ::google::protobuf::Descriptor*
descriptor();
488 return CreateMaybeMessage<ShoreConfig>(NULL);
492 return CreateMaybeMessage<ShoreConfig>(arena);
494 void CopyFrom(const ::google::protobuf::Message& from)
final;
495 void MergeFrom(const ::google::protobuf::Message& from)
final;
503 ::
google::protobuf::io::CodedInputStream* input) final;
505 ::
google::protobuf::io::CodedOutputStream* output) const final;
507 bool deterministic, ::
google::protobuf::uint8* target) const final;
513 void SetCachedSize(
int size)
const final;
516 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
519 inline void* MaybeArenaPtr()
const {
545 static inline const ::google::protobuf::EnumDescriptor*
566 const ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair&
modem_id_to_imei(
int index)
const;
568 const ::google::protobuf::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >&
591 const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock& _internal_rockblock()
const;
593 const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock&
rockblock()
const;
635 void set_has_rudics_server_port();
636 void clear_has_rudics_server_port();
637 void set_has_sbd_type();
638 void clear_has_sbd_type();
639 void set_has_mo_sbd_server_port();
640 void clear_has_mo_sbd_server_port();
641 void set_has_mt_sbd_server_address();
642 void clear_has_mt_sbd_server_address();
643 void set_has_mt_sbd_server_port();
644 void clear_has_mt_sbd_server_port();
645 void set_has_rockblock();
646 void clear_has_rockblock();
647 void set_has_device();
648 void clear_has_device();
650 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
651 ::google::protobuf::internal::HasBits<1> _has_bits_;
652 mutable ::google::protobuf::internal::CachedSize _cached_size_;
654 ::google::protobuf::internal::ArenaStringPtr mt_sbd_server_address_;
661 friend struct ::protobuf_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto::TableStruct;
667 ::google::protobuf::internal::MessageTypeTraits< ::goby::acomms::iridium::protobuf::ShoreConfig >, 11,
false >
673 #pragma GCC diagnostic push
674 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
680 return (_has_bits_[0] & 0x00000002u) != 0;
682 inline void ShoreConfig_ModemIDIMEIPair::set_has_modem_id() {
683 _has_bits_[0] |= 0x00000002u;
685 inline void ShoreConfig_ModemIDIMEIPair::clear_has_modem_id() {
686 _has_bits_[0] &= ~0x00000002u;
690 clear_has_modem_id();
704 return (_has_bits_[0] & 0x00000001u) != 0;
706 inline void ShoreConfig_ModemIDIMEIPair::set_has_imei() {
707 _has_bits_[0] |= 0x00000001u;
709 inline void ShoreConfig_ModemIDIMEIPair::clear_has_imei() {
710 _has_bits_[0] &= ~0x00000001u;
718 return imei_.GetNoArena();
734 GOOGLE_DCHECK(value != NULL);
742 ::std::string(
reinterpret_cast<const char*
>(value), size));
774 return (_has_bits_[0] & 0x00000001u) != 0;
776 inline void ShoreConfig_RockBlock::set_has_username() {
777 _has_bits_[0] |= 0x00000001u;
779 inline void ShoreConfig_RockBlock::clear_has_username() {
780 _has_bits_[0] &= ~0x00000001u;
784 clear_has_username();
788 return username_.GetNoArena();
798 username_.SetNoArena(
804 GOOGLE_DCHECK(value != NULL);
812 ::std::string(
reinterpret_cast<const char*
>(value), size));
825 clear_has_username();
832 clear_has_username();
840 return (_has_bits_[0] & 0x00000002u) != 0;
842 inline void ShoreConfig_RockBlock::set_has_password() {
843 _has_bits_[0] |= 0x00000002u;
845 inline void ShoreConfig_RockBlock::clear_has_password() {
846 _has_bits_[0] &= ~0x00000002u;
850 clear_has_password();
854 return password_.GetNoArena();
864 password_.SetNoArena(
870 GOOGLE_DCHECK(value != NULL);
878 ::std::string(
reinterpret_cast<const char*
>(value), size));
891 clear_has_password();
898 clear_has_password();
906 return (_has_bits_[0] & 0x00000004u) != 0;
908 inline void ShoreConfig_RockBlock::set_has_server() {
909 _has_bits_[0] |= 0x00000004u;
911 inline void ShoreConfig_RockBlock::clear_has_server() {
912 _has_bits_[0] &= ~0x00000004u;
920 return server_.GetNoArena();
936 GOOGLE_DCHECK(value != NULL);
944 ::std::string(
reinterpret_cast<const char*
>(value), size));
972 return (_has_bits_[0] & 0x00000008u) != 0;
974 inline void ShoreConfig_RockBlock::set_has_mt_endpoint() {
975 _has_bits_[0] |= 0x00000008u;
977 inline void ShoreConfig_RockBlock::clear_has_mt_endpoint() {
978 _has_bits_[0] &= ~0x00000008u;
982 clear_has_mt_endpoint();
986 return mt_endpoint_.GetNoArena();
989 set_has_mt_endpoint();
995 set_has_mt_endpoint();
996 mt_endpoint_.SetNoArena(
1002 GOOGLE_DCHECK(value != NULL);
1003 set_has_mt_endpoint();
1008 set_has_mt_endpoint();
1010 ::std::string(
reinterpret_cast<const char*
>(value), size));
1014 set_has_mt_endpoint();
1023 clear_has_mt_endpoint();
1028 set_has_mt_endpoint();
1030 clear_has_mt_endpoint();
1038 return (_has_bits_[0] & 0x00000010u) != 0;
1040 inline void ShoreConfig_RockBlock::set_has_skip_jwt_verification() {
1041 _has_bits_[0] |= 0x00000010u;
1043 inline void ShoreConfig_RockBlock::clear_has_skip_jwt_verification() {
1044 _has_bits_[0] &= ~0x00000010u;
1047 skip_jwt_verification_ =
false;
1048 clear_has_skip_jwt_verification();
1052 return skip_jwt_verification_;
1055 set_has_skip_jwt_verification();
1056 skip_jwt_verification_ = value;
1066 return (_has_bits_[0] & 0x00000004u) != 0;
1068 inline void ShoreConfig::set_has_rudics_server_port() {
1069 _has_bits_[0] |= 0x00000004u;
1071 inline void ShoreConfig::clear_has_rudics_server_port() {
1072 _has_bits_[0] &= ~0x00000004u;
1075 rudics_server_port_ = 0u;
1076 clear_has_rudics_server_port();
1080 return rudics_server_port_;
1083 set_has_rudics_server_port();
1084 rudics_server_port_ = value;
1090 return (_has_bits_[0] & 0x00000020u) != 0;
1092 inline void ShoreConfig::set_has_sbd_type() {
1093 _has_bits_[0] |= 0x00000020u;
1095 inline void ShoreConfig::clear_has_sbd_type() {
1096 _has_bits_[0] &= ~0x00000020u;
1100 clear_has_sbd_type();
1115 return (_has_bits_[0] & 0x00000040u) != 0;
1117 inline void ShoreConfig::set_has_mo_sbd_server_port() {
1118 _has_bits_[0] |= 0x00000040u;
1120 inline void ShoreConfig::clear_has_mo_sbd_server_port() {
1121 _has_bits_[0] &= ~0x00000040u;
1124 mo_sbd_server_port_ = 40001u;
1125 clear_has_mo_sbd_server_port();
1129 return mo_sbd_server_port_;
1132 set_has_mo_sbd_server_port();
1133 mo_sbd_server_port_ = value;
1139 return (_has_bits_[0] & 0x00000001u) != 0;
1141 inline void ShoreConfig::set_has_mt_sbd_server_address() {
1142 _has_bits_[0] |= 0x00000001u;
1144 inline void ShoreConfig::clear_has_mt_sbd_server_address() {
1145 _has_bits_[0] &= ~0x00000001u;
1149 clear_has_mt_sbd_server_address();
1153 return mt_sbd_server_address_.GetNoArena();
1156 set_has_mt_sbd_server_address();
1162 set_has_mt_sbd_server_address();
1163 mt_sbd_server_address_.SetNoArena(
1169 GOOGLE_DCHECK(value != NULL);
1170 set_has_mt_sbd_server_address();
1175 set_has_mt_sbd_server_address();
1177 ::std::string(
reinterpret_cast<const char*
>(value), size));
1181 set_has_mt_sbd_server_address();
1190 clear_has_mt_sbd_server_address();
1195 set_has_mt_sbd_server_address();
1197 clear_has_mt_sbd_server_address();
1205 return (_has_bits_[0] & 0x00000008u) != 0;
1207 inline void ShoreConfig::set_has_mt_sbd_server_port() {
1208 _has_bits_[0] |= 0x00000008u;
1210 inline void ShoreConfig::clear_has_mt_sbd_server_port() {
1211 _has_bits_[0] &= ~0x00000008u;
1214 mt_sbd_server_port_ = 0u;
1215 clear_has_mt_sbd_server_port();
1219 return mt_sbd_server_port_;
1222 set_has_mt_sbd_server_port();
1223 mt_sbd_server_port_ = value;
1229 return modem_id_to_imei_.size();
1232 modem_id_to_imei_.Clear();
1236 return modem_id_to_imei_.Mutable(index);
1238 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >*
1241 return &modem_id_to_imei_;
1245 return modem_id_to_imei_.Get(index);
1249 return modem_id_to_imei_.Add();
1251 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >&
1254 return modem_id_to_imei_;
1259 return (_has_bits_[0] & 0x00000002u) != 0;
1261 inline void ShoreConfig::set_has_rockblock() {
1262 _has_bits_[0] |= 0x00000002u;
1264 inline void ShoreConfig::clear_has_rockblock() {
1265 _has_bits_[0] &= ~0x00000002u;
1268 if (rockblock_ != NULL) rockblock_->
Clear();
1269 clear_has_rockblock();
1271 inline const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock& ShoreConfig::_internal_rockblock()
const {
1275 const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* p = rockblock_;
1282 clear_has_rockblock();
1288 set_has_rockblock();
1289 if (rockblock_ == NULL) {
1290 auto* p = CreateMaybeMessage<::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock>(GetArenaNoVirtual());
1298 if (message_arena == NULL) {
1303 if (message_arena != submessage_arena) {
1304 rockblock = ::google::protobuf::internal::GetOwnedMessage(
1305 message_arena,
rockblock, submessage_arena);
1307 set_has_rockblock();
1309 clear_has_rockblock();
1317 return (_has_bits_[0] & 0x00000010u) != 0;
1319 inline void ShoreConfig::set_has_device() {
1320 _has_bits_[0] |= 0x00000010u;
1322 inline void ShoreConfig::clear_has_device() {
1323 _has_bits_[0] &= ~0x00000010u;
1341 #pragma GCC diagnostic pop
1356 namespace protobuf {
1360 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType>() {
1369 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto