Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
janus_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/janus_driver.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fjanus_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fjanus_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/unknown_field_set.h>
34#include "dccl/option_extensions.pb.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_2fjanus_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_2fjanus_5fdriver_2eproto;
54namespace goby {
55namespace acomms {
56namespace janus {
57namespace protobuf {
58class Config;
59struct ConfigDefaultTypeInternal;
60extern ConfigDefaultTypeInternal _Config_default_instance_;
61} // namespace protobuf
62} // namespace janus
63} // namespace acomms
64} // namespace goby
65PROTOBUF_NAMESPACE_OPEN
66template<> ::goby::acomms::janus::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::janus::protobuf::Config>(Arena*);
67PROTOBUF_NAMESPACE_CLOSE
68namespace goby {
69namespace acomms {
70namespace janus {
71namespace protobuf {
72
73// ===================================================================
74
75class Config final :
76 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.janus.protobuf.Config) */ {
77 public:
78 inline Config() : Config(nullptr) {}
79 ~Config() override;
80 explicit PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81
82 Config(const Config& from);
83 Config(Config&& from) noexcept
84 : Config() {
85 *this = ::std::move(from);
86 }
87
88 inline Config& operator=(const Config& from) {
89 CopyFrom(from);
90 return *this;
91 }
92 inline Config& operator=(Config&& from) noexcept {
93 if (this == &from) return *this;
94 if (GetOwningArena() == from.GetOwningArena()
95 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
96 && GetOwningArena() != nullptr
97 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
98 ) {
99 InternalSwap(&from);
100 } else {
101 CopyFrom(from);
102 }
103 return *this;
104 }
105
106 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 }
109 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 }
112
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114 return GetDescriptor();
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117 return default_instance().GetMetadata().descriptor;
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120 return default_instance().GetMetadata().reflection;
121 }
122 static const Config& default_instance() {
124 }
125 static inline const Config* internal_default_instance() {
126 return reinterpret_cast<const Config*>(
128 }
129 static constexpr int kIndexInFileMessages =
130 0;
131
132 friend void swap(Config& a, Config& b) {
133 a.Swap(&b);
134 }
135 inline void Swap(Config* other) {
136 if (other == this) return;
137 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() != nullptr &&
139 GetOwningArena() == other->GetOwningArena()) {
140 #else // PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() == other->GetOwningArena()) {
142 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
143 InternalSwap(other);
144 } else {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
146 }
147 }
148 void UnsafeArenaSwap(Config* other) {
149 if (other == this) return;
150 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
151 InternalSwap(other);
152 }
153
154 // implements Message ----------------------------------------------
155
156 Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
157 return CreateMaybeMessage<Config>(arena);
158 }
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 void CopyFrom(const Config& from);
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 void MergeFrom( const Config& from) {
163 Config::MergeImpl(*this, from);
164 }
165 private:
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 public:
168 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
169 bool IsInitialized() const final;
170
171 size_t ByteSizeLong() const final;
172 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
176
177 private:
178 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
179 void SharedDtor();
180 void SetCachedSize(int size) const final;
181 void InternalSwap(Config* other);
182
183 private:
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "goby.acomms.janus.protobuf.Config";
187 }
188 protected:
189 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
190 bool is_message_owned = false);
191 public:
192
193 static const ClassData _class_data_;
194 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
195
196 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197
198 // nested types ----------------------------------------------------
199
200 // accessors -------------------------------------------------------
201
202 enum : int {
230 };
231 // optional string pset_file = 5 [default = "/usr/local/share/janus/etc/parameter_sets.csv", (.goby.field) = {
232 bool has_pset_file() const;
233 private:
234 bool _internal_has_pset_file() const;
235 public:
236 void clear_pset_file();
237 const std::string& pset_file() const;
238 template <typename ArgT0 = const std::string&, typename... ArgT>
239 void set_pset_file(ArgT0&& arg0, ArgT... args);
240 std::string* mutable_pset_file();
241 PROTOBUF_NODISCARD std::string* release_pset_file();
242 void set_allocated_pset_file(std::string* pset_file);
243 private:
244 const std::string& _internal_pset_file() const;
245 inline PROTOBUF_ALWAYS_INLINE void _internal_set_pset_file(const std::string& value);
246 std::string* _internal_mutable_pset_file();
247 public:
248
249 // optional string stream_driver = 10 [default = "alsa", (.goby.field) = {
250 bool has_stream_driver() const;
251 private:
252 bool _internal_has_stream_driver() const;
253 public:
254 void clear_stream_driver();
255 const std::string& stream_driver() const;
256 template <typename ArgT0 = const std::string&, typename... ArgT>
257 void set_stream_driver(ArgT0&& arg0, ArgT... args);
258 std::string* mutable_stream_driver();
259 PROTOBUF_NODISCARD std::string* release_stream_driver();
261 private:
262 const std::string& _internal_stream_driver() const;
263 inline PROTOBUF_ALWAYS_INLINE void _internal_set_stream_driver(const std::string& value);
264 std::string* _internal_mutable_stream_driver();
265 public:
266
267 // optional string stream_driver_args = 11 [(.goby.field) = {
268 bool has_stream_driver_args() const;
269 private:
270 bool _internal_has_stream_driver_args() const;
271 public:
273 const std::string& stream_driver_args() const;
274 template <typename ArgT0 = const std::string&, typename... ArgT>
275 void set_stream_driver_args(ArgT0&& arg0, ArgT... args);
276 std::string* mutable_stream_driver_args();
277 PROTOBUF_NODISCARD std::string* release_stream_driver_args();
279 private:
280 const std::string& _internal_stream_driver_args() const;
281 inline PROTOBUF_ALWAYS_INLINE void _internal_set_stream_driver_args(const std::string& value);
282 std::string* _internal_mutable_stream_driver_args();
283 public:
284
285 // optional string stream_format = 13 [default = "S16", (.goby.field) = {
286 bool has_stream_format() const;
287 private:
288 bool _internal_has_stream_format() const;
289 public:
290 void clear_stream_format();
291 const std::string& stream_format() const;
292 template <typename ArgT0 = const std::string&, typename... ArgT>
293 void set_stream_format(ArgT0&& arg0, ArgT... args);
294 std::string* mutable_stream_format();
295 PROTOBUF_NODISCARD std::string* release_stream_format();
297 private:
298 const std::string& _internal_stream_format() const;
299 inline PROTOBUF_ALWAYS_INLINE void _internal_set_stream_format(const std::string& value);
300 std::string* _internal_mutable_stream_format();
301 public:
302
303 // optional int32 verbosity = 1 [default = 0, (.goby.field) = {
304 bool has_verbosity() const;
305 private:
306 bool _internal_has_verbosity() const;
307 public:
308 void clear_verbosity();
309 int32_t verbosity() const;
310 void set_verbosity(int32_t value);
311 private:
312 int32_t _internal_verbosity() const;
313 void _internal_set_verbosity(int32_t value);
314 public:
315
316 // optional int32 application_type = 3 [default = 0, (.goby.field) = {
317 bool has_application_type() const;
318 private:
319 bool _internal_has_application_type() const;
320 public:
322 int32_t application_type() const;
323 void set_application_type(int32_t value);
324 private:
325 int32_t _internal_application_type() const;
326 void _internal_set_application_type(int32_t value);
327 public:
328
329 // optional uint32 pset_center_freq = 6 [default = 0, (.goby.field) = {
330 bool has_pset_center_freq() const;
331 private:
332 bool _internal_has_pset_center_freq() const;
333 public:
335 uint32_t pset_center_freq() const;
336 void set_pset_center_freq(uint32_t value);
337 private:
338 uint32_t _internal_pset_center_freq() const;
339 void _internal_set_pset_center_freq(uint32_t value);
340 public:
341
342 // optional uint32 pset_bandwidth = 7 [default = 0, (.goby.field) = {
343 bool has_pset_bandwidth() const;
344 private:
345 bool _internal_has_pset_bandwidth() const;
346 public:
348 uint32_t pset_bandwidth() const;
349 void set_pset_bandwidth(uint32_t value);
350 private:
351 uint32_t _internal_pset_bandwidth() const;
352 void _internal_set_pset_bandwidth(uint32_t value);
353 public:
354
355 // optional uint32 chip_len_exp = 8 [default = 0, (.goby.field) = {
356 bool has_chip_len_exp() const;
357 private:
358 bool _internal_has_chip_len_exp() const;
359 public:
360 void clear_chip_len_exp();
361 uint32_t chip_len_exp() const;
362 void set_chip_len_exp(uint32_t value);
363 private:
364 uint32_t _internal_chip_len_exp() const;
365 void _internal_set_chip_len_exp(uint32_t value);
366 public:
367
368 // optional uint32 stream_channel = 15 [default = 0, (.goby.field) = {
369 bool has_stream_channel() const;
370 private:
371 bool _internal_has_stream_channel() const;
372 public:
374 uint32_t stream_channel() const;
375 void set_stream_channel(uint32_t value);
376 private:
377 uint32_t _internal_stream_channel() const;
378 void _internal_set_stream_channel(uint32_t value);
379 public:
380
381 // optional bool wut = 20 [default = false, (.goby.field) = {
382 bool has_wut() const;
383 private:
384 bool _internal_has_wut() const;
385 public:
386 void clear_wut();
387 bool wut() const;
388 void set_wut(bool value);
389 private:
390 bool _internal_wut() const;
391 void _internal_set_wut(bool value);
392 public:
393
394 // optional bool compute_channel_spectrogram = 23 [default = false, (.goby.field) = {
396 private:
397 bool _internal_has_compute_channel_spectrogram() const;
398 public:
400 bool compute_channel_spectrogram() const;
401 void set_compute_channel_spectrogram(bool value);
402 private:
403 bool _internal_compute_channel_spectrogram() const;
404 void _internal_set_compute_channel_spectrogram(bool value);
405 public:
406
407 // optional bool colored_bit_prob = 25 [default = false, (.goby.field) = {
408 bool has_colored_bit_prob() const;
409 private:
410 bool _internal_has_colored_bit_prob() const;
411 public:
413 bool colored_bit_prob() const;
414 void set_colored_bit_prob(bool value);
415 private:
416 bool _internal_colored_bit_prob() const;
417 void _internal_set_colored_bit_prob(bool value);
418 public:
419
420 // optional bool stream_passband = 16 [default = true, (.goby.field) = {
421 bool has_stream_passband() const;
422 private:
423 bool _internal_has_stream_passband() const;
424 public:
426 bool stream_passband() const;
427 void set_stream_passband(bool value);
428 private:
429 bool _internal_stream_passband() const;
430 void _internal_set_stream_passband(bool value);
431 public:
432
433 // optional bool pad = 19 [default = true, (.goby.field) = {
434 bool has_pad() const;
435 private:
436 bool _internal_has_pad() const;
437 public:
438 void clear_pad();
439 bool pad() const;
440 void set_pad(bool value);
441 private:
442 bool _internal_pad() const;
443 void _internal_set_pad(bool value);
444 public:
445
446 // optional bool doppler_correction = 21 [default = true, (.goby.field) = {
447 bool has_doppler_correction() const;
448 private:
449 bool _internal_has_doppler_correction() const;
450 public:
452 bool doppler_correction() const;
453 void set_doppler_correction(bool value);
454 private:
455 bool _internal_doppler_correction() const;
456 void _internal_set_doppler_correction(bool value);
457 public:
458
459 // optional int32 class_id = 2 [default = 16, (.goby.field) = {
460 bool has_class_id() const;
461 private:
462 bool _internal_has_class_id() const;
463 public:
464 void clear_class_id();
465 int32_t class_id() const;
466 void set_class_id(int32_t value);
467 private:
468 int32_t _internal_class_id() const;
469 void _internal_set_class_id(int32_t value);
470 public:
471
472 // optional uint32 pset_id = 4 [default = 1, (.goby.field) = {
473 bool has_pset_id() const;
474 private:
475 bool _internal_has_pset_id() const;
476 public:
477 void clear_pset_id();
478 uint32_t pset_id() const;
479 void set_pset_id(uint32_t value);
480 private:
481 uint32_t _internal_pset_id() const;
482 void _internal_set_pset_id(uint32_t value);
483 public:
484
485 // optional uint32 sequence_32_chips = 9 [default = 2933675936, (.goby.field) = {
486 bool has_sequence_32_chips() const;
487 private:
488 bool _internal_has_sequence_32_chips() const;
489 public:
491 uint32_t sequence_32_chips() const;
492 void set_sequence_32_chips(uint32_t value);
493 private:
494 uint32_t _internal_sequence_32_chips() const;
495 void _internal_set_sequence_32_chips(uint32_t value);
496 public:
497
498 // optional uint32 stream_fs = 12 [default = 48000, (.goby.field) = {
499 bool has_stream_fs() const;
500 private:
501 bool _internal_has_stream_fs() const;
502 public:
503 void clear_stream_fs();
504 uint32_t stream_fs() const;
505 void set_stream_fs(uint32_t value);
506 private:
507 uint32_t _internal_stream_fs() const;
508 void _internal_set_stream_fs(uint32_t value);
509 public:
510
511 // optional uint32 stream_channel_count = 14 [default = 1, (.goby.field) = {
512 bool has_stream_channel_count() const;
513 private:
514 bool _internal_has_stream_channel_count() const;
515 public:
517 uint32_t stream_channel_count() const;
518 void set_stream_channel_count(uint32_t value);
519 private:
520 uint32_t _internal_stream_channel_count() const;
521 void _internal_set_stream_channel_count(uint32_t value);
522 public:
523
524 // optional uint32 stream_mul = 18 [default = 1, (.goby.field) = {
525 bool has_stream_mul() const;
526 private:
527 bool _internal_has_stream_mul() const;
528 public:
529 void clear_stream_mul();
530 uint32_t stream_mul() const;
531 void set_stream_mul(uint32_t value);
532 private:
533 uint32_t _internal_stream_mul() const;
534 void _internal_set_stream_mul(uint32_t value);
535 public:
536
537 // optional double stream_amp = 17 [default = 0.95, (.goby.field) = {
538 bool has_stream_amp() const;
539 private:
540 bool _internal_has_stream_amp() const;
541 public:
542 void clear_stream_amp();
543 double stream_amp() const;
544 void set_stream_amp(double value);
545 private:
546 double _internal_stream_amp() const;
547 void _internal_set_stream_amp(double value);
548 public:
549
550 // optional double doppler_max_speed = 22 [default = 5, (.goby.field) = {
551 bool has_doppler_max_speed() const;
552 private:
553 bool _internal_has_doppler_max_speed() const;
554 public:
556 double doppler_max_speed() const;
557 void set_doppler_max_speed(double value);
558 private:
559 double _internal_doppler_max_speed() const;
560 void _internal_set_doppler_max_speed(double value);
561 public:
562
563 // optional double detection_threshold = 24 [default = 2.5, (.goby.field) = {
564 bool has_detection_threshold() const;
565 private:
566 bool _internal_has_detection_threshold() const;
567 public:
569 double detection_threshold() const;
570 void set_detection_threshold(double value);
571 private:
572 double _internal_detection_threshold() const;
573 void _internal_set_detection_threshold(double value);
574 public:
575
576 // optional double cbp_high2medium = 26 [default = 0.2, (.goby.field) = {
577 bool has_cbp_high2medium() const;
578 private:
579 bool _internal_has_cbp_high2medium() const;
580 public:
582 double cbp_high2medium() const;
583 void set_cbp_high2medium(double value);
584 private:
585 double _internal_cbp_high2medium() const;
586 void _internal_set_cbp_high2medium(double value);
587 public:
588
589 // optional double cbp_medium2low = 27 [default = 0.35, (.goby.field) = {
590 bool has_cbp_medium2low() const;
591 private:
592 bool _internal_has_cbp_medium2low() const;
593 public:
595 double cbp_medium2low() const;
596 void set_cbp_medium2low(double value);
597 private:
598 double _internal_cbp_medium2low() const;
599 void _internal_set_cbp_medium2low(double value);
600 public:
601
602 // @@protoc_insertion_point(class_scope:goby.acomms.janus.protobuf.Config)
603 private:
604 class _Internal;
605
606 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
607 typedef void InternalArenaConstructable_;
608 typedef void DestructorSkippable_;
609 struct Impl_ {
610 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
611 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
612 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_pset_file_;
613 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pset_file_;
614 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_stream_driver_;
615 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stream_driver_;
616 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stream_driver_args_;
617 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_stream_format_;
618 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stream_format_;
619 int32_t verbosity_;
620 int32_t application_type_;
621 uint32_t pset_center_freq_;
622 uint32_t pset_bandwidth_;
623 uint32_t chip_len_exp_;
624 uint32_t stream_channel_;
625 bool wut_;
626 bool compute_channel_spectrogram_;
627 bool colored_bit_prob_;
628 bool stream_passband_;
629 bool pad_;
630 bool doppler_correction_;
631 int32_t class_id_;
632 uint32_t pset_id_;
633 uint32_t sequence_32_chips_;
634 uint32_t stream_fs_;
635 uint32_t stream_channel_count_;
636 uint32_t stream_mul_;
637 double stream_amp_;
638 double doppler_max_speed_;
639 double detection_threshold_;
640 double cbp_high2medium_;
641 double cbp_medium2low_;
642 };
643 union { Impl_ _impl_; };
644 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fjanus_5fdriver_2eproto;
645};
646// ===================================================================
647
648static const int kRxConfigFieldNumber = 1444;
649extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
650 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::janus::protobuf::Config >, 11, false >
652static const int kTxConfigFieldNumber = 1445;
653extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
654 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::janus::protobuf::Config >, 11, false >
656
657// ===================================================================
658
659#ifdef __GNUC__
660 #pragma GCC diagnostic push
661 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
662#endif // __GNUC__
663// Config
664
665// optional int32 verbosity = 1 [default = 0, (.goby.field) = {
666inline bool Config::_internal_has_verbosity() const {
667 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
668 return value;
669}
670inline bool Config::has_verbosity() const {
671 return _internal_has_verbosity();
672}
674 _impl_.verbosity_ = 0;
675 _impl_._has_bits_[0] &= ~0x00000010u;
676}
677inline int32_t Config::_internal_verbosity() const {
678 return _impl_.verbosity_;
679}
680inline int32_t Config::verbosity() const {
681 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.verbosity)
682 return _internal_verbosity();
683}
684inline void Config::_internal_set_verbosity(int32_t value) {
685 _impl_._has_bits_[0] |= 0x00000010u;
686 _impl_.verbosity_ = value;
687}
688inline void Config::set_verbosity(int32_t value) {
689 _internal_set_verbosity(value);
690 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.verbosity)
691}
692
693// optional int32 class_id = 2 [default = 16, (.goby.field) = {
694inline bool Config::_internal_has_class_id() const {
695 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
696 return value;
697}
698inline bool Config::has_class_id() const {
699 return _internal_has_class_id();
700}
702 _impl_.class_id_ = 16;
703 _impl_._has_bits_[0] &= ~0x00010000u;
704}
705inline int32_t Config::_internal_class_id() const {
706 return _impl_.class_id_;
707}
708inline int32_t Config::class_id() const {
709 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.class_id)
710 return _internal_class_id();
711}
712inline void Config::_internal_set_class_id(int32_t value) {
713 _impl_._has_bits_[0] |= 0x00010000u;
714 _impl_.class_id_ = value;
715}
716inline void Config::set_class_id(int32_t value) {
717 _internal_set_class_id(value);
718 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.class_id)
719}
720
721// optional int32 application_type = 3 [default = 0, (.goby.field) = {
722inline bool Config::_internal_has_application_type() const {
723 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
724 return value;
725}
726inline bool Config::has_application_type() const {
727 return _internal_has_application_type();
728}
730 _impl_.application_type_ = 0;
731 _impl_._has_bits_[0] &= ~0x00000020u;
732}
733inline int32_t Config::_internal_application_type() const {
734 return _impl_.application_type_;
735}
736inline int32_t Config::application_type() const {
737 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.application_type)
738 return _internal_application_type();
739}
740inline void Config::_internal_set_application_type(int32_t value) {
741 _impl_._has_bits_[0] |= 0x00000020u;
742 _impl_.application_type_ = value;
743}
744inline void Config::set_application_type(int32_t value) {
745 _internal_set_application_type(value);
746 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.application_type)
747}
748
749// optional uint32 pset_id = 4 [default = 1, (.goby.field) = {
750inline bool Config::_internal_has_pset_id() const {
751 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
752 return value;
753}
754inline bool Config::has_pset_id() const {
755 return _internal_has_pset_id();
756}
758 _impl_.pset_id_ = 1u;
759 _impl_._has_bits_[0] &= ~0x00020000u;
760}
761inline uint32_t Config::_internal_pset_id() const {
762 return _impl_.pset_id_;
763}
764inline uint32_t Config::pset_id() const {
765 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.pset_id)
766 return _internal_pset_id();
767}
768inline void Config::_internal_set_pset_id(uint32_t value) {
769 _impl_._has_bits_[0] |= 0x00020000u;
770 _impl_.pset_id_ = value;
771}
772inline void Config::set_pset_id(uint32_t value) {
773 _internal_set_pset_id(value);
774 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.pset_id)
775}
776
777// optional string pset_file = 5 [default = "/usr/local/share/janus/etc/parameter_sets.csv", (.goby.field) = {
778inline bool Config::_internal_has_pset_file() const {
779 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
780 return value;
781}
782inline bool Config::has_pset_file() const {
783 return _internal_has_pset_file();
784}
786 _impl_.pset_file_.ClearToDefault(::goby::acomms::janus::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_pset_file_, GetArenaForAllocation());
787 _impl_._has_bits_[0] &= ~0x00000001u;
788}
789inline const std::string& Config::pset_file() const {
790 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.pset_file)
791 if (_impl_.pset_file_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_pset_file_.get();
792 return _internal_pset_file();
793}
794template <typename ArgT0, typename... ArgT>
795inline PROTOBUF_ALWAYS_INLINE
796void Config::set_pset_file(ArgT0&& arg0, ArgT... args) {
797 _impl_._has_bits_[0] |= 0x00000001u;
798 _impl_.pset_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
799 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.pset_file)
800}
801inline std::string* Config::mutable_pset_file() {
802 std::string* _s = _internal_mutable_pset_file();
803 // @@protoc_insertion_point(field_mutable:goby.acomms.janus.protobuf.Config.pset_file)
804 return _s;
805}
806inline const std::string& Config::_internal_pset_file() const {
807 return _impl_.pset_file_.Get();
808}
809inline void Config::_internal_set_pset_file(const std::string& value) {
810 _impl_._has_bits_[0] |= 0x00000001u;
811 _impl_.pset_file_.Set(value, GetArenaForAllocation());
812}
813inline std::string* Config::_internal_mutable_pset_file() {
814 _impl_._has_bits_[0] |= 0x00000001u;
815 return _impl_.pset_file_.Mutable(::goby::acomms::janus::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_pset_file_, GetArenaForAllocation());
816}
817inline std::string* Config::release_pset_file() {
818 // @@protoc_insertion_point(field_release:goby.acomms.janus.protobuf.Config.pset_file)
819 if (!_internal_has_pset_file()) {
820 return nullptr;
821 }
822 _impl_._has_bits_[0] &= ~0x00000001u;
823 auto* p = _impl_.pset_file_.Release();
824 return p;
825}
827 if (pset_file != nullptr) {
828 _impl_._has_bits_[0] |= 0x00000001u;
829 } else {
830 _impl_._has_bits_[0] &= ~0x00000001u;
831 }
832 _impl_.pset_file_.SetAllocated(pset_file, GetArenaForAllocation());
833 // @@protoc_insertion_point(field_set_allocated:goby.acomms.janus.protobuf.Config.pset_file)
834}
835
836// optional uint32 pset_center_freq = 6 [default = 0, (.goby.field) = {
837inline bool Config::_internal_has_pset_center_freq() const {
838 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
839 return value;
840}
841inline bool Config::has_pset_center_freq() const {
842 return _internal_has_pset_center_freq();
843}
845 _impl_.pset_center_freq_ = 0u;
846 _impl_._has_bits_[0] &= ~0x00000040u;
847}
848inline uint32_t Config::_internal_pset_center_freq() const {
849 return _impl_.pset_center_freq_;
850}
851inline uint32_t Config::pset_center_freq() const {
852 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.pset_center_freq)
853 return _internal_pset_center_freq();
854}
855inline void Config::_internal_set_pset_center_freq(uint32_t value) {
856 _impl_._has_bits_[0] |= 0x00000040u;
857 _impl_.pset_center_freq_ = value;
858}
859inline void Config::set_pset_center_freq(uint32_t value) {
860 _internal_set_pset_center_freq(value);
861 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.pset_center_freq)
862}
863
864// optional uint32 pset_bandwidth = 7 [default = 0, (.goby.field) = {
865inline bool Config::_internal_has_pset_bandwidth() const {
866 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
867 return value;
868}
869inline bool Config::has_pset_bandwidth() const {
870 return _internal_has_pset_bandwidth();
871}
873 _impl_.pset_bandwidth_ = 0u;
874 _impl_._has_bits_[0] &= ~0x00000080u;
875}
876inline uint32_t Config::_internal_pset_bandwidth() const {
877 return _impl_.pset_bandwidth_;
878}
879inline uint32_t Config::pset_bandwidth() const {
880 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.pset_bandwidth)
881 return _internal_pset_bandwidth();
882}
883inline void Config::_internal_set_pset_bandwidth(uint32_t value) {
884 _impl_._has_bits_[0] |= 0x00000080u;
885 _impl_.pset_bandwidth_ = value;
886}
887inline void Config::set_pset_bandwidth(uint32_t value) {
888 _internal_set_pset_bandwidth(value);
889 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.pset_bandwidth)
890}
891
892// optional uint32 chip_len_exp = 8 [default = 0, (.goby.field) = {
893inline bool Config::_internal_has_chip_len_exp() const {
894 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
895 return value;
896}
897inline bool Config::has_chip_len_exp() const {
898 return _internal_has_chip_len_exp();
899}
901 _impl_.chip_len_exp_ = 0u;
902 _impl_._has_bits_[0] &= ~0x00000100u;
903}
904inline uint32_t Config::_internal_chip_len_exp() const {
905 return _impl_.chip_len_exp_;
906}
907inline uint32_t Config::chip_len_exp() const {
908 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.chip_len_exp)
909 return _internal_chip_len_exp();
910}
911inline void Config::_internal_set_chip_len_exp(uint32_t value) {
912 _impl_._has_bits_[0] |= 0x00000100u;
913 _impl_.chip_len_exp_ = value;
914}
915inline void Config::set_chip_len_exp(uint32_t value) {
916 _internal_set_chip_len_exp(value);
917 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.chip_len_exp)
918}
919
920// optional uint32 sequence_32_chips = 9 [default = 2933675936, (.goby.field) = {
921inline bool Config::_internal_has_sequence_32_chips() const {
922 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
923 return value;
924}
925inline bool Config::has_sequence_32_chips() const {
926 return _internal_has_sequence_32_chips();
927}
929 _impl_.sequence_32_chips_ = 2933675936u;
930 _impl_._has_bits_[0] &= ~0x00040000u;
931}
932inline uint32_t Config::_internal_sequence_32_chips() const {
933 return _impl_.sequence_32_chips_;
934}
935inline uint32_t Config::sequence_32_chips() const {
936 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.sequence_32_chips)
937 return _internal_sequence_32_chips();
938}
939inline void Config::_internal_set_sequence_32_chips(uint32_t value) {
940 _impl_._has_bits_[0] |= 0x00040000u;
941 _impl_.sequence_32_chips_ = value;
942}
943inline void Config::set_sequence_32_chips(uint32_t value) {
944 _internal_set_sequence_32_chips(value);
945 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.sequence_32_chips)
946}
947
948// optional string stream_driver = 10 [default = "alsa", (.goby.field) = {
949inline bool Config::_internal_has_stream_driver() const {
950 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
951 return value;
952}
953inline bool Config::has_stream_driver() const {
954 return _internal_has_stream_driver();
955}
957 _impl_.stream_driver_.ClearToDefault(::goby::acomms::janus::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_stream_driver_, GetArenaForAllocation());
958 _impl_._has_bits_[0] &= ~0x00000002u;
959}
960inline const std::string& Config::stream_driver() const {
961 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_driver)
962 if (_impl_.stream_driver_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_stream_driver_.get();
963 return _internal_stream_driver();
964}
965template <typename ArgT0, typename... ArgT>
966inline PROTOBUF_ALWAYS_INLINE
967void Config::set_stream_driver(ArgT0&& arg0, ArgT... args) {
968 _impl_._has_bits_[0] |= 0x00000002u;
969 _impl_.stream_driver_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
970 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_driver)
971}
972inline std::string* Config::mutable_stream_driver() {
973 std::string* _s = _internal_mutable_stream_driver();
974 // @@protoc_insertion_point(field_mutable:goby.acomms.janus.protobuf.Config.stream_driver)
975 return _s;
976}
977inline const std::string& Config::_internal_stream_driver() const {
978 return _impl_.stream_driver_.Get();
979}
980inline void Config::_internal_set_stream_driver(const std::string& value) {
981 _impl_._has_bits_[0] |= 0x00000002u;
982 _impl_.stream_driver_.Set(value, GetArenaForAllocation());
983}
984inline std::string* Config::_internal_mutable_stream_driver() {
985 _impl_._has_bits_[0] |= 0x00000002u;
986 return _impl_.stream_driver_.Mutable(::goby::acomms::janus::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_stream_driver_, GetArenaForAllocation());
987}
988inline std::string* Config::release_stream_driver() {
989 // @@protoc_insertion_point(field_release:goby.acomms.janus.protobuf.Config.stream_driver)
990 if (!_internal_has_stream_driver()) {
991 return nullptr;
992 }
993 _impl_._has_bits_[0] &= ~0x00000002u;
994 auto* p = _impl_.stream_driver_.Release();
995 return p;
996}
998 if (stream_driver != nullptr) {
999 _impl_._has_bits_[0] |= 0x00000002u;
1000 } else {
1001 _impl_._has_bits_[0] &= ~0x00000002u;
1002 }
1003 _impl_.stream_driver_.SetAllocated(stream_driver, GetArenaForAllocation());
1004 // @@protoc_insertion_point(field_set_allocated:goby.acomms.janus.protobuf.Config.stream_driver)
1005}
1006
1007// optional string stream_driver_args = 11 [(.goby.field) = {
1008inline bool Config::_internal_has_stream_driver_args() const {
1009 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1010 return value;
1011}
1013 return _internal_has_stream_driver_args();
1014}
1016 _impl_.stream_driver_args_.ClearToEmpty();
1017 _impl_._has_bits_[0] &= ~0x00000004u;
1018}
1019inline const std::string& Config::stream_driver_args() const {
1020 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_driver_args)
1021 return _internal_stream_driver_args();
1022}
1023template <typename ArgT0, typename... ArgT>
1024inline PROTOBUF_ALWAYS_INLINE
1025void Config::set_stream_driver_args(ArgT0&& arg0, ArgT... args) {
1026 _impl_._has_bits_[0] |= 0x00000004u;
1027 _impl_.stream_driver_args_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1028 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_driver_args)
1029}
1031 std::string* _s = _internal_mutable_stream_driver_args();
1032 // @@protoc_insertion_point(field_mutable:goby.acomms.janus.protobuf.Config.stream_driver_args)
1033 return _s;
1034}
1035inline const std::string& Config::_internal_stream_driver_args() const {
1036 return _impl_.stream_driver_args_.Get();
1037}
1038inline void Config::_internal_set_stream_driver_args(const std::string& value) {
1039 _impl_._has_bits_[0] |= 0x00000004u;
1040 _impl_.stream_driver_args_.Set(value, GetArenaForAllocation());
1041}
1042inline std::string* Config::_internal_mutable_stream_driver_args() {
1043 _impl_._has_bits_[0] |= 0x00000004u;
1044 return _impl_.stream_driver_args_.Mutable(GetArenaForAllocation());
1045}
1047 // @@protoc_insertion_point(field_release:goby.acomms.janus.protobuf.Config.stream_driver_args)
1048 if (!_internal_has_stream_driver_args()) {
1049 return nullptr;
1050 }
1051 _impl_._has_bits_[0] &= ~0x00000004u;
1052 auto* p = _impl_.stream_driver_args_.Release();
1053#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1054 if (_impl_.stream_driver_args_.IsDefault()) {
1055 _impl_.stream_driver_args_.Set("", GetArenaForAllocation());
1056 }
1057#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1058 return p;
1059}
1061 if (stream_driver_args != nullptr) {
1062 _impl_._has_bits_[0] |= 0x00000004u;
1063 } else {
1064 _impl_._has_bits_[0] &= ~0x00000004u;
1065 }
1066 _impl_.stream_driver_args_.SetAllocated(stream_driver_args, GetArenaForAllocation());
1067#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1068 if (_impl_.stream_driver_args_.IsDefault()) {
1069 _impl_.stream_driver_args_.Set("", GetArenaForAllocation());
1070 }
1071#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1072 // @@protoc_insertion_point(field_set_allocated:goby.acomms.janus.protobuf.Config.stream_driver_args)
1073}
1074
1075// optional uint32 stream_fs = 12 [default = 48000, (.goby.field) = {
1076inline bool Config::_internal_has_stream_fs() const {
1077 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
1078 return value;
1079}
1080inline bool Config::has_stream_fs() const {
1081 return _internal_has_stream_fs();
1082}
1084 _impl_.stream_fs_ = 48000u;
1085 _impl_._has_bits_[0] &= ~0x00080000u;
1086}
1087inline uint32_t Config::_internal_stream_fs() const {
1088 return _impl_.stream_fs_;
1089}
1090inline uint32_t Config::stream_fs() const {
1091 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_fs)
1092 return _internal_stream_fs();
1093}
1094inline void Config::_internal_set_stream_fs(uint32_t value) {
1095 _impl_._has_bits_[0] |= 0x00080000u;
1096 _impl_.stream_fs_ = value;
1097}
1098inline void Config::set_stream_fs(uint32_t value) {
1099 _internal_set_stream_fs(value);
1100 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_fs)
1101}
1102
1103// optional string stream_format = 13 [default = "S16", (.goby.field) = {
1104inline bool Config::_internal_has_stream_format() const {
1105 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1106 return value;
1107}
1108inline bool Config::has_stream_format() const {
1109 return _internal_has_stream_format();
1110}
1112 _impl_.stream_format_.ClearToDefault(::goby::acomms::janus::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_stream_format_, GetArenaForAllocation());
1113 _impl_._has_bits_[0] &= ~0x00000008u;
1114}
1115inline const std::string& Config::stream_format() const {
1116 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_format)
1117 if (_impl_.stream_format_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_stream_format_.get();
1118 return _internal_stream_format();
1119}
1120template <typename ArgT0, typename... ArgT>
1121inline PROTOBUF_ALWAYS_INLINE
1122void Config::set_stream_format(ArgT0&& arg0, ArgT... args) {
1123 _impl_._has_bits_[0] |= 0x00000008u;
1124 _impl_.stream_format_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1125 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_format)
1126}
1127inline std::string* Config::mutable_stream_format() {
1128 std::string* _s = _internal_mutable_stream_format();
1129 // @@protoc_insertion_point(field_mutable:goby.acomms.janus.protobuf.Config.stream_format)
1130 return _s;
1131}
1132inline const std::string& Config::_internal_stream_format() const {
1133 return _impl_.stream_format_.Get();
1134}
1135inline void Config::_internal_set_stream_format(const std::string& value) {
1136 _impl_._has_bits_[0] |= 0x00000008u;
1137 _impl_.stream_format_.Set(value, GetArenaForAllocation());
1138}
1139inline std::string* Config::_internal_mutable_stream_format() {
1140 _impl_._has_bits_[0] |= 0x00000008u;
1141 return _impl_.stream_format_.Mutable(::goby::acomms::janus::protobuf::Config::Impl_::_i_give_permission_to_break_this_code_default_stream_format_, GetArenaForAllocation());
1142}
1143inline std::string* Config::release_stream_format() {
1144 // @@protoc_insertion_point(field_release:goby.acomms.janus.protobuf.Config.stream_format)
1145 if (!_internal_has_stream_format()) {
1146 return nullptr;
1147 }
1148 _impl_._has_bits_[0] &= ~0x00000008u;
1149 auto* p = _impl_.stream_format_.Release();
1150 return p;
1151}
1153 if (stream_format != nullptr) {
1154 _impl_._has_bits_[0] |= 0x00000008u;
1155 } else {
1156 _impl_._has_bits_[0] &= ~0x00000008u;
1157 }
1158 _impl_.stream_format_.SetAllocated(stream_format, GetArenaForAllocation());
1159 // @@protoc_insertion_point(field_set_allocated:goby.acomms.janus.protobuf.Config.stream_format)
1160}
1161
1162// optional uint32 stream_channel_count = 14 [default = 1, (.goby.field) = {
1163inline bool Config::_internal_has_stream_channel_count() const {
1164 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
1165 return value;
1166}
1168 return _internal_has_stream_channel_count();
1169}
1171 _impl_.stream_channel_count_ = 1u;
1172 _impl_._has_bits_[0] &= ~0x00100000u;
1173}
1174inline uint32_t Config::_internal_stream_channel_count() const {
1175 return _impl_.stream_channel_count_;
1176}
1177inline uint32_t Config::stream_channel_count() const {
1178 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_channel_count)
1179 return _internal_stream_channel_count();
1180}
1181inline void Config::_internal_set_stream_channel_count(uint32_t value) {
1182 _impl_._has_bits_[0] |= 0x00100000u;
1183 _impl_.stream_channel_count_ = value;
1184}
1185inline void Config::set_stream_channel_count(uint32_t value) {
1186 _internal_set_stream_channel_count(value);
1187 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_channel_count)
1188}
1189
1190// optional uint32 stream_channel = 15 [default = 0, (.goby.field) = {
1191inline bool Config::_internal_has_stream_channel() const {
1192 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1193 return value;
1194}
1195inline bool Config::has_stream_channel() const {
1196 return _internal_has_stream_channel();
1197}
1199 _impl_.stream_channel_ = 0u;
1200 _impl_._has_bits_[0] &= ~0x00000200u;
1201}
1202inline uint32_t Config::_internal_stream_channel() const {
1203 return _impl_.stream_channel_;
1204}
1205inline uint32_t Config::stream_channel() const {
1206 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_channel)
1207 return _internal_stream_channel();
1208}
1209inline void Config::_internal_set_stream_channel(uint32_t value) {
1210 _impl_._has_bits_[0] |= 0x00000200u;
1211 _impl_.stream_channel_ = value;
1212}
1213inline void Config::set_stream_channel(uint32_t value) {
1214 _internal_set_stream_channel(value);
1215 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_channel)
1216}
1217
1218// optional bool stream_passband = 16 [default = true, (.goby.field) = {
1219inline bool Config::_internal_has_stream_passband() const {
1220 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
1221 return value;
1222}
1223inline bool Config::has_stream_passband() const {
1224 return _internal_has_stream_passband();
1225}
1227 _impl_.stream_passband_ = true;
1228 _impl_._has_bits_[0] &= ~0x00002000u;
1229}
1230inline bool Config::_internal_stream_passband() const {
1231 return _impl_.stream_passband_;
1232}
1233inline bool Config::stream_passband() const {
1234 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_passband)
1235 return _internal_stream_passband();
1236}
1237inline void Config::_internal_set_stream_passband(bool value) {
1238 _impl_._has_bits_[0] |= 0x00002000u;
1239 _impl_.stream_passband_ = value;
1240}
1241inline void Config::set_stream_passband(bool value) {
1242 _internal_set_stream_passband(value);
1243 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_passband)
1244}
1245
1246// optional double stream_amp = 17 [default = 0.95, (.goby.field) = {
1247inline bool Config::_internal_has_stream_amp() const {
1248 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
1249 return value;
1250}
1251inline bool Config::has_stream_amp() const {
1252 return _internal_has_stream_amp();
1253}
1255 _impl_.stream_amp_ = 0.95;
1256 _impl_._has_bits_[0] &= ~0x00400000u;
1257}
1258inline double Config::_internal_stream_amp() const {
1259 return _impl_.stream_amp_;
1260}
1261inline double Config::stream_amp() const {
1262 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_amp)
1263 return _internal_stream_amp();
1264}
1265inline void Config::_internal_set_stream_amp(double value) {
1266 _impl_._has_bits_[0] |= 0x00400000u;
1267 _impl_.stream_amp_ = value;
1268}
1269inline void Config::set_stream_amp(double value) {
1270 _internal_set_stream_amp(value);
1271 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_amp)
1272}
1273
1274// optional uint32 stream_mul = 18 [default = 1, (.goby.field) = {
1275inline bool Config::_internal_has_stream_mul() const {
1276 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
1277 return value;
1278}
1279inline bool Config::has_stream_mul() const {
1280 return _internal_has_stream_mul();
1281}
1283 _impl_.stream_mul_ = 1u;
1284 _impl_._has_bits_[0] &= ~0x00200000u;
1285}
1286inline uint32_t Config::_internal_stream_mul() const {
1287 return _impl_.stream_mul_;
1288}
1289inline uint32_t Config::stream_mul() const {
1290 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.stream_mul)
1291 return _internal_stream_mul();
1292}
1293inline void Config::_internal_set_stream_mul(uint32_t value) {
1294 _impl_._has_bits_[0] |= 0x00200000u;
1295 _impl_.stream_mul_ = value;
1296}
1297inline void Config::set_stream_mul(uint32_t value) {
1298 _internal_set_stream_mul(value);
1299 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.stream_mul)
1300}
1301
1302// optional bool pad = 19 [default = true, (.goby.field) = {
1303inline bool Config::_internal_has_pad() const {
1304 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1305 return value;
1306}
1307inline bool Config::has_pad() const {
1308 return _internal_has_pad();
1309}
1310inline void Config::clear_pad() {
1311 _impl_.pad_ = true;
1312 _impl_._has_bits_[0] &= ~0x00004000u;
1313}
1314inline bool Config::_internal_pad() const {
1315 return _impl_.pad_;
1316}
1317inline bool Config::pad() const {
1318 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.pad)
1319 return _internal_pad();
1320}
1321inline void Config::_internal_set_pad(bool value) {
1322 _impl_._has_bits_[0] |= 0x00004000u;
1323 _impl_.pad_ = value;
1324}
1325inline void Config::set_pad(bool value) {
1326 _internal_set_pad(value);
1327 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.pad)
1328}
1329
1330// optional bool wut = 20 [default = false, (.goby.field) = {
1331inline bool Config::_internal_has_wut() const {
1332 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1333 return value;
1334}
1335inline bool Config::has_wut() const {
1336 return _internal_has_wut();
1337}
1338inline void Config::clear_wut() {
1339 _impl_.wut_ = false;
1340 _impl_._has_bits_[0] &= ~0x00000400u;
1341}
1342inline bool Config::_internal_wut() const {
1343 return _impl_.wut_;
1344}
1345inline bool Config::wut() const {
1346 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.wut)
1347 return _internal_wut();
1348}
1349inline void Config::_internal_set_wut(bool value) {
1350 _impl_._has_bits_[0] |= 0x00000400u;
1351 _impl_.wut_ = value;
1352}
1353inline void Config::set_wut(bool value) {
1354 _internal_set_wut(value);
1355 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.wut)
1356}
1357
1358// optional bool doppler_correction = 21 [default = true, (.goby.field) = {
1359inline bool Config::_internal_has_doppler_correction() const {
1360 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
1361 return value;
1362}
1364 return _internal_has_doppler_correction();
1365}
1367 _impl_.doppler_correction_ = true;
1368 _impl_._has_bits_[0] &= ~0x00008000u;
1369}
1370inline bool Config::_internal_doppler_correction() const {
1371 return _impl_.doppler_correction_;
1372}
1373inline bool Config::doppler_correction() const {
1374 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.doppler_correction)
1375 return _internal_doppler_correction();
1376}
1377inline void Config::_internal_set_doppler_correction(bool value) {
1378 _impl_._has_bits_[0] |= 0x00008000u;
1379 _impl_.doppler_correction_ = value;
1380}
1381inline void Config::set_doppler_correction(bool value) {
1382 _internal_set_doppler_correction(value);
1383 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.doppler_correction)
1384}
1385
1386// optional double doppler_max_speed = 22 [default = 5, (.goby.field) = {
1387inline bool Config::_internal_has_doppler_max_speed() const {
1388 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
1389 return value;
1390}
1392 return _internal_has_doppler_max_speed();
1393}
1395 _impl_.doppler_max_speed_ = 5;
1396 _impl_._has_bits_[0] &= ~0x00800000u;
1397}
1398inline double Config::_internal_doppler_max_speed() const {
1399 return _impl_.doppler_max_speed_;
1400}
1401inline double Config::doppler_max_speed() const {
1402 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.doppler_max_speed)
1403 return _internal_doppler_max_speed();
1404}
1405inline void Config::_internal_set_doppler_max_speed(double value) {
1406 _impl_._has_bits_[0] |= 0x00800000u;
1407 _impl_.doppler_max_speed_ = value;
1408}
1409inline void Config::set_doppler_max_speed(double value) {
1410 _internal_set_doppler_max_speed(value);
1411 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.doppler_max_speed)
1412}
1413
1414// optional bool compute_channel_spectrogram = 23 [default = false, (.goby.field) = {
1415inline bool Config::_internal_has_compute_channel_spectrogram() const {
1416 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1417 return value;
1418}
1420 return _internal_has_compute_channel_spectrogram();
1421}
1423 _impl_.compute_channel_spectrogram_ = false;
1424 _impl_._has_bits_[0] &= ~0x00000800u;
1425}
1426inline bool Config::_internal_compute_channel_spectrogram() const {
1427 return _impl_.compute_channel_spectrogram_;
1428}
1430 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.compute_channel_spectrogram)
1431 return _internal_compute_channel_spectrogram();
1432}
1433inline void Config::_internal_set_compute_channel_spectrogram(bool value) {
1434 _impl_._has_bits_[0] |= 0x00000800u;
1435 _impl_.compute_channel_spectrogram_ = value;
1436}
1438 _internal_set_compute_channel_spectrogram(value);
1439 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.compute_channel_spectrogram)
1440}
1441
1442// optional double detection_threshold = 24 [default = 2.5, (.goby.field) = {
1443inline bool Config::_internal_has_detection_threshold() const {
1444 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
1445 return value;
1446}
1448 return _internal_has_detection_threshold();
1449}
1451 _impl_.detection_threshold_ = 2.5;
1452 _impl_._has_bits_[0] &= ~0x01000000u;
1453}
1454inline double Config::_internal_detection_threshold() const {
1455 return _impl_.detection_threshold_;
1456}
1457inline double Config::detection_threshold() const {
1458 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.detection_threshold)
1459 return _internal_detection_threshold();
1460}
1461inline void Config::_internal_set_detection_threshold(double value) {
1462 _impl_._has_bits_[0] |= 0x01000000u;
1463 _impl_.detection_threshold_ = value;
1464}
1465inline void Config::set_detection_threshold(double value) {
1466 _internal_set_detection_threshold(value);
1467 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.detection_threshold)
1468}
1469
1470// optional bool colored_bit_prob = 25 [default = false, (.goby.field) = {
1471inline bool Config::_internal_has_colored_bit_prob() const {
1472 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
1473 return value;
1474}
1475inline bool Config::has_colored_bit_prob() const {
1476 return _internal_has_colored_bit_prob();
1477}
1479 _impl_.colored_bit_prob_ = false;
1480 _impl_._has_bits_[0] &= ~0x00001000u;
1481}
1482inline bool Config::_internal_colored_bit_prob() const {
1483 return _impl_.colored_bit_prob_;
1484}
1485inline bool Config::colored_bit_prob() const {
1486 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.colored_bit_prob)
1487 return _internal_colored_bit_prob();
1488}
1489inline void Config::_internal_set_colored_bit_prob(bool value) {
1490 _impl_._has_bits_[0] |= 0x00001000u;
1491 _impl_.colored_bit_prob_ = value;
1492}
1493inline void Config::set_colored_bit_prob(bool value) {
1494 _internal_set_colored_bit_prob(value);
1495 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.colored_bit_prob)
1496}
1497
1498// optional double cbp_high2medium = 26 [default = 0.2, (.goby.field) = {
1499inline bool Config::_internal_has_cbp_high2medium() const {
1500 bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
1501 return value;
1502}
1503inline bool Config::has_cbp_high2medium() const {
1504 return _internal_has_cbp_high2medium();
1505}
1507 _impl_.cbp_high2medium_ = 0.2;
1508 _impl_._has_bits_[0] &= ~0x02000000u;
1509}
1510inline double Config::_internal_cbp_high2medium() const {
1511 return _impl_.cbp_high2medium_;
1512}
1513inline double Config::cbp_high2medium() const {
1514 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.cbp_high2medium)
1515 return _internal_cbp_high2medium();
1516}
1517inline void Config::_internal_set_cbp_high2medium(double value) {
1518 _impl_._has_bits_[0] |= 0x02000000u;
1519 _impl_.cbp_high2medium_ = value;
1520}
1521inline void Config::set_cbp_high2medium(double value) {
1522 _internal_set_cbp_high2medium(value);
1523 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.cbp_high2medium)
1524}
1525
1526// optional double cbp_medium2low = 27 [default = 0.35, (.goby.field) = {
1527inline bool Config::_internal_has_cbp_medium2low() const {
1528 bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
1529 return value;
1530}
1531inline bool Config::has_cbp_medium2low() const {
1532 return _internal_has_cbp_medium2low();
1533}
1535 _impl_.cbp_medium2low_ = 0.35;
1536 _impl_._has_bits_[0] &= ~0x04000000u;
1537}
1538inline double Config::_internal_cbp_medium2low() const {
1539 return _impl_.cbp_medium2low_;
1540}
1541inline double Config::cbp_medium2low() const {
1542 // @@protoc_insertion_point(field_get:goby.acomms.janus.protobuf.Config.cbp_medium2low)
1543 return _internal_cbp_medium2low();
1544}
1545inline void Config::_internal_set_cbp_medium2low(double value) {
1546 _impl_._has_bits_[0] |= 0x04000000u;
1547 _impl_.cbp_medium2low_ = value;
1548}
1549inline void Config::set_cbp_medium2low(double value) {
1550 _internal_set_cbp_medium2low(value);
1551 // @@protoc_insertion_point(field_set:goby.acomms.janus.protobuf.Config.cbp_medium2low)
1552}
1553
1554#ifdef __GNUC__
1555 #pragma GCC diagnostic pop
1556#endif // __GNUC__
1557
1558// @@protoc_insertion_point(namespace_scope)
1559
1560} // namespace protobuf
1561} // namespace janus
1562} // namespace acomms
1563} // namespace goby
1564
1565// @@protoc_insertion_point(global_scope)
1566
1567#include <google/protobuf/port_undef.inc>
1568#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fjanus_5fdriver_2eproto
const std::string & stream_driver_args() const
PROTOBUF_NODISCARD std::string * release_pset_file()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_stream_format(std::string *stream_format)
static const Config & default_instance()
void CopyFrom(const Config &from)
PROTOBUF_NODISCARD std::string * release_stream_driver_args()
PROTOBUF_NODISCARD std::string * release_stream_format()
const std::string & pset_file() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(Config &a, Config &b)
PROTOBUF_NODISCARD std::string * release_stream_driver()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const std::string & stream_driver() const
const std::string & stream_format() const
void set_stream_driver_args(ArgT0 &&arg0, ArgT... args)
void set_pset_file(ArgT0 &&arg0, ArgT... args)
void set_allocated_pset_file(std::string *pset_file)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_stream_driver(std::string *stream_driver)
Config & operator=(Config &&from) noexcept
void set_allocated_stream_driver_args(std::string *stream_driver_args)
void set_stream_format(ArgT0 &&arg0, ArgT... args)
Config & operator=(const Config &from)
static const Config * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_stream_driver(ArgT0 &&arg0, ArgT... args)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fjanus_5fdriver_2eproto
static const int kTxConfigFieldNumber
static const int kRxConfigFieldNumber
ConfigDefaultTypeInternal _Config_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::janus::protobuf::Config >, 11, false > rx_config
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::janus::protobuf::Config >, 11, false > tx_config
The global namespace for the Goby project.