Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
iridium_shore_driver.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/iridium_shore_driver.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto;
54namespace goby {
55namespace acomms {
56namespace iridium {
57namespace protobuf {
58class ShoreConfig;
59struct ShoreConfigDefaultTypeInternal;
60extern ShoreConfigDefaultTypeInternal _ShoreConfig_default_instance_;
61class ShoreConfig_ModemIDIMEIPair;
62struct ShoreConfig_ModemIDIMEIPairDefaultTypeInternal;
63extern ShoreConfig_ModemIDIMEIPairDefaultTypeInternal _ShoreConfig_ModemIDIMEIPair_default_instance_;
64class ShoreConfig_RockBlock;
65struct ShoreConfig_RockBlockDefaultTypeInternal;
66extern ShoreConfig_RockBlockDefaultTypeInternal _ShoreConfig_RockBlock_default_instance_;
67} // namespace protobuf
68} // namespace iridium
69} // namespace acomms
70} // namespace goby
71PROTOBUF_NAMESPACE_OPEN
72template<> ::goby::acomms::iridium::protobuf::ShoreConfig* Arena::CreateMaybeMessage<::goby::acomms::iridium::protobuf::ShoreConfig>(Arena*);
73template<> ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair* Arena::CreateMaybeMessage<::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair>(Arena*);
74template<> ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* Arena::CreateMaybeMessage<::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock>(Arena*);
75PROTOBUF_NAMESPACE_CLOSE
76namespace goby {
77namespace acomms {
78namespace iridium {
79namespace protobuf {
80
89
90const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ShoreConfig_SBDType_descriptor();
91template<typename T>
92inline const std::string& ShoreConfig_SBDType_Name(T enum_t_value) {
93 static_assert(::std::is_same<T, ShoreConfig_SBDType>::value ||
94 ::std::is_integral<T>::value,
95 "Incorrect type passed to function ShoreConfig_SBDType_Name.");
96 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
97 ShoreConfig_SBDType_descriptor(), enum_t_value);
98}
100 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShoreConfig_SBDType* value) {
101 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ShoreConfig_SBDType>(
102 ShoreConfig_SBDType_descriptor(), name, value);
103}
104// ===================================================================
105
107 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair) */ {
108 public:
111 explicit PROTOBUF_CONSTEXPR ShoreConfig_ModemIDIMEIPair(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
112
116 *this = ::std::move(from);
117 }
118
120 CopyFrom(from);
121 return *this;
122 }
124 if (this == &from) return *this;
125 if (GetOwningArena() == from.GetOwningArena()
126 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
127 && GetOwningArena() != nullptr
128 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
129 ) {
130 InternalSwap(&from);
131 } else {
132 CopyFrom(from);
133 }
134 return *this;
135 }
136
137 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
138 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
139 }
140 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
141 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
142 }
143
144 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
145 return GetDescriptor();
146 }
147 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
148 return default_instance().GetMetadata().descriptor;
149 }
150 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
151 return default_instance().GetMetadata().reflection;
152 }
160 static constexpr int kIndexInFileMessages =
161 0;
162
164 a.Swap(&b);
165 }
166 inline void Swap(ShoreConfig_ModemIDIMEIPair* other) {
167 if (other == this) return;
168 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
169 if (GetOwningArena() != nullptr &&
170 GetOwningArena() == other->GetOwningArena()) {
171 #else // PROTOBUF_FORCE_COPY_IN_SWAP
172 if (GetOwningArena() == other->GetOwningArena()) {
173 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
174 InternalSwap(other);
175 } else {
176 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
177 }
178 }
180 if (other == this) return;
181 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
182 InternalSwap(other);
183 }
184
185 // implements Message ----------------------------------------------
186
187 ShoreConfig_ModemIDIMEIPair* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
188 return CreateMaybeMessage<ShoreConfig_ModemIDIMEIPair>(arena);
189 }
190 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
192 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
194 ShoreConfig_ModemIDIMEIPair::MergeImpl(*this, from);
195 }
196 private:
197 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
198 public:
199 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
200 bool IsInitialized() const final;
201
202 size_t ByteSizeLong() const final;
203 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
205 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
206 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
207
208 private:
209 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
210 void SharedDtor();
211 void SetCachedSize(int size) const final;
212 void InternalSwap(ShoreConfig_ModemIDIMEIPair* other);
213
214 private:
215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
217 return "goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair";
218 }
219 protected:
220 explicit ShoreConfig_ModemIDIMEIPair(::PROTOBUF_NAMESPACE_ID::Arena* arena,
221 bool is_message_owned = false);
222 public:
223
224 static const ClassData _class_data_;
225 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
226
227 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
228
229 // nested types ----------------------------------------------------
230
231 // accessors -------------------------------------------------------
232
233 enum : int {
236 };
237 // required string imei = 2;
238 bool has_imei() const;
239 private:
240 bool _internal_has_imei() const;
241 public:
242 void clear_imei();
243 const std::string& imei() const;
244 template <typename ArgT0 = const std::string&, typename... ArgT>
245 void set_imei(ArgT0&& arg0, ArgT... args);
246 std::string* mutable_imei();
247 PROTOBUF_NODISCARD std::string* release_imei();
248 void set_allocated_imei(std::string* imei);
249 private:
250 const std::string& _internal_imei() const;
251 inline PROTOBUF_ALWAYS_INLINE void _internal_set_imei(const std::string& value);
252 std::string* _internal_mutable_imei();
253 public:
254
255 // required int32 modem_id = 1;
256 bool has_modem_id() const;
257 private:
258 bool _internal_has_modem_id() const;
259 public:
260 void clear_modem_id();
261 int32_t modem_id() const;
262 void set_modem_id(int32_t value);
263 private:
264 int32_t _internal_modem_id() const;
265 void _internal_set_modem_id(int32_t value);
266 public:
267
268 // @@protoc_insertion_point(class_scope:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair)
269 private:
270 class _Internal;
271
272 // helper for ByteSizeLong()
273 size_t RequiredFieldsByteSizeFallback() const;
274
275 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
276 typedef void InternalArenaConstructable_;
277 typedef void DestructorSkippable_;
278 struct Impl_ {
279 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
280 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
281 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr imei_;
282 int32_t modem_id_;
283 };
284 union { Impl_ _impl_; };
285 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto;
286};
287// -------------------------------------------------------------------
288
290 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock) */ {
291 public:
294 explicit PROTOBUF_CONSTEXPR ShoreConfig_RockBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
295
299 *this = ::std::move(from);
300 }
301
303 CopyFrom(from);
304 return *this;
305 }
307 if (this == &from) return *this;
308 if (GetOwningArena() == from.GetOwningArena()
309 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
310 && GetOwningArena() != nullptr
311 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
312 ) {
313 InternalSwap(&from);
314 } else {
315 CopyFrom(from);
316 }
317 return *this;
318 }
319
320 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
321 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
322 }
323 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
324 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
325 }
326
327 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
328 return GetDescriptor();
329 }
330 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
331 return default_instance().GetMetadata().descriptor;
332 }
333 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
334 return default_instance().GetMetadata().reflection;
335 }
337 return *internal_default_instance();
338 }
340 return reinterpret_cast<const ShoreConfig_RockBlock*>(
342 }
343 static constexpr int kIndexInFileMessages =
344 1;
345
347 a.Swap(&b);
348 }
349 inline void Swap(ShoreConfig_RockBlock* other) {
350 if (other == this) return;
351 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
352 if (GetOwningArena() != nullptr &&
353 GetOwningArena() == other->GetOwningArena()) {
354 #else // PROTOBUF_FORCE_COPY_IN_SWAP
355 if (GetOwningArena() == other->GetOwningArena()) {
356 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
357 InternalSwap(other);
358 } else {
359 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
360 }
361 }
363 if (other == this) return;
364 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
365 InternalSwap(other);
366 }
367
368 // implements Message ----------------------------------------------
369
370 ShoreConfig_RockBlock* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
371 return CreateMaybeMessage<ShoreConfig_RockBlock>(arena);
372 }
373 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
375 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
376 void MergeFrom( const ShoreConfig_RockBlock& from) {
377 ShoreConfig_RockBlock::MergeImpl(*this, from);
378 }
379 private:
380 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
381 public:
382 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
383 bool IsInitialized() const final;
384
385 size_t ByteSizeLong() const final;
386 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
387 uint8_t* _InternalSerialize(
388 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
389 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
390
391 private:
392 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
393 void SharedDtor();
394 void SetCachedSize(int size) const final;
395 void InternalSwap(ShoreConfig_RockBlock* other);
396
397 private:
398 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
399 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
400 return "goby.acomms.iridium.protobuf.ShoreConfig.RockBlock";
401 }
402 protected:
403 explicit ShoreConfig_RockBlock(::PROTOBUF_NAMESPACE_ID::Arena* arena,
404 bool is_message_owned = false);
405 public:
406
407 static const ClassData _class_data_;
408 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
409
410 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
411
412 // nested types ----------------------------------------------------
413
414 // accessors -------------------------------------------------------
415
416 enum : int {
417 kUsernameFieldNumber = 1,
418 kPasswordFieldNumber = 2,
419 kServerFieldNumber = 3,
420 kMtEndpointFieldNumber = 4,
421 kSkipJwtVerificationFieldNumber = 5,
422 };
423 // required string username = 1;
424 bool has_username() const;
425 private:
426 bool _internal_has_username() const;
427 public:
428 void clear_username();
429 const std::string& username() const;
430 template <typename ArgT0 = const std::string&, typename... ArgT>
431 void set_username(ArgT0&& arg0, ArgT... args);
432 std::string* mutable_username();
433 PROTOBUF_NODISCARD std::string* release_username();
434 void set_allocated_username(std::string* username);
435 private:
436 const std::string& _internal_username() const;
437 inline PROTOBUF_ALWAYS_INLINE void _internal_set_username(const std::string& value);
438 std::string* _internal_mutable_username();
439 public:
440
441 // required string password = 2;
442 bool has_password() const;
443 private:
444 bool _internal_has_password() const;
445 public:
446 void clear_password();
447 const std::string& password() const;
448 template <typename ArgT0 = const std::string&, typename... ArgT>
449 void set_password(ArgT0&& arg0, ArgT... args);
450 std::string* mutable_password();
451 PROTOBUF_NODISCARD std::string* release_password();
452 void set_allocated_password(std::string* password);
453 private:
454 const std::string& _internal_password() const;
455 inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value);
456 std::string* _internal_mutable_password();
457 public:
458
459 // optional string server = 3 [default = "https://rockblock.rock7.com"];
460 bool has_server() const;
461 private:
462 bool _internal_has_server() const;
463 public:
464 void clear_server();
465 const std::string& server() const;
466 template <typename ArgT0 = const std::string&, typename... ArgT>
467 void set_server(ArgT0&& arg0, ArgT... args);
468 std::string* mutable_server();
469 PROTOBUF_NODISCARD std::string* release_server();
470 void set_allocated_server(std::string* server);
471 private:
472 const std::string& _internal_server() const;
473 inline PROTOBUF_ALWAYS_INLINE void _internal_set_server(const std::string& value);
474 std::string* _internal_mutable_server();
475 public:
476
477 // optional string mt_endpoint = 4 [default = "/rockblock/MT"];
478 bool has_mt_endpoint() const;
479 private:
480 bool _internal_has_mt_endpoint() const;
481 public:
482 void clear_mt_endpoint();
483 const std::string& mt_endpoint() const;
484 template <typename ArgT0 = const std::string&, typename... ArgT>
485 void set_mt_endpoint(ArgT0&& arg0, ArgT... args);
486 std::string* mutable_mt_endpoint();
487 PROTOBUF_NODISCARD std::string* release_mt_endpoint();
488 void set_allocated_mt_endpoint(std::string* mt_endpoint);
489 private:
490 const std::string& _internal_mt_endpoint() const;
491 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mt_endpoint(const std::string& value);
492 std::string* _internal_mutable_mt_endpoint();
493 public:
494
495 // optional bool skip_jwt_verification = 5 [default = false];
496 bool has_skip_jwt_verification() const;
497 private:
498 bool _internal_has_skip_jwt_verification() const;
499 public:
500 void clear_skip_jwt_verification();
501 bool skip_jwt_verification() const;
502 void set_skip_jwt_verification(bool value);
503 private:
504 bool _internal_skip_jwt_verification() const;
505 void _internal_set_skip_jwt_verification(bool value);
506 public:
507
508 // @@protoc_insertion_point(class_scope:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock)
509 private:
510 class _Internal;
511
512 // helper for ByteSizeLong()
513 size_t RequiredFieldsByteSizeFallback() const;
514
515 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
516 typedef void InternalArenaConstructable_;
517 typedef void DestructorSkippable_;
518 struct Impl_ {
519 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
520 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
521 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr username_;
522 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_;
523 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_server_;
524 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_;
525 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_mt_endpoint_;
526 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mt_endpoint_;
527 bool skip_jwt_verification_;
528 };
529 union { Impl_ _impl_; };
530 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto;
531};
532// -------------------------------------------------------------------
533
534class ShoreConfig final :
535 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.iridium.protobuf.ShoreConfig) */ {
536 public:
537 inline ShoreConfig() : ShoreConfig(nullptr) {}
538 ~ShoreConfig() override;
539 explicit PROTOBUF_CONSTEXPR ShoreConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
540
542 ShoreConfig(ShoreConfig&& from) noexcept
543 : ShoreConfig() {
544 *this = ::std::move(from);
545 }
546
547 inline ShoreConfig& operator=(const ShoreConfig& from) {
548 CopyFrom(from);
549 return *this;
550 }
551 inline ShoreConfig& operator=(ShoreConfig&& from) noexcept {
552 if (this == &from) return *this;
553 if (GetOwningArena() == from.GetOwningArena()
554 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
555 && GetOwningArena() != nullptr
556 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
557 ) {
558 InternalSwap(&from);
559 } else {
560 CopyFrom(from);
561 }
562 return *this;
563 }
564
565 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
566 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
567 }
568 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
569 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
570 }
571
572 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
573 return GetDescriptor();
574 }
575 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
576 return default_instance().GetMetadata().descriptor;
577 }
578 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
579 return default_instance().GetMetadata().reflection;
580 }
582 return *internal_default_instance();
583 }
584 static inline const ShoreConfig* internal_default_instance() {
585 return reinterpret_cast<const ShoreConfig*>(
587 }
588 static constexpr int kIndexInFileMessages =
589 2;
590
591 friend void swap(ShoreConfig& a, ShoreConfig& b) {
592 a.Swap(&b);
593 }
594 inline void Swap(ShoreConfig* other) {
595 if (other == this) return;
596 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
597 if (GetOwningArena() != nullptr &&
598 GetOwningArena() == other->GetOwningArena()) {
599 #else // PROTOBUF_FORCE_COPY_IN_SWAP
600 if (GetOwningArena() == other->GetOwningArena()) {
601 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
602 InternalSwap(other);
603 } else {
604 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
605 }
606 }
608 if (other == this) return;
609 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
610 InternalSwap(other);
611 }
612
613 // implements Message ----------------------------------------------
614
615 ShoreConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
616 return CreateMaybeMessage<ShoreConfig>(arena);
617 }
618 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
619 void CopyFrom(const ShoreConfig& from);
620 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
621 void MergeFrom( const ShoreConfig& from) {
622 ShoreConfig::MergeImpl(*this, from);
623 }
624 private:
625 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
626 public:
627 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
628 bool IsInitialized() const final;
629
630 size_t ByteSizeLong() const final;
631 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
632 uint8_t* _InternalSerialize(
633 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
634 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
635
636 private:
637 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
638 void SharedDtor();
639 void SetCachedSize(int size) const final;
640 void InternalSwap(ShoreConfig* other);
641
642 private:
643 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
644 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
645 return "goby.acomms.iridium.protobuf.ShoreConfig";
646 }
647 protected:
648 explicit ShoreConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
649 bool is_message_owned = false);
650 public:
651
652 static const ClassData _class_data_;
653 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
654
655 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
656
657 // nested types ----------------------------------------------------
658
661
663 static constexpr SBDType SBD_DIRECTIP =
664 ShoreConfig_SBDType_SBD_DIRECTIP;
665 static constexpr SBDType SBD_ROCKBLOCK =
666 ShoreConfig_SBDType_SBD_ROCKBLOCK;
667 static inline bool SBDType_IsValid(int value) {
668 return ShoreConfig_SBDType_IsValid(value);
669 }
670 static constexpr SBDType SBDType_MIN =
672 static constexpr SBDType SBDType_MAX =
674 static constexpr int SBDType_ARRAYSIZE =
676 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
680 template<typename T>
681 static inline const std::string& SBDType_Name(T enum_t_value) {
682 static_assert(::std::is_same<T, SBDType>::value ||
683 ::std::is_integral<T>::value,
684 "Incorrect type passed to function SBDType_Name.");
685 return ShoreConfig_SBDType_Name(enum_t_value);
686 }
687 static inline bool SBDType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
688 SBDType* value) {
689 return ShoreConfig_SBDType_Parse(name, value);
690 }
691
692 // accessors -------------------------------------------------------
693
694 enum : int {
695 kModemIdToImeiFieldNumber = 6,
696 kMtSbdServerAddressFieldNumber = 4,
697 kRockblockFieldNumber = 10,
698 kRudicsServerPortFieldNumber = 1,
699 kMtSbdServerPortFieldNumber = 5,
700 kIpv6FieldNumber = 12,
701 kDeviceFieldNumber = 11,
702 kSbdTypeFieldNumber = 2,
703 kMoSbdServerPortFieldNumber = 3,
704 };
705 // repeated .goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair modem_id_to_imei = 6;
706 int modem_id_to_imei_size() const;
707 private:
708 int _internal_modem_id_to_imei_size() const;
709 public:
710 void clear_modem_id_to_imei();
711 ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair* mutable_modem_id_to_imei(int index);
712 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >*
713 mutable_modem_id_to_imei();
714 private:
715 const ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair& _internal_modem_id_to_imei(int index) const;
717 public:
718 const ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair& modem_id_to_imei(int index) const;
720 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >&
721 modem_id_to_imei() const;
722
723 // optional string mt_sbd_server_address = 4;
724 bool has_mt_sbd_server_address() const;
725 private:
726 bool _internal_has_mt_sbd_server_address() const;
727 public:
728 void clear_mt_sbd_server_address();
729 const std::string& mt_sbd_server_address() const;
730 template <typename ArgT0 = const std::string&, typename... ArgT>
731 void set_mt_sbd_server_address(ArgT0&& arg0, ArgT... args);
732 std::string* mutable_mt_sbd_server_address();
733 PROTOBUF_NODISCARD std::string* release_mt_sbd_server_address();
734 void set_allocated_mt_sbd_server_address(std::string* mt_sbd_server_address);
735 private:
736 const std::string& _internal_mt_sbd_server_address() const;
737 inline PROTOBUF_ALWAYS_INLINE void _internal_set_mt_sbd_server_address(const std::string& value);
738 std::string* _internal_mutable_mt_sbd_server_address();
739 public:
740
741 // optional .goby.acomms.iridium.protobuf.ShoreConfig.RockBlock rockblock = 10;
742 bool has_rockblock() const;
743 private:
744 bool _internal_has_rockblock() const;
745 public:
746 void clear_rockblock();
747 const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock& rockblock() const;
748 PROTOBUF_NODISCARD ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* release_rockblock();
750 void set_allocated_rockblock(::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* rockblock);
751 private:
752 const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock& _internal_rockblock() const;
754 public:
755 void unsafe_arena_set_allocated_rockblock(
757 ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* unsafe_arena_release_rockblock();
758
759 // optional uint32 rudics_server_port = 1;
760 bool has_rudics_server_port() const;
761 private:
762 bool _internal_has_rudics_server_port() const;
763 public:
764 void clear_rudics_server_port();
765 uint32_t rudics_server_port() const;
766 void set_rudics_server_port(uint32_t value);
767 private:
768 uint32_t _internal_rudics_server_port() const;
769 void _internal_set_rudics_server_port(uint32_t value);
770 public:
771
772 // optional uint32 mt_sbd_server_port = 5;
773 bool has_mt_sbd_server_port() const;
774 private:
775 bool _internal_has_mt_sbd_server_port() const;
776 public:
777 void clear_mt_sbd_server_port();
778 uint32_t mt_sbd_server_port() const;
779 void set_mt_sbd_server_port(uint32_t value);
780 private:
781 uint32_t _internal_mt_sbd_server_port() const;
782 void _internal_set_mt_sbd_server_port(uint32_t value);
783 public:
784
785 // optional bool ipv6 = 12 [default = false];
786 bool has_ipv6() const;
787 private:
788 bool _internal_has_ipv6() const;
789 public:
790 void clear_ipv6();
791 bool ipv6() const;
792 void set_ipv6(bool value);
793 private:
794 bool _internal_ipv6() const;
795 void _internal_set_ipv6(bool value);
796 public:
797
798 // optional .goby.acomms.iridium.protobuf.DeviceType device = 11 [default = DEVICE_VOICE_ENABLED_ISU];
799 bool has_device() const;
800 private:
801 bool _internal_has_device() const;
802 public:
803 void clear_device();
806 private:
807 ::goby::acomms::iridium::protobuf::DeviceType _internal_device() const;
808 void _internal_set_device(::goby::acomms::iridium::protobuf::DeviceType value);
809 public:
810
811 // optional .goby.acomms.iridium.protobuf.ShoreConfig.SBDType sbd_type = 2 [default = SBD_DIRECTIP];
812 bool has_sbd_type() const;
813 private:
814 bool _internal_has_sbd_type() const;
815 public:
816 void clear_sbd_type();
819 private:
821 void _internal_set_sbd_type(::goby::acomms::iridium::protobuf::ShoreConfig_SBDType value);
822 public:
823
824 // optional uint32 mo_sbd_server_port = 3 [default = 40001];
825 bool has_mo_sbd_server_port() const;
826 private:
827 bool _internal_has_mo_sbd_server_port() const;
828 public:
829 void clear_mo_sbd_server_port();
830 uint32_t mo_sbd_server_port() const;
831 void set_mo_sbd_server_port(uint32_t value);
832 private:
833 uint32_t _internal_mo_sbd_server_port() const;
834 void _internal_set_mo_sbd_server_port(uint32_t value);
835 public:
836
837 // @@protoc_insertion_point(class_scope:goby.acomms.iridium.protobuf.ShoreConfig)
838 private:
839 class _Internal;
840
841 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
842 typedef void InternalArenaConstructable_;
843 typedef void DestructorSkippable_;
844 struct Impl_ {
845 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
846 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
847 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair > modem_id_to_imei_;
848 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mt_sbd_server_address_;
850 uint32_t rudics_server_port_;
851 uint32_t mt_sbd_server_port_;
852 bool ipv6_;
853 int device_;
854 int sbd_type_;
855 uint32_t mo_sbd_server_port_;
856 };
857 union { Impl_ _impl_; };
858 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto;
859};
860// ===================================================================
861
862static const int kShoreConfigFieldNumber = 1421;
863extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
864 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::iridium::protobuf::ShoreConfig >, 11, false >
866
867// ===================================================================
868
869#ifdef __GNUC__
870 #pragma GCC diagnostic push
871 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
872#endif // __GNUC__
873// ShoreConfig_ModemIDIMEIPair
874
875// required int32 modem_id = 1;
876inline bool ShoreConfig_ModemIDIMEIPair::_internal_has_modem_id() const {
877 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
878 return value;
879}
880inline bool ShoreConfig_ModemIDIMEIPair::has_modem_id() const {
881 return _internal_has_modem_id();
882}
883inline void ShoreConfig_ModemIDIMEIPair::clear_modem_id() {
884 _impl_.modem_id_ = 0;
885 _impl_._has_bits_[0] &= ~0x00000002u;
886}
887inline int32_t ShoreConfig_ModemIDIMEIPair::_internal_modem_id() const {
888 return _impl_.modem_id_;
889}
890inline int32_t ShoreConfig_ModemIDIMEIPair::modem_id() const {
891 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.modem_id)
892 return _internal_modem_id();
893}
894inline void ShoreConfig_ModemIDIMEIPair::_internal_set_modem_id(int32_t value) {
895 _impl_._has_bits_[0] |= 0x00000002u;
896 _impl_.modem_id_ = value;
897}
898inline void ShoreConfig_ModemIDIMEIPair::set_modem_id(int32_t value) {
899 _internal_set_modem_id(value);
900 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.modem_id)
901}
902
903// required string imei = 2;
904inline bool ShoreConfig_ModemIDIMEIPair::_internal_has_imei() const {
905 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
906 return value;
907}
908inline bool ShoreConfig_ModemIDIMEIPair::has_imei() const {
909 return _internal_has_imei();
910}
911inline void ShoreConfig_ModemIDIMEIPair::clear_imei() {
912 _impl_.imei_.ClearToEmpty();
913 _impl_._has_bits_[0] &= ~0x00000001u;
914}
915inline const std::string& ShoreConfig_ModemIDIMEIPair::imei() const {
916 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.imei)
917 return _internal_imei();
918}
919template <typename ArgT0, typename... ArgT>
920inline PROTOBUF_ALWAYS_INLINE
921void ShoreConfig_ModemIDIMEIPair::set_imei(ArgT0&& arg0, ArgT... args) {
922 _impl_._has_bits_[0] |= 0x00000001u;
923 _impl_.imei_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
924 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.imei)
925}
926inline std::string* ShoreConfig_ModemIDIMEIPair::mutable_imei() {
927 std::string* _s = _internal_mutable_imei();
928 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.imei)
929 return _s;
930}
931inline const std::string& ShoreConfig_ModemIDIMEIPair::_internal_imei() const {
932 return _impl_.imei_.Get();
933}
934inline void ShoreConfig_ModemIDIMEIPair::_internal_set_imei(const std::string& value) {
935 _impl_._has_bits_[0] |= 0x00000001u;
936 _impl_.imei_.Set(value, GetArenaForAllocation());
937}
938inline std::string* ShoreConfig_ModemIDIMEIPair::_internal_mutable_imei() {
939 _impl_._has_bits_[0] |= 0x00000001u;
940 return _impl_.imei_.Mutable(GetArenaForAllocation());
941}
942inline std::string* ShoreConfig_ModemIDIMEIPair::release_imei() {
943 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.imei)
944 if (!_internal_has_imei()) {
945 return nullptr;
946 }
947 _impl_._has_bits_[0] &= ~0x00000001u;
948 auto* p = _impl_.imei_.Release();
949#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
950 if (_impl_.imei_.IsDefault()) {
951 _impl_.imei_.Set("", GetArenaForAllocation());
952 }
953#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
954 return p;
955}
956inline void ShoreConfig_ModemIDIMEIPair::set_allocated_imei(std::string* imei) {
957 if (imei != nullptr) {
958 _impl_._has_bits_[0] |= 0x00000001u;
959 } else {
960 _impl_._has_bits_[0] &= ~0x00000001u;
961 }
962 _impl_.imei_.SetAllocated(imei, GetArenaForAllocation());
963#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
964 if (_impl_.imei_.IsDefault()) {
965 _impl_.imei_.Set("", GetArenaForAllocation());
966 }
967#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
968 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair.imei)
969}
970
971// -------------------------------------------------------------------
972
973// ShoreConfig_RockBlock
974
975// required string username = 1;
976inline bool ShoreConfig_RockBlock::_internal_has_username() const {
977 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
978 return value;
979}
980inline bool ShoreConfig_RockBlock::has_username() const {
981 return _internal_has_username();
982}
983inline void ShoreConfig_RockBlock::clear_username() {
984 _impl_.username_.ClearToEmpty();
985 _impl_._has_bits_[0] &= ~0x00000001u;
986}
987inline const std::string& ShoreConfig_RockBlock::username() const {
988 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.username)
989 return _internal_username();
990}
991template <typename ArgT0, typename... ArgT>
992inline PROTOBUF_ALWAYS_INLINE
993void ShoreConfig_RockBlock::set_username(ArgT0&& arg0, ArgT... args) {
994 _impl_._has_bits_[0] |= 0x00000001u;
995 _impl_.username_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
996 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.username)
997}
998inline std::string* ShoreConfig_RockBlock::mutable_username() {
999 std::string* _s = _internal_mutable_username();
1000 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.username)
1001 return _s;
1002}
1003inline const std::string& ShoreConfig_RockBlock::_internal_username() const {
1004 return _impl_.username_.Get();
1005}
1006inline void ShoreConfig_RockBlock::_internal_set_username(const std::string& value) {
1007 _impl_._has_bits_[0] |= 0x00000001u;
1008 _impl_.username_.Set(value, GetArenaForAllocation());
1009}
1010inline std::string* ShoreConfig_RockBlock::_internal_mutable_username() {
1011 _impl_._has_bits_[0] |= 0x00000001u;
1012 return _impl_.username_.Mutable(GetArenaForAllocation());
1013}
1014inline std::string* ShoreConfig_RockBlock::release_username() {
1015 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.username)
1016 if (!_internal_has_username()) {
1017 return nullptr;
1018 }
1019 _impl_._has_bits_[0] &= ~0x00000001u;
1020 auto* p = _impl_.username_.Release();
1021#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1022 if (_impl_.username_.IsDefault()) {
1023 _impl_.username_.Set("", GetArenaForAllocation());
1024 }
1025#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1026 return p;
1027}
1028inline void ShoreConfig_RockBlock::set_allocated_username(std::string* username) {
1029 if (username != nullptr) {
1030 _impl_._has_bits_[0] |= 0x00000001u;
1031 } else {
1032 _impl_._has_bits_[0] &= ~0x00000001u;
1033 }
1034 _impl_.username_.SetAllocated(username, GetArenaForAllocation());
1035#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1036 if (_impl_.username_.IsDefault()) {
1037 _impl_.username_.Set("", GetArenaForAllocation());
1038 }
1039#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1040 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.username)
1041}
1042
1043// required string password = 2;
1044inline bool ShoreConfig_RockBlock::_internal_has_password() const {
1045 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1046 return value;
1047}
1048inline bool ShoreConfig_RockBlock::has_password() const {
1049 return _internal_has_password();
1050}
1051inline void ShoreConfig_RockBlock::clear_password() {
1052 _impl_.password_.ClearToEmpty();
1053 _impl_._has_bits_[0] &= ~0x00000002u;
1054}
1055inline const std::string& ShoreConfig_RockBlock::password() const {
1056 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.password)
1057 return _internal_password();
1058}
1059template <typename ArgT0, typename... ArgT>
1060inline PROTOBUF_ALWAYS_INLINE
1061void ShoreConfig_RockBlock::set_password(ArgT0&& arg0, ArgT... args) {
1062 _impl_._has_bits_[0] |= 0x00000002u;
1063 _impl_.password_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1064 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.password)
1065}
1066inline std::string* ShoreConfig_RockBlock::mutable_password() {
1067 std::string* _s = _internal_mutable_password();
1068 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.password)
1069 return _s;
1070}
1071inline const std::string& ShoreConfig_RockBlock::_internal_password() const {
1072 return _impl_.password_.Get();
1073}
1074inline void ShoreConfig_RockBlock::_internal_set_password(const std::string& value) {
1075 _impl_._has_bits_[0] |= 0x00000002u;
1076 _impl_.password_.Set(value, GetArenaForAllocation());
1077}
1078inline std::string* ShoreConfig_RockBlock::_internal_mutable_password() {
1079 _impl_._has_bits_[0] |= 0x00000002u;
1080 return _impl_.password_.Mutable(GetArenaForAllocation());
1081}
1082inline std::string* ShoreConfig_RockBlock::release_password() {
1083 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.password)
1084 if (!_internal_has_password()) {
1085 return nullptr;
1086 }
1087 _impl_._has_bits_[0] &= ~0x00000002u;
1088 auto* p = _impl_.password_.Release();
1089#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1090 if (_impl_.password_.IsDefault()) {
1091 _impl_.password_.Set("", GetArenaForAllocation());
1092 }
1093#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1094 return p;
1095}
1096inline void ShoreConfig_RockBlock::set_allocated_password(std::string* password) {
1097 if (password != nullptr) {
1098 _impl_._has_bits_[0] |= 0x00000002u;
1099 } else {
1100 _impl_._has_bits_[0] &= ~0x00000002u;
1101 }
1102 _impl_.password_.SetAllocated(password, GetArenaForAllocation());
1103#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1104 if (_impl_.password_.IsDefault()) {
1105 _impl_.password_.Set("", GetArenaForAllocation());
1106 }
1107#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1108 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.password)
1109}
1110
1111// optional string server = 3 [default = "https://rockblock.rock7.com"];
1112inline bool ShoreConfig_RockBlock::_internal_has_server() const {
1113 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1114 return value;
1115}
1116inline bool ShoreConfig_RockBlock::has_server() const {
1117 return _internal_has_server();
1118}
1119inline void ShoreConfig_RockBlock::clear_server() {
1120 _impl_.server_.ClearToDefault(::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock::Impl_::_i_give_permission_to_break_this_code_default_server_, GetArenaForAllocation());
1121 _impl_._has_bits_[0] &= ~0x00000004u;
1122}
1123inline const std::string& ShoreConfig_RockBlock::server() const {
1124 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.server)
1125 if (_impl_.server_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_server_.get();
1126 return _internal_server();
1127}
1128template <typename ArgT0, typename... ArgT>
1129inline PROTOBUF_ALWAYS_INLINE
1130void ShoreConfig_RockBlock::set_server(ArgT0&& arg0, ArgT... args) {
1131 _impl_._has_bits_[0] |= 0x00000004u;
1132 _impl_.server_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1133 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.server)
1134}
1135inline std::string* ShoreConfig_RockBlock::mutable_server() {
1136 std::string* _s = _internal_mutable_server();
1137 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.server)
1138 return _s;
1139}
1140inline const std::string& ShoreConfig_RockBlock::_internal_server() const {
1141 return _impl_.server_.Get();
1142}
1143inline void ShoreConfig_RockBlock::_internal_set_server(const std::string& value) {
1144 _impl_._has_bits_[0] |= 0x00000004u;
1145 _impl_.server_.Set(value, GetArenaForAllocation());
1146}
1147inline std::string* ShoreConfig_RockBlock::_internal_mutable_server() {
1148 _impl_._has_bits_[0] |= 0x00000004u;
1149 return _impl_.server_.Mutable(::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock::Impl_::_i_give_permission_to_break_this_code_default_server_, GetArenaForAllocation());
1150}
1151inline std::string* ShoreConfig_RockBlock::release_server() {
1152 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.server)
1153 if (!_internal_has_server()) {
1154 return nullptr;
1155 }
1156 _impl_._has_bits_[0] &= ~0x00000004u;
1157 auto* p = _impl_.server_.Release();
1158 return p;
1159}
1160inline void ShoreConfig_RockBlock::set_allocated_server(std::string* server) {
1161 if (server != nullptr) {
1162 _impl_._has_bits_[0] |= 0x00000004u;
1163 } else {
1164 _impl_._has_bits_[0] &= ~0x00000004u;
1165 }
1166 _impl_.server_.SetAllocated(server, GetArenaForAllocation());
1167 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.server)
1168}
1169
1170// optional string mt_endpoint = 4 [default = "/rockblock/MT"];
1171inline bool ShoreConfig_RockBlock::_internal_has_mt_endpoint() const {
1172 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1173 return value;
1174}
1175inline bool ShoreConfig_RockBlock::has_mt_endpoint() const {
1176 return _internal_has_mt_endpoint();
1177}
1178inline void ShoreConfig_RockBlock::clear_mt_endpoint() {
1179 _impl_.mt_endpoint_.ClearToDefault(::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock::Impl_::_i_give_permission_to_break_this_code_default_mt_endpoint_, GetArenaForAllocation());
1180 _impl_._has_bits_[0] &= ~0x00000008u;
1181}
1182inline const std::string& ShoreConfig_RockBlock::mt_endpoint() const {
1183 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.mt_endpoint)
1184 if (_impl_.mt_endpoint_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_mt_endpoint_.get();
1185 return _internal_mt_endpoint();
1186}
1187template <typename ArgT0, typename... ArgT>
1188inline PROTOBUF_ALWAYS_INLINE
1189void ShoreConfig_RockBlock::set_mt_endpoint(ArgT0&& arg0, ArgT... args) {
1190 _impl_._has_bits_[0] |= 0x00000008u;
1191 _impl_.mt_endpoint_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1192 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.mt_endpoint)
1193}
1194inline std::string* ShoreConfig_RockBlock::mutable_mt_endpoint() {
1195 std::string* _s = _internal_mutable_mt_endpoint();
1196 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.mt_endpoint)
1197 return _s;
1198}
1199inline const std::string& ShoreConfig_RockBlock::_internal_mt_endpoint() const {
1200 return _impl_.mt_endpoint_.Get();
1201}
1202inline void ShoreConfig_RockBlock::_internal_set_mt_endpoint(const std::string& value) {
1203 _impl_._has_bits_[0] |= 0x00000008u;
1204 _impl_.mt_endpoint_.Set(value, GetArenaForAllocation());
1205}
1206inline std::string* ShoreConfig_RockBlock::_internal_mutable_mt_endpoint() {
1207 _impl_._has_bits_[0] |= 0x00000008u;
1208 return _impl_.mt_endpoint_.Mutable(::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock::Impl_::_i_give_permission_to_break_this_code_default_mt_endpoint_, GetArenaForAllocation());
1209}
1210inline std::string* ShoreConfig_RockBlock::release_mt_endpoint() {
1211 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.mt_endpoint)
1212 if (!_internal_has_mt_endpoint()) {
1213 return nullptr;
1214 }
1215 _impl_._has_bits_[0] &= ~0x00000008u;
1216 auto* p = _impl_.mt_endpoint_.Release();
1217 return p;
1218}
1219inline void ShoreConfig_RockBlock::set_allocated_mt_endpoint(std::string* mt_endpoint) {
1220 if (mt_endpoint != nullptr) {
1221 _impl_._has_bits_[0] |= 0x00000008u;
1222 } else {
1223 _impl_._has_bits_[0] &= ~0x00000008u;
1224 }
1225 _impl_.mt_endpoint_.SetAllocated(mt_endpoint, GetArenaForAllocation());
1226 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.mt_endpoint)
1227}
1228
1229// optional bool skip_jwt_verification = 5 [default = false];
1230inline bool ShoreConfig_RockBlock::_internal_has_skip_jwt_verification() const {
1231 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1232 return value;
1233}
1234inline bool ShoreConfig_RockBlock::has_skip_jwt_verification() const {
1235 return _internal_has_skip_jwt_verification();
1236}
1237inline void ShoreConfig_RockBlock::clear_skip_jwt_verification() {
1238 _impl_.skip_jwt_verification_ = false;
1239 _impl_._has_bits_[0] &= ~0x00000010u;
1240}
1241inline bool ShoreConfig_RockBlock::_internal_skip_jwt_verification() const {
1242 return _impl_.skip_jwt_verification_;
1243}
1244inline bool ShoreConfig_RockBlock::skip_jwt_verification() const {
1245 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.skip_jwt_verification)
1246 return _internal_skip_jwt_verification();
1247}
1248inline void ShoreConfig_RockBlock::_internal_set_skip_jwt_verification(bool value) {
1249 _impl_._has_bits_[0] |= 0x00000010u;
1250 _impl_.skip_jwt_verification_ = value;
1251}
1252inline void ShoreConfig_RockBlock::set_skip_jwt_verification(bool value) {
1253 _internal_set_skip_jwt_verification(value);
1254 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.RockBlock.skip_jwt_verification)
1255}
1256
1257// -------------------------------------------------------------------
1258
1259// ShoreConfig
1260
1261// optional uint32 rudics_server_port = 1;
1262inline bool ShoreConfig::_internal_has_rudics_server_port() const {
1263 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1264 return value;
1265}
1266inline bool ShoreConfig::has_rudics_server_port() const {
1267 return _internal_has_rudics_server_port();
1268}
1269inline void ShoreConfig::clear_rudics_server_port() {
1270 _impl_.rudics_server_port_ = 0u;
1271 _impl_._has_bits_[0] &= ~0x00000004u;
1272}
1273inline uint32_t ShoreConfig::_internal_rudics_server_port() const {
1274 return _impl_.rudics_server_port_;
1275}
1276inline uint32_t ShoreConfig::rudics_server_port() const {
1277 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.rudics_server_port)
1278 return _internal_rudics_server_port();
1279}
1280inline void ShoreConfig::_internal_set_rudics_server_port(uint32_t value) {
1281 _impl_._has_bits_[0] |= 0x00000004u;
1282 _impl_.rudics_server_port_ = value;
1283}
1284inline void ShoreConfig::set_rudics_server_port(uint32_t value) {
1285 _internal_set_rudics_server_port(value);
1286 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.rudics_server_port)
1287}
1288
1289// optional .goby.acomms.iridium.protobuf.ShoreConfig.SBDType sbd_type = 2 [default = SBD_DIRECTIP];
1290inline bool ShoreConfig::_internal_has_sbd_type() const {
1291 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1292 return value;
1293}
1294inline bool ShoreConfig::has_sbd_type() const {
1295 return _internal_has_sbd_type();
1296}
1297inline void ShoreConfig::clear_sbd_type() {
1298 _impl_.sbd_type_ = 1;
1299 _impl_._has_bits_[0] &= ~0x00000040u;
1300}
1301inline ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType ShoreConfig::_internal_sbd_type() const {
1302 return static_cast< ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType >(_impl_.sbd_type_);
1303}
1304inline ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType ShoreConfig::sbd_type() const {
1305 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.sbd_type)
1306 return _internal_sbd_type();
1307}
1308inline void ShoreConfig::_internal_set_sbd_type(::goby::acomms::iridium::protobuf::ShoreConfig_SBDType value) {
1310 _impl_._has_bits_[0] |= 0x00000040u;
1311 _impl_.sbd_type_ = value;
1312}
1313inline void ShoreConfig::set_sbd_type(::goby::acomms::iridium::protobuf::ShoreConfig_SBDType value) {
1314 _internal_set_sbd_type(value);
1315 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.sbd_type)
1316}
1317
1318// optional uint32 mo_sbd_server_port = 3 [default = 40001];
1319inline bool ShoreConfig::_internal_has_mo_sbd_server_port() const {
1320 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1321 return value;
1322}
1323inline bool ShoreConfig::has_mo_sbd_server_port() const {
1324 return _internal_has_mo_sbd_server_port();
1325}
1326inline void ShoreConfig::clear_mo_sbd_server_port() {
1327 _impl_.mo_sbd_server_port_ = 40001u;
1328 _impl_._has_bits_[0] &= ~0x00000080u;
1329}
1330inline uint32_t ShoreConfig::_internal_mo_sbd_server_port() const {
1331 return _impl_.mo_sbd_server_port_;
1332}
1333inline uint32_t ShoreConfig::mo_sbd_server_port() const {
1334 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.mo_sbd_server_port)
1335 return _internal_mo_sbd_server_port();
1336}
1337inline void ShoreConfig::_internal_set_mo_sbd_server_port(uint32_t value) {
1338 _impl_._has_bits_[0] |= 0x00000080u;
1339 _impl_.mo_sbd_server_port_ = value;
1340}
1341inline void ShoreConfig::set_mo_sbd_server_port(uint32_t value) {
1342 _internal_set_mo_sbd_server_port(value);
1343 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.mo_sbd_server_port)
1344}
1345
1346// optional string mt_sbd_server_address = 4;
1347inline bool ShoreConfig::_internal_has_mt_sbd_server_address() const {
1348 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1349 return value;
1350}
1351inline bool ShoreConfig::has_mt_sbd_server_address() const {
1352 return _internal_has_mt_sbd_server_address();
1353}
1354inline void ShoreConfig::clear_mt_sbd_server_address() {
1355 _impl_.mt_sbd_server_address_.ClearToEmpty();
1356 _impl_._has_bits_[0] &= ~0x00000001u;
1357}
1358inline const std::string& ShoreConfig::mt_sbd_server_address() const {
1359 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_address)
1360 return _internal_mt_sbd_server_address();
1361}
1362template <typename ArgT0, typename... ArgT>
1363inline PROTOBUF_ALWAYS_INLINE
1364void ShoreConfig::set_mt_sbd_server_address(ArgT0&& arg0, ArgT... args) {
1365 _impl_._has_bits_[0] |= 0x00000001u;
1366 _impl_.mt_sbd_server_address_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1367 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_address)
1368}
1369inline std::string* ShoreConfig::mutable_mt_sbd_server_address() {
1370 std::string* _s = _internal_mutable_mt_sbd_server_address();
1371 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_address)
1372 return _s;
1373}
1374inline const std::string& ShoreConfig::_internal_mt_sbd_server_address() const {
1375 return _impl_.mt_sbd_server_address_.Get();
1376}
1377inline void ShoreConfig::_internal_set_mt_sbd_server_address(const std::string& value) {
1378 _impl_._has_bits_[0] |= 0x00000001u;
1379 _impl_.mt_sbd_server_address_.Set(value, GetArenaForAllocation());
1380}
1381inline std::string* ShoreConfig::_internal_mutable_mt_sbd_server_address() {
1382 _impl_._has_bits_[0] |= 0x00000001u;
1383 return _impl_.mt_sbd_server_address_.Mutable(GetArenaForAllocation());
1384}
1385inline std::string* ShoreConfig::release_mt_sbd_server_address() {
1386 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_address)
1387 if (!_internal_has_mt_sbd_server_address()) {
1388 return nullptr;
1389 }
1390 _impl_._has_bits_[0] &= ~0x00000001u;
1391 auto* p = _impl_.mt_sbd_server_address_.Release();
1392#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1393 if (_impl_.mt_sbd_server_address_.IsDefault()) {
1394 _impl_.mt_sbd_server_address_.Set("", GetArenaForAllocation());
1395 }
1396#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1397 return p;
1398}
1399inline void ShoreConfig::set_allocated_mt_sbd_server_address(std::string* mt_sbd_server_address) {
1400 if (mt_sbd_server_address != nullptr) {
1401 _impl_._has_bits_[0] |= 0x00000001u;
1402 } else {
1403 _impl_._has_bits_[0] &= ~0x00000001u;
1404 }
1405 _impl_.mt_sbd_server_address_.SetAllocated(mt_sbd_server_address, GetArenaForAllocation());
1406#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1407 if (_impl_.mt_sbd_server_address_.IsDefault()) {
1408 _impl_.mt_sbd_server_address_.Set("", GetArenaForAllocation());
1409 }
1410#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1411 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_address)
1412}
1413
1414// optional uint32 mt_sbd_server_port = 5;
1415inline bool ShoreConfig::_internal_has_mt_sbd_server_port() const {
1416 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1417 return value;
1418}
1419inline bool ShoreConfig::has_mt_sbd_server_port() const {
1420 return _internal_has_mt_sbd_server_port();
1421}
1422inline void ShoreConfig::clear_mt_sbd_server_port() {
1423 _impl_.mt_sbd_server_port_ = 0u;
1424 _impl_._has_bits_[0] &= ~0x00000008u;
1425}
1426inline uint32_t ShoreConfig::_internal_mt_sbd_server_port() const {
1427 return _impl_.mt_sbd_server_port_;
1428}
1429inline uint32_t ShoreConfig::mt_sbd_server_port() const {
1430 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_port)
1431 return _internal_mt_sbd_server_port();
1432}
1433inline void ShoreConfig::_internal_set_mt_sbd_server_port(uint32_t value) {
1434 _impl_._has_bits_[0] |= 0x00000008u;
1435 _impl_.mt_sbd_server_port_ = value;
1436}
1437inline void ShoreConfig::set_mt_sbd_server_port(uint32_t value) {
1438 _internal_set_mt_sbd_server_port(value);
1439 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.mt_sbd_server_port)
1440}
1441
1442// repeated .goby.acomms.iridium.protobuf.ShoreConfig.ModemIDIMEIPair modem_id_to_imei = 6;
1443inline int ShoreConfig::_internal_modem_id_to_imei_size() const {
1444 return _impl_.modem_id_to_imei_.size();
1445}
1446inline int ShoreConfig::modem_id_to_imei_size() const {
1447 return _internal_modem_id_to_imei_size();
1448}
1449inline void ShoreConfig::clear_modem_id_to_imei() {
1450 _impl_.modem_id_to_imei_.Clear();
1451}
1452inline ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair* ShoreConfig::mutable_modem_id_to_imei(int index) {
1453 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.modem_id_to_imei)
1454 return _impl_.modem_id_to_imei_.Mutable(index);
1455}
1456inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >*
1457ShoreConfig::mutable_modem_id_to_imei() {
1458 // @@protoc_insertion_point(field_mutable_list:goby.acomms.iridium.protobuf.ShoreConfig.modem_id_to_imei)
1459 return &_impl_.modem_id_to_imei_;
1460}
1461inline const ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair& ShoreConfig::_internal_modem_id_to_imei(int index) const {
1462 return _impl_.modem_id_to_imei_.Get(index);
1463}
1464inline const ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair& ShoreConfig::modem_id_to_imei(int index) const {
1465 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.modem_id_to_imei)
1466 return _internal_modem_id_to_imei(index);
1467}
1468inline ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair* ShoreConfig::_internal_add_modem_id_to_imei() {
1469 return _impl_.modem_id_to_imei_.Add();
1470}
1471inline ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair* ShoreConfig::add_modem_id_to_imei() {
1472 ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair* _add = _internal_add_modem_id_to_imei();
1473 // @@protoc_insertion_point(field_add:goby.acomms.iridium.protobuf.ShoreConfig.modem_id_to_imei)
1474 return _add;
1475}
1476inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::iridium::protobuf::ShoreConfig_ModemIDIMEIPair >&
1477ShoreConfig::modem_id_to_imei() const {
1478 // @@protoc_insertion_point(field_list:goby.acomms.iridium.protobuf.ShoreConfig.modem_id_to_imei)
1479 return _impl_.modem_id_to_imei_;
1480}
1481
1482// optional .goby.acomms.iridium.protobuf.ShoreConfig.RockBlock rockblock = 10;
1483inline bool ShoreConfig::_internal_has_rockblock() const {
1484 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1485 PROTOBUF_ASSUME(!value || _impl_.rockblock_ != nullptr);
1486 return value;
1487}
1488inline bool ShoreConfig::has_rockblock() const {
1489 return _internal_has_rockblock();
1490}
1491inline void ShoreConfig::clear_rockblock() {
1492 if (_impl_.rockblock_ != nullptr) _impl_.rockblock_->Clear();
1493 _impl_._has_bits_[0] &= ~0x00000002u;
1494}
1495inline const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock& ShoreConfig::_internal_rockblock() const {
1496 const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* p = _impl_.rockblock_;
1497 return p != nullptr ? *p : reinterpret_cast<const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock&>(
1499}
1500inline const ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock& ShoreConfig::rockblock() const {
1501 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.rockblock)
1502 return _internal_rockblock();
1503}
1504inline void ShoreConfig::unsafe_arena_set_allocated_rockblock(
1506 if (GetArenaForAllocation() == nullptr) {
1507 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.rockblock_);
1508 }
1509 _impl_.rockblock_ = rockblock;
1510 if (rockblock) {
1511 _impl_._has_bits_[0] |= 0x00000002u;
1512 } else {
1513 _impl_._has_bits_[0] &= ~0x00000002u;
1514 }
1515 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.rockblock)
1516}
1517inline ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* ShoreConfig::release_rockblock() {
1518 _impl_._has_bits_[0] &= ~0x00000002u;
1520 _impl_.rockblock_ = nullptr;
1521#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1522 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1523 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1524 if (GetArenaForAllocation() == nullptr) { delete old; }
1525#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1526 if (GetArenaForAllocation() != nullptr) {
1527 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1528 }
1529#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1530 return temp;
1531}
1532inline ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* ShoreConfig::unsafe_arena_release_rockblock() {
1533 // @@protoc_insertion_point(field_release:goby.acomms.iridium.protobuf.ShoreConfig.rockblock)
1534 _impl_._has_bits_[0] &= ~0x00000002u;
1536 _impl_.rockblock_ = nullptr;
1537 return temp;
1538}
1539inline ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* ShoreConfig::_internal_mutable_rockblock() {
1540 _impl_._has_bits_[0] |= 0x00000002u;
1541 if (_impl_.rockblock_ == nullptr) {
1543 _impl_.rockblock_ = p;
1544 }
1545 return _impl_.rockblock_;
1546}
1547inline ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* ShoreConfig::mutable_rockblock() {
1548 ::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* _msg = _internal_mutable_rockblock();
1549 // @@protoc_insertion_point(field_mutable:goby.acomms.iridium.protobuf.ShoreConfig.rockblock)
1550 return _msg;
1551}
1552inline void ShoreConfig::set_allocated_rockblock(::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock* rockblock) {
1553 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1554 if (message_arena == nullptr) {
1555 delete _impl_.rockblock_;
1556 }
1557 if (rockblock) {
1558 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1559 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(rockblock);
1560 if (message_arena != submessage_arena) {
1561 rockblock = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1562 message_arena, rockblock, submessage_arena);
1563 }
1564 _impl_._has_bits_[0] |= 0x00000002u;
1565 } else {
1566 _impl_._has_bits_[0] &= ~0x00000002u;
1567 }
1568 _impl_.rockblock_ = rockblock;
1569 // @@protoc_insertion_point(field_set_allocated:goby.acomms.iridium.protobuf.ShoreConfig.rockblock)
1570}
1571
1572// optional .goby.acomms.iridium.protobuf.DeviceType device = 11 [default = DEVICE_VOICE_ENABLED_ISU];
1573inline bool ShoreConfig::_internal_has_device() const {
1574 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1575 return value;
1576}
1577inline bool ShoreConfig::has_device() const {
1578 return _internal_has_device();
1579}
1580inline void ShoreConfig::clear_device() {
1581 _impl_.device_ = 1;
1582 _impl_._has_bits_[0] &= ~0x00000020u;
1583}
1584inline ::goby::acomms::iridium::protobuf::DeviceType ShoreConfig::_internal_device() const {
1585 return static_cast< ::goby::acomms::iridium::protobuf::DeviceType >(_impl_.device_);
1586}
1587inline ::goby::acomms::iridium::protobuf::DeviceType ShoreConfig::device() const {
1588 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.device)
1589 return _internal_device();
1590}
1591inline void ShoreConfig::_internal_set_device(::goby::acomms::iridium::protobuf::DeviceType value) {
1593 _impl_._has_bits_[0] |= 0x00000020u;
1594 _impl_.device_ = value;
1595}
1596inline void ShoreConfig::set_device(::goby::acomms::iridium::protobuf::DeviceType value) {
1597 _internal_set_device(value);
1598 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.device)
1599}
1600
1601// optional bool ipv6 = 12 [default = false];
1602inline bool ShoreConfig::_internal_has_ipv6() const {
1603 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1604 return value;
1605}
1606inline bool ShoreConfig::has_ipv6() const {
1607 return _internal_has_ipv6();
1608}
1609inline void ShoreConfig::clear_ipv6() {
1610 _impl_.ipv6_ = false;
1611 _impl_._has_bits_[0] &= ~0x00000010u;
1612}
1613inline bool ShoreConfig::_internal_ipv6() const {
1614 return _impl_.ipv6_;
1615}
1616inline bool ShoreConfig::ipv6() const {
1617 // @@protoc_insertion_point(field_get:goby.acomms.iridium.protobuf.ShoreConfig.ipv6)
1618 return _internal_ipv6();
1619}
1620inline void ShoreConfig::_internal_set_ipv6(bool value) {
1621 _impl_._has_bits_[0] |= 0x00000010u;
1622 _impl_.ipv6_ = value;
1623}
1624inline void ShoreConfig::set_ipv6(bool value) {
1625 _internal_set_ipv6(value);
1626 // @@protoc_insertion_point(field_set:goby.acomms.iridium.protobuf.ShoreConfig.ipv6)
1627}
1628
1629#ifdef __GNUC__
1630 #pragma GCC diagnostic pop
1631#endif // __GNUC__
1632// -------------------------------------------------------------------
1633
1634// -------------------------------------------------------------------
1635
1636
1637// @@protoc_insertion_point(namespace_scope)
1638
1639} // namespace protobuf
1640} // namespace iridium
1641} // namespace acomms
1642} // namespace goby
1643
1644PROTOBUF_NAMESPACE_OPEN
1645
1646template <> struct is_proto_enum< ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType> : ::std::true_type {};
1647template <>
1649 return ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType_descriptor();
1650}
1651
1652PROTOBUF_NAMESPACE_CLOSE
1653
1654// @@protoc_insertion_point(global_scope)
1655
1656#include <google/protobuf/port_undef.inc>
1657#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
void CopyFrom(const ShoreConfig_ModemIDIMEIPair &from)
static const ShoreConfig_ModemIDIMEIPair & default_instance()
ShoreConfig_ModemIDIMEIPair(ShoreConfig_ModemIDIMEIPair &&from) noexcept
friend void swap(ShoreConfig_ModemIDIMEIPair &a, ShoreConfig_ModemIDIMEIPair &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_CONSTEXPR ShoreConfig_ModemIDIMEIPair(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
ShoreConfig_ModemIDIMEIPair & operator=(const ShoreConfig_ModemIDIMEIPair &from)
ShoreConfig_ModemIDIMEIPair & operator=(ShoreConfig_ModemIDIMEIPair &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
ShoreConfig_ModemIDIMEIPair(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ShoreConfig_ModemIDIMEIPair * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ShoreConfig_ModemIDIMEIPair(const ShoreConfig_ModemIDIMEIPair &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
ShoreConfig_ModemIDIMEIPair * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
ShoreConfig_RockBlock(ShoreConfig_RockBlock &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_mt_endpoint(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const ShoreConfig_RockBlock &from)
ShoreConfig_RockBlock(const ShoreConfig_RockBlock &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
ShoreConfig_RockBlock & operator=(const ShoreConfig_RockBlock &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ShoreConfig_RockBlock * internal_default_instance()
friend void swap(ShoreConfig_RockBlock &a, ShoreConfig_RockBlock &b)
PROTOBUF_CONSTEXPR ShoreConfig_RockBlock(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
ShoreConfig_RockBlock & operator=(ShoreConfig_RockBlock &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
ShoreConfig_RockBlock(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
ShoreConfig_RockBlock * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const ShoreConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_mt_sbd_server_address(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SBDType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_CONSTEXPR ShoreConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static bool SBDType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SBDType *value)
ShoreConfig & operator=(ShoreConfig &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
ShoreConfig & operator=(const ShoreConfig &from)
ShoreConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
ShoreConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(ShoreConfig &a, ShoreConfig &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const std::string & SBDType_Name(T enum_t_value)
::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock * Arena::CreateMaybeMessage<::goby::acomms::iridium::protobuf::ShoreConfig_RockBlock >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::acomms::iridium::protobuf::ShoreConfig_SBDType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2firidium_5fshore_5fdriver_2eproto
const std::string & ShoreConfig_SBDType_Name(T enum_t_value)
constexpr ShoreConfig_SBDType ShoreConfig_SBDType_SBDType_MAX
bool ShoreConfig_SBDType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShoreConfig_SBDType *value)
constexpr ShoreConfig_SBDType ShoreConfig_SBDType_SBDType_MIN
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::iridium::protobuf::ShoreConfig >, 11, false > shore_config
bool ShoreConfig_SBDType_IsValid(int value)
ShoreConfigDefaultTypeInternal _ShoreConfig_default_instance_
ShoreConfig_RockBlockDefaultTypeInternal _ShoreConfig_RockBlock_default_instance_
bool DeviceType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ShoreConfig_SBDType_descriptor()
ShoreConfig_ModemIDIMEIPairDefaultTypeInternal _ShoreConfig_ModemIDIMEIPair_default_instance_
The global namespace for the Goby project.
#define ByteSizeLong