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