NETSIM 1.2.0
Hardware-in-the-loop acoustic network simulator
 
Loading...
Searching...
No Matches
environment.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: netsim/acousticstoolbox/environment.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fenvironment_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fenvironment_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>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.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>
34#include "goby/protobuf/option_extensions.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_netsim_2facousticstoolbox_2fenvironment_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_netsim_2facousticstoolbox_2fenvironment_2eproto;
53namespace netsim {
54namespace bellhop {
55namespace protobuf {
56class Environment;
57struct EnvironmentDefaultTypeInternal;
58extern EnvironmentDefaultTypeInternal _Environment_default_instance_;
60struct Environment_AdaptiveInfoDefaultTypeInternal;
61extern Environment_AdaptiveInfoDefaultTypeInternal _Environment_AdaptiveInfo_default_instance_;
63struct Environment_BeamsDefaultTypeInternal;
64extern Environment_BeamsDefaultTypeInternal _Environment_Beams_default_instance_;
66struct Environment_BottomDefaultTypeInternal;
67extern Environment_BottomDefaultTypeInternal _Environment_Bottom_default_instance_;
69struct Environment_MediumDefaultTypeInternal;
70extern Environment_MediumDefaultTypeInternal _Environment_Medium_default_instance_;
72struct Environment_Medium_AttenuationDefaultTypeInternal;
73extern Environment_Medium_AttenuationDefaultTypeInternal _Environment_Medium_Attenuation_default_instance_;
75struct Environment_Medium_RCSampleDefaultTypeInternal;
76extern Environment_Medium_RCSampleDefaultTypeInternal _Environment_Medium_RCSample_default_instance_;
78struct Environment_OutputDefaultTypeInternal;
79extern Environment_OutputDefaultTypeInternal _Environment_Output_default_instance_;
81struct Environment_ReceiversDefaultTypeInternal;
82extern Environment_ReceiversDefaultTypeInternal _Environment_Receivers_default_instance_;
84struct Environment_Receivers_ReceiverPositionDefaultTypeInternal;
85extern Environment_Receivers_ReceiverPositionDefaultTypeInternal _Environment_Receivers_ReceiverPosition_default_instance_;
87struct Environment_SourcesDefaultTypeInternal;
88extern Environment_SourcesDefaultTypeInternal _Environment_Sources_default_instance_;
90struct Environment_Sources_SourcePositionDefaultTypeInternal;
91extern Environment_Sources_SourcePositionDefaultTypeInternal _Environment_Sources_SourcePosition_default_instance_;
93struct Environment_SurfaceDefaultTypeInternal;
94extern Environment_SurfaceDefaultTypeInternal _Environment_Surface_default_instance_;
96struct Environment_WaterColumnDefaultTypeInternal;
97extern Environment_WaterColumnDefaultTypeInternal _Environment_WaterColumn_default_instance_;
99struct Environment_WaterColumn_SSPSampleDefaultTypeInternal;
100extern Environment_WaterColumn_SSPSampleDefaultTypeInternal _Environment_WaterColumn_SSPSample_default_instance_;
101} // namespace protobuf
102} // namespace bellhop
103} // namespace netsim
104PROTOBUF_NAMESPACE_OPEN
105template<> ::netsim::bellhop::protobuf::Environment* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment>(Arena*);
106template<> ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_AdaptiveInfo>(Arena*);
107template<> ::netsim::bellhop::protobuf::Environment_Beams* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Beams>(Arena*);
108template<> ::netsim::bellhop::protobuf::Environment_Bottom* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Bottom>(Arena*);
109template<> ::netsim::bellhop::protobuf::Environment_Medium* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium>(Arena*);
110template<> ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium_Attenuation>(Arena*);
111template<> ::netsim::bellhop::protobuf::Environment_Medium_RCSample* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium_RCSample>(Arena*);
112template<> ::netsim::bellhop::protobuf::Environment_Output* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Output>(Arena*);
113template<> ::netsim::bellhop::protobuf::Environment_Receivers* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers>(Arena*);
114template<> ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition>(Arena*);
115template<> ::netsim::bellhop::protobuf::Environment_Sources* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources>(Arena*);
116template<> ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources_SourcePosition>(Arena*);
117template<> ::netsim::bellhop::protobuf::Environment_Surface* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Surface>(Arena*);
118template<> ::netsim::bellhop::protobuf::Environment_WaterColumn* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_WaterColumn>(Arena*);
119template<> ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample* Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample>(Arena*);
120PROTOBUF_NAMESPACE_CLOSE
121namespace netsim {
122namespace bellhop {
123namespace protobuf {
124
137
138const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Environment_Output_OutputType_descriptor();
139template<typename T>
140inline const std::string& Environment_Output_OutputType_Name(T enum_t_value) {
141 static_assert(::std::is_same<T, Environment_Output_OutputType>::value ||
142 ::std::is_integral<T>::value,
143 "Incorrect type passed to function Environment_Output_OutputType_Name.");
144 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
146}
148 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Output_OutputType* value) {
149 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Environment_Output_OutputType>(
151}
164
165const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Environment_Medium_Attenuation_Units_descriptor();
166template<typename T>
167inline const std::string& Environment_Medium_Attenuation_Units_Name(T enum_t_value) {
168 static_assert(::std::is_same<T, Environment_Medium_Attenuation_Units>::value ||
169 ::std::is_integral<T>::value,
170 "Incorrect type passed to function Environment_Medium_Attenuation_Units_Name.");
171 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
173}
175 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Medium_Attenuation_Units* value) {
176 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Environment_Medium_Attenuation_Units>(
178}
189
190const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Environment_Medium_MediumType_descriptor();
191template<typename T>
192inline const std::string& Environment_Medium_MediumType_Name(T enum_t_value) {
193 static_assert(::std::is_same<T, Environment_Medium_MediumType>::value ||
194 ::std::is_integral<T>::value,
195 "Incorrect type passed to function Environment_Medium_MediumType_Name.");
196 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
198}
200 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Medium_MediumType* value) {
201 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Environment_Medium_MediumType>(
203}
213
214const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Environment_WaterColumn_SSPInterpolation_descriptor();
215template<typename T>
216inline const std::string& Environment_WaterColumn_SSPInterpolation_Name(T enum_t_value) {
217 static_assert(::std::is_same<T, Environment_WaterColumn_SSPInterpolation>::value ||
218 ::std::is_integral<T>::value,
219 "Incorrect type passed to function Environment_WaterColumn_SSPInterpolation_Name.");
220 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
222}
224 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_WaterColumn_SSPInterpolation* value) {
225 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Environment_WaterColumn_SSPInterpolation>(
227}
238
239const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Environment_Beams_ApproximationType_descriptor();
240template<typename T>
241inline const std::string& Environment_Beams_ApproximationType_Name(T enum_t_value) {
242 static_assert(::std::is_same<T, Environment_Beams_ApproximationType>::value ||
243 ::std::is_integral<T>::value,
244 "Incorrect type passed to function Environment_Beams_ApproximationType_Name.");
245 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
247}
249 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Beams_ApproximationType* value) {
250 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Environment_Beams_ApproximationType>(
252}
253// ===================================================================
254
256 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Output) */ {
257 public:
260 explicit PROTOBUF_CONSTEXPR Environment_Output(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
261
265 *this = ::std::move(from);
266 }
267
269 CopyFrom(from);
270 return *this;
271 }
273 if (this == &from) return *this;
274 if (GetOwningArena() == from.GetOwningArena()
275 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
276 && GetOwningArena() != nullptr
277 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
278 ) {
279 InternalSwap(&from);
280 } else {
281 CopyFrom(from);
282 }
283 return *this;
284 }
285
286 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
287 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
288 }
289 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
290 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
291 }
292
293 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
294 return GetDescriptor();
295 }
296 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
297 return default_instance().GetMetadata().descriptor;
298 }
299 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
300 return default_instance().GetMetadata().reflection;
301 }
304 }
306 return reinterpret_cast<const Environment_Output*>(
308 }
309 static constexpr int kIndexInFileMessages =
310 0;
311
313 a.Swap(&b);
314 }
315 inline void Swap(Environment_Output* other) {
316 if (other == this) return;
317 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
318 if (GetOwningArena() != nullptr &&
319 GetOwningArena() == other->GetOwningArena()) {
320 #else // PROTOBUF_FORCE_COPY_IN_SWAP
321 if (GetOwningArena() == other->GetOwningArena()) {
322 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
323 InternalSwap(other);
324 } else {
325 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
326 }
327 }
329 if (other == this) return;
330 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
331 InternalSwap(other);
332 }
333
334 // implements Message ----------------------------------------------
335
336 Environment_Output* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
337 return CreateMaybeMessage<Environment_Output>(arena);
338 }
339 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
340 void CopyFrom(const Environment_Output& from);
341 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
342 void MergeFrom( const Environment_Output& from) {
343 Environment_Output::MergeImpl(*this, from);
344 }
345 private:
346 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
347 public:
348 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
349 bool IsInitialized() const final;
350
351 size_t ByteSizeLong() const final;
352 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
354 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
355 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
356
357 private:
358 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
359 void SharedDtor();
360 void SetCachedSize(int size) const final;
361 void InternalSwap(Environment_Output* other);
362
363 private:
364 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
365 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
366 return "netsim.bellhop.protobuf.Environment.Output";
367 }
368 protected:
369 explicit Environment_Output(::PROTOBUF_NAMESPACE_ID::Arena* arena,
370 bool is_message_owned = false);
371 public:
372
373 static const ClassData _class_data_;
374 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
375
376 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
377
378 // nested types ----------------------------------------------------
379
381 static constexpr OutputType ARRIVAL_TIMES =
383 static constexpr OutputType EIGENRAYS =
385 static constexpr OutputType RAYS =
387 static constexpr OutputType COHERENT_PRESSURE =
393 static inline bool OutputType_IsValid(int value) {
395 }
396 static constexpr OutputType OutputType_MIN =
398 static constexpr OutputType OutputType_MAX =
400 static constexpr int OutputType_ARRAYSIZE =
402 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
406 template<typename T>
407 static inline const std::string& OutputType_Name(T enum_t_value) {
408 static_assert(::std::is_same<T, OutputType>::value ||
409 ::std::is_integral<T>::value,
410 "Incorrect type passed to function OutputType_Name.");
411 return Environment_Output_OutputType_Name(enum_t_value);
412 }
413 static inline bool OutputType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
414 OutputType* value) {
415 return Environment_Output_OutputType_Parse(name, value);
416 }
417
418 // accessors -------------------------------------------------------
419
420 enum : int {
422 };
423 // optional .netsim.bellhop.protobuf.Environment.Output.OutputType type = 1 [default = INCOHERENT_PRESSURE, (.goby.field) = {
424 bool has_type() const;
425 private:
426 bool _internal_has_type() const;
427 public:
428 void clear_type();
431 private:
434 public:
435
436 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Output)
437 private:
438 class _Internal;
439
440 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
441 typedef void InternalArenaConstructable_;
442 typedef void DestructorSkippable_;
443 struct Impl_ {
444 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
445 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
446 int type_;
447 };
448 union { Impl_ _impl_; };
449 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
450};
451// -------------------------------------------------------------------
452
454 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Medium.RCSample) */ {
455 public:
458 explicit PROTOBUF_CONSTEXPR Environment_Medium_RCSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
459
463 *this = ::std::move(from);
464 }
465
467 CopyFrom(from);
468 return *this;
469 }
471 if (this == &from) return *this;
472 if (GetOwningArena() == from.GetOwningArena()
473 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
474 && GetOwningArena() != nullptr
475 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
476 ) {
477 InternalSwap(&from);
478 } else {
479 CopyFrom(from);
480 }
481 return *this;
482 }
483
484 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
485 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
486 }
487 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
488 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
489 }
490
491 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
492 return GetDescriptor();
493 }
494 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
495 return default_instance().GetMetadata().descriptor;
496 }
497 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
498 return default_instance().GetMetadata().reflection;
499 }
501 return *internal_default_instance();
502 }
507 static constexpr int kIndexInFileMessages =
508 1;
509
511 a.Swap(&b);
512 }
513 inline void Swap(Environment_Medium_RCSample* other) {
514 if (other == this) return;
515 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
516 if (GetOwningArena() != nullptr &&
517 GetOwningArena() == other->GetOwningArena()) {
518 #else // PROTOBUF_FORCE_COPY_IN_SWAP
519 if (GetOwningArena() == other->GetOwningArena()) {
520 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
521 InternalSwap(other);
522 } else {
523 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
524 }
525 }
527 if (other == this) return;
528 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
529 InternalSwap(other);
530 }
531
532 // implements Message ----------------------------------------------
533
534 Environment_Medium_RCSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
535 return CreateMaybeMessage<Environment_Medium_RCSample>(arena);
536 }
537 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
539 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
541 Environment_Medium_RCSample::MergeImpl(*this, from);
542 }
543 private:
544 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
545 public:
546 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
547 bool IsInitialized() const final;
548
549 size_t ByteSizeLong() const final;
550 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
551 uint8_t* _InternalSerialize(
552 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
553 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
554
555 private:
556 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
557 void SharedDtor();
558 void SetCachedSize(int size) const final;
559 void InternalSwap(Environment_Medium_RCSample* other);
560
561 private:
562 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
563 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
564 return "netsim.bellhop.protobuf.Environment.Medium.RCSample";
565 }
566 protected:
567 explicit Environment_Medium_RCSample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
568 bool is_message_owned = false);
569 public:
570
571 static const ClassData _class_data_;
572 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
573
574 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
575
576 // nested types ----------------------------------------------------
577
578 // accessors -------------------------------------------------------
579
580 enum : int {
581 kAngleFieldNumber = 1,
582 kRcFieldNumber = 2,
583 kPhaseFieldNumber = 3,
584 };
585 // optional double angle = 1 [(.goby.field) = {
586 bool has_angle() const;
587 private:
588 bool _internal_has_angle() const;
589 public:
590 void clear_angle();
591 double angle() const;
592 void set_angle(double value);
593 private:
594 double _internal_angle() const;
595 void _internal_set_angle(double value);
596 public:
597
598 // optional double rc = 2 [(.goby.field) = {
599 bool has_rc() const;
600 private:
601 bool _internal_has_rc() const;
602 public:
603 void clear_rc();
604 double rc() const;
605 void set_rc(double value);
606 private:
607 double _internal_rc() const;
608 void _internal_set_rc(double value);
609 public:
610
611 // optional double phase = 3 [(.goby.field) = {
612 bool has_phase() const;
613 private:
614 bool _internal_has_phase() const;
615 public:
616 void clear_phase();
617 double phase() const;
618 void set_phase(double value);
619 private:
620 double _internal_phase() const;
621 void _internal_set_phase(double value);
622 public:
623
624 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Medium.RCSample)
625 private:
626 class _Internal;
627
628 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
629 typedef void InternalArenaConstructable_;
630 typedef void DestructorSkippable_;
631 struct Impl_ {
632 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
633 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
634 double angle_;
635 double rc_;
636 double phase_;
637 };
638 union { Impl_ _impl_; };
639 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
640};
641// -------------------------------------------------------------------
642
644 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Medium.Attenuation) */ {
645 public:
648 explicit PROTOBUF_CONSTEXPR Environment_Medium_Attenuation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
649
653 *this = ::std::move(from);
654 }
655
657 CopyFrom(from);
658 return *this;
659 }
661 if (this == &from) return *this;
662 if (GetOwningArena() == from.GetOwningArena()
663 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
664 && GetOwningArena() != nullptr
665 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
666 ) {
667 InternalSwap(&from);
668 } else {
669 CopyFrom(from);
670 }
671 return *this;
672 }
673
674 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
675 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
676 }
677 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
678 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
679 }
680
681 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
682 return GetDescriptor();
683 }
684 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
685 return default_instance().GetMetadata().descriptor;
686 }
687 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
688 return default_instance().GetMetadata().reflection;
689 }
691 return *internal_default_instance();
692 }
697 static constexpr int kIndexInFileMessages =
698 2;
699
704 if (other == this) return;
705 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
706 if (GetOwningArena() != nullptr &&
707 GetOwningArena() == other->GetOwningArena()) {
708 #else // PROTOBUF_FORCE_COPY_IN_SWAP
709 if (GetOwningArena() == other->GetOwningArena()) {
710 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
711 InternalSwap(other);
712 } else {
713 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
714 }
715 }
717 if (other == this) return;
718 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
719 InternalSwap(other);
720 }
721
722 // implements Message ----------------------------------------------
723
724 Environment_Medium_Attenuation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
725 return CreateMaybeMessage<Environment_Medium_Attenuation>(arena);
726 }
727 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
729 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
731 Environment_Medium_Attenuation::MergeImpl(*this, from);
732 }
733 private:
734 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
735 public:
736 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
737 bool IsInitialized() const final;
738
739 size_t ByteSizeLong() const final;
740 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
741 uint8_t* _InternalSerialize(
742 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
743 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
744
745 private:
746 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
747 void SharedDtor();
748 void SetCachedSize(int size) const final;
749 void InternalSwap(Environment_Medium_Attenuation* other);
750
751 private:
752 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
753 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
754 return "netsim.bellhop.protobuf.Environment.Medium.Attenuation";
755 }
756 protected:
757 explicit Environment_Medium_Attenuation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
758 bool is_message_owned = false);
759 public:
760
761 static const ClassData _class_data_;
762 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
763
764 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
765
766 // nested types ----------------------------------------------------
767
769 static constexpr Units DB_PER_M_KHZ =
770 Environment_Medium_Attenuation_Units_DB_PER_M_KHZ;
771 static constexpr Units PARAMETER_LOSS =
772 Environment_Medium_Attenuation_Units_PARAMETER_LOSS;
773 static constexpr Units DB_PER_M =
774 Environment_Medium_Attenuation_Units_DB_PER_M;
775 static constexpr Units NEPERS_PER_M =
776 Environment_Medium_Attenuation_Units_NEPERS_PER_M;
777 static constexpr Units Q_FACTOR =
778 Environment_Medium_Attenuation_Units_Q_FACTOR;
779 static constexpr Units DB_PER_WAVELENGTH =
780 Environment_Medium_Attenuation_Units_DB_PER_WAVELENGTH;
781 static inline bool Units_IsValid(int value) {
783 }
784 static constexpr Units Units_MIN =
786 static constexpr Units Units_MAX =
788 static constexpr int Units_ARRAYSIZE =
790 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
794 template<typename T>
795 static inline const std::string& Units_Name(T enum_t_value) {
796 static_assert(::std::is_same<T, Units>::value ||
797 ::std::is_integral<T>::value,
798 "Incorrect type passed to function Units_Name.");
800 }
801 static inline bool Units_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
802 Units* value) {
804 }
805
806 // accessors -------------------------------------------------------
807
808 enum : int {
809 kValueFieldNumber = 2,
810 kUnitsFieldNumber = 1,
811 };
812 // optional double value = 2;
813 bool has_value() const;
814 private:
815 bool _internal_has_value() const;
816 public:
817 void clear_value();
818 double value() const;
819 void set_value(double value);
820 private:
821 double _internal_value() const;
822 void _internal_set_value(double value);
823 public:
824
825 // optional .netsim.bellhop.protobuf.Environment.Medium.Attenuation.Units units = 1 [(.goby.field) = {
826 bool has_units() const;
827 private:
828 bool _internal_has_units() const;
829 public:
830 void clear_units();
833 private:
836 public:
837
838 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Medium.Attenuation)
839 private:
840 class _Internal;
841
842 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
843 typedef void InternalArenaConstructable_;
844 typedef void DestructorSkippable_;
845 struct Impl_ {
846 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
847 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
848 double value_;
849 int units_;
850 };
851 union { Impl_ _impl_; };
852 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
853};
854// -------------------------------------------------------------------
855
857 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Medium) */ {
858 public:
861 explicit PROTOBUF_CONSTEXPR Environment_Medium(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
862
866 *this = ::std::move(from);
867 }
868
870 CopyFrom(from);
871 return *this;
872 }
874 if (this == &from) return *this;
875 if (GetOwningArena() == from.GetOwningArena()
876 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
877 && GetOwningArena() != nullptr
878 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
879 ) {
880 InternalSwap(&from);
881 } else {
882 CopyFrom(from);
883 }
884 return *this;
885 }
886
887 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
888 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
889 }
890 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
891 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
892 }
893
894 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
895 return GetDescriptor();
896 }
897 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
898 return default_instance().GetMetadata().descriptor;
899 }
900 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
901 return default_instance().GetMetadata().reflection;
902 }
904 return *internal_default_instance();
905 }
907 return reinterpret_cast<const Environment_Medium*>(
909 }
910 static constexpr int kIndexInFileMessages =
911 3;
912
914 a.Swap(&b);
915 }
916 inline void Swap(Environment_Medium* other) {
917 if (other == this) return;
918 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
919 if (GetOwningArena() != nullptr &&
920 GetOwningArena() == other->GetOwningArena()) {
921 #else // PROTOBUF_FORCE_COPY_IN_SWAP
922 if (GetOwningArena() == other->GetOwningArena()) {
923 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
924 InternalSwap(other);
925 } else {
926 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
927 }
928 }
930 if (other == this) return;
931 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
932 InternalSwap(other);
933 }
934
935 // implements Message ----------------------------------------------
936
937 Environment_Medium* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
938 return CreateMaybeMessage<Environment_Medium>(arena);
939 }
940 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
941 void CopyFrom(const Environment_Medium& from);
942 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
943 void MergeFrom( const Environment_Medium& from) {
944 Environment_Medium::MergeImpl(*this, from);
945 }
946 private:
947 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
948 public:
949 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
950 bool IsInitialized() const final;
951
952 size_t ByteSizeLong() const final;
953 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
954 uint8_t* _InternalSerialize(
955 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
956 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
957
958 private:
959 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
960 void SharedDtor();
961 void SetCachedSize(int size) const final;
962 void InternalSwap(Environment_Medium* other);
963
964 private:
965 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
966 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
967 return "netsim.bellhop.protobuf.Environment.Medium";
968 }
969 protected:
970 explicit Environment_Medium(::PROTOBUF_NAMESPACE_ID::Arena* arena,
971 bool is_message_owned = false);
972 public:
973
974 static const ClassData _class_data_;
975 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
976
977 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
978
979 // nested types ----------------------------------------------------
980
983
985 static constexpr MediumType VACUUM =
986 Environment_Medium_MediumType_VACUUM;
987 static constexpr MediumType RIGID =
988 Environment_Medium_MediumType_RIGID;
989 static constexpr MediumType HALF_SPACE =
990 Environment_Medium_MediumType_HALF_SPACE;
991 static constexpr MediumType REFLECTION_COEFFICIENT =
992 Environment_Medium_MediumType_REFLECTION_COEFFICIENT;
993 static inline bool MediumType_IsValid(int value) {
995 }
996 static constexpr MediumType MediumType_MIN =
998 static constexpr MediumType MediumType_MAX =
1000 static constexpr int MediumType_ARRAYSIZE =
1002 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1006 template<typename T>
1007 static inline const std::string& MediumType_Name(T enum_t_value) {
1008 static_assert(::std::is_same<T, MediumType>::value ||
1009 ::std::is_integral<T>::value,
1010 "Incorrect type passed to function MediumType_Name.");
1011 return Environment_Medium_MediumType_Name(enum_t_value);
1012 }
1013 static inline bool MediumType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1014 MediumType* value) {
1015 return Environment_Medium_MediumType_Parse(name, value);
1016 }
1017
1018 // accessors -------------------------------------------------------
1019
1020 enum : int {
1021 kRcSampleFieldNumber = 7,
1022 kAttenuationFieldNumber = 2,
1023 kCpFieldNumber = 3,
1024 kCsFieldNumber = 4,
1025 kDensityFieldNumber = 5,
1026 kDepthFieldNumber = 6,
1027 kTypeFieldNumber = 1,
1028 };
1029 // repeated .netsim.bellhop.protobuf.Environment.Medium.RCSample rc_sample = 7 [(.goby.field) = {
1030 int rc_sample_size() const;
1031 private:
1032 int _internal_rc_sample_size() const;
1033 public:
1034 void clear_rc_sample();
1036 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >*
1037 mutable_rc_sample();
1038 private:
1039 const ::netsim::bellhop::protobuf::Environment_Medium_RCSample& _internal_rc_sample(int index) const;
1041 public:
1042 const ::netsim::bellhop::protobuf::Environment_Medium_RCSample& rc_sample(int index) const;
1044 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >&
1045 rc_sample() const;
1046
1047 // optional .netsim.bellhop.protobuf.Environment.Medium.Attenuation attenuation = 2 [(.goby.field) = {
1048 bool has_attenuation() const;
1049 private:
1050 bool _internal_has_attenuation() const;
1051 public:
1052 void clear_attenuation();
1053 const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& attenuation() const;
1054 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* release_attenuation();
1056 void set_allocated_attenuation(::netsim::bellhop::protobuf::Environment_Medium_Attenuation* attenuation);
1057 private:
1058 const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& _internal_attenuation() const;
1059 ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* _internal_mutable_attenuation();
1060 public:
1061 void unsafe_arena_set_allocated_attenuation(
1063 ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* unsafe_arena_release_attenuation();
1064
1065 // optional double cp = 3 [(.goby.field) = {
1066 bool has_cp() const;
1067 private:
1068 bool _internal_has_cp() const;
1069 public:
1070 void clear_cp();
1071 double cp() const;
1072 void set_cp(double value);
1073 private:
1074 double _internal_cp() const;
1075 void _internal_set_cp(double value);
1076 public:
1077
1078 // optional double cs = 4 [(.goby.field) = {
1079 bool has_cs() const;
1080 private:
1081 bool _internal_has_cs() const;
1082 public:
1083 void clear_cs();
1084 double cs() const;
1085 void set_cs(double value);
1086 private:
1087 double _internal_cs() const;
1088 void _internal_set_cs(double value);
1089 public:
1090
1091 // optional double density = 5 [(.goby.field) = {
1092 bool has_density() const;
1093 private:
1094 bool _internal_has_density() const;
1095 public:
1096 void clear_density();
1097 double density() const;
1098 void set_density(double value);
1099 private:
1100 double _internal_density() const;
1101 void _internal_set_density(double value);
1102 public:
1103
1104 // optional double depth = 6 [(.goby.field) = {
1105 bool has_depth() const;
1106 private:
1107 bool _internal_has_depth() const;
1108 public:
1109 void clear_depth();
1110 double depth() const;
1111 void set_depth(double value);
1112 private:
1113 double _internal_depth() const;
1114 void _internal_set_depth(double value);
1115 public:
1116
1117 // optional .netsim.bellhop.protobuf.Environment.Medium.MediumType type = 1 [(.goby.field) = {
1118 bool has_type() const;
1119 private:
1120 bool _internal_has_type() const;
1121 public:
1122 void clear_type();
1125 private:
1128 public:
1129
1130 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Medium)
1131 private:
1132 class _Internal;
1133
1134 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1135 typedef void InternalArenaConstructable_;
1136 typedef void DestructorSkippable_;
1137 struct Impl_ {
1138 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1139 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1140 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample > rc_sample_;
1142 double cp_;
1143 double cs_;
1144 double density_;
1145 double depth_;
1146 int type_;
1147 };
1148 union { Impl_ _impl_; };
1149 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
1150};
1151// -------------------------------------------------------------------
1152
1154 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Surface) */ {
1155 public:
1158 explicit PROTOBUF_CONSTEXPR Environment_Surface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1159
1163 *this = ::std::move(from);
1164 }
1165
1167 CopyFrom(from);
1168 return *this;
1169 }
1171 if (this == &from) return *this;
1172 if (GetOwningArena() == from.GetOwningArena()
1173 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1174 && GetOwningArena() != nullptr
1175 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1176 ) {
1177 InternalSwap(&from);
1178 } else {
1179 CopyFrom(from);
1180 }
1181 return *this;
1182 }
1183
1184 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1185 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1186 }
1187 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1188 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1189 }
1190
1191 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1192 return GetDescriptor();
1193 }
1194 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1195 return default_instance().GetMetadata().descriptor;
1196 }
1197 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1198 return default_instance().GetMetadata().reflection;
1199 }
1201 return *internal_default_instance();
1202 }
1204 return reinterpret_cast<const Environment_Surface*>(
1206 }
1207 static constexpr int kIndexInFileMessages =
1208 4;
1209
1211 a.Swap(&b);
1212 }
1213 inline void Swap(Environment_Surface* other) {
1214 if (other == this) return;
1215 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1216 if (GetOwningArena() != nullptr &&
1217 GetOwningArena() == other->GetOwningArena()) {
1218 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1219 if (GetOwningArena() == other->GetOwningArena()) {
1220 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1221 InternalSwap(other);
1222 } else {
1223 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1224 }
1225 }
1227 if (other == this) return;
1228 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1229 InternalSwap(other);
1230 }
1231
1232 // implements Message ----------------------------------------------
1233
1234 Environment_Surface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1235 return CreateMaybeMessage<Environment_Surface>(arena);
1236 }
1237 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1239 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1240 void MergeFrom( const Environment_Surface& from) {
1241 Environment_Surface::MergeImpl(*this, from);
1242 }
1243 private:
1244 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1245 public:
1246 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1247 bool IsInitialized() const final;
1248
1249 size_t ByteSizeLong() const final;
1250 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1251 uint8_t* _InternalSerialize(
1252 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1253 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1254
1255 private:
1256 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1257 void SharedDtor();
1258 void SetCachedSize(int size) const final;
1259 void InternalSwap(Environment_Surface* other);
1260
1261 private:
1262 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1263 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1264 return "netsim.bellhop.protobuf.Environment.Surface";
1265 }
1266 protected:
1267 explicit Environment_Surface(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1268 bool is_message_owned = false);
1269 public:
1270
1271 static const ClassData _class_data_;
1272 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1273
1274 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1275
1276 // nested types ----------------------------------------------------
1277
1278 // accessors -------------------------------------------------------
1279
1280 enum : int {
1281 kMediumFieldNumber = 1,
1282 };
1283 // optional .netsim.bellhop.protobuf.Environment.Medium medium = 1;
1284 bool has_medium() const;
1285 private:
1286 bool _internal_has_medium() const;
1287 public:
1288 void clear_medium();
1289 const ::netsim::bellhop::protobuf::Environment_Medium& medium() const;
1290 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Medium* release_medium();
1292 void set_allocated_medium(::netsim::bellhop::protobuf::Environment_Medium* medium);
1293 private:
1294 const ::netsim::bellhop::protobuf::Environment_Medium& _internal_medium() const;
1295 ::netsim::bellhop::protobuf::Environment_Medium* _internal_mutable_medium();
1296 public:
1297 void unsafe_arena_set_allocated_medium(
1299 ::netsim::bellhop::protobuf::Environment_Medium* unsafe_arena_release_medium();
1300
1301 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Surface)
1302 private:
1303 class _Internal;
1304
1305 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1306 typedef void InternalArenaConstructable_;
1307 typedef void DestructorSkippable_;
1308 struct Impl_ {
1309 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1310 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1312 };
1313 union { Impl_ _impl_; };
1314 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
1315};
1316// -------------------------------------------------------------------
1317
1319 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample) */ {
1320 public:
1323 explicit PROTOBUF_CONSTEXPR Environment_WaterColumn_SSPSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1324
1328 *this = ::std::move(from);
1329 }
1330
1332 CopyFrom(from);
1333 return *this;
1334 }
1336 if (this == &from) return *this;
1337 if (GetOwningArena() == from.GetOwningArena()
1338 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1339 && GetOwningArena() != nullptr
1340 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1341 ) {
1342 InternalSwap(&from);
1343 } else {
1344 CopyFrom(from);
1345 }
1346 return *this;
1347 }
1348
1349 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1350 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1351 }
1352 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1353 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1354 }
1355
1356 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1357 return GetDescriptor();
1358 }
1359 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1360 return default_instance().GetMetadata().descriptor;
1361 }
1362 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1363 return default_instance().GetMetadata().reflection;
1364 }
1366 return *internal_default_instance();
1367 }
1372 static constexpr int kIndexInFileMessages =
1373 5;
1374
1379 if (other == this) return;
1380 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1381 if (GetOwningArena() != nullptr &&
1382 GetOwningArena() == other->GetOwningArena()) {
1383 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1384 if (GetOwningArena() == other->GetOwningArena()) {
1385 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1386 InternalSwap(other);
1387 } else {
1388 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1389 }
1390 }
1392 if (other == this) return;
1393 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1394 InternalSwap(other);
1395 }
1396
1397 // implements Message ----------------------------------------------
1398
1399 Environment_WaterColumn_SSPSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1400 return CreateMaybeMessage<Environment_WaterColumn_SSPSample>(arena);
1401 }
1402 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1404 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1406 Environment_WaterColumn_SSPSample::MergeImpl(*this, from);
1407 }
1408 private:
1409 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1410 public:
1411 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1412 bool IsInitialized() const final;
1413
1414 size_t ByteSizeLong() const final;
1415 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1416 uint8_t* _InternalSerialize(
1417 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1418 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1419
1420 private:
1421 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1422 void SharedDtor();
1423 void SetCachedSize(int size) const final;
1424 void InternalSwap(Environment_WaterColumn_SSPSample* other);
1425
1426 private:
1427 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1428 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1429 return "netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample";
1430 }
1431 protected:
1432 explicit Environment_WaterColumn_SSPSample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1433 bool is_message_owned = false);
1434 public:
1435
1436 static const ClassData _class_data_;
1437 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1438
1439 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1440
1441 // nested types ----------------------------------------------------
1442
1443 // accessors -------------------------------------------------------
1444
1445 enum : int {
1446 kEofFieldNumber = 3,
1447 kDepthFieldNumber = 1,
1448 kCpFieldNumber = 2,
1449 };
1450 // repeated double eof = 3 [(.goby.field) = {
1451 int eof_size() const;
1452 private:
1453 int _internal_eof_size() const;
1454 public:
1455 void clear_eof();
1456 private:
1457 double _internal_eof(int index) const;
1458 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1459 _internal_eof() const;
1460 void _internal_add_eof(double value);
1461 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1462 _internal_mutable_eof();
1463 public:
1464 double eof(int index) const;
1465 void set_eof(int index, double value);
1466 void add_eof(double value);
1467 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1468 eof() const;
1469 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1470 mutable_eof();
1471
1472 // optional double depth = 1 [(.goby.field) = {
1473 bool has_depth() const;
1474 private:
1475 bool _internal_has_depth() const;
1476 public:
1477 void clear_depth();
1478 double depth() const;
1479 void set_depth(double value);
1480 private:
1481 double _internal_depth() const;
1482 void _internal_set_depth(double value);
1483 public:
1484
1485 // optional double cp = 2 [(.goby.field) = {
1486 bool has_cp() const;
1487 private:
1488 bool _internal_has_cp() const;
1489 public:
1490 void clear_cp();
1491 double cp() const;
1492 void set_cp(double value);
1493 private:
1494 double _internal_cp() const;
1495 void _internal_set_cp(double value);
1496 public:
1497
1498 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample)
1499 private:
1500 class _Internal;
1501
1502 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1503 typedef void InternalArenaConstructable_;
1504 typedef void DestructorSkippable_;
1505 struct Impl_ {
1506 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1507 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1508 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > eof_;
1509 double depth_;
1510 double cp_;
1511 };
1512 union { Impl_ _impl_; };
1513 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
1514};
1515// -------------------------------------------------------------------
1516
1518 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.WaterColumn) */ {
1519 public:
1522 explicit PROTOBUF_CONSTEXPR Environment_WaterColumn(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1523
1527 *this = ::std::move(from);
1528 }
1529
1531 CopyFrom(from);
1532 return *this;
1533 }
1535 if (this == &from) return *this;
1536 if (GetOwningArena() == from.GetOwningArena()
1537 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1538 && GetOwningArena() != nullptr
1539 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1540 ) {
1541 InternalSwap(&from);
1542 } else {
1543 CopyFrom(from);
1544 }
1545 return *this;
1546 }
1547
1548 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1549 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1550 }
1551 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1552 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1553 }
1554
1555 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1556 return GetDescriptor();
1557 }
1558 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1559 return default_instance().GetMetadata().descriptor;
1560 }
1561 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1562 return default_instance().GetMetadata().reflection;
1563 }
1565 return *internal_default_instance();
1566 }
1568 return reinterpret_cast<const Environment_WaterColumn*>(
1570 }
1571 static constexpr int kIndexInFileMessages =
1572 6;
1573
1575 a.Swap(&b);
1576 }
1577 inline void Swap(Environment_WaterColumn* other) {
1578 if (other == this) return;
1579 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1580 if (GetOwningArena() != nullptr &&
1581 GetOwningArena() == other->GetOwningArena()) {
1582 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1583 if (GetOwningArena() == other->GetOwningArena()) {
1584 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1585 InternalSwap(other);
1586 } else {
1587 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1588 }
1589 }
1591 if (other == this) return;
1592 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1593 InternalSwap(other);
1594 }
1595
1596 // implements Message ----------------------------------------------
1597
1598 Environment_WaterColumn* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1599 return CreateMaybeMessage<Environment_WaterColumn>(arena);
1600 }
1601 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1603 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1605 Environment_WaterColumn::MergeImpl(*this, from);
1606 }
1607 private:
1608 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1609 public:
1610 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1611 bool IsInitialized() const final;
1612
1613 size_t ByteSizeLong() const final;
1614 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1615 uint8_t* _InternalSerialize(
1616 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1617 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1618
1619 private:
1620 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1621 void SharedDtor();
1622 void SetCachedSize(int size) const final;
1623 void InternalSwap(Environment_WaterColumn* other);
1624
1625 private:
1626 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1627 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1628 return "netsim.bellhop.protobuf.Environment.WaterColumn";
1629 }
1630 protected:
1631 explicit Environment_WaterColumn(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1632 bool is_message_owned = false);
1633 public:
1634
1635 static const ClassData _class_data_;
1636 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1637
1638 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1639
1640 // nested types ----------------------------------------------------
1641
1643
1645 static constexpr SSPInterpolation CUBIC_SPLINE =
1646 Environment_WaterColumn_SSPInterpolation_CUBIC_SPLINE;
1647 static constexpr SSPInterpolation C_LINEAR =
1648 Environment_WaterColumn_SSPInterpolation_C_LINEAR;
1649 static constexpr SSPInterpolation N2_LINEAR =
1650 Environment_WaterColumn_SSPInterpolation_N2_LINEAR;
1651 static inline bool SSPInterpolation_IsValid(int value) {
1653 }
1654 static constexpr SSPInterpolation SSPInterpolation_MIN =
1656 static constexpr SSPInterpolation SSPInterpolation_MAX =
1658 static constexpr int SSPInterpolation_ARRAYSIZE =
1660 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1664 template<typename T>
1665 static inline const std::string& SSPInterpolation_Name(T enum_t_value) {
1666 static_assert(::std::is_same<T, SSPInterpolation>::value ||
1667 ::std::is_integral<T>::value,
1668 "Incorrect type passed to function SSPInterpolation_Name.");
1670 }
1671 static inline bool SSPInterpolation_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1672 SSPInterpolation* value) {
1674 }
1675
1676 // accessors -------------------------------------------------------
1677
1678 enum : int {
1679 kEofCoefFieldNumber = 2,
1680 kSampleFieldNumber = 4,
1681 kRangeFieldNumber = 5,
1682 kBathymetryFieldNumber = 6,
1683 kInterpolationTypeFieldNumber = 1,
1684 kUseAttenuationFieldNumber = 3,
1685 };
1686 // repeated double eof_coef = 2 [(.goby.field) = {
1687 int eof_coef_size() const;
1688 private:
1689 int _internal_eof_coef_size() const;
1690 public:
1691 void clear_eof_coef();
1692 private:
1693 double _internal_eof_coef(int index) const;
1694 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1695 _internal_eof_coef() const;
1696 void _internal_add_eof_coef(double value);
1697 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1698 _internal_mutable_eof_coef();
1699 public:
1700 double eof_coef(int index) const;
1701 void set_eof_coef(int index, double value);
1702 void add_eof_coef(double value);
1703 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1704 eof_coef() const;
1705 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1706 mutable_eof_coef();
1707
1708 // repeated .netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample sample = 4;
1709 int sample_size() const;
1710 private:
1711 int _internal_sample_size() const;
1712 public:
1713 void clear_sample();
1715 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >*
1716 mutable_sample();
1717 private:
1718 const ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample& _internal_sample(int index) const;
1720 public:
1721 const ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample& sample(int index) const;
1723 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >&
1724 sample() const;
1725
1726 // optional double range = 5 [default = 0, (.goby.field) = {
1727 bool has_range() const;
1728 private:
1729 bool _internal_has_range() const;
1730 public:
1731 void clear_range();
1732 double range() const;
1733 void set_range(double value);
1734 private:
1735 double _internal_range() const;
1736 void _internal_set_range(double value);
1737 public:
1738
1739 // optional double bathymetry = 6 [default = 0, (.goby.field) = {
1740 bool has_bathymetry() const;
1741 private:
1742 bool _internal_has_bathymetry() const;
1743 public:
1744 void clear_bathymetry();
1745 double bathymetry() const;
1746 void set_bathymetry(double value);
1747 private:
1748 double _internal_bathymetry() const;
1749 void _internal_set_bathymetry(double value);
1750 public:
1751
1752 // optional .netsim.bellhop.protobuf.Environment.WaterColumn.SSPInterpolation interpolation_type = 1 [default = CUBIC_SPLINE, (.goby.field) = {
1753 bool has_interpolation_type() const;
1754 private:
1755 bool _internal_has_interpolation_type() const;
1756 public:
1757 void clear_interpolation_type();
1760 private:
1762 void _internal_set_interpolation_type(::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation value);
1763 public:
1764
1765 // optional bool use_attenuation = 3 [default = true, (.goby.field) = {
1766 bool has_use_attenuation() const;
1767 private:
1768 bool _internal_has_use_attenuation() const;
1769 public:
1770 void clear_use_attenuation();
1771 bool use_attenuation() const;
1772 void set_use_attenuation(bool value);
1773 private:
1774 bool _internal_use_attenuation() const;
1775 void _internal_set_use_attenuation(bool value);
1776 public:
1777
1778 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.WaterColumn)
1779 private:
1780 class _Internal;
1781
1782 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1783 typedef void InternalArenaConstructable_;
1784 typedef void DestructorSkippable_;
1785 struct Impl_ {
1786 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1787 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1788 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > eof_coef_;
1789 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample > sample_;
1790 double range_;
1791 double bathymetry_;
1792 int interpolation_type_;
1793 bool use_attenuation_;
1794 };
1795 union { Impl_ _impl_; };
1796 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
1797};
1798// -------------------------------------------------------------------
1799
1801 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Bottom) */ {
1802 public:
1805 explicit PROTOBUF_CONSTEXPR Environment_Bottom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1806
1809 : Environment_Bottom() {
1810 *this = ::std::move(from);
1811 }
1812
1814 CopyFrom(from);
1815 return *this;
1816 }
1818 if (this == &from) return *this;
1819 if (GetOwningArena() == from.GetOwningArena()
1820 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1821 && GetOwningArena() != nullptr
1822 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1823 ) {
1824 InternalSwap(&from);
1825 } else {
1826 CopyFrom(from);
1827 }
1828 return *this;
1829 }
1830
1831 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1832 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1833 }
1834 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1835 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1836 }
1837
1838 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1839 return GetDescriptor();
1840 }
1841 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1842 return default_instance().GetMetadata().descriptor;
1843 }
1844 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1845 return default_instance().GetMetadata().reflection;
1846 }
1848 return *internal_default_instance();
1849 }
1851 return reinterpret_cast<const Environment_Bottom*>(
1853 }
1854 static constexpr int kIndexInFileMessages =
1855 7;
1856
1858 a.Swap(&b);
1859 }
1860 inline void Swap(Environment_Bottom* other) {
1861 if (other == this) return;
1862 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1863 if (GetOwningArena() != nullptr &&
1864 GetOwningArena() == other->GetOwningArena()) {
1865 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1866 if (GetOwningArena() == other->GetOwningArena()) {
1867 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1868 InternalSwap(other);
1869 } else {
1870 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1871 }
1872 }
1874 if (other == this) return;
1875 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1876 InternalSwap(other);
1877 }
1878
1879 // implements Message ----------------------------------------------
1880
1881 Environment_Bottom* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1882 return CreateMaybeMessage<Environment_Bottom>(arena);
1883 }
1884 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1885 void CopyFrom(const Environment_Bottom& from);
1886 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1887 void MergeFrom( const Environment_Bottom& from) {
1888 Environment_Bottom::MergeImpl(*this, from);
1889 }
1890 private:
1891 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1892 public:
1893 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1894 bool IsInitialized() const final;
1895
1896 size_t ByteSizeLong() const final;
1897 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1898 uint8_t* _InternalSerialize(
1899 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1900 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1901
1902 private:
1903 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1904 void SharedDtor();
1905 void SetCachedSize(int size) const final;
1906 void InternalSwap(Environment_Bottom* other);
1907
1908 private:
1909 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1910 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1911 return "netsim.bellhop.protobuf.Environment.Bottom";
1912 }
1913 protected:
1914 explicit Environment_Bottom(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1915 bool is_message_owned = false);
1916 public:
1917
1918 static const ClassData _class_data_;
1919 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1920
1921 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1922
1923 // nested types ----------------------------------------------------
1924
1925 // accessors -------------------------------------------------------
1926
1927 enum : int {
1928 kMediumFieldNumber = 1,
1929 };
1930 // optional .netsim.bellhop.protobuf.Environment.Medium medium = 1;
1931 bool has_medium() const;
1932 private:
1933 bool _internal_has_medium() const;
1934 public:
1935 void clear_medium();
1936 const ::netsim::bellhop::protobuf::Environment_Medium& medium() const;
1937 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Medium* release_medium();
1939 void set_allocated_medium(::netsim::bellhop::protobuf::Environment_Medium* medium);
1940 private:
1941 const ::netsim::bellhop::protobuf::Environment_Medium& _internal_medium() const;
1942 ::netsim::bellhop::protobuf::Environment_Medium* _internal_mutable_medium();
1943 public:
1944 void unsafe_arena_set_allocated_medium(
1946 ::netsim::bellhop::protobuf::Environment_Medium* unsafe_arena_release_medium();
1947
1948 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Bottom)
1949 private:
1950 class _Internal;
1951
1952 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1953 typedef void InternalArenaConstructable_;
1954 typedef void DestructorSkippable_;
1955 struct Impl_ {
1956 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1957 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1959 };
1960 union { Impl_ _impl_; };
1961 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
1962};
1963// -------------------------------------------------------------------
1964
1966 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Sources.SourcePosition) */ {
1967 public:
1970 explicit PROTOBUF_CONSTEXPR Environment_Sources_SourcePosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1971
1977
1979 CopyFrom(from);
1980 return *this;
1981 }
1983 if (this == &from) return *this;
1984 if (GetOwningArena() == from.GetOwningArena()
1985 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1986 && GetOwningArena() != nullptr
1987 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1988 ) {
1989 InternalSwap(&from);
1990 } else {
1991 CopyFrom(from);
1992 }
1993 return *this;
1994 }
1995
1996 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1997 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1998 }
1999 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2000 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2001 }
2002
2003 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2004 return GetDescriptor();
2005 }
2006 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2007 return default_instance().GetMetadata().descriptor;
2008 }
2009 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2010 return default_instance().GetMetadata().reflection;
2011 }
2013 return *internal_default_instance();
2014 }
2019 static constexpr int kIndexInFileMessages =
2020 8;
2021
2026 if (other == this) return;
2027 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2028 if (GetOwningArena() != nullptr &&
2029 GetOwningArena() == other->GetOwningArena()) {
2030 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2031 if (GetOwningArena() == other->GetOwningArena()) {
2032 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2033 InternalSwap(other);
2034 } else {
2035 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2036 }
2037 }
2039 if (other == this) return;
2040 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2041 InternalSwap(other);
2042 }
2043
2044 // implements Message ----------------------------------------------
2045
2046 Environment_Sources_SourcePosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2047 return CreateMaybeMessage<Environment_Sources_SourcePosition>(arena);
2048 }
2049 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2051 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2053 Environment_Sources_SourcePosition::MergeImpl(*this, from);
2054 }
2055 private:
2056 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2057 public:
2058 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2059 bool IsInitialized() const final;
2060
2061 size_t ByteSizeLong() const final;
2062 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2063 uint8_t* _InternalSerialize(
2064 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2065 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2066
2067 private:
2068 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2069 void SharedDtor();
2070 void SetCachedSize(int size) const final;
2071 void InternalSwap(Environment_Sources_SourcePosition* other);
2072
2073 private:
2074 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2075 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2076 return "netsim.bellhop.protobuf.Environment.Sources.SourcePosition";
2077 }
2078 protected:
2079 explicit Environment_Sources_SourcePosition(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2080 bool is_message_owned = false);
2081 public:
2082
2083 static const ClassData _class_data_;
2084 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2085
2086 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2087
2088 // nested types ----------------------------------------------------
2089
2090 // accessors -------------------------------------------------------
2091
2092 enum : int {
2093 kDepthFieldNumber = 1,
2094 };
2095 // optional double depth = 1;
2096 bool has_depth() const;
2097 private:
2098 bool _internal_has_depth() const;
2099 public:
2100 void clear_depth();
2101 double depth() const;
2102 void set_depth(double value);
2103 private:
2104 double _internal_depth() const;
2105 void _internal_set_depth(double value);
2106 public:
2107
2108 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Sources.SourcePosition)
2109 private:
2110 class _Internal;
2111
2112 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2113 typedef void InternalArenaConstructable_;
2114 typedef void DestructorSkippable_;
2115 struct Impl_ {
2116 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2117 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2118 double depth_;
2119 };
2120 union { Impl_ _impl_; };
2121 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
2122};
2123// -------------------------------------------------------------------
2124
2126 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Sources) */ {
2127 public:
2130 explicit PROTOBUF_CONSTEXPR Environment_Sources(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2131
2135 *this = ::std::move(from);
2136 }
2137
2139 CopyFrom(from);
2140 return *this;
2141 }
2143 if (this == &from) return *this;
2144 if (GetOwningArena() == from.GetOwningArena()
2145 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2146 && GetOwningArena() != nullptr
2147 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2148 ) {
2149 InternalSwap(&from);
2150 } else {
2151 CopyFrom(from);
2152 }
2153 return *this;
2154 }
2155
2156 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2157 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2158 }
2159 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2160 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2161 }
2162
2163 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2164 return GetDescriptor();
2165 }
2166 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2167 return default_instance().GetMetadata().descriptor;
2168 }
2169 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2170 return default_instance().GetMetadata().reflection;
2171 }
2173 return *internal_default_instance();
2174 }
2176 return reinterpret_cast<const Environment_Sources*>(
2178 }
2179 static constexpr int kIndexInFileMessages =
2180 9;
2181
2183 a.Swap(&b);
2184 }
2185 inline void Swap(Environment_Sources* other) {
2186 if (other == this) return;
2187 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2188 if (GetOwningArena() != nullptr &&
2189 GetOwningArena() == other->GetOwningArena()) {
2190 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2191 if (GetOwningArena() == other->GetOwningArena()) {
2192 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2193 InternalSwap(other);
2194 } else {
2195 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2196 }
2197 }
2199 if (other == this) return;
2200 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2201 InternalSwap(other);
2202 }
2203
2204 // implements Message ----------------------------------------------
2205
2206 Environment_Sources* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2207 return CreateMaybeMessage<Environment_Sources>(arena);
2208 }
2209 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2211 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2212 void MergeFrom( const Environment_Sources& from) {
2213 Environment_Sources::MergeImpl(*this, from);
2214 }
2215 private:
2216 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2217 public:
2218 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2219 bool IsInitialized() const final;
2220
2221 size_t ByteSizeLong() const final;
2222 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2223 uint8_t* _InternalSerialize(
2224 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2225 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2226
2227 private:
2228 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2229 void SharedDtor();
2230 void SetCachedSize(int size) const final;
2231 void InternalSwap(Environment_Sources* other);
2232
2233 private:
2234 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2235 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2236 return "netsim.bellhop.protobuf.Environment.Sources";
2237 }
2238 protected:
2239 explicit Environment_Sources(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2240 bool is_message_owned = false);
2241 public:
2242
2243 static const ClassData _class_data_;
2244 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2245
2246 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2247
2248 // nested types ----------------------------------------------------
2249
2251
2252 // accessors -------------------------------------------------------
2253
2254 enum : int {
2255 kFirstFieldNumber = 2,
2256 kLastFieldNumber = 3,
2257 kNumberInDepthFieldNumber = 1,
2258 };
2259 // optional .netsim.bellhop.protobuf.Environment.Sources.SourcePosition first = 2 [(.goby.field) = {
2260 bool has_first() const;
2261 private:
2262 bool _internal_has_first() const;
2263 public:
2264 void clear_first();
2265 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& first() const;
2266 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* release_first();
2269 private:
2270 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& _internal_first() const;
2272 public:
2273 void unsafe_arena_set_allocated_first(
2276
2277 // optional .netsim.bellhop.protobuf.Environment.Sources.SourcePosition last = 3 [(.goby.field) = {
2278 bool has_last() const;
2279 private:
2280 bool _internal_has_last() const;
2281 public:
2282 void clear_last();
2283 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& last() const;
2284 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* release_last();
2287 private:
2288 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& _internal_last() const;
2290 public:
2291 void unsafe_arena_set_allocated_last(
2294
2295 // optional uint32 number_in_depth = 1 [(.goby.field) = {
2296 bool has_number_in_depth() const;
2297 private:
2298 bool _internal_has_number_in_depth() const;
2299 public:
2300 void clear_number_in_depth();
2301 uint32_t number_in_depth() const;
2302 void set_number_in_depth(uint32_t value);
2303 private:
2304 uint32_t _internal_number_in_depth() const;
2305 void _internal_set_number_in_depth(uint32_t value);
2306 public:
2307
2308 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Sources)
2309 private:
2310 class _Internal;
2311
2312 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2313 typedef void InternalArenaConstructable_;
2314 typedef void DestructorSkippable_;
2315 struct Impl_ {
2316 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2317 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2320 uint32_t number_in_depth_;
2321 };
2322 union { Impl_ _impl_; };
2323 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
2324};
2325// -------------------------------------------------------------------
2326
2328 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition) */ {
2329 public:
2332 explicit PROTOBUF_CONSTEXPR Environment_Receivers_ReceiverPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2333
2339
2341 CopyFrom(from);
2342 return *this;
2343 }
2345 if (this == &from) return *this;
2346 if (GetOwningArena() == from.GetOwningArena()
2347 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2348 && GetOwningArena() != nullptr
2349 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2350 ) {
2351 InternalSwap(&from);
2352 } else {
2353 CopyFrom(from);
2354 }
2355 return *this;
2356 }
2357
2358 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2359 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2360 }
2361 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2362 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2363 }
2364
2365 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2366 return GetDescriptor();
2367 }
2368 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2369 return default_instance().GetMetadata().descriptor;
2370 }
2371 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2372 return default_instance().GetMetadata().reflection;
2373 }
2375 return *internal_default_instance();
2376 }
2381 static constexpr int kIndexInFileMessages =
2382 10;
2383
2388 if (other == this) return;
2389 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2390 if (GetOwningArena() != nullptr &&
2391 GetOwningArena() == other->GetOwningArena()) {
2392 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2393 if (GetOwningArena() == other->GetOwningArena()) {
2394 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2395 InternalSwap(other);
2396 } else {
2397 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2398 }
2399 }
2401 if (other == this) return;
2402 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2403 InternalSwap(other);
2404 }
2405
2406 // implements Message ----------------------------------------------
2407
2408 Environment_Receivers_ReceiverPosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2409 return CreateMaybeMessage<Environment_Receivers_ReceiverPosition>(arena);
2410 }
2411 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2413 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2415 Environment_Receivers_ReceiverPosition::MergeImpl(*this, from);
2416 }
2417 private:
2418 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2419 public:
2420 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2421 bool IsInitialized() const final;
2422
2423 size_t ByteSizeLong() const final;
2424 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2425 uint8_t* _InternalSerialize(
2426 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2427 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2428
2429 private:
2430 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2431 void SharedDtor();
2432 void SetCachedSize(int size) const final;
2433 void InternalSwap(Environment_Receivers_ReceiverPosition* other);
2434
2435 private:
2436 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2437 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2438 return "netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition";
2439 }
2440 protected:
2441 explicit Environment_Receivers_ReceiverPosition(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2442 bool is_message_owned = false);
2443 public:
2444
2445 static const ClassData _class_data_;
2446 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2447
2448 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2449
2450 // nested types ----------------------------------------------------
2451
2452 // accessors -------------------------------------------------------
2453
2454 enum : int {
2455 kDepthFieldNumber = 1,
2456 kRangeFieldNumber = 2,
2457 };
2458 // optional double depth = 1;
2459 bool has_depth() const;
2460 private:
2461 bool _internal_has_depth() const;
2462 public:
2463 void clear_depth();
2464 double depth() const;
2465 void set_depth(double value);
2466 private:
2467 double _internal_depth() const;
2468 void _internal_set_depth(double value);
2469 public:
2470
2471 // optional double range = 2;
2472 bool has_range() const;
2473 private:
2474 bool _internal_has_range() const;
2475 public:
2476 void clear_range();
2477 double range() const;
2478 void set_range(double value);
2479 private:
2480 double _internal_range() const;
2481 void _internal_set_range(double value);
2482 public:
2483
2484 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition)
2485 private:
2486 class _Internal;
2487
2488 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2489 typedef void InternalArenaConstructable_;
2490 typedef void DestructorSkippable_;
2491 struct Impl_ {
2492 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2493 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2494 double depth_;
2495 double range_;
2496 };
2497 union { Impl_ _impl_; };
2498 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
2499};
2500// -------------------------------------------------------------------
2501
2503 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Receivers) */ {
2504 public:
2507 explicit PROTOBUF_CONSTEXPR Environment_Receivers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2508
2512 *this = ::std::move(from);
2513 }
2514
2516 CopyFrom(from);
2517 return *this;
2518 }
2520 if (this == &from) return *this;
2521 if (GetOwningArena() == from.GetOwningArena()
2522 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2523 && GetOwningArena() != nullptr
2524 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2525 ) {
2526 InternalSwap(&from);
2527 } else {
2528 CopyFrom(from);
2529 }
2530 return *this;
2531 }
2532
2533 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2534 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2535 }
2536 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2537 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2538 }
2539
2540 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2541 return GetDescriptor();
2542 }
2543 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2544 return default_instance().GetMetadata().descriptor;
2545 }
2546 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2547 return default_instance().GetMetadata().reflection;
2548 }
2550 return *internal_default_instance();
2551 }
2553 return reinterpret_cast<const Environment_Receivers*>(
2555 }
2556 static constexpr int kIndexInFileMessages =
2557 11;
2558
2560 a.Swap(&b);
2561 }
2562 inline void Swap(Environment_Receivers* other) {
2563 if (other == this) return;
2564 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2565 if (GetOwningArena() != nullptr &&
2566 GetOwningArena() == other->GetOwningArena()) {
2567 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2568 if (GetOwningArena() == other->GetOwningArena()) {
2569 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2570 InternalSwap(other);
2571 } else {
2572 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2573 }
2574 }
2576 if (other == this) return;
2577 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2578 InternalSwap(other);
2579 }
2580
2581 // implements Message ----------------------------------------------
2582
2583 Environment_Receivers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2584 return CreateMaybeMessage<Environment_Receivers>(arena);
2585 }
2586 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2588 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2590 Environment_Receivers::MergeImpl(*this, from);
2591 }
2592 private:
2593 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2594 public:
2595 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2596 bool IsInitialized() const final;
2597
2598 size_t ByteSizeLong() const final;
2599 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2600 uint8_t* _InternalSerialize(
2601 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2602 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2603
2604 private:
2605 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2606 void SharedDtor();
2607 void SetCachedSize(int size) const final;
2608 void InternalSwap(Environment_Receivers* other);
2609
2610 private:
2611 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2612 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2613 return "netsim.bellhop.protobuf.Environment.Receivers";
2614 }
2615 protected:
2616 explicit Environment_Receivers(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2617 bool is_message_owned = false);
2618 public:
2619
2620 static const ClassData _class_data_;
2621 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2622
2623 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2624
2625 // nested types ----------------------------------------------------
2626
2628
2629 // accessors -------------------------------------------------------
2630
2631 enum : int {
2632 kFirstFieldNumber = 3,
2633 kLastFieldNumber = 4,
2634 kNumberInDepthFieldNumber = 1,
2635 kNumberInRangeFieldNumber = 2,
2636 };
2637 // optional .netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition first = 3 [(.goby.field) = {
2638 bool has_first() const;
2639 private:
2640 bool _internal_has_first() const;
2641 public:
2642 void clear_first();
2643 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& first() const;
2644 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* release_first();
2647 private:
2648 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& _internal_first() const;
2650 public:
2651 void unsafe_arena_set_allocated_first(
2654
2655 // optional .netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition last = 4 [(.goby.field) = {
2656 bool has_last() const;
2657 private:
2658 bool _internal_has_last() const;
2659 public:
2660 void clear_last();
2661 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& last() const;
2662 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* release_last();
2665 private:
2666 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& _internal_last() const;
2668 public:
2669 void unsafe_arena_set_allocated_last(
2672
2673 // optional uint32 number_in_depth = 1 [(.goby.field) = {
2674 bool has_number_in_depth() const;
2675 private:
2676 bool _internal_has_number_in_depth() const;
2677 public:
2678 void clear_number_in_depth();
2679 uint32_t number_in_depth() const;
2680 void set_number_in_depth(uint32_t value);
2681 private:
2682 uint32_t _internal_number_in_depth() const;
2683 void _internal_set_number_in_depth(uint32_t value);
2684 public:
2685
2686 // optional uint32 number_in_range = 2 [(.goby.field) = {
2687 bool has_number_in_range() const;
2688 private:
2689 bool _internal_has_number_in_range() const;
2690 public:
2691 void clear_number_in_range();
2692 uint32_t number_in_range() const;
2693 void set_number_in_range(uint32_t value);
2694 private:
2695 uint32_t _internal_number_in_range() const;
2696 void _internal_set_number_in_range(uint32_t value);
2697 public:
2698
2699 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Receivers)
2700 private:
2701 class _Internal;
2702
2703 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2704 typedef void InternalArenaConstructable_;
2705 typedef void DestructorSkippable_;
2706 struct Impl_ {
2707 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2708 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2711 uint32_t number_in_depth_;
2712 uint32_t number_in_range_;
2713 };
2714 union { Impl_ _impl_; };
2715 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
2716};
2717// -------------------------------------------------------------------
2718
2720 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.Beams) */ {
2721 public:
2724 explicit PROTOBUF_CONSTEXPR Environment_Beams(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2725
2728 : Environment_Beams() {
2729 *this = ::std::move(from);
2730 }
2731
2733 CopyFrom(from);
2734 return *this;
2735 }
2737 if (this == &from) return *this;
2738 if (GetOwningArena() == from.GetOwningArena()
2739 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2740 && GetOwningArena() != nullptr
2741 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2742 ) {
2743 InternalSwap(&from);
2744 } else {
2745 CopyFrom(from);
2746 }
2747 return *this;
2748 }
2749
2750 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2751 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2752 }
2753 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2754 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2755 }
2756
2757 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2758 return GetDescriptor();
2759 }
2760 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2761 return default_instance().GetMetadata().descriptor;
2762 }
2763 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2764 return default_instance().GetMetadata().reflection;
2765 }
2767 return *internal_default_instance();
2768 }
2770 return reinterpret_cast<const Environment_Beams*>(
2772 }
2773 static constexpr int kIndexInFileMessages =
2774 12;
2775
2777 a.Swap(&b);
2778 }
2779 inline void Swap(Environment_Beams* other) {
2780 if (other == this) return;
2781 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2782 if (GetOwningArena() != nullptr &&
2783 GetOwningArena() == other->GetOwningArena()) {
2784 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2785 if (GetOwningArena() == other->GetOwningArena()) {
2786 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2787 InternalSwap(other);
2788 } else {
2789 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2790 }
2791 }
2793 if (other == this) return;
2794 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2795 InternalSwap(other);
2796 }
2797
2798 // implements Message ----------------------------------------------
2799
2800 Environment_Beams* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2801 return CreateMaybeMessage<Environment_Beams>(arena);
2802 }
2803 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2804 void CopyFrom(const Environment_Beams& from);
2805 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2806 void MergeFrom( const Environment_Beams& from) {
2807 Environment_Beams::MergeImpl(*this, from);
2808 }
2809 private:
2810 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2811 public:
2812 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2813 bool IsInitialized() const final;
2814
2815 size_t ByteSizeLong() const final;
2816 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2817 uint8_t* _InternalSerialize(
2818 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2819 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2820
2821 private:
2822 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2823 void SharedDtor();
2824 void SetCachedSize(int size) const final;
2825 void InternalSwap(Environment_Beams* other);
2826
2827 private:
2828 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2829 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2830 return "netsim.bellhop.protobuf.Environment.Beams";
2831 }
2832 protected:
2833 explicit Environment_Beams(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2834 bool is_message_owned = false);
2835 public:
2836
2837 static const ClassData _class_data_;
2838 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2839
2840 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2841
2842 // nested types ----------------------------------------------------
2843
2845 static constexpr ApproximationType GEOMETRIC =
2846 Environment_Beams_ApproximationType_GEOMETRIC;
2847 static constexpr ApproximationType CARTESIAN =
2848 Environment_Beams_ApproximationType_CARTESIAN;
2849 static constexpr ApproximationType RAY_CENTERED =
2850 Environment_Beams_ApproximationType_RAY_CENTERED;
2851 static constexpr ApproximationType GAUSSIAN =
2852 Environment_Beams_ApproximationType_GAUSSIAN;
2853 static inline bool ApproximationType_IsValid(int value) {
2855 }
2856 static constexpr ApproximationType ApproximationType_MIN =
2858 static constexpr ApproximationType ApproximationType_MAX =
2860 static constexpr int ApproximationType_ARRAYSIZE =
2862 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2866 template<typename T>
2867 static inline const std::string& ApproximationType_Name(T enum_t_value) {
2868 static_assert(::std::is_same<T, ApproximationType>::value ||
2869 ::std::is_integral<T>::value,
2870 "Incorrect type passed to function ApproximationType_Name.");
2871 return Environment_Beams_ApproximationType_Name(enum_t_value);
2872 }
2873 static inline bool ApproximationType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2874 ApproximationType* value) {
2876 }
2877
2878 // accessors -------------------------------------------------------
2879
2880 enum : int {
2881 kNumberFieldNumber = 4,
2882 kThetaMaxFieldNumber = 3,
2883 kApproximationTypeFieldNumber = 1,
2884 kThetaMinFieldNumber = 2,
2885 };
2886 // optional uint32 number = 4 [default = 0, (.goby.field) = {
2887 bool has_number() const;
2888 private:
2889 bool _internal_has_number() const;
2890 public:
2891 void clear_number();
2892 uint32_t number() const;
2893 void set_number(uint32_t value);
2894 private:
2895 uint32_t _internal_number() const;
2896 void _internal_set_number(uint32_t value);
2897 public:
2898
2899 // optional int32 theta_max = 3 [default = 90, (.goby.field) = {
2900 bool has_theta_max() const;
2901 private:
2902 bool _internal_has_theta_max() const;
2903 public:
2904 void clear_theta_max();
2905 int32_t theta_max() const;
2906 void set_theta_max(int32_t value);
2907 private:
2908 int32_t _internal_theta_max() const;
2909 void _internal_set_theta_max(int32_t value);
2910 public:
2911
2912 // optional .netsim.bellhop.protobuf.Environment.Beams.ApproximationType approximation_type = 1 [(.goby.field) = {
2913 bool has_approximation_type() const;
2914 private:
2915 bool _internal_has_approximation_type() const;
2916 public:
2917 void clear_approximation_type();
2920 private:
2921 ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType _internal_approximation_type() const;
2922 void _internal_set_approximation_type(::netsim::bellhop::protobuf::Environment_Beams_ApproximationType value);
2923 public:
2924
2925 // optional int32 theta_min = 2 [default = -90, (.goby.field) = {
2926 bool has_theta_min() const;
2927 private:
2928 bool _internal_has_theta_min() const;
2929 public:
2930 void clear_theta_min();
2931 int32_t theta_min() const;
2932 void set_theta_min(int32_t value);
2933 private:
2934 int32_t _internal_theta_min() const;
2935 void _internal_set_theta_min(int32_t value);
2936 public:
2937
2938 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.Beams)
2939 private:
2940 class _Internal;
2941
2942 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2943 typedef void InternalArenaConstructable_;
2944 typedef void DestructorSkippable_;
2945 struct Impl_ {
2946 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2947 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2948 uint32_t number_;
2949 int32_t theta_max_;
2950 int approximation_type_;
2951 int32_t theta_min_;
2952 };
2953 union { Impl_ _impl_; };
2954 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
2955};
2956// -------------------------------------------------------------------
2957
2959 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment.AdaptiveInfo) */ {
2960 public:
2963 explicit PROTOBUF_CONSTEXPR Environment_AdaptiveInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2964
2968 *this = ::std::move(from);
2969 }
2970
2972 CopyFrom(from);
2973 return *this;
2974 }
2976 if (this == &from) return *this;
2977 if (GetOwningArena() == from.GetOwningArena()
2978 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2979 && GetOwningArena() != nullptr
2980 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2981 ) {
2982 InternalSwap(&from);
2983 } else {
2984 CopyFrom(from);
2985 }
2986 return *this;
2987 }
2988
2989 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2990 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2991 }
2992 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2993 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2994 }
2995
2996 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2997 return GetDescriptor();
2998 }
2999 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3000 return default_instance().GetMetadata().descriptor;
3001 }
3002 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3003 return default_instance().GetMetadata().reflection;
3004 }
3006 return *internal_default_instance();
3007 }
3009 return reinterpret_cast<const Environment_AdaptiveInfo*>(
3011 }
3012 static constexpr int kIndexInFileMessages =
3013 13;
3014
3016 a.Swap(&b);
3017 }
3018 inline void Swap(Environment_AdaptiveInfo* other) {
3019 if (other == this) return;
3020 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3021 if (GetOwningArena() != nullptr &&
3022 GetOwningArena() == other->GetOwningArena()) {
3023 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3024 if (GetOwningArena() == other->GetOwningArena()) {
3025 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3026 InternalSwap(other);
3027 } else {
3028 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3029 }
3030 }
3032 if (other == this) return;
3033 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3034 InternalSwap(other);
3035 }
3036
3037 // implements Message ----------------------------------------------
3038
3039 Environment_AdaptiveInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3040 return CreateMaybeMessage<Environment_AdaptiveInfo>(arena);
3041 }
3042 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3044 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3046 Environment_AdaptiveInfo::MergeImpl(*this, from);
3047 }
3048 private:
3049 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3050 public:
3051 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3052 bool IsInitialized() const final;
3053
3054 size_t ByteSizeLong() const final;
3055 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3056 uint8_t* _InternalSerialize(
3057 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3058 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3059
3060 private:
3061 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3062 void SharedDtor();
3063 void SetCachedSize(int size) const final;
3064 void InternalSwap(Environment_AdaptiveInfo* other);
3065
3066 private:
3067 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3068 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3069 return "netsim.bellhop.protobuf.Environment.AdaptiveInfo";
3070 }
3071 protected:
3072 explicit Environment_AdaptiveInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3073 bool is_message_owned = false);
3074 public:
3075
3076 static const ClassData _class_data_;
3077 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3078
3079 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3080
3081 // nested types ----------------------------------------------------
3082
3083 // accessors -------------------------------------------------------
3084
3085 enum : int {
3086 kContactFieldNumber = 1,
3087 kOwnshipFieldNumber = 2,
3088 kReadShdFieldNumber = 3,
3089 kFullShdMatrixFieldNumber = 10,
3090 kAutoReceiverRangesFieldNumber = 4,
3091 kAutoSourceDepthFieldNumber = 6,
3092 kLookAheadSecondsFieldNumber = 5,
3093 kAutoReceiverRangesDeltaFieldNumber = 7,
3094 };
3095 // optional string contact = 1 [(.goby.field) = {
3096 bool has_contact() const;
3097 private:
3098 bool _internal_has_contact() const;
3099 public:
3100 void clear_contact();
3101 const std::string& contact() const;
3102 template <typename ArgT0 = const std::string&, typename... ArgT>
3103 void set_contact(ArgT0&& arg0, ArgT... args);
3104 std::string* mutable_contact();
3105 PROTOBUF_NODISCARD std::string* release_contact();
3106 void set_allocated_contact(std::string* contact);
3107 private:
3108 const std::string& _internal_contact() const;
3109 inline PROTOBUF_ALWAYS_INLINE void _internal_set_contact(const std::string& value);
3110 std::string* _internal_mutable_contact();
3111 public:
3112
3113 // optional string ownship = 2 [(.goby.field) = {
3114 bool has_ownship() const;
3115 private:
3116 bool _internal_has_ownship() const;
3117 public:
3118 void clear_ownship();
3119 const std::string& ownship() const;
3120 template <typename ArgT0 = const std::string&, typename... ArgT>
3121 void set_ownship(ArgT0&& arg0, ArgT... args);
3122 std::string* mutable_ownship();
3123 PROTOBUF_NODISCARD std::string* release_ownship();
3124 void set_allocated_ownship(std::string* ownship);
3125 private:
3126 const std::string& _internal_ownship() const;
3127 inline PROTOBUF_ALWAYS_INLINE void _internal_set_ownship(const std::string& value);
3128 std::string* _internal_mutable_ownship();
3129 public:
3130
3131 // optional bool read_shd = 3 [default = false, (.goby.field) = {
3132 bool has_read_shd() const;
3133 private:
3134 bool _internal_has_read_shd() const;
3135 public:
3136 void clear_read_shd();
3137 bool read_shd() const;
3138 void set_read_shd(bool value);
3139 private:
3140 bool _internal_read_shd() const;
3141 void _internal_set_read_shd(bool value);
3142 public:
3143
3144 // optional bool full_shd_matrix = 10 [default = false, (.goby.field) = {
3145 bool has_full_shd_matrix() const;
3146 private:
3147 bool _internal_has_full_shd_matrix() const;
3148 public:
3149 void clear_full_shd_matrix();
3150 bool full_shd_matrix() const;
3151 void set_full_shd_matrix(bool value);
3152 private:
3153 bool _internal_full_shd_matrix() const;
3154 void _internal_set_full_shd_matrix(bool value);
3155 public:
3156
3157 // optional bool auto_receiver_ranges = 4 [default = false, (.goby.field) = {
3158 bool has_auto_receiver_ranges() const;
3159 private:
3160 bool _internal_has_auto_receiver_ranges() const;
3161 public:
3162 void clear_auto_receiver_ranges();
3163 bool auto_receiver_ranges() const;
3164 void set_auto_receiver_ranges(bool value);
3165 private:
3166 bool _internal_auto_receiver_ranges() const;
3167 void _internal_set_auto_receiver_ranges(bool value);
3168 public:
3169
3170 // optional bool auto_source_depth = 6 [default = false, (.goby.field) = {
3171 bool has_auto_source_depth() const;
3172 private:
3173 bool _internal_has_auto_source_depth() const;
3174 public:
3175 void clear_auto_source_depth();
3176 bool auto_source_depth() const;
3177 void set_auto_source_depth(bool value);
3178 private:
3179 bool _internal_auto_source_depth() const;
3180 void _internal_set_auto_source_depth(bool value);
3181 public:
3182
3183 // optional uint32 look_ahead_seconds = 5 [default = 60, (.goby.field) = {
3184 bool has_look_ahead_seconds() const;
3185 private:
3186 bool _internal_has_look_ahead_seconds() const;
3187 public:
3188 void clear_look_ahead_seconds();
3189 uint32_t look_ahead_seconds() const;
3190 void set_look_ahead_seconds(uint32_t value);
3191 private:
3192 uint32_t _internal_look_ahead_seconds() const;
3193 void _internal_set_look_ahead_seconds(uint32_t value);
3194 public:
3195
3196 // optional int32 auto_receiver_ranges_delta = 7 [default = 1, (.goby.field) = {
3197 bool has_auto_receiver_ranges_delta() const;
3198 private:
3199 bool _internal_has_auto_receiver_ranges_delta() const;
3200 public:
3201 void clear_auto_receiver_ranges_delta();
3202 int32_t auto_receiver_ranges_delta() const;
3203 void set_auto_receiver_ranges_delta(int32_t value);
3204 private:
3205 int32_t _internal_auto_receiver_ranges_delta() const;
3206 void _internal_set_auto_receiver_ranges_delta(int32_t value);
3207 public:
3208
3209 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment.AdaptiveInfo)
3210 private:
3211 class _Internal;
3212
3213 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3214 typedef void InternalArenaConstructable_;
3215 typedef void DestructorSkippable_;
3216 struct Impl_ {
3217 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3218 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3219 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr contact_;
3220 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ownship_;
3221 bool read_shd_;
3222 bool full_shd_matrix_;
3223 bool auto_receiver_ranges_;
3224 bool auto_source_depth_;
3225 uint32_t look_ahead_seconds_;
3226 int32_t auto_receiver_ranges_delta_;
3227 };
3228 union { Impl_ _impl_; };
3229 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
3230};
3231// -------------------------------------------------------------------
3232
3233class Environment final :
3234 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:netsim.bellhop.protobuf.Environment) */ {
3235 public:
3236 inline Environment() : Environment(nullptr) {}
3237 ~Environment() override;
3238 explicit PROTOBUF_CONSTEXPR Environment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3239
3241 Environment(Environment&& from) noexcept
3242 : Environment() {
3243 *this = ::std::move(from);
3244 }
3245
3246 inline Environment& operator=(const Environment& from) {
3247 CopyFrom(from);
3248 return *this;
3249 }
3250 inline Environment& operator=(Environment&& from) noexcept {
3251 if (this == &from) return *this;
3252 if (GetOwningArena() == from.GetOwningArena()
3253 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3254 && GetOwningArena() != nullptr
3255 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3256 ) {
3257 InternalSwap(&from);
3258 } else {
3259 CopyFrom(from);
3260 }
3261 return *this;
3262 }
3263
3264 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3265 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3266 }
3267 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3268 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3269 }
3270
3271 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3272 return GetDescriptor();
3273 }
3274 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3275 return default_instance().GetMetadata().descriptor;
3276 }
3277 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3278 return default_instance().GetMetadata().reflection;
3279 }
3281 return *internal_default_instance();
3282 }
3284 return reinterpret_cast<const Environment*>(
3286 }
3287 static constexpr int kIndexInFileMessages =
3288 14;
3289
3290 friend void swap(Environment& a, Environment& b) {
3291 a.Swap(&b);
3292 }
3293 inline void Swap(Environment* other) {
3294 if (other == this) return;
3295 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3296 if (GetOwningArena() != nullptr &&
3297 GetOwningArena() == other->GetOwningArena()) {
3298 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3299 if (GetOwningArena() == other->GetOwningArena()) {
3300 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3301 InternalSwap(other);
3302 } else {
3303 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3304 }
3305 }
3307 if (other == this) return;
3308 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3309 InternalSwap(other);
3310 }
3311
3312 // implements Message ----------------------------------------------
3313
3314 Environment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3315 return CreateMaybeMessage<Environment>(arena);
3316 }
3317 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3318 void CopyFrom(const Environment& from);
3319 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3320 void MergeFrom( const Environment& from) {
3321 Environment::MergeImpl(*this, from);
3322 }
3323 private:
3324 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3325 public:
3326 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3327 bool IsInitialized() const final;
3328
3329 size_t ByteSizeLong() const final;
3330 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3331 uint8_t* _InternalSerialize(
3332 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3333 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3334
3335 private:
3336 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3337 void SharedDtor();
3338 void SetCachedSize(int size) const final;
3339 void InternalSwap(Environment* other);
3340
3341 private:
3342 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3343 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3344 return "netsim.bellhop.protobuf.Environment";
3345 }
3346 protected:
3347 explicit Environment(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3348 bool is_message_owned = false);
3349 public:
3350
3351 static const ClassData _class_data_;
3352 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3353
3354 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3355
3356 // nested types ----------------------------------------------------
3357
3367
3368 // accessors -------------------------------------------------------
3369
3370 enum : int {
3371 kWaterColumnFieldNumber = 5,
3372 kTitleFieldNumber = 1,
3373 kOutputFieldNumber = 3,
3374 kSurfaceFieldNumber = 4,
3375 kBottomFieldNumber = 6,
3376 kSourcesFieldNumber = 7,
3377 kReceiversFieldNumber = 8,
3378 kBeamsFieldNumber = 9,
3379 kAdaptiveInfoFieldNumber = 100,
3380 kFreqFieldNumber = 2,
3381 };
3382 // repeated .netsim.bellhop.protobuf.Environment.WaterColumn water_column = 5 [(.goby.field) = {
3383 int water_column_size() const;
3384 private:
3385 int _internal_water_column_size() const;
3386 public:
3387 void clear_water_column();
3388 ::netsim::bellhop::protobuf::Environment_WaterColumn* mutable_water_column(int index);
3389 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn >*
3390 mutable_water_column();
3391 private:
3392 const ::netsim::bellhop::protobuf::Environment_WaterColumn& _internal_water_column(int index) const;
3393 ::netsim::bellhop::protobuf::Environment_WaterColumn* _internal_add_water_column();
3394 public:
3395 const ::netsim::bellhop::protobuf::Environment_WaterColumn& water_column(int index) const;
3397 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn >&
3398 water_column() const;
3399
3400 // optional string title = 1 [default = "Environmental File", (.goby.field) = {
3401 bool has_title() const;
3402 private:
3403 bool _internal_has_title() const;
3404 public:
3405 void clear_title();
3406 const std::string& title() const;
3407 template <typename ArgT0 = const std::string&, typename... ArgT>
3408 void set_title(ArgT0&& arg0, ArgT... args);
3409 std::string* mutable_title();
3410 PROTOBUF_NODISCARD std::string* release_title();
3411 void set_allocated_title(std::string* title);
3412 private:
3413 const std::string& _internal_title() const;
3414 inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(const std::string& value);
3415 std::string* _internal_mutable_title();
3416 public:
3417
3418 // optional .netsim.bellhop.protobuf.Environment.Output output = 3 [(.goby.field) = {
3419 bool has_output() const;
3420 private:
3421 bool _internal_has_output() const;
3422 public:
3423 void clear_output();
3424 const ::netsim::bellhop::protobuf::Environment_Output& output() const;
3425 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Output* release_output();
3427 void set_allocated_output(::netsim::bellhop::protobuf::Environment_Output* output);
3428 private:
3429 const ::netsim::bellhop::protobuf::Environment_Output& _internal_output() const;
3430 ::netsim::bellhop::protobuf::Environment_Output* _internal_mutable_output();
3431 public:
3432 void unsafe_arena_set_allocated_output(
3434 ::netsim::bellhop::protobuf::Environment_Output* unsafe_arena_release_output();
3435
3436 // optional .netsim.bellhop.protobuf.Environment.Surface surface = 4 [(.goby.field) = {
3437 bool has_surface() const;
3438 private:
3439 bool _internal_has_surface() const;
3440 public:
3441 void clear_surface();
3442 const ::netsim::bellhop::protobuf::Environment_Surface& surface() const;
3443 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Surface* release_surface();
3445 void set_allocated_surface(::netsim::bellhop::protobuf::Environment_Surface* surface);
3446 private:
3447 const ::netsim::bellhop::protobuf::Environment_Surface& _internal_surface() const;
3448 ::netsim::bellhop::protobuf::Environment_Surface* _internal_mutable_surface();
3449 public:
3450 void unsafe_arena_set_allocated_surface(
3452 ::netsim::bellhop::protobuf::Environment_Surface* unsafe_arena_release_surface();
3453
3454 // optional .netsim.bellhop.protobuf.Environment.Bottom bottom = 6 [(.goby.field) = {
3455 bool has_bottom() const;
3456 private:
3457 bool _internal_has_bottom() const;
3458 public:
3459 void clear_bottom();
3460 const ::netsim::bellhop::protobuf::Environment_Bottom& bottom() const;
3461 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Bottom* release_bottom();
3463 void set_allocated_bottom(::netsim::bellhop::protobuf::Environment_Bottom* bottom);
3464 private:
3465 const ::netsim::bellhop::protobuf::Environment_Bottom& _internal_bottom() const;
3466 ::netsim::bellhop::protobuf::Environment_Bottom* _internal_mutable_bottom();
3467 public:
3468 void unsafe_arena_set_allocated_bottom(
3470 ::netsim::bellhop::protobuf::Environment_Bottom* unsafe_arena_release_bottom();
3471
3472 // optional .netsim.bellhop.protobuf.Environment.Sources sources = 7 [(.goby.field) = {
3473 bool has_sources() const;
3474 private:
3475 bool _internal_has_sources() const;
3476 public:
3477 void clear_sources();
3478 const ::netsim::bellhop::protobuf::Environment_Sources& sources() const;
3479 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Sources* release_sources();
3481 void set_allocated_sources(::netsim::bellhop::protobuf::Environment_Sources* sources);
3482 private:
3483 const ::netsim::bellhop::protobuf::Environment_Sources& _internal_sources() const;
3484 ::netsim::bellhop::protobuf::Environment_Sources* _internal_mutable_sources();
3485 public:
3486 void unsafe_arena_set_allocated_sources(
3488 ::netsim::bellhop::protobuf::Environment_Sources* unsafe_arena_release_sources();
3489
3490 // optional .netsim.bellhop.protobuf.Environment.Receivers receivers = 8 [(.goby.field) = {
3491 bool has_receivers() const;
3492 private:
3493 bool _internal_has_receivers() const;
3494 public:
3495 void clear_receivers();
3496 const ::netsim::bellhop::protobuf::Environment_Receivers& receivers() const;
3497 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Receivers* release_receivers();
3499 void set_allocated_receivers(::netsim::bellhop::protobuf::Environment_Receivers* receivers);
3500 private:
3501 const ::netsim::bellhop::protobuf::Environment_Receivers& _internal_receivers() const;
3502 ::netsim::bellhop::protobuf::Environment_Receivers* _internal_mutable_receivers();
3503 public:
3504 void unsafe_arena_set_allocated_receivers(
3506 ::netsim::bellhop::protobuf::Environment_Receivers* unsafe_arena_release_receivers();
3507
3508 // optional .netsim.bellhop.protobuf.Environment.Beams beams = 9 [(.goby.field) = {
3509 bool has_beams() const;
3510 private:
3511 bool _internal_has_beams() const;
3512 public:
3513 void clear_beams();
3514 const ::netsim::bellhop::protobuf::Environment_Beams& beams() const;
3515 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_Beams* release_beams();
3517 void set_allocated_beams(::netsim::bellhop::protobuf::Environment_Beams* beams);
3518 private:
3519 const ::netsim::bellhop::protobuf::Environment_Beams& _internal_beams() const;
3520 ::netsim::bellhop::protobuf::Environment_Beams* _internal_mutable_beams();
3521 public:
3522 void unsafe_arena_set_allocated_beams(
3524 ::netsim::bellhop::protobuf::Environment_Beams* unsafe_arena_release_beams();
3525
3526 // optional .netsim.bellhop.protobuf.Environment.AdaptiveInfo adaptive_info = 100 [(.goby.field) = {
3527 bool has_adaptive_info() const;
3528 private:
3529 bool _internal_has_adaptive_info() const;
3530 public:
3531 void clear_adaptive_info();
3532 const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& adaptive_info() const;
3533 PROTOBUF_NODISCARD ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* release_adaptive_info();
3535 void set_allocated_adaptive_info(::netsim::bellhop::protobuf::Environment_AdaptiveInfo* adaptive_info);
3536 private:
3537 const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& _internal_adaptive_info() const;
3538 ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* _internal_mutable_adaptive_info();
3539 public:
3540 void unsafe_arena_set_allocated_adaptive_info(
3542 ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* unsafe_arena_release_adaptive_info();
3543
3544 // optional uint32 freq = 2 [default = 25000, (.goby.field) = {
3545 bool has_freq() const;
3546 private:
3547 bool _internal_has_freq() const;
3548 public:
3549 void clear_freq();
3550 uint32_t freq() const;
3551 void set_freq(uint32_t value);
3552 private:
3553 uint32_t _internal_freq() const;
3554 void _internal_set_freq(uint32_t value);
3555 public:
3556
3557 // @@protoc_insertion_point(class_scope:netsim.bellhop.protobuf.Environment)
3558 private:
3559 class _Internal;
3560
3561 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3562 typedef void InternalArenaConstructable_;
3563 typedef void DestructorSkippable_;
3564 struct Impl_ {
3565 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3566 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3567 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn > water_column_;
3568 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_title_;
3569 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr title_;
3577 uint32_t freq_;
3578 };
3579 union { Impl_ _impl_; };
3580 friend struct ::TableStruct_netsim_2facousticstoolbox_2fenvironment_2eproto;
3581};
3582// ===================================================================
3583
3584
3585// ===================================================================
3586
3587#ifdef __GNUC__
3588 #pragma GCC diagnostic push
3589 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
3590#endif // __GNUC__
3591// Environment_Output
3592
3593// optional .netsim.bellhop.protobuf.Environment.Output.OutputType type = 1 [default = INCOHERENT_PRESSURE, (.goby.field) = {
3594inline bool Environment_Output::_internal_has_type() const {
3595 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3596 return value;
3597}
3598inline bool Environment_Output::has_type() const {
3599 return _internal_has_type();
3600}
3601inline void Environment_Output::clear_type() {
3602 _impl_.type_ = 5;
3603 _impl_._has_bits_[0] &= ~0x00000001u;
3604}
3605inline ::netsim::bellhop::protobuf::Environment_Output_OutputType Environment_Output::_internal_type() const {
3606 return static_cast< ::netsim::bellhop::protobuf::Environment_Output_OutputType >(_impl_.type_);
3607}
3608inline ::netsim::bellhop::protobuf::Environment_Output_OutputType Environment_Output::type() const {
3609 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Output.type)
3610 return _internal_type();
3611}
3612inline void Environment_Output::_internal_set_type(::netsim::bellhop::protobuf::Environment_Output_OutputType value) {
3614 _impl_._has_bits_[0] |= 0x00000001u;
3615 _impl_.type_ = value;
3616}
3617inline void Environment_Output::set_type(::netsim::bellhop::protobuf::Environment_Output_OutputType value) {
3618 _internal_set_type(value);
3619 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Output.type)
3620}
3621
3622// -------------------------------------------------------------------
3623
3624// Environment_Medium_RCSample
3625
3626// optional double angle = 1 [(.goby.field) = {
3627inline bool Environment_Medium_RCSample::_internal_has_angle() const {
3628 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3629 return value;
3630}
3631inline bool Environment_Medium_RCSample::has_angle() const {
3632 return _internal_has_angle();
3633}
3634inline void Environment_Medium_RCSample::clear_angle() {
3635 _impl_.angle_ = 0;
3636 _impl_._has_bits_[0] &= ~0x00000001u;
3637}
3638inline double Environment_Medium_RCSample::_internal_angle() const {
3639 return _impl_.angle_;
3640}
3641inline double Environment_Medium_RCSample::angle() const {
3642 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.RCSample.angle)
3643 return _internal_angle();
3644}
3645inline void Environment_Medium_RCSample::_internal_set_angle(double value) {
3646 _impl_._has_bits_[0] |= 0x00000001u;
3647 _impl_.angle_ = value;
3648}
3649inline void Environment_Medium_RCSample::set_angle(double value) {
3650 _internal_set_angle(value);
3651 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.RCSample.angle)
3652}
3653
3654// optional double rc = 2 [(.goby.field) = {
3655inline bool Environment_Medium_RCSample::_internal_has_rc() const {
3656 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3657 return value;
3658}
3659inline bool Environment_Medium_RCSample::has_rc() const {
3660 return _internal_has_rc();
3661}
3662inline void Environment_Medium_RCSample::clear_rc() {
3663 _impl_.rc_ = 0;
3664 _impl_._has_bits_[0] &= ~0x00000002u;
3665}
3666inline double Environment_Medium_RCSample::_internal_rc() const {
3667 return _impl_.rc_;
3668}
3669inline double Environment_Medium_RCSample::rc() const {
3670 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.RCSample.rc)
3671 return _internal_rc();
3672}
3673inline void Environment_Medium_RCSample::_internal_set_rc(double value) {
3674 _impl_._has_bits_[0] |= 0x00000002u;
3675 _impl_.rc_ = value;
3676}
3677inline void Environment_Medium_RCSample::set_rc(double value) {
3678 _internal_set_rc(value);
3679 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.RCSample.rc)
3680}
3681
3682// optional double phase = 3 [(.goby.field) = {
3683inline bool Environment_Medium_RCSample::_internal_has_phase() const {
3684 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3685 return value;
3686}
3687inline bool Environment_Medium_RCSample::has_phase() const {
3688 return _internal_has_phase();
3689}
3690inline void Environment_Medium_RCSample::clear_phase() {
3691 _impl_.phase_ = 0;
3692 _impl_._has_bits_[0] &= ~0x00000004u;
3693}
3694inline double Environment_Medium_RCSample::_internal_phase() const {
3695 return _impl_.phase_;
3696}
3697inline double Environment_Medium_RCSample::phase() const {
3698 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.RCSample.phase)
3699 return _internal_phase();
3700}
3701inline void Environment_Medium_RCSample::_internal_set_phase(double value) {
3702 _impl_._has_bits_[0] |= 0x00000004u;
3703 _impl_.phase_ = value;
3704}
3705inline void Environment_Medium_RCSample::set_phase(double value) {
3706 _internal_set_phase(value);
3707 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.RCSample.phase)
3708}
3709
3710// -------------------------------------------------------------------
3711
3712// Environment_Medium_Attenuation
3713
3714// optional .netsim.bellhop.protobuf.Environment.Medium.Attenuation.Units units = 1 [(.goby.field) = {
3715inline bool Environment_Medium_Attenuation::_internal_has_units() const {
3716 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3717 return value;
3718}
3719inline bool Environment_Medium_Attenuation::has_units() const {
3720 return _internal_has_units();
3721}
3722inline void Environment_Medium_Attenuation::clear_units() {
3723 _impl_.units_ = 1;
3724 _impl_._has_bits_[0] &= ~0x00000002u;
3725}
3726inline ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units Environment_Medium_Attenuation::_internal_units() const {
3727 return static_cast< ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units >(_impl_.units_);
3728}
3729inline ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units Environment_Medium_Attenuation::units() const {
3730 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.Attenuation.units)
3731 return _internal_units();
3732}
3733inline void Environment_Medium_Attenuation::_internal_set_units(::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units value) {
3735 _impl_._has_bits_[0] |= 0x00000002u;
3736 _impl_.units_ = value;
3737}
3738inline void Environment_Medium_Attenuation::set_units(::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units value) {
3739 _internal_set_units(value);
3740 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.Attenuation.units)
3741}
3742
3743// optional double value = 2;
3744inline bool Environment_Medium_Attenuation::_internal_has_value() const {
3745 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3746 return value;
3747}
3748inline bool Environment_Medium_Attenuation::has_value() const {
3749 return _internal_has_value();
3750}
3751inline void Environment_Medium_Attenuation::clear_value() {
3752 _impl_.value_ = 0;
3753 _impl_._has_bits_[0] &= ~0x00000001u;
3754}
3755inline double Environment_Medium_Attenuation::_internal_value() const {
3756 return _impl_.value_;
3757}
3758inline double Environment_Medium_Attenuation::value() const {
3759 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.Attenuation.value)
3760 return _internal_value();
3761}
3762inline void Environment_Medium_Attenuation::_internal_set_value(double value) {
3763 _impl_._has_bits_[0] |= 0x00000001u;
3764 _impl_.value_ = value;
3765}
3766inline void Environment_Medium_Attenuation::set_value(double value) {
3767 _internal_set_value(value);
3768 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.Attenuation.value)
3769}
3770
3771// -------------------------------------------------------------------
3772
3773// Environment_Medium
3774
3775// optional .netsim.bellhop.protobuf.Environment.Medium.MediumType type = 1 [(.goby.field) = {
3776inline bool Environment_Medium::_internal_has_type() const {
3777 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
3778 return value;
3779}
3780inline bool Environment_Medium::has_type() const {
3781 return _internal_has_type();
3782}
3783inline void Environment_Medium::clear_type() {
3784 _impl_.type_ = 1;
3785 _impl_._has_bits_[0] &= ~0x00000020u;
3786}
3787inline ::netsim::bellhop::protobuf::Environment_Medium_MediumType Environment_Medium::_internal_type() const {
3788 return static_cast< ::netsim::bellhop::protobuf::Environment_Medium_MediumType >(_impl_.type_);
3789}
3790inline ::netsim::bellhop::protobuf::Environment_Medium_MediumType Environment_Medium::type() const {
3791 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.type)
3792 return _internal_type();
3793}
3794inline void Environment_Medium::_internal_set_type(::netsim::bellhop::protobuf::Environment_Medium_MediumType value) {
3796 _impl_._has_bits_[0] |= 0x00000020u;
3797 _impl_.type_ = value;
3798}
3799inline void Environment_Medium::set_type(::netsim::bellhop::protobuf::Environment_Medium_MediumType value) {
3800 _internal_set_type(value);
3801 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.type)
3802}
3803
3804// optional .netsim.bellhop.protobuf.Environment.Medium.Attenuation attenuation = 2 [(.goby.field) = {
3805inline bool Environment_Medium::_internal_has_attenuation() const {
3806 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3807 PROTOBUF_ASSUME(!value || _impl_.attenuation_ != nullptr);
3808 return value;
3809}
3810inline bool Environment_Medium::has_attenuation() const {
3811 return _internal_has_attenuation();
3812}
3813inline void Environment_Medium::clear_attenuation() {
3814 if (_impl_.attenuation_ != nullptr) _impl_.attenuation_->Clear();
3815 _impl_._has_bits_[0] &= ~0x00000001u;
3816}
3817inline const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& Environment_Medium::_internal_attenuation() const {
3818 const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* p = _impl_.attenuation_;
3819 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation&>(
3821}
3822inline const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& Environment_Medium::attenuation() const {
3823 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.attenuation)
3824 return _internal_attenuation();
3825}
3826inline void Environment_Medium::unsafe_arena_set_allocated_attenuation(
3828 if (GetArenaForAllocation() == nullptr) {
3829 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attenuation_);
3830 }
3831 _impl_.attenuation_ = attenuation;
3832 if (attenuation) {
3833 _impl_._has_bits_[0] |= 0x00000001u;
3834 } else {
3835 _impl_._has_bits_[0] &= ~0x00000001u;
3836 }
3837 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Medium.attenuation)
3838}
3839inline ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* Environment_Medium::release_attenuation() {
3840 _impl_._has_bits_[0] &= ~0x00000001u;
3842 _impl_.attenuation_ = nullptr;
3843#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3844 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3845 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3846 if (GetArenaForAllocation() == nullptr) { delete old; }
3847#else // PROTOBUF_FORCE_COPY_IN_RELEASE
3848 if (GetArenaForAllocation() != nullptr) {
3849 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3850 }
3851#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
3852 return temp;
3853}
3854inline ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* Environment_Medium::unsafe_arena_release_attenuation() {
3855 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Medium.attenuation)
3856 _impl_._has_bits_[0] &= ~0x00000001u;
3858 _impl_.attenuation_ = nullptr;
3859 return temp;
3860}
3861inline ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* Environment_Medium::_internal_mutable_attenuation() {
3862 _impl_._has_bits_[0] |= 0x00000001u;
3863 if (_impl_.attenuation_ == nullptr) {
3865 _impl_.attenuation_ = p;
3866 }
3867 return _impl_.attenuation_;
3868}
3869inline ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* Environment_Medium::mutable_attenuation() {
3870 ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* _msg = _internal_mutable_attenuation();
3871 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Medium.attenuation)
3872 return _msg;
3873}
3874inline void Environment_Medium::set_allocated_attenuation(::netsim::bellhop::protobuf::Environment_Medium_Attenuation* attenuation) {
3875 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3876 if (message_arena == nullptr) {
3877 delete _impl_.attenuation_;
3878 }
3879 if (attenuation) {
3880 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3881 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attenuation);
3882 if (message_arena != submessage_arena) {
3883 attenuation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3884 message_arena, attenuation, submessage_arena);
3885 }
3886 _impl_._has_bits_[0] |= 0x00000001u;
3887 } else {
3888 _impl_._has_bits_[0] &= ~0x00000001u;
3889 }
3890 _impl_.attenuation_ = attenuation;
3891 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Medium.attenuation)
3892}
3893
3894// optional double cp = 3 [(.goby.field) = {
3895inline bool Environment_Medium::_internal_has_cp() const {
3896 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3897 return value;
3898}
3899inline bool Environment_Medium::has_cp() const {
3900 return _internal_has_cp();
3901}
3902inline void Environment_Medium::clear_cp() {
3903 _impl_.cp_ = 0;
3904 _impl_._has_bits_[0] &= ~0x00000002u;
3905}
3906inline double Environment_Medium::_internal_cp() const {
3907 return _impl_.cp_;
3908}
3909inline double Environment_Medium::cp() const {
3910 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.cp)
3911 return _internal_cp();
3912}
3913inline void Environment_Medium::_internal_set_cp(double value) {
3914 _impl_._has_bits_[0] |= 0x00000002u;
3915 _impl_.cp_ = value;
3916}
3917inline void Environment_Medium::set_cp(double value) {
3918 _internal_set_cp(value);
3919 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.cp)
3920}
3921
3922// optional double cs = 4 [(.goby.field) = {
3923inline bool Environment_Medium::_internal_has_cs() const {
3924 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3925 return value;
3926}
3927inline bool Environment_Medium::has_cs() const {
3928 return _internal_has_cs();
3929}
3930inline void Environment_Medium::clear_cs() {
3931 _impl_.cs_ = 0;
3932 _impl_._has_bits_[0] &= ~0x00000004u;
3933}
3934inline double Environment_Medium::_internal_cs() const {
3935 return _impl_.cs_;
3936}
3937inline double Environment_Medium::cs() const {
3938 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.cs)
3939 return _internal_cs();
3940}
3941inline void Environment_Medium::_internal_set_cs(double value) {
3942 _impl_._has_bits_[0] |= 0x00000004u;
3943 _impl_.cs_ = value;
3944}
3945inline void Environment_Medium::set_cs(double value) {
3946 _internal_set_cs(value);
3947 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.cs)
3948}
3949
3950// optional double density = 5 [(.goby.field) = {
3951inline bool Environment_Medium::_internal_has_density() const {
3952 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3953 return value;
3954}
3955inline bool Environment_Medium::has_density() const {
3956 return _internal_has_density();
3957}
3958inline void Environment_Medium::clear_density() {
3959 _impl_.density_ = 0;
3960 _impl_._has_bits_[0] &= ~0x00000008u;
3961}
3962inline double Environment_Medium::_internal_density() const {
3963 return _impl_.density_;
3964}
3965inline double Environment_Medium::density() const {
3966 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.density)
3967 return _internal_density();
3968}
3969inline void Environment_Medium::_internal_set_density(double value) {
3970 _impl_._has_bits_[0] |= 0x00000008u;
3971 _impl_.density_ = value;
3972}
3973inline void Environment_Medium::set_density(double value) {
3974 _internal_set_density(value);
3975 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.density)
3976}
3977
3978// optional double depth = 6 [(.goby.field) = {
3979inline bool Environment_Medium::_internal_has_depth() const {
3980 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3981 return value;
3982}
3983inline bool Environment_Medium::has_depth() const {
3984 return _internal_has_depth();
3985}
3986inline void Environment_Medium::clear_depth() {
3987 _impl_.depth_ = 0;
3988 _impl_._has_bits_[0] &= ~0x00000010u;
3989}
3990inline double Environment_Medium::_internal_depth() const {
3991 return _impl_.depth_;
3992}
3993inline double Environment_Medium::depth() const {
3994 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.depth)
3995 return _internal_depth();
3996}
3997inline void Environment_Medium::_internal_set_depth(double value) {
3998 _impl_._has_bits_[0] |= 0x00000010u;
3999 _impl_.depth_ = value;
4000}
4001inline void Environment_Medium::set_depth(double value) {
4002 _internal_set_depth(value);
4003 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Medium.depth)
4004}
4005
4006// repeated .netsim.bellhop.protobuf.Environment.Medium.RCSample rc_sample = 7 [(.goby.field) = {
4007inline int Environment_Medium::_internal_rc_sample_size() const {
4008 return _impl_.rc_sample_.size();
4009}
4010inline int Environment_Medium::rc_sample_size() const {
4011 return _internal_rc_sample_size();
4012}
4013inline void Environment_Medium::clear_rc_sample() {
4014 _impl_.rc_sample_.Clear();
4015}
4016inline ::netsim::bellhop::protobuf::Environment_Medium_RCSample* Environment_Medium::mutable_rc_sample(int index) {
4017 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Medium.rc_sample)
4018 return _impl_.rc_sample_.Mutable(index);
4019}
4020inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >*
4021Environment_Medium::mutable_rc_sample() {
4022 // @@protoc_insertion_point(field_mutable_list:netsim.bellhop.protobuf.Environment.Medium.rc_sample)
4023 return &_impl_.rc_sample_;
4024}
4025inline const ::netsim::bellhop::protobuf::Environment_Medium_RCSample& Environment_Medium::_internal_rc_sample(int index) const {
4026 return _impl_.rc_sample_.Get(index);
4027}
4028inline const ::netsim::bellhop::protobuf::Environment_Medium_RCSample& Environment_Medium::rc_sample(int index) const {
4029 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Medium.rc_sample)
4030 return _internal_rc_sample(index);
4031}
4032inline ::netsim::bellhop::protobuf::Environment_Medium_RCSample* Environment_Medium::_internal_add_rc_sample() {
4033 return _impl_.rc_sample_.Add();
4034}
4035inline ::netsim::bellhop::protobuf::Environment_Medium_RCSample* Environment_Medium::add_rc_sample() {
4036 ::netsim::bellhop::protobuf::Environment_Medium_RCSample* _add = _internal_add_rc_sample();
4037 // @@protoc_insertion_point(field_add:netsim.bellhop.protobuf.Environment.Medium.rc_sample)
4038 return _add;
4039}
4040inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >&
4041Environment_Medium::rc_sample() const {
4042 // @@protoc_insertion_point(field_list:netsim.bellhop.protobuf.Environment.Medium.rc_sample)
4043 return _impl_.rc_sample_;
4044}
4045
4046// -------------------------------------------------------------------
4047
4048// Environment_Surface
4049
4050// optional .netsim.bellhop.protobuf.Environment.Medium medium = 1;
4051inline bool Environment_Surface::_internal_has_medium() const {
4052 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4053 PROTOBUF_ASSUME(!value || _impl_.medium_ != nullptr);
4054 return value;
4055}
4056inline bool Environment_Surface::has_medium() const {
4057 return _internal_has_medium();
4058}
4059inline void Environment_Surface::clear_medium() {
4060 if (_impl_.medium_ != nullptr) _impl_.medium_->Clear();
4061 _impl_._has_bits_[0] &= ~0x00000001u;
4062}
4063inline const ::netsim::bellhop::protobuf::Environment_Medium& Environment_Surface::_internal_medium() const {
4064 const ::netsim::bellhop::protobuf::Environment_Medium* p = _impl_.medium_;
4065 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Medium&>(
4067}
4068inline const ::netsim::bellhop::protobuf::Environment_Medium& Environment_Surface::medium() const {
4069 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Surface.medium)
4070 return _internal_medium();
4071}
4072inline void Environment_Surface::unsafe_arena_set_allocated_medium(
4074 if (GetArenaForAllocation() == nullptr) {
4075 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.medium_);
4076 }
4077 _impl_.medium_ = medium;
4078 if (medium) {
4079 _impl_._has_bits_[0] |= 0x00000001u;
4080 } else {
4081 _impl_._has_bits_[0] &= ~0x00000001u;
4082 }
4083 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Surface.medium)
4084}
4085inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Surface::release_medium() {
4086 _impl_._has_bits_[0] &= ~0x00000001u;
4088 _impl_.medium_ = nullptr;
4089#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4090 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4091 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4092 if (GetArenaForAllocation() == nullptr) { delete old; }
4093#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4094 if (GetArenaForAllocation() != nullptr) {
4095 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4096 }
4097#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4098 return temp;
4099}
4100inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Surface::unsafe_arena_release_medium() {
4101 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Surface.medium)
4102 _impl_._has_bits_[0] &= ~0x00000001u;
4104 _impl_.medium_ = nullptr;
4105 return temp;
4106}
4107inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Surface::_internal_mutable_medium() {
4108 _impl_._has_bits_[0] |= 0x00000001u;
4109 if (_impl_.medium_ == nullptr) {
4111 _impl_.medium_ = p;
4112 }
4113 return _impl_.medium_;
4114}
4115inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Surface::mutable_medium() {
4116 ::netsim::bellhop::protobuf::Environment_Medium* _msg = _internal_mutable_medium();
4117 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Surface.medium)
4118 return _msg;
4119}
4120inline void Environment_Surface::set_allocated_medium(::netsim::bellhop::protobuf::Environment_Medium* medium) {
4121 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4122 if (message_arena == nullptr) {
4123 delete _impl_.medium_;
4124 }
4125 if (medium) {
4126 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4127 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(medium);
4128 if (message_arena != submessage_arena) {
4129 medium = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4130 message_arena, medium, submessage_arena);
4131 }
4132 _impl_._has_bits_[0] |= 0x00000001u;
4133 } else {
4134 _impl_._has_bits_[0] &= ~0x00000001u;
4135 }
4136 _impl_.medium_ = medium;
4137 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Surface.medium)
4138}
4139
4140// -------------------------------------------------------------------
4141
4142// Environment_WaterColumn_SSPSample
4143
4144// optional double depth = 1 [(.goby.field) = {
4145inline bool Environment_WaterColumn_SSPSample::_internal_has_depth() const {
4146 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4147 return value;
4148}
4149inline bool Environment_WaterColumn_SSPSample::has_depth() const {
4150 return _internal_has_depth();
4151}
4152inline void Environment_WaterColumn_SSPSample::clear_depth() {
4153 _impl_.depth_ = 0;
4154 _impl_._has_bits_[0] &= ~0x00000001u;
4155}
4156inline double Environment_WaterColumn_SSPSample::_internal_depth() const {
4157 return _impl_.depth_;
4158}
4159inline double Environment_WaterColumn_SSPSample::depth() const {
4160 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.depth)
4161 return _internal_depth();
4162}
4163inline void Environment_WaterColumn_SSPSample::_internal_set_depth(double value) {
4164 _impl_._has_bits_[0] |= 0x00000001u;
4165 _impl_.depth_ = value;
4166}
4167inline void Environment_WaterColumn_SSPSample::set_depth(double value) {
4168 _internal_set_depth(value);
4169 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.depth)
4170}
4171
4172// optional double cp = 2 [(.goby.field) = {
4173inline bool Environment_WaterColumn_SSPSample::_internal_has_cp() const {
4174 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4175 return value;
4176}
4177inline bool Environment_WaterColumn_SSPSample::has_cp() const {
4178 return _internal_has_cp();
4179}
4180inline void Environment_WaterColumn_SSPSample::clear_cp() {
4181 _impl_.cp_ = 0;
4182 _impl_._has_bits_[0] &= ~0x00000002u;
4183}
4184inline double Environment_WaterColumn_SSPSample::_internal_cp() const {
4185 return _impl_.cp_;
4186}
4187inline double Environment_WaterColumn_SSPSample::cp() const {
4188 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.cp)
4189 return _internal_cp();
4190}
4191inline void Environment_WaterColumn_SSPSample::_internal_set_cp(double value) {
4192 _impl_._has_bits_[0] |= 0x00000002u;
4193 _impl_.cp_ = value;
4194}
4195inline void Environment_WaterColumn_SSPSample::set_cp(double value) {
4196 _internal_set_cp(value);
4197 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.cp)
4198}
4199
4200// repeated double eof = 3 [(.goby.field) = {
4201inline int Environment_WaterColumn_SSPSample::_internal_eof_size() const {
4202 return _impl_.eof_.size();
4203}
4204inline int Environment_WaterColumn_SSPSample::eof_size() const {
4205 return _internal_eof_size();
4206}
4207inline void Environment_WaterColumn_SSPSample::clear_eof() {
4208 _impl_.eof_.Clear();
4209}
4210inline double Environment_WaterColumn_SSPSample::_internal_eof(int index) const {
4211 return _impl_.eof_.Get(index);
4212}
4213inline double Environment_WaterColumn_SSPSample::eof(int index) const {
4214 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.eof)
4215 return _internal_eof(index);
4216}
4217inline void Environment_WaterColumn_SSPSample::set_eof(int index, double value) {
4218 _impl_.eof_.Set(index, value);
4219 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.eof)
4220}
4221inline void Environment_WaterColumn_SSPSample::_internal_add_eof(double value) {
4222 _impl_.eof_.Add(value);
4223}
4224inline void Environment_WaterColumn_SSPSample::add_eof(double value) {
4225 _internal_add_eof(value);
4226 // @@protoc_insertion_point(field_add:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.eof)
4227}
4228inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
4229Environment_WaterColumn_SSPSample::_internal_eof() const {
4230 return _impl_.eof_;
4231}
4232inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
4233Environment_WaterColumn_SSPSample::eof() const {
4234 // @@protoc_insertion_point(field_list:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.eof)
4235 return _internal_eof();
4236}
4237inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
4238Environment_WaterColumn_SSPSample::_internal_mutable_eof() {
4239 return &_impl_.eof_;
4240}
4241inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
4242Environment_WaterColumn_SSPSample::mutable_eof() {
4243 // @@protoc_insertion_point(field_mutable_list:netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample.eof)
4244 return _internal_mutable_eof();
4245}
4246
4247// -------------------------------------------------------------------
4248
4249// Environment_WaterColumn
4250
4251// optional .netsim.bellhop.protobuf.Environment.WaterColumn.SSPInterpolation interpolation_type = 1 [default = CUBIC_SPLINE, (.goby.field) = {
4252inline bool Environment_WaterColumn::_internal_has_interpolation_type() const {
4253 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4254 return value;
4255}
4256inline bool Environment_WaterColumn::has_interpolation_type() const {
4257 return _internal_has_interpolation_type();
4258}
4259inline void Environment_WaterColumn::clear_interpolation_type() {
4260 _impl_.interpolation_type_ = 1;
4261 _impl_._has_bits_[0] &= ~0x00000004u;
4262}
4263inline ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation Environment_WaterColumn::_internal_interpolation_type() const {
4264 return static_cast< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation >(_impl_.interpolation_type_);
4265}
4266inline ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation Environment_WaterColumn::interpolation_type() const {
4267 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.interpolation_type)
4268 return _internal_interpolation_type();
4269}
4270inline void Environment_WaterColumn::_internal_set_interpolation_type(::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation value) {
4272 _impl_._has_bits_[0] |= 0x00000004u;
4273 _impl_.interpolation_type_ = value;
4274}
4275inline void Environment_WaterColumn::set_interpolation_type(::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation value) {
4276 _internal_set_interpolation_type(value);
4277 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.interpolation_type)
4278}
4279
4280// repeated double eof_coef = 2 [(.goby.field) = {
4281inline int Environment_WaterColumn::_internal_eof_coef_size() const {
4282 return _impl_.eof_coef_.size();
4283}
4284inline int Environment_WaterColumn::eof_coef_size() const {
4285 return _internal_eof_coef_size();
4286}
4287inline void Environment_WaterColumn::clear_eof_coef() {
4288 _impl_.eof_coef_.Clear();
4289}
4290inline double Environment_WaterColumn::_internal_eof_coef(int index) const {
4291 return _impl_.eof_coef_.Get(index);
4292}
4293inline double Environment_WaterColumn::eof_coef(int index) const {
4294 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.eof_coef)
4295 return _internal_eof_coef(index);
4296}
4297inline void Environment_WaterColumn::set_eof_coef(int index, double value) {
4298 _impl_.eof_coef_.Set(index, value);
4299 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.eof_coef)
4300}
4301inline void Environment_WaterColumn::_internal_add_eof_coef(double value) {
4302 _impl_.eof_coef_.Add(value);
4303}
4304inline void Environment_WaterColumn::add_eof_coef(double value) {
4305 _internal_add_eof_coef(value);
4306 // @@protoc_insertion_point(field_add:netsim.bellhop.protobuf.Environment.WaterColumn.eof_coef)
4307}
4308inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
4309Environment_WaterColumn::_internal_eof_coef() const {
4310 return _impl_.eof_coef_;
4311}
4312inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
4313Environment_WaterColumn::eof_coef() const {
4314 // @@protoc_insertion_point(field_list:netsim.bellhop.protobuf.Environment.WaterColumn.eof_coef)
4315 return _internal_eof_coef();
4316}
4317inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
4318Environment_WaterColumn::_internal_mutable_eof_coef() {
4319 return &_impl_.eof_coef_;
4320}
4321inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
4322Environment_WaterColumn::mutable_eof_coef() {
4323 // @@protoc_insertion_point(field_mutable_list:netsim.bellhop.protobuf.Environment.WaterColumn.eof_coef)
4324 return _internal_mutable_eof_coef();
4325}
4326
4327// optional bool use_attenuation = 3 [default = true, (.goby.field) = {
4328inline bool Environment_WaterColumn::_internal_has_use_attenuation() const {
4329 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4330 return value;
4331}
4332inline bool Environment_WaterColumn::has_use_attenuation() const {
4333 return _internal_has_use_attenuation();
4334}
4335inline void Environment_WaterColumn::clear_use_attenuation() {
4336 _impl_.use_attenuation_ = true;
4337 _impl_._has_bits_[0] &= ~0x00000008u;
4338}
4339inline bool Environment_WaterColumn::_internal_use_attenuation() const {
4340 return _impl_.use_attenuation_;
4341}
4342inline bool Environment_WaterColumn::use_attenuation() const {
4343 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.use_attenuation)
4344 return _internal_use_attenuation();
4345}
4346inline void Environment_WaterColumn::_internal_set_use_attenuation(bool value) {
4347 _impl_._has_bits_[0] |= 0x00000008u;
4348 _impl_.use_attenuation_ = value;
4349}
4350inline void Environment_WaterColumn::set_use_attenuation(bool value) {
4351 _internal_set_use_attenuation(value);
4352 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.use_attenuation)
4353}
4354
4355// repeated .netsim.bellhop.protobuf.Environment.WaterColumn.SSPSample sample = 4;
4356inline int Environment_WaterColumn::_internal_sample_size() const {
4357 return _impl_.sample_.size();
4358}
4359inline int Environment_WaterColumn::sample_size() const {
4360 return _internal_sample_size();
4361}
4362inline void Environment_WaterColumn::clear_sample() {
4363 _impl_.sample_.Clear();
4364}
4365inline ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample* Environment_WaterColumn::mutable_sample(int index) {
4366 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.WaterColumn.sample)
4367 return _impl_.sample_.Mutable(index);
4368}
4369inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >*
4370Environment_WaterColumn::mutable_sample() {
4371 // @@protoc_insertion_point(field_mutable_list:netsim.bellhop.protobuf.Environment.WaterColumn.sample)
4372 return &_impl_.sample_;
4373}
4374inline const ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample& Environment_WaterColumn::_internal_sample(int index) const {
4375 return _impl_.sample_.Get(index);
4376}
4377inline const ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample& Environment_WaterColumn::sample(int index) const {
4378 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.sample)
4379 return _internal_sample(index);
4380}
4381inline ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample* Environment_WaterColumn::_internal_add_sample() {
4382 return _impl_.sample_.Add();
4383}
4384inline ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample* Environment_WaterColumn::add_sample() {
4386 // @@protoc_insertion_point(field_add:netsim.bellhop.protobuf.Environment.WaterColumn.sample)
4387 return _add;
4388}
4389inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >&
4390Environment_WaterColumn::sample() const {
4391 // @@protoc_insertion_point(field_list:netsim.bellhop.protobuf.Environment.WaterColumn.sample)
4392 return _impl_.sample_;
4393}
4394
4395// optional double range = 5 [default = 0, (.goby.field) = {
4396inline bool Environment_WaterColumn::_internal_has_range() const {
4397 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4398 return value;
4399}
4400inline bool Environment_WaterColumn::has_range() const {
4401 return _internal_has_range();
4402}
4403inline void Environment_WaterColumn::clear_range() {
4404 _impl_.range_ = 0;
4405 _impl_._has_bits_[0] &= ~0x00000001u;
4406}
4407inline double Environment_WaterColumn::_internal_range() const {
4408 return _impl_.range_;
4409}
4410inline double Environment_WaterColumn::range() const {
4411 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.range)
4412 return _internal_range();
4413}
4414inline void Environment_WaterColumn::_internal_set_range(double value) {
4415 _impl_._has_bits_[0] |= 0x00000001u;
4416 _impl_.range_ = value;
4417}
4418inline void Environment_WaterColumn::set_range(double value) {
4419 _internal_set_range(value);
4420 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.range)
4421}
4422
4423// optional double bathymetry = 6 [default = 0, (.goby.field) = {
4424inline bool Environment_WaterColumn::_internal_has_bathymetry() const {
4425 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4426 return value;
4427}
4428inline bool Environment_WaterColumn::has_bathymetry() const {
4429 return _internal_has_bathymetry();
4430}
4431inline void Environment_WaterColumn::clear_bathymetry() {
4432 _impl_.bathymetry_ = 0;
4433 _impl_._has_bits_[0] &= ~0x00000002u;
4434}
4435inline double Environment_WaterColumn::_internal_bathymetry() const {
4436 return _impl_.bathymetry_;
4437}
4438inline double Environment_WaterColumn::bathymetry() const {
4439 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.WaterColumn.bathymetry)
4440 return _internal_bathymetry();
4441}
4442inline void Environment_WaterColumn::_internal_set_bathymetry(double value) {
4443 _impl_._has_bits_[0] |= 0x00000002u;
4444 _impl_.bathymetry_ = value;
4445}
4446inline void Environment_WaterColumn::set_bathymetry(double value) {
4447 _internal_set_bathymetry(value);
4448 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.WaterColumn.bathymetry)
4449}
4450
4451// -------------------------------------------------------------------
4452
4453// Environment_Bottom
4454
4455// optional .netsim.bellhop.protobuf.Environment.Medium medium = 1;
4456inline bool Environment_Bottom::_internal_has_medium() const {
4457 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4458 PROTOBUF_ASSUME(!value || _impl_.medium_ != nullptr);
4459 return value;
4460}
4461inline bool Environment_Bottom::has_medium() const {
4462 return _internal_has_medium();
4463}
4464inline void Environment_Bottom::clear_medium() {
4465 if (_impl_.medium_ != nullptr) _impl_.medium_->Clear();
4466 _impl_._has_bits_[0] &= ~0x00000001u;
4467}
4468inline const ::netsim::bellhop::protobuf::Environment_Medium& Environment_Bottom::_internal_medium() const {
4469 const ::netsim::bellhop::protobuf::Environment_Medium* p = _impl_.medium_;
4470 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Medium&>(
4472}
4473inline const ::netsim::bellhop::protobuf::Environment_Medium& Environment_Bottom::medium() const {
4474 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Bottom.medium)
4475 return _internal_medium();
4476}
4477inline void Environment_Bottom::unsafe_arena_set_allocated_medium(
4479 if (GetArenaForAllocation() == nullptr) {
4480 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.medium_);
4481 }
4482 _impl_.medium_ = medium;
4483 if (medium) {
4484 _impl_._has_bits_[0] |= 0x00000001u;
4485 } else {
4486 _impl_._has_bits_[0] &= ~0x00000001u;
4487 }
4488 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Bottom.medium)
4489}
4490inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Bottom::release_medium() {
4491 _impl_._has_bits_[0] &= ~0x00000001u;
4493 _impl_.medium_ = nullptr;
4494#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4495 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4496 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4497 if (GetArenaForAllocation() == nullptr) { delete old; }
4498#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4499 if (GetArenaForAllocation() != nullptr) {
4500 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4501 }
4502#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4503 return temp;
4504}
4505inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Bottom::unsafe_arena_release_medium() {
4506 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Bottom.medium)
4507 _impl_._has_bits_[0] &= ~0x00000001u;
4509 _impl_.medium_ = nullptr;
4510 return temp;
4511}
4512inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Bottom::_internal_mutable_medium() {
4513 _impl_._has_bits_[0] |= 0x00000001u;
4514 if (_impl_.medium_ == nullptr) {
4516 _impl_.medium_ = p;
4517 }
4518 return _impl_.medium_;
4519}
4520inline ::netsim::bellhop::protobuf::Environment_Medium* Environment_Bottom::mutable_medium() {
4521 ::netsim::bellhop::protobuf::Environment_Medium* _msg = _internal_mutable_medium();
4522 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Bottom.medium)
4523 return _msg;
4524}
4525inline void Environment_Bottom::set_allocated_medium(::netsim::bellhop::protobuf::Environment_Medium* medium) {
4526 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4527 if (message_arena == nullptr) {
4528 delete _impl_.medium_;
4529 }
4530 if (medium) {
4531 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4532 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(medium);
4533 if (message_arena != submessage_arena) {
4534 medium = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4535 message_arena, medium, submessage_arena);
4536 }
4537 _impl_._has_bits_[0] |= 0x00000001u;
4538 } else {
4539 _impl_._has_bits_[0] &= ~0x00000001u;
4540 }
4541 _impl_.medium_ = medium;
4542 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Bottom.medium)
4543}
4544
4545// -------------------------------------------------------------------
4546
4547// Environment_Sources_SourcePosition
4548
4549// optional double depth = 1;
4550inline bool Environment_Sources_SourcePosition::_internal_has_depth() const {
4551 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4552 return value;
4553}
4554inline bool Environment_Sources_SourcePosition::has_depth() const {
4555 return _internal_has_depth();
4556}
4557inline void Environment_Sources_SourcePosition::clear_depth() {
4558 _impl_.depth_ = 0;
4559 _impl_._has_bits_[0] &= ~0x00000001u;
4560}
4561inline double Environment_Sources_SourcePosition::_internal_depth() const {
4562 return _impl_.depth_;
4563}
4564inline double Environment_Sources_SourcePosition::depth() const {
4565 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Sources.SourcePosition.depth)
4566 return _internal_depth();
4567}
4568inline void Environment_Sources_SourcePosition::_internal_set_depth(double value) {
4569 _impl_._has_bits_[0] |= 0x00000001u;
4570 _impl_.depth_ = value;
4571}
4572inline void Environment_Sources_SourcePosition::set_depth(double value) {
4573 _internal_set_depth(value);
4574 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Sources.SourcePosition.depth)
4575}
4576
4577// -------------------------------------------------------------------
4578
4579// Environment_Sources
4580
4581// optional uint32 number_in_depth = 1 [(.goby.field) = {
4582inline bool Environment_Sources::_internal_has_number_in_depth() const {
4583 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4584 return value;
4585}
4586inline bool Environment_Sources::has_number_in_depth() const {
4587 return _internal_has_number_in_depth();
4588}
4589inline void Environment_Sources::clear_number_in_depth() {
4590 _impl_.number_in_depth_ = 0u;
4591 _impl_._has_bits_[0] &= ~0x00000004u;
4592}
4593inline uint32_t Environment_Sources::_internal_number_in_depth() const {
4594 return _impl_.number_in_depth_;
4595}
4596inline uint32_t Environment_Sources::number_in_depth() const {
4597 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Sources.number_in_depth)
4598 return _internal_number_in_depth();
4599}
4600inline void Environment_Sources::_internal_set_number_in_depth(uint32_t value) {
4601 _impl_._has_bits_[0] |= 0x00000004u;
4602 _impl_.number_in_depth_ = value;
4603}
4604inline void Environment_Sources::set_number_in_depth(uint32_t value) {
4605 _internal_set_number_in_depth(value);
4606 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Sources.number_in_depth)
4607}
4608
4609// optional .netsim.bellhop.protobuf.Environment.Sources.SourcePosition first = 2 [(.goby.field) = {
4610inline bool Environment_Sources::_internal_has_first() const {
4611 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4612 PROTOBUF_ASSUME(!value || _impl_.first_ != nullptr);
4613 return value;
4614}
4615inline bool Environment_Sources::has_first() const {
4616 return _internal_has_first();
4617}
4618inline void Environment_Sources::clear_first() {
4619 if (_impl_.first_ != nullptr) _impl_.first_->Clear();
4620 _impl_._has_bits_[0] &= ~0x00000001u;
4621}
4622inline const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& Environment_Sources::_internal_first() const {
4623 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* p = _impl_.first_;
4624 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition&>(
4626}
4627inline const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& Environment_Sources::first() const {
4628 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Sources.first)
4629 return _internal_first();
4630}
4631inline void Environment_Sources::unsafe_arena_set_allocated_first(
4633 if (GetArenaForAllocation() == nullptr) {
4634 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.first_);
4635 }
4636 _impl_.first_ = first;
4637 if (first) {
4638 _impl_._has_bits_[0] |= 0x00000001u;
4639 } else {
4640 _impl_._has_bits_[0] &= ~0x00000001u;
4641 }
4642 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Sources.first)
4643}
4644inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::release_first() {
4645 _impl_._has_bits_[0] &= ~0x00000001u;
4647 _impl_.first_ = nullptr;
4648#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4649 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4650 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4651 if (GetArenaForAllocation() == nullptr) { delete old; }
4652#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4653 if (GetArenaForAllocation() != nullptr) {
4654 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4655 }
4656#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4657 return temp;
4658}
4659inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::unsafe_arena_release_first() {
4660 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Sources.first)
4661 _impl_._has_bits_[0] &= ~0x00000001u;
4663 _impl_.first_ = nullptr;
4664 return temp;
4665}
4666inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::_internal_mutable_first() {
4667 _impl_._has_bits_[0] |= 0x00000001u;
4668 if (_impl_.first_ == nullptr) {
4670 _impl_.first_ = p;
4671 }
4672 return _impl_.first_;
4673}
4674inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::mutable_first() {
4676 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Sources.first)
4677 return _msg;
4678}
4679inline void Environment_Sources::set_allocated_first(::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* first) {
4680 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4681 if (message_arena == nullptr) {
4682 delete _impl_.first_;
4683 }
4684 if (first) {
4685 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4686 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(first);
4687 if (message_arena != submessage_arena) {
4688 first = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4689 message_arena, first, submessage_arena);
4690 }
4691 _impl_._has_bits_[0] |= 0x00000001u;
4692 } else {
4693 _impl_._has_bits_[0] &= ~0x00000001u;
4694 }
4695 _impl_.first_ = first;
4696 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Sources.first)
4697}
4698
4699// optional .netsim.bellhop.protobuf.Environment.Sources.SourcePosition last = 3 [(.goby.field) = {
4700inline bool Environment_Sources::_internal_has_last() const {
4701 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4702 PROTOBUF_ASSUME(!value || _impl_.last_ != nullptr);
4703 return value;
4704}
4705inline bool Environment_Sources::has_last() const {
4706 return _internal_has_last();
4707}
4708inline void Environment_Sources::clear_last() {
4709 if (_impl_.last_ != nullptr) _impl_.last_->Clear();
4710 _impl_._has_bits_[0] &= ~0x00000002u;
4711}
4712inline const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& Environment_Sources::_internal_last() const {
4713 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* p = _impl_.last_;
4714 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition&>(
4716}
4717inline const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& Environment_Sources::last() const {
4718 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Sources.last)
4719 return _internal_last();
4720}
4721inline void Environment_Sources::unsafe_arena_set_allocated_last(
4723 if (GetArenaForAllocation() == nullptr) {
4724 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.last_);
4725 }
4726 _impl_.last_ = last;
4727 if (last) {
4728 _impl_._has_bits_[0] |= 0x00000002u;
4729 } else {
4730 _impl_._has_bits_[0] &= ~0x00000002u;
4731 }
4732 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Sources.last)
4733}
4734inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::release_last() {
4735 _impl_._has_bits_[0] &= ~0x00000002u;
4737 _impl_.last_ = nullptr;
4738#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4739 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4740 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4741 if (GetArenaForAllocation() == nullptr) { delete old; }
4742#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4743 if (GetArenaForAllocation() != nullptr) {
4744 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4745 }
4746#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4747 return temp;
4748}
4749inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::unsafe_arena_release_last() {
4750 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Sources.last)
4751 _impl_._has_bits_[0] &= ~0x00000002u;
4753 _impl_.last_ = nullptr;
4754 return temp;
4755}
4756inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::_internal_mutable_last() {
4757 _impl_._has_bits_[0] |= 0x00000002u;
4758 if (_impl_.last_ == nullptr) {
4760 _impl_.last_ = p;
4761 }
4762 return _impl_.last_;
4763}
4764inline ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* Environment_Sources::mutable_last() {
4766 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Sources.last)
4767 return _msg;
4768}
4769inline void Environment_Sources::set_allocated_last(::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* last) {
4770 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4771 if (message_arena == nullptr) {
4772 delete _impl_.last_;
4773 }
4774 if (last) {
4775 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4776 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(last);
4777 if (message_arena != submessage_arena) {
4778 last = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4779 message_arena, last, submessage_arena);
4780 }
4781 _impl_._has_bits_[0] |= 0x00000002u;
4782 } else {
4783 _impl_._has_bits_[0] &= ~0x00000002u;
4784 }
4785 _impl_.last_ = last;
4786 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Sources.last)
4787}
4788
4789// -------------------------------------------------------------------
4790
4791// Environment_Receivers_ReceiverPosition
4792
4793// optional double depth = 1;
4794inline bool Environment_Receivers_ReceiverPosition::_internal_has_depth() const {
4795 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4796 return value;
4797}
4798inline bool Environment_Receivers_ReceiverPosition::has_depth() const {
4799 return _internal_has_depth();
4800}
4801inline void Environment_Receivers_ReceiverPosition::clear_depth() {
4802 _impl_.depth_ = 0;
4803 _impl_._has_bits_[0] &= ~0x00000001u;
4804}
4805inline double Environment_Receivers_ReceiverPosition::_internal_depth() const {
4806 return _impl_.depth_;
4807}
4808inline double Environment_Receivers_ReceiverPosition::depth() const {
4809 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition.depth)
4810 return _internal_depth();
4811}
4812inline void Environment_Receivers_ReceiverPosition::_internal_set_depth(double value) {
4813 _impl_._has_bits_[0] |= 0x00000001u;
4814 _impl_.depth_ = value;
4815}
4816inline void Environment_Receivers_ReceiverPosition::set_depth(double value) {
4817 _internal_set_depth(value);
4818 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition.depth)
4819}
4820
4821// optional double range = 2;
4822inline bool Environment_Receivers_ReceiverPosition::_internal_has_range() const {
4823 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4824 return value;
4825}
4826inline bool Environment_Receivers_ReceiverPosition::has_range() const {
4827 return _internal_has_range();
4828}
4829inline void Environment_Receivers_ReceiverPosition::clear_range() {
4830 _impl_.range_ = 0;
4831 _impl_._has_bits_[0] &= ~0x00000002u;
4832}
4833inline double Environment_Receivers_ReceiverPosition::_internal_range() const {
4834 return _impl_.range_;
4835}
4836inline double Environment_Receivers_ReceiverPosition::range() const {
4837 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition.range)
4838 return _internal_range();
4839}
4840inline void Environment_Receivers_ReceiverPosition::_internal_set_range(double value) {
4841 _impl_._has_bits_[0] |= 0x00000002u;
4842 _impl_.range_ = value;
4843}
4844inline void Environment_Receivers_ReceiverPosition::set_range(double value) {
4845 _internal_set_range(value);
4846 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition.range)
4847}
4848
4849// -------------------------------------------------------------------
4850
4851// Environment_Receivers
4852
4853// optional uint32 number_in_depth = 1 [(.goby.field) = {
4854inline bool Environment_Receivers::_internal_has_number_in_depth() const {
4855 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4856 return value;
4857}
4858inline bool Environment_Receivers::has_number_in_depth() const {
4859 return _internal_has_number_in_depth();
4860}
4861inline void Environment_Receivers::clear_number_in_depth() {
4862 _impl_.number_in_depth_ = 0u;
4863 _impl_._has_bits_[0] &= ~0x00000004u;
4864}
4865inline uint32_t Environment_Receivers::_internal_number_in_depth() const {
4866 return _impl_.number_in_depth_;
4867}
4868inline uint32_t Environment_Receivers::number_in_depth() const {
4869 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Receivers.number_in_depth)
4870 return _internal_number_in_depth();
4871}
4872inline void Environment_Receivers::_internal_set_number_in_depth(uint32_t value) {
4873 _impl_._has_bits_[0] |= 0x00000004u;
4874 _impl_.number_in_depth_ = value;
4875}
4876inline void Environment_Receivers::set_number_in_depth(uint32_t value) {
4877 _internal_set_number_in_depth(value);
4878 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Receivers.number_in_depth)
4879}
4880
4881// optional uint32 number_in_range = 2 [(.goby.field) = {
4882inline bool Environment_Receivers::_internal_has_number_in_range() const {
4883 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4884 return value;
4885}
4886inline bool Environment_Receivers::has_number_in_range() const {
4887 return _internal_has_number_in_range();
4888}
4889inline void Environment_Receivers::clear_number_in_range() {
4890 _impl_.number_in_range_ = 0u;
4891 _impl_._has_bits_[0] &= ~0x00000008u;
4892}
4893inline uint32_t Environment_Receivers::_internal_number_in_range() const {
4894 return _impl_.number_in_range_;
4895}
4896inline uint32_t Environment_Receivers::number_in_range() const {
4897 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Receivers.number_in_range)
4898 return _internal_number_in_range();
4899}
4900inline void Environment_Receivers::_internal_set_number_in_range(uint32_t value) {
4901 _impl_._has_bits_[0] |= 0x00000008u;
4902 _impl_.number_in_range_ = value;
4903}
4904inline void Environment_Receivers::set_number_in_range(uint32_t value) {
4905 _internal_set_number_in_range(value);
4906 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Receivers.number_in_range)
4907}
4908
4909// optional .netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition first = 3 [(.goby.field) = {
4910inline bool Environment_Receivers::_internal_has_first() const {
4911 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4912 PROTOBUF_ASSUME(!value || _impl_.first_ != nullptr);
4913 return value;
4914}
4915inline bool Environment_Receivers::has_first() const {
4916 return _internal_has_first();
4917}
4918inline void Environment_Receivers::clear_first() {
4919 if (_impl_.first_ != nullptr) _impl_.first_->Clear();
4920 _impl_._has_bits_[0] &= ~0x00000001u;
4921}
4922inline const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& Environment_Receivers::_internal_first() const {
4923 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* p = _impl_.first_;
4924 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition&>(
4926}
4927inline const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& Environment_Receivers::first() const {
4928 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Receivers.first)
4929 return _internal_first();
4930}
4931inline void Environment_Receivers::unsafe_arena_set_allocated_first(
4933 if (GetArenaForAllocation() == nullptr) {
4934 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.first_);
4935 }
4936 _impl_.first_ = first;
4937 if (first) {
4938 _impl_._has_bits_[0] |= 0x00000001u;
4939 } else {
4940 _impl_._has_bits_[0] &= ~0x00000001u;
4941 }
4942 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Receivers.first)
4943}
4944inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::release_first() {
4945 _impl_._has_bits_[0] &= ~0x00000001u;
4947 _impl_.first_ = nullptr;
4948#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4949 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4950 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4951 if (GetArenaForAllocation() == nullptr) { delete old; }
4952#else // PROTOBUF_FORCE_COPY_IN_RELEASE
4953 if (GetArenaForAllocation() != nullptr) {
4954 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4955 }
4956#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
4957 return temp;
4958}
4959inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::unsafe_arena_release_first() {
4960 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Receivers.first)
4961 _impl_._has_bits_[0] &= ~0x00000001u;
4963 _impl_.first_ = nullptr;
4964 return temp;
4965}
4966inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::_internal_mutable_first() {
4967 _impl_._has_bits_[0] |= 0x00000001u;
4968 if (_impl_.first_ == nullptr) {
4970 _impl_.first_ = p;
4971 }
4972 return _impl_.first_;
4973}
4974inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::mutable_first() {
4976 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Receivers.first)
4977 return _msg;
4978}
4979inline void Environment_Receivers::set_allocated_first(::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* first) {
4980 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4981 if (message_arena == nullptr) {
4982 delete _impl_.first_;
4983 }
4984 if (first) {
4985 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4986 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(first);
4987 if (message_arena != submessage_arena) {
4988 first = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4989 message_arena, first, submessage_arena);
4990 }
4991 _impl_._has_bits_[0] |= 0x00000001u;
4992 } else {
4993 _impl_._has_bits_[0] &= ~0x00000001u;
4994 }
4995 _impl_.first_ = first;
4996 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Receivers.first)
4997}
4998
4999// optional .netsim.bellhop.protobuf.Environment.Receivers.ReceiverPosition last = 4 [(.goby.field) = {
5000inline bool Environment_Receivers::_internal_has_last() const {
5001 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5002 PROTOBUF_ASSUME(!value || _impl_.last_ != nullptr);
5003 return value;
5004}
5005inline bool Environment_Receivers::has_last() const {
5006 return _internal_has_last();
5007}
5008inline void Environment_Receivers::clear_last() {
5009 if (_impl_.last_ != nullptr) _impl_.last_->Clear();
5010 _impl_._has_bits_[0] &= ~0x00000002u;
5011}
5012inline const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& Environment_Receivers::_internal_last() const {
5013 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* p = _impl_.last_;
5014 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition&>(
5016}
5017inline const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& Environment_Receivers::last() const {
5018 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Receivers.last)
5019 return _internal_last();
5020}
5021inline void Environment_Receivers::unsafe_arena_set_allocated_last(
5023 if (GetArenaForAllocation() == nullptr) {
5024 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.last_);
5025 }
5026 _impl_.last_ = last;
5027 if (last) {
5028 _impl_._has_bits_[0] |= 0x00000002u;
5029 } else {
5030 _impl_._has_bits_[0] &= ~0x00000002u;
5031 }
5032 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.Receivers.last)
5033}
5034inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::release_last() {
5035 _impl_._has_bits_[0] &= ~0x00000002u;
5037 _impl_.last_ = nullptr;
5038#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5039 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5040 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5041 if (GetArenaForAllocation() == nullptr) { delete old; }
5042#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5043 if (GetArenaForAllocation() != nullptr) {
5044 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5045 }
5046#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5047 return temp;
5048}
5049inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::unsafe_arena_release_last() {
5050 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.Receivers.last)
5051 _impl_._has_bits_[0] &= ~0x00000002u;
5053 _impl_.last_ = nullptr;
5054 return temp;
5055}
5056inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::_internal_mutable_last() {
5057 _impl_._has_bits_[0] |= 0x00000002u;
5058 if (_impl_.last_ == nullptr) {
5060 _impl_.last_ = p;
5061 }
5062 return _impl_.last_;
5063}
5064inline ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* Environment_Receivers::mutable_last() {
5066 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.Receivers.last)
5067 return _msg;
5068}
5069inline void Environment_Receivers::set_allocated_last(::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* last) {
5070 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5071 if (message_arena == nullptr) {
5072 delete _impl_.last_;
5073 }
5074 if (last) {
5075 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5076 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(last);
5077 if (message_arena != submessage_arena) {
5078 last = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5079 message_arena, last, submessage_arena);
5080 }
5081 _impl_._has_bits_[0] |= 0x00000002u;
5082 } else {
5083 _impl_._has_bits_[0] &= ~0x00000002u;
5084 }
5085 _impl_.last_ = last;
5086 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.Receivers.last)
5087}
5088
5089// -------------------------------------------------------------------
5090
5091// Environment_Beams
5092
5093// optional .netsim.bellhop.protobuf.Environment.Beams.ApproximationType approximation_type = 1 [(.goby.field) = {
5094inline bool Environment_Beams::_internal_has_approximation_type() const {
5095 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5096 return value;
5097}
5098inline bool Environment_Beams::has_approximation_type() const {
5099 return _internal_has_approximation_type();
5100}
5101inline void Environment_Beams::clear_approximation_type() {
5102 _impl_.approximation_type_ = 1;
5103 _impl_._has_bits_[0] &= ~0x00000004u;
5104}
5105inline ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType Environment_Beams::_internal_approximation_type() const {
5106 return static_cast< ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType >(_impl_.approximation_type_);
5107}
5108inline ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType Environment_Beams::approximation_type() const {
5109 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Beams.approximation_type)
5110 return _internal_approximation_type();
5111}
5112inline void Environment_Beams::_internal_set_approximation_type(::netsim::bellhop::protobuf::Environment_Beams_ApproximationType value) {
5114 _impl_._has_bits_[0] |= 0x00000004u;
5115 _impl_.approximation_type_ = value;
5116}
5117inline void Environment_Beams::set_approximation_type(::netsim::bellhop::protobuf::Environment_Beams_ApproximationType value) {
5118 _internal_set_approximation_type(value);
5119 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Beams.approximation_type)
5120}
5121
5122// optional int32 theta_min = 2 [default = -90, (.goby.field) = {
5123inline bool Environment_Beams::_internal_has_theta_min() const {
5124 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5125 return value;
5126}
5127inline bool Environment_Beams::has_theta_min() const {
5128 return _internal_has_theta_min();
5129}
5130inline void Environment_Beams::clear_theta_min() {
5131 _impl_.theta_min_ = -90;
5132 _impl_._has_bits_[0] &= ~0x00000008u;
5133}
5134inline int32_t Environment_Beams::_internal_theta_min() const {
5135 return _impl_.theta_min_;
5136}
5137inline int32_t Environment_Beams::theta_min() const {
5138 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Beams.theta_min)
5139 return _internal_theta_min();
5140}
5141inline void Environment_Beams::_internal_set_theta_min(int32_t value) {
5142 _impl_._has_bits_[0] |= 0x00000008u;
5143 _impl_.theta_min_ = value;
5144}
5145inline void Environment_Beams::set_theta_min(int32_t value) {
5146 _internal_set_theta_min(value);
5147 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Beams.theta_min)
5148}
5149
5150// optional int32 theta_max = 3 [default = 90, (.goby.field) = {
5151inline bool Environment_Beams::_internal_has_theta_max() const {
5152 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5153 return value;
5154}
5155inline bool Environment_Beams::has_theta_max() const {
5156 return _internal_has_theta_max();
5157}
5158inline void Environment_Beams::clear_theta_max() {
5159 _impl_.theta_max_ = 90;
5160 _impl_._has_bits_[0] &= ~0x00000002u;
5161}
5162inline int32_t Environment_Beams::_internal_theta_max() const {
5163 return _impl_.theta_max_;
5164}
5165inline int32_t Environment_Beams::theta_max() const {
5166 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Beams.theta_max)
5167 return _internal_theta_max();
5168}
5169inline void Environment_Beams::_internal_set_theta_max(int32_t value) {
5170 _impl_._has_bits_[0] |= 0x00000002u;
5171 _impl_.theta_max_ = value;
5172}
5173inline void Environment_Beams::set_theta_max(int32_t value) {
5174 _internal_set_theta_max(value);
5175 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Beams.theta_max)
5176}
5177
5178// optional uint32 number = 4 [default = 0, (.goby.field) = {
5179inline bool Environment_Beams::_internal_has_number() const {
5180 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5181 return value;
5182}
5183inline bool Environment_Beams::has_number() const {
5184 return _internal_has_number();
5185}
5186inline void Environment_Beams::clear_number() {
5187 _impl_.number_ = 0u;
5188 _impl_._has_bits_[0] &= ~0x00000001u;
5189}
5190inline uint32_t Environment_Beams::_internal_number() const {
5191 return _impl_.number_;
5192}
5193inline uint32_t Environment_Beams::number() const {
5194 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.Beams.number)
5195 return _internal_number();
5196}
5197inline void Environment_Beams::_internal_set_number(uint32_t value) {
5198 _impl_._has_bits_[0] |= 0x00000001u;
5199 _impl_.number_ = value;
5200}
5201inline void Environment_Beams::set_number(uint32_t value) {
5202 _internal_set_number(value);
5203 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.Beams.number)
5204}
5205
5206// -------------------------------------------------------------------
5207
5208// Environment_AdaptiveInfo
5209
5210// optional string contact = 1 [(.goby.field) = {
5211inline bool Environment_AdaptiveInfo::_internal_has_contact() const {
5212 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5213 return value;
5214}
5215inline bool Environment_AdaptiveInfo::has_contact() const {
5216 return _internal_has_contact();
5217}
5218inline void Environment_AdaptiveInfo::clear_contact() {
5219 _impl_.contact_.ClearToEmpty();
5220 _impl_._has_bits_[0] &= ~0x00000001u;
5221}
5222inline const std::string& Environment_AdaptiveInfo::contact() const {
5223 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.contact)
5224 return _internal_contact();
5225}
5226template <typename ArgT0, typename... ArgT>
5227inline PROTOBUF_ALWAYS_INLINE
5228void Environment_AdaptiveInfo::set_contact(ArgT0&& arg0, ArgT... args) {
5229 _impl_._has_bits_[0] |= 0x00000001u;
5230 _impl_.contact_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
5231 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.contact)
5232}
5233inline std::string* Environment_AdaptiveInfo::mutable_contact() {
5234 std::string* _s = _internal_mutable_contact();
5235 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.AdaptiveInfo.contact)
5236 return _s;
5237}
5238inline const std::string& Environment_AdaptiveInfo::_internal_contact() const {
5239 return _impl_.contact_.Get();
5240}
5241inline void Environment_AdaptiveInfo::_internal_set_contact(const std::string& value) {
5242 _impl_._has_bits_[0] |= 0x00000001u;
5243 _impl_.contact_.Set(value, GetArenaForAllocation());
5244}
5245inline std::string* Environment_AdaptiveInfo::_internal_mutable_contact() {
5246 _impl_._has_bits_[0] |= 0x00000001u;
5247 return _impl_.contact_.Mutable(GetArenaForAllocation());
5248}
5249inline std::string* Environment_AdaptiveInfo::release_contact() {
5250 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.AdaptiveInfo.contact)
5251 if (!_internal_has_contact()) {
5252 return nullptr;
5253 }
5254 _impl_._has_bits_[0] &= ~0x00000001u;
5255 auto* p = _impl_.contact_.Release();
5256#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5257 if (_impl_.contact_.IsDefault()) {
5258 _impl_.contact_.Set("", GetArenaForAllocation());
5259 }
5260#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5261 return p;
5262}
5263inline void Environment_AdaptiveInfo::set_allocated_contact(std::string* contact) {
5264 if (contact != nullptr) {
5265 _impl_._has_bits_[0] |= 0x00000001u;
5266 } else {
5267 _impl_._has_bits_[0] &= ~0x00000001u;
5268 }
5269 _impl_.contact_.SetAllocated(contact, GetArenaForAllocation());
5270#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5271 if (_impl_.contact_.IsDefault()) {
5272 _impl_.contact_.Set("", GetArenaForAllocation());
5273 }
5274#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5275 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.AdaptiveInfo.contact)
5276}
5277
5278// optional string ownship = 2 [(.goby.field) = {
5279inline bool Environment_AdaptiveInfo::_internal_has_ownship() const {
5280 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5281 return value;
5282}
5283inline bool Environment_AdaptiveInfo::has_ownship() const {
5284 return _internal_has_ownship();
5285}
5286inline void Environment_AdaptiveInfo::clear_ownship() {
5287 _impl_.ownship_.ClearToEmpty();
5288 _impl_._has_bits_[0] &= ~0x00000002u;
5289}
5290inline const std::string& Environment_AdaptiveInfo::ownship() const {
5291 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.ownship)
5292 return _internal_ownship();
5293}
5294template <typename ArgT0, typename... ArgT>
5295inline PROTOBUF_ALWAYS_INLINE
5296void Environment_AdaptiveInfo::set_ownship(ArgT0&& arg0, ArgT... args) {
5297 _impl_._has_bits_[0] |= 0x00000002u;
5298 _impl_.ownship_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
5299 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.ownship)
5300}
5301inline std::string* Environment_AdaptiveInfo::mutable_ownship() {
5302 std::string* _s = _internal_mutable_ownship();
5303 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.AdaptiveInfo.ownship)
5304 return _s;
5305}
5306inline const std::string& Environment_AdaptiveInfo::_internal_ownship() const {
5307 return _impl_.ownship_.Get();
5308}
5309inline void Environment_AdaptiveInfo::_internal_set_ownship(const std::string& value) {
5310 _impl_._has_bits_[0] |= 0x00000002u;
5311 _impl_.ownship_.Set(value, GetArenaForAllocation());
5312}
5313inline std::string* Environment_AdaptiveInfo::_internal_mutable_ownship() {
5314 _impl_._has_bits_[0] |= 0x00000002u;
5315 return _impl_.ownship_.Mutable(GetArenaForAllocation());
5316}
5317inline std::string* Environment_AdaptiveInfo::release_ownship() {
5318 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.AdaptiveInfo.ownship)
5319 if (!_internal_has_ownship()) {
5320 return nullptr;
5321 }
5322 _impl_._has_bits_[0] &= ~0x00000002u;
5323 auto* p = _impl_.ownship_.Release();
5324#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5325 if (_impl_.ownship_.IsDefault()) {
5326 _impl_.ownship_.Set("", GetArenaForAllocation());
5327 }
5328#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5329 return p;
5330}
5331inline void Environment_AdaptiveInfo::set_allocated_ownship(std::string* ownship) {
5332 if (ownship != nullptr) {
5333 _impl_._has_bits_[0] |= 0x00000002u;
5334 } else {
5335 _impl_._has_bits_[0] &= ~0x00000002u;
5336 }
5337 _impl_.ownship_.SetAllocated(ownship, GetArenaForAllocation());
5338#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5339 if (_impl_.ownship_.IsDefault()) {
5340 _impl_.ownship_.Set("", GetArenaForAllocation());
5341 }
5342#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5343 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.AdaptiveInfo.ownship)
5344}
5345
5346// optional bool read_shd = 3 [default = false, (.goby.field) = {
5347inline bool Environment_AdaptiveInfo::_internal_has_read_shd() const {
5348 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5349 return value;
5350}
5351inline bool Environment_AdaptiveInfo::has_read_shd() const {
5352 return _internal_has_read_shd();
5353}
5354inline void Environment_AdaptiveInfo::clear_read_shd() {
5355 _impl_.read_shd_ = false;
5356 _impl_._has_bits_[0] &= ~0x00000004u;
5357}
5358inline bool Environment_AdaptiveInfo::_internal_read_shd() const {
5359 return _impl_.read_shd_;
5360}
5361inline bool Environment_AdaptiveInfo::read_shd() const {
5362 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.read_shd)
5363 return _internal_read_shd();
5364}
5365inline void Environment_AdaptiveInfo::_internal_set_read_shd(bool value) {
5366 _impl_._has_bits_[0] |= 0x00000004u;
5367 _impl_.read_shd_ = value;
5368}
5369inline void Environment_AdaptiveInfo::set_read_shd(bool value) {
5370 _internal_set_read_shd(value);
5371 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.read_shd)
5372}
5373
5374// optional bool full_shd_matrix = 10 [default = false, (.goby.field) = {
5375inline bool Environment_AdaptiveInfo::_internal_has_full_shd_matrix() const {
5376 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5377 return value;
5378}
5379inline bool Environment_AdaptiveInfo::has_full_shd_matrix() const {
5380 return _internal_has_full_shd_matrix();
5381}
5382inline void Environment_AdaptiveInfo::clear_full_shd_matrix() {
5383 _impl_.full_shd_matrix_ = false;
5384 _impl_._has_bits_[0] &= ~0x00000008u;
5385}
5386inline bool Environment_AdaptiveInfo::_internal_full_shd_matrix() const {
5387 return _impl_.full_shd_matrix_;
5388}
5389inline bool Environment_AdaptiveInfo::full_shd_matrix() const {
5390 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.full_shd_matrix)
5391 return _internal_full_shd_matrix();
5392}
5393inline void Environment_AdaptiveInfo::_internal_set_full_shd_matrix(bool value) {
5394 _impl_._has_bits_[0] |= 0x00000008u;
5395 _impl_.full_shd_matrix_ = value;
5396}
5397inline void Environment_AdaptiveInfo::set_full_shd_matrix(bool value) {
5398 _internal_set_full_shd_matrix(value);
5399 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.full_shd_matrix)
5400}
5401
5402// optional bool auto_receiver_ranges = 4 [default = false, (.goby.field) = {
5403inline bool Environment_AdaptiveInfo::_internal_has_auto_receiver_ranges() const {
5404 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5405 return value;
5406}
5407inline bool Environment_AdaptiveInfo::has_auto_receiver_ranges() const {
5408 return _internal_has_auto_receiver_ranges();
5409}
5410inline void Environment_AdaptiveInfo::clear_auto_receiver_ranges() {
5411 _impl_.auto_receiver_ranges_ = false;
5412 _impl_._has_bits_[0] &= ~0x00000010u;
5413}
5414inline bool Environment_AdaptiveInfo::_internal_auto_receiver_ranges() const {
5415 return _impl_.auto_receiver_ranges_;
5416}
5417inline bool Environment_AdaptiveInfo::auto_receiver_ranges() const {
5418 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.auto_receiver_ranges)
5419 return _internal_auto_receiver_ranges();
5420}
5421inline void Environment_AdaptiveInfo::_internal_set_auto_receiver_ranges(bool value) {
5422 _impl_._has_bits_[0] |= 0x00000010u;
5423 _impl_.auto_receiver_ranges_ = value;
5424}
5425inline void Environment_AdaptiveInfo::set_auto_receiver_ranges(bool value) {
5426 _internal_set_auto_receiver_ranges(value);
5427 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.auto_receiver_ranges)
5428}
5429
5430// optional int32 auto_receiver_ranges_delta = 7 [default = 1, (.goby.field) = {
5431inline bool Environment_AdaptiveInfo::_internal_has_auto_receiver_ranges_delta() const {
5432 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
5433 return value;
5434}
5435inline bool Environment_AdaptiveInfo::has_auto_receiver_ranges_delta() const {
5436 return _internal_has_auto_receiver_ranges_delta();
5437}
5438inline void Environment_AdaptiveInfo::clear_auto_receiver_ranges_delta() {
5439 _impl_.auto_receiver_ranges_delta_ = 1;
5440 _impl_._has_bits_[0] &= ~0x00000080u;
5441}
5442inline int32_t Environment_AdaptiveInfo::_internal_auto_receiver_ranges_delta() const {
5443 return _impl_.auto_receiver_ranges_delta_;
5444}
5445inline int32_t Environment_AdaptiveInfo::auto_receiver_ranges_delta() const {
5446 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.auto_receiver_ranges_delta)
5447 return _internal_auto_receiver_ranges_delta();
5448}
5449inline void Environment_AdaptiveInfo::_internal_set_auto_receiver_ranges_delta(int32_t value) {
5450 _impl_._has_bits_[0] |= 0x00000080u;
5451 _impl_.auto_receiver_ranges_delta_ = value;
5452}
5453inline void Environment_AdaptiveInfo::set_auto_receiver_ranges_delta(int32_t value) {
5454 _internal_set_auto_receiver_ranges_delta(value);
5455 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.auto_receiver_ranges_delta)
5456}
5457
5458// optional uint32 look_ahead_seconds = 5 [default = 60, (.goby.field) = {
5459inline bool Environment_AdaptiveInfo::_internal_has_look_ahead_seconds() const {
5460 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
5461 return value;
5462}
5463inline bool Environment_AdaptiveInfo::has_look_ahead_seconds() const {
5464 return _internal_has_look_ahead_seconds();
5465}
5466inline void Environment_AdaptiveInfo::clear_look_ahead_seconds() {
5467 _impl_.look_ahead_seconds_ = 60u;
5468 _impl_._has_bits_[0] &= ~0x00000040u;
5469}
5470inline uint32_t Environment_AdaptiveInfo::_internal_look_ahead_seconds() const {
5471 return _impl_.look_ahead_seconds_;
5472}
5473inline uint32_t Environment_AdaptiveInfo::look_ahead_seconds() const {
5474 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.look_ahead_seconds)
5475 return _internal_look_ahead_seconds();
5476}
5477inline void Environment_AdaptiveInfo::_internal_set_look_ahead_seconds(uint32_t value) {
5478 _impl_._has_bits_[0] |= 0x00000040u;
5479 _impl_.look_ahead_seconds_ = value;
5480}
5481inline void Environment_AdaptiveInfo::set_look_ahead_seconds(uint32_t value) {
5482 _internal_set_look_ahead_seconds(value);
5483 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.look_ahead_seconds)
5484}
5485
5486// optional bool auto_source_depth = 6 [default = false, (.goby.field) = {
5487inline bool Environment_AdaptiveInfo::_internal_has_auto_source_depth() const {
5488 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
5489 return value;
5490}
5491inline bool Environment_AdaptiveInfo::has_auto_source_depth() const {
5492 return _internal_has_auto_source_depth();
5493}
5494inline void Environment_AdaptiveInfo::clear_auto_source_depth() {
5495 _impl_.auto_source_depth_ = false;
5496 _impl_._has_bits_[0] &= ~0x00000020u;
5497}
5498inline bool Environment_AdaptiveInfo::_internal_auto_source_depth() const {
5499 return _impl_.auto_source_depth_;
5500}
5501inline bool Environment_AdaptiveInfo::auto_source_depth() const {
5502 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.AdaptiveInfo.auto_source_depth)
5503 return _internal_auto_source_depth();
5504}
5505inline void Environment_AdaptiveInfo::_internal_set_auto_source_depth(bool value) {
5506 _impl_._has_bits_[0] |= 0x00000020u;
5507 _impl_.auto_source_depth_ = value;
5508}
5509inline void Environment_AdaptiveInfo::set_auto_source_depth(bool value) {
5510 _internal_set_auto_source_depth(value);
5511 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.AdaptiveInfo.auto_source_depth)
5512}
5513
5514// -------------------------------------------------------------------
5515
5516// Environment
5517
5518// optional string title = 1 [default = "Environmental File", (.goby.field) = {
5519inline bool Environment::_internal_has_title() const {
5520 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5521 return value;
5522}
5523inline bool Environment::has_title() const {
5524 return _internal_has_title();
5525}
5526inline void Environment::clear_title() {
5527 _impl_.title_.ClearToDefault(::netsim::bellhop::protobuf::Environment::Impl_::_i_give_permission_to_break_this_code_default_title_, GetArenaForAllocation());
5528 _impl_._has_bits_[0] &= ~0x00000001u;
5529}
5530inline const std::string& Environment::title() const {
5531 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.title)
5532 if (_impl_.title_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_title_.get();
5533 return _internal_title();
5534}
5535template <typename ArgT0, typename... ArgT>
5536inline PROTOBUF_ALWAYS_INLINE
5537void Environment::set_title(ArgT0&& arg0, ArgT... args) {
5538 _impl_._has_bits_[0] |= 0x00000001u;
5539 _impl_.title_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
5540 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.title)
5541}
5542inline std::string* Environment::mutable_title() {
5543 std::string* _s = _internal_mutable_title();
5544 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.title)
5545 return _s;
5546}
5547inline const std::string& Environment::_internal_title() const {
5548 return _impl_.title_.Get();
5549}
5550inline void Environment::_internal_set_title(const std::string& value) {
5551 _impl_._has_bits_[0] |= 0x00000001u;
5552 _impl_.title_.Set(value, GetArenaForAllocation());
5553}
5554inline std::string* Environment::_internal_mutable_title() {
5555 _impl_._has_bits_[0] |= 0x00000001u;
5556 return _impl_.title_.Mutable(::netsim::bellhop::protobuf::Environment::Impl_::_i_give_permission_to_break_this_code_default_title_, GetArenaForAllocation());
5557}
5558inline std::string* Environment::release_title() {
5559 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.title)
5560 if (!_internal_has_title()) {
5561 return nullptr;
5562 }
5563 _impl_._has_bits_[0] &= ~0x00000001u;
5564 auto* p = _impl_.title_.Release();
5565 return p;
5566}
5567inline void Environment::set_allocated_title(std::string* title) {
5568 if (title != nullptr) {
5569 _impl_._has_bits_[0] |= 0x00000001u;
5570 } else {
5571 _impl_._has_bits_[0] &= ~0x00000001u;
5572 }
5573 _impl_.title_.SetAllocated(title, GetArenaForAllocation());
5574 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.title)
5575}
5576
5577// optional uint32 freq = 2 [default = 25000, (.goby.field) = {
5578inline bool Environment::_internal_has_freq() const {
5579 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5580 return value;
5581}
5582inline bool Environment::has_freq() const {
5583 return _internal_has_freq();
5584}
5585inline void Environment::clear_freq() {
5586 _impl_.freq_ = 25000u;
5587 _impl_._has_bits_[0] &= ~0x00000100u;
5588}
5589inline uint32_t Environment::_internal_freq() const {
5590 return _impl_.freq_;
5591}
5592inline uint32_t Environment::freq() const {
5593 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.freq)
5594 return _internal_freq();
5595}
5596inline void Environment::_internal_set_freq(uint32_t value) {
5597 _impl_._has_bits_[0] |= 0x00000100u;
5598 _impl_.freq_ = value;
5599}
5600inline void Environment::set_freq(uint32_t value) {
5601 _internal_set_freq(value);
5602 // @@protoc_insertion_point(field_set:netsim.bellhop.protobuf.Environment.freq)
5603}
5604
5605// optional .netsim.bellhop.protobuf.Environment.Output output = 3 [(.goby.field) = {
5606inline bool Environment::_internal_has_output() const {
5607 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5608 PROTOBUF_ASSUME(!value || _impl_.output_ != nullptr);
5609 return value;
5610}
5611inline bool Environment::has_output() const {
5612 return _internal_has_output();
5613}
5614inline void Environment::clear_output() {
5615 if (_impl_.output_ != nullptr) _impl_.output_->Clear();
5616 _impl_._has_bits_[0] &= ~0x00000002u;
5617}
5618inline const ::netsim::bellhop::protobuf::Environment_Output& Environment::_internal_output() const {
5619 const ::netsim::bellhop::protobuf::Environment_Output* p = _impl_.output_;
5620 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Output&>(
5622}
5623inline const ::netsim::bellhop::protobuf::Environment_Output& Environment::output() const {
5624 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.output)
5625 return _internal_output();
5626}
5627inline void Environment::unsafe_arena_set_allocated_output(
5629 if (GetArenaForAllocation() == nullptr) {
5630 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.output_);
5631 }
5632 _impl_.output_ = output;
5633 if (output) {
5634 _impl_._has_bits_[0] |= 0x00000002u;
5635 } else {
5636 _impl_._has_bits_[0] &= ~0x00000002u;
5637 }
5638 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.output)
5639}
5640inline ::netsim::bellhop::protobuf::Environment_Output* Environment::release_output() {
5641 _impl_._has_bits_[0] &= ~0x00000002u;
5643 _impl_.output_ = nullptr;
5644#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5645 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5646 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5647 if (GetArenaForAllocation() == nullptr) { delete old; }
5648#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5649 if (GetArenaForAllocation() != nullptr) {
5650 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5651 }
5652#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5653 return temp;
5654}
5655inline ::netsim::bellhop::protobuf::Environment_Output* Environment::unsafe_arena_release_output() {
5656 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.output)
5657 _impl_._has_bits_[0] &= ~0x00000002u;
5659 _impl_.output_ = nullptr;
5660 return temp;
5661}
5662inline ::netsim::bellhop::protobuf::Environment_Output* Environment::_internal_mutable_output() {
5663 _impl_._has_bits_[0] |= 0x00000002u;
5664 if (_impl_.output_ == nullptr) {
5666 _impl_.output_ = p;
5667 }
5668 return _impl_.output_;
5669}
5670inline ::netsim::bellhop::protobuf::Environment_Output* Environment::mutable_output() {
5671 ::netsim::bellhop::protobuf::Environment_Output* _msg = _internal_mutable_output();
5672 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.output)
5673 return _msg;
5674}
5675inline void Environment::set_allocated_output(::netsim::bellhop::protobuf::Environment_Output* output) {
5676 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5677 if (message_arena == nullptr) {
5678 delete _impl_.output_;
5679 }
5680 if (output) {
5681 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5682 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(output);
5683 if (message_arena != submessage_arena) {
5684 output = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5685 message_arena, output, submessage_arena);
5686 }
5687 _impl_._has_bits_[0] |= 0x00000002u;
5688 } else {
5689 _impl_._has_bits_[0] &= ~0x00000002u;
5690 }
5691 _impl_.output_ = output;
5692 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.output)
5693}
5694
5695// optional .netsim.bellhop.protobuf.Environment.Surface surface = 4 [(.goby.field) = {
5696inline bool Environment::_internal_has_surface() const {
5697 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5698 PROTOBUF_ASSUME(!value || _impl_.surface_ != nullptr);
5699 return value;
5700}
5701inline bool Environment::has_surface() const {
5702 return _internal_has_surface();
5703}
5704inline void Environment::clear_surface() {
5705 if (_impl_.surface_ != nullptr) _impl_.surface_->Clear();
5706 _impl_._has_bits_[0] &= ~0x00000004u;
5707}
5708inline const ::netsim::bellhop::protobuf::Environment_Surface& Environment::_internal_surface() const {
5709 const ::netsim::bellhop::protobuf::Environment_Surface* p = _impl_.surface_;
5710 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Surface&>(
5712}
5713inline const ::netsim::bellhop::protobuf::Environment_Surface& Environment::surface() const {
5714 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.surface)
5715 return _internal_surface();
5716}
5717inline void Environment::unsafe_arena_set_allocated_surface(
5719 if (GetArenaForAllocation() == nullptr) {
5720 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.surface_);
5721 }
5722 _impl_.surface_ = surface;
5723 if (surface) {
5724 _impl_._has_bits_[0] |= 0x00000004u;
5725 } else {
5726 _impl_._has_bits_[0] &= ~0x00000004u;
5727 }
5728 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.surface)
5729}
5730inline ::netsim::bellhop::protobuf::Environment_Surface* Environment::release_surface() {
5731 _impl_._has_bits_[0] &= ~0x00000004u;
5733 _impl_.surface_ = nullptr;
5734#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5735 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5736 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5737 if (GetArenaForAllocation() == nullptr) { delete old; }
5738#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5739 if (GetArenaForAllocation() != nullptr) {
5740 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5741 }
5742#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5743 return temp;
5744}
5745inline ::netsim::bellhop::protobuf::Environment_Surface* Environment::unsafe_arena_release_surface() {
5746 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.surface)
5747 _impl_._has_bits_[0] &= ~0x00000004u;
5749 _impl_.surface_ = nullptr;
5750 return temp;
5751}
5752inline ::netsim::bellhop::protobuf::Environment_Surface* Environment::_internal_mutable_surface() {
5753 _impl_._has_bits_[0] |= 0x00000004u;
5754 if (_impl_.surface_ == nullptr) {
5756 _impl_.surface_ = p;
5757 }
5758 return _impl_.surface_;
5759}
5760inline ::netsim::bellhop::protobuf::Environment_Surface* Environment::mutable_surface() {
5761 ::netsim::bellhop::protobuf::Environment_Surface* _msg = _internal_mutable_surface();
5762 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.surface)
5763 return _msg;
5764}
5765inline void Environment::set_allocated_surface(::netsim::bellhop::protobuf::Environment_Surface* surface) {
5766 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5767 if (message_arena == nullptr) {
5768 delete _impl_.surface_;
5769 }
5770 if (surface) {
5771 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5772 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(surface);
5773 if (message_arena != submessage_arena) {
5774 surface = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5775 message_arena, surface, submessage_arena);
5776 }
5777 _impl_._has_bits_[0] |= 0x00000004u;
5778 } else {
5779 _impl_._has_bits_[0] &= ~0x00000004u;
5780 }
5781 _impl_.surface_ = surface;
5782 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.surface)
5783}
5784
5785// repeated .netsim.bellhop.protobuf.Environment.WaterColumn water_column = 5 [(.goby.field) = {
5786inline int Environment::_internal_water_column_size() const {
5787 return _impl_.water_column_.size();
5788}
5789inline int Environment::water_column_size() const {
5790 return _internal_water_column_size();
5791}
5792inline void Environment::clear_water_column() {
5793 _impl_.water_column_.Clear();
5794}
5795inline ::netsim::bellhop::protobuf::Environment_WaterColumn* Environment::mutable_water_column(int index) {
5796 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.water_column)
5797 return _impl_.water_column_.Mutable(index);
5798}
5799inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn >*
5800Environment::mutable_water_column() {
5801 // @@protoc_insertion_point(field_mutable_list:netsim.bellhop.protobuf.Environment.water_column)
5802 return &_impl_.water_column_;
5803}
5804inline const ::netsim::bellhop::protobuf::Environment_WaterColumn& Environment::_internal_water_column(int index) const {
5805 return _impl_.water_column_.Get(index);
5806}
5807inline const ::netsim::bellhop::protobuf::Environment_WaterColumn& Environment::water_column(int index) const {
5808 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.water_column)
5809 return _internal_water_column(index);
5810}
5811inline ::netsim::bellhop::protobuf::Environment_WaterColumn* Environment::_internal_add_water_column() {
5812 return _impl_.water_column_.Add();
5813}
5814inline ::netsim::bellhop::protobuf::Environment_WaterColumn* Environment::add_water_column() {
5815 ::netsim::bellhop::protobuf::Environment_WaterColumn* _add = _internal_add_water_column();
5816 // @@protoc_insertion_point(field_add:netsim.bellhop.protobuf.Environment.water_column)
5817 return _add;
5818}
5819inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn >&
5820Environment::water_column() const {
5821 // @@protoc_insertion_point(field_list:netsim.bellhop.protobuf.Environment.water_column)
5822 return _impl_.water_column_;
5823}
5824
5825// optional .netsim.bellhop.protobuf.Environment.Bottom bottom = 6 [(.goby.field) = {
5826inline bool Environment::_internal_has_bottom() const {
5827 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5828 PROTOBUF_ASSUME(!value || _impl_.bottom_ != nullptr);
5829 return value;
5830}
5831inline bool Environment::has_bottom() const {
5832 return _internal_has_bottom();
5833}
5834inline void Environment::clear_bottom() {
5835 if (_impl_.bottom_ != nullptr) _impl_.bottom_->Clear();
5836 _impl_._has_bits_[0] &= ~0x00000008u;
5837}
5838inline const ::netsim::bellhop::protobuf::Environment_Bottom& Environment::_internal_bottom() const {
5839 const ::netsim::bellhop::protobuf::Environment_Bottom* p = _impl_.bottom_;
5840 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Bottom&>(
5842}
5843inline const ::netsim::bellhop::protobuf::Environment_Bottom& Environment::bottom() const {
5844 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.bottom)
5845 return _internal_bottom();
5846}
5847inline void Environment::unsafe_arena_set_allocated_bottom(
5849 if (GetArenaForAllocation() == nullptr) {
5850 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bottom_);
5851 }
5852 _impl_.bottom_ = bottom;
5853 if (bottom) {
5854 _impl_._has_bits_[0] |= 0x00000008u;
5855 } else {
5856 _impl_._has_bits_[0] &= ~0x00000008u;
5857 }
5858 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.bottom)
5859}
5860inline ::netsim::bellhop::protobuf::Environment_Bottom* Environment::release_bottom() {
5861 _impl_._has_bits_[0] &= ~0x00000008u;
5863 _impl_.bottom_ = nullptr;
5864#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5865 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5866 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5867 if (GetArenaForAllocation() == nullptr) { delete old; }
5868#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5869 if (GetArenaForAllocation() != nullptr) {
5870 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5871 }
5872#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5873 return temp;
5874}
5875inline ::netsim::bellhop::protobuf::Environment_Bottom* Environment::unsafe_arena_release_bottom() {
5876 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.bottom)
5877 _impl_._has_bits_[0] &= ~0x00000008u;
5879 _impl_.bottom_ = nullptr;
5880 return temp;
5881}
5882inline ::netsim::bellhop::protobuf::Environment_Bottom* Environment::_internal_mutable_bottom() {
5883 _impl_._has_bits_[0] |= 0x00000008u;
5884 if (_impl_.bottom_ == nullptr) {
5886 _impl_.bottom_ = p;
5887 }
5888 return _impl_.bottom_;
5889}
5890inline ::netsim::bellhop::protobuf::Environment_Bottom* Environment::mutable_bottom() {
5891 ::netsim::bellhop::protobuf::Environment_Bottom* _msg = _internal_mutable_bottom();
5892 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.bottom)
5893 return _msg;
5894}
5895inline void Environment::set_allocated_bottom(::netsim::bellhop::protobuf::Environment_Bottom* bottom) {
5896 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5897 if (message_arena == nullptr) {
5898 delete _impl_.bottom_;
5899 }
5900 if (bottom) {
5901 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5902 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(bottom);
5903 if (message_arena != submessage_arena) {
5904 bottom = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5905 message_arena, bottom, submessage_arena);
5906 }
5907 _impl_._has_bits_[0] |= 0x00000008u;
5908 } else {
5909 _impl_._has_bits_[0] &= ~0x00000008u;
5910 }
5911 _impl_.bottom_ = bottom;
5912 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.bottom)
5913}
5914
5915// optional .netsim.bellhop.protobuf.Environment.Sources sources = 7 [(.goby.field) = {
5916inline bool Environment::_internal_has_sources() const {
5917 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5918 PROTOBUF_ASSUME(!value || _impl_.sources_ != nullptr);
5919 return value;
5920}
5921inline bool Environment::has_sources() const {
5922 return _internal_has_sources();
5923}
5924inline void Environment::clear_sources() {
5925 if (_impl_.sources_ != nullptr) _impl_.sources_->Clear();
5926 _impl_._has_bits_[0] &= ~0x00000010u;
5927}
5928inline const ::netsim::bellhop::protobuf::Environment_Sources& Environment::_internal_sources() const {
5929 const ::netsim::bellhop::protobuf::Environment_Sources* p = _impl_.sources_;
5930 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Sources&>(
5932}
5933inline const ::netsim::bellhop::protobuf::Environment_Sources& Environment::sources() const {
5934 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.sources)
5935 return _internal_sources();
5936}
5937inline void Environment::unsafe_arena_set_allocated_sources(
5939 if (GetArenaForAllocation() == nullptr) {
5940 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.sources_);
5941 }
5942 _impl_.sources_ = sources;
5943 if (sources) {
5944 _impl_._has_bits_[0] |= 0x00000010u;
5945 } else {
5946 _impl_._has_bits_[0] &= ~0x00000010u;
5947 }
5948 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.sources)
5949}
5950inline ::netsim::bellhop::protobuf::Environment_Sources* Environment::release_sources() {
5951 _impl_._has_bits_[0] &= ~0x00000010u;
5953 _impl_.sources_ = nullptr;
5954#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5955 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5956 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5957 if (GetArenaForAllocation() == nullptr) { delete old; }
5958#else // PROTOBUF_FORCE_COPY_IN_RELEASE
5959 if (GetArenaForAllocation() != nullptr) {
5960 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5961 }
5962#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
5963 return temp;
5964}
5965inline ::netsim::bellhop::protobuf::Environment_Sources* Environment::unsafe_arena_release_sources() {
5966 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.sources)
5967 _impl_._has_bits_[0] &= ~0x00000010u;
5969 _impl_.sources_ = nullptr;
5970 return temp;
5971}
5972inline ::netsim::bellhop::protobuf::Environment_Sources* Environment::_internal_mutable_sources() {
5973 _impl_._has_bits_[0] |= 0x00000010u;
5974 if (_impl_.sources_ == nullptr) {
5976 _impl_.sources_ = p;
5977 }
5978 return _impl_.sources_;
5979}
5980inline ::netsim::bellhop::protobuf::Environment_Sources* Environment::mutable_sources() {
5981 ::netsim::bellhop::protobuf::Environment_Sources* _msg = _internal_mutable_sources();
5982 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.sources)
5983 return _msg;
5984}
5985inline void Environment::set_allocated_sources(::netsim::bellhop::protobuf::Environment_Sources* sources) {
5986 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5987 if (message_arena == nullptr) {
5988 delete _impl_.sources_;
5989 }
5990 if (sources) {
5991 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5992 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sources);
5993 if (message_arena != submessage_arena) {
5994 sources = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5995 message_arena, sources, submessage_arena);
5996 }
5997 _impl_._has_bits_[0] |= 0x00000010u;
5998 } else {
5999 _impl_._has_bits_[0] &= ~0x00000010u;
6000 }
6001 _impl_.sources_ = sources;
6002 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.sources)
6003}
6004
6005// optional .netsim.bellhop.protobuf.Environment.Receivers receivers = 8 [(.goby.field) = {
6006inline bool Environment::_internal_has_receivers() const {
6007 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
6008 PROTOBUF_ASSUME(!value || _impl_.receivers_ != nullptr);
6009 return value;
6010}
6011inline bool Environment::has_receivers() const {
6012 return _internal_has_receivers();
6013}
6014inline void Environment::clear_receivers() {
6015 if (_impl_.receivers_ != nullptr) _impl_.receivers_->Clear();
6016 _impl_._has_bits_[0] &= ~0x00000020u;
6017}
6018inline const ::netsim::bellhop::protobuf::Environment_Receivers& Environment::_internal_receivers() const {
6019 const ::netsim::bellhop::protobuf::Environment_Receivers* p = _impl_.receivers_;
6020 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Receivers&>(
6022}
6023inline const ::netsim::bellhop::protobuf::Environment_Receivers& Environment::receivers() const {
6024 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.receivers)
6025 return _internal_receivers();
6026}
6027inline void Environment::unsafe_arena_set_allocated_receivers(
6029 if (GetArenaForAllocation() == nullptr) {
6030 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.receivers_);
6031 }
6032 _impl_.receivers_ = receivers;
6033 if (receivers) {
6034 _impl_._has_bits_[0] |= 0x00000020u;
6035 } else {
6036 _impl_._has_bits_[0] &= ~0x00000020u;
6037 }
6038 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.receivers)
6039}
6040inline ::netsim::bellhop::protobuf::Environment_Receivers* Environment::release_receivers() {
6041 _impl_._has_bits_[0] &= ~0x00000020u;
6043 _impl_.receivers_ = nullptr;
6044#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6045 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6046 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6047 if (GetArenaForAllocation() == nullptr) { delete old; }
6048#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6049 if (GetArenaForAllocation() != nullptr) {
6050 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6051 }
6052#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6053 return temp;
6054}
6055inline ::netsim::bellhop::protobuf::Environment_Receivers* Environment::unsafe_arena_release_receivers() {
6056 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.receivers)
6057 _impl_._has_bits_[0] &= ~0x00000020u;
6059 _impl_.receivers_ = nullptr;
6060 return temp;
6061}
6062inline ::netsim::bellhop::protobuf::Environment_Receivers* Environment::_internal_mutable_receivers() {
6063 _impl_._has_bits_[0] |= 0x00000020u;
6064 if (_impl_.receivers_ == nullptr) {
6066 _impl_.receivers_ = p;
6067 }
6068 return _impl_.receivers_;
6069}
6070inline ::netsim::bellhop::protobuf::Environment_Receivers* Environment::mutable_receivers() {
6071 ::netsim::bellhop::protobuf::Environment_Receivers* _msg = _internal_mutable_receivers();
6072 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.receivers)
6073 return _msg;
6074}
6075inline void Environment::set_allocated_receivers(::netsim::bellhop::protobuf::Environment_Receivers* receivers) {
6076 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6077 if (message_arena == nullptr) {
6078 delete _impl_.receivers_;
6079 }
6080 if (receivers) {
6081 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6082 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(receivers);
6083 if (message_arena != submessage_arena) {
6084 receivers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6085 message_arena, receivers, submessage_arena);
6086 }
6087 _impl_._has_bits_[0] |= 0x00000020u;
6088 } else {
6089 _impl_._has_bits_[0] &= ~0x00000020u;
6090 }
6091 _impl_.receivers_ = receivers;
6092 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.receivers)
6093}
6094
6095// optional .netsim.bellhop.protobuf.Environment.Beams beams = 9 [(.goby.field) = {
6096inline bool Environment::_internal_has_beams() const {
6097 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6098 PROTOBUF_ASSUME(!value || _impl_.beams_ != nullptr);
6099 return value;
6100}
6101inline bool Environment::has_beams() const {
6102 return _internal_has_beams();
6103}
6104inline void Environment::clear_beams() {
6105 if (_impl_.beams_ != nullptr) _impl_.beams_->Clear();
6106 _impl_._has_bits_[0] &= ~0x00000040u;
6107}
6108inline const ::netsim::bellhop::protobuf::Environment_Beams& Environment::_internal_beams() const {
6109 const ::netsim::bellhop::protobuf::Environment_Beams* p = _impl_.beams_;
6110 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_Beams&>(
6112}
6113inline const ::netsim::bellhop::protobuf::Environment_Beams& Environment::beams() const {
6114 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.beams)
6115 return _internal_beams();
6116}
6117inline void Environment::unsafe_arena_set_allocated_beams(
6119 if (GetArenaForAllocation() == nullptr) {
6120 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.beams_);
6121 }
6122 _impl_.beams_ = beams;
6123 if (beams) {
6124 _impl_._has_bits_[0] |= 0x00000040u;
6125 } else {
6126 _impl_._has_bits_[0] &= ~0x00000040u;
6127 }
6128 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.beams)
6129}
6130inline ::netsim::bellhop::protobuf::Environment_Beams* Environment::release_beams() {
6131 _impl_._has_bits_[0] &= ~0x00000040u;
6133 _impl_.beams_ = nullptr;
6134#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6135 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6136 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6137 if (GetArenaForAllocation() == nullptr) { delete old; }
6138#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6139 if (GetArenaForAllocation() != nullptr) {
6140 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6141 }
6142#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6143 return temp;
6144}
6145inline ::netsim::bellhop::protobuf::Environment_Beams* Environment::unsafe_arena_release_beams() {
6146 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.beams)
6147 _impl_._has_bits_[0] &= ~0x00000040u;
6149 _impl_.beams_ = nullptr;
6150 return temp;
6151}
6152inline ::netsim::bellhop::protobuf::Environment_Beams* Environment::_internal_mutable_beams() {
6153 _impl_._has_bits_[0] |= 0x00000040u;
6154 if (_impl_.beams_ == nullptr) {
6156 _impl_.beams_ = p;
6157 }
6158 return _impl_.beams_;
6159}
6160inline ::netsim::bellhop::protobuf::Environment_Beams* Environment::mutable_beams() {
6161 ::netsim::bellhop::protobuf::Environment_Beams* _msg = _internal_mutable_beams();
6162 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.beams)
6163 return _msg;
6164}
6165inline void Environment::set_allocated_beams(::netsim::bellhop::protobuf::Environment_Beams* beams) {
6166 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6167 if (message_arena == nullptr) {
6168 delete _impl_.beams_;
6169 }
6170 if (beams) {
6171 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6172 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(beams);
6173 if (message_arena != submessage_arena) {
6174 beams = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6175 message_arena, beams, submessage_arena);
6176 }
6177 _impl_._has_bits_[0] |= 0x00000040u;
6178 } else {
6179 _impl_._has_bits_[0] &= ~0x00000040u;
6180 }
6181 _impl_.beams_ = beams;
6182 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.beams)
6183}
6184
6185// optional .netsim.bellhop.protobuf.Environment.AdaptiveInfo adaptive_info = 100 [(.goby.field) = {
6186inline bool Environment::_internal_has_adaptive_info() const {
6187 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6188 PROTOBUF_ASSUME(!value || _impl_.adaptive_info_ != nullptr);
6189 return value;
6190}
6191inline bool Environment::has_adaptive_info() const {
6192 return _internal_has_adaptive_info();
6193}
6194inline void Environment::clear_adaptive_info() {
6195 if (_impl_.adaptive_info_ != nullptr) _impl_.adaptive_info_->Clear();
6196 _impl_._has_bits_[0] &= ~0x00000080u;
6197}
6198inline const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& Environment::_internal_adaptive_info() const {
6199 const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* p = _impl_.adaptive_info_;
6200 return p != nullptr ? *p : reinterpret_cast<const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo&>(
6202}
6203inline const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& Environment::adaptive_info() const {
6204 // @@protoc_insertion_point(field_get:netsim.bellhop.protobuf.Environment.adaptive_info)
6205 return _internal_adaptive_info();
6206}
6207inline void Environment::unsafe_arena_set_allocated_adaptive_info(
6209 if (GetArenaForAllocation() == nullptr) {
6210 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.adaptive_info_);
6211 }
6212 _impl_.adaptive_info_ = adaptive_info;
6213 if (adaptive_info) {
6214 _impl_._has_bits_[0] |= 0x00000080u;
6215 } else {
6216 _impl_._has_bits_[0] &= ~0x00000080u;
6217 }
6218 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:netsim.bellhop.protobuf.Environment.adaptive_info)
6219}
6220inline ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* Environment::release_adaptive_info() {
6221 _impl_._has_bits_[0] &= ~0x00000080u;
6222 ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* temp = _impl_.adaptive_info_;
6223 _impl_.adaptive_info_ = nullptr;
6224#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6225 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
6226 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6227 if (GetArenaForAllocation() == nullptr) { delete old; }
6228#else // PROTOBUF_FORCE_COPY_IN_RELEASE
6229 if (GetArenaForAllocation() != nullptr) {
6230 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6231 }
6232#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
6233 return temp;
6234}
6235inline ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* Environment::unsafe_arena_release_adaptive_info() {
6236 // @@protoc_insertion_point(field_release:netsim.bellhop.protobuf.Environment.adaptive_info)
6237 _impl_._has_bits_[0] &= ~0x00000080u;
6238 ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* temp = _impl_.adaptive_info_;
6239 _impl_.adaptive_info_ = nullptr;
6240 return temp;
6241}
6242inline ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* Environment::_internal_mutable_adaptive_info() {
6243 _impl_._has_bits_[0] |= 0x00000080u;
6244 if (_impl_.adaptive_info_ == nullptr) {
6246 _impl_.adaptive_info_ = p;
6247 }
6248 return _impl_.adaptive_info_;
6249}
6250inline ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* Environment::mutable_adaptive_info() {
6251 ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* _msg = _internal_mutable_adaptive_info();
6252 // @@protoc_insertion_point(field_mutable:netsim.bellhop.protobuf.Environment.adaptive_info)
6253 return _msg;
6254}
6255inline void Environment::set_allocated_adaptive_info(::netsim::bellhop::protobuf::Environment_AdaptiveInfo* adaptive_info) {
6256 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6257 if (message_arena == nullptr) {
6258 delete _impl_.adaptive_info_;
6259 }
6260 if (adaptive_info) {
6261 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6262 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(adaptive_info);
6263 if (message_arena != submessage_arena) {
6264 adaptive_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6265 message_arena, adaptive_info, submessage_arena);
6266 }
6267 _impl_._has_bits_[0] |= 0x00000080u;
6268 } else {
6269 _impl_._has_bits_[0] &= ~0x00000080u;
6270 }
6271 _impl_.adaptive_info_ = adaptive_info;
6272 // @@protoc_insertion_point(field_set_allocated:netsim.bellhop.protobuf.Environment.adaptive_info)
6273}
6274
6275#ifdef __GNUC__
6276 #pragma GCC diagnostic pop
6277#endif // __GNUC__
6278// -------------------------------------------------------------------
6279
6280// -------------------------------------------------------------------
6281
6282// -------------------------------------------------------------------
6283
6284// -------------------------------------------------------------------
6285
6286// -------------------------------------------------------------------
6287
6288// -------------------------------------------------------------------
6289
6290// -------------------------------------------------------------------
6291
6292// -------------------------------------------------------------------
6293
6294// -------------------------------------------------------------------
6295
6296// -------------------------------------------------------------------
6297
6298// -------------------------------------------------------------------
6299
6300// -------------------------------------------------------------------
6301
6302// -------------------------------------------------------------------
6303
6304// -------------------------------------------------------------------
6305
6306
6307// @@protoc_insertion_point(namespace_scope)
6308
6309} // namespace protobuf
6310} // namespace bellhop
6311} // namespace netsim
6312
6313PROTOBUF_NAMESPACE_OPEN
6314
6315template <> struct is_proto_enum< ::netsim::bellhop::protobuf::Environment_Output_OutputType> : ::std::true_type {};
6316template <>
6318 return ::netsim::bellhop::protobuf::Environment_Output_OutputType_descriptor();
6319}
6320template <> struct is_proto_enum< ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units> : ::std::true_type {};
6321template <>
6323 return ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units_descriptor();
6324}
6325template <> struct is_proto_enum< ::netsim::bellhop::protobuf::Environment_Medium_MediumType> : ::std::true_type {};
6326template <>
6328 return ::netsim::bellhop::protobuf::Environment_Medium_MediumType_descriptor();
6329}
6330template <> struct is_proto_enum< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation> : ::std::true_type {};
6331template <>
6333 return ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation_descriptor();
6334}
6335template <> struct is_proto_enum< ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType> : ::std::true_type {};
6336template <>
6338 return ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType_descriptor();
6339}
6340
6341PROTOBUF_NAMESPACE_CLOSE
6342
6343// @@protoc_insertion_point(global_scope)
6344
6345#include <google/protobuf/port_undef.inc>
6346#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fenvironment_2eproto
Environment_AdaptiveInfo & operator=(const Environment_AdaptiveInfo &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const Environment_AdaptiveInfo &from)
void UnsafeArenaSwap(Environment_AdaptiveInfo *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Environment_AdaptiveInfo(const Environment_AdaptiveInfo &from)
static const Environment_AdaptiveInfo & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const Environment_AdaptiveInfo * internal_default_instance()
Environment_AdaptiveInfo & operator=(Environment_AdaptiveInfo &&from) noexcept
Environment_AdaptiveInfo(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(Environment_AdaptiveInfo &a, Environment_AdaptiveInfo &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_CONSTEXPR Environment_AdaptiveInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Environment_AdaptiveInfo(Environment_AdaptiveInfo &&from) noexcept
void set_ownship(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const Environment_AdaptiveInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_contact(ArgT0 &&arg0, ArgT... args)
void Swap(Environment_AdaptiveInfo *other)
Environment_AdaptiveInfo * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom(const Environment_Beams &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ApproximationType_descriptor()
friend void swap(Environment_Beams &a, Environment_Beams &b)
Environment_Beams * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Environment_Beams(const Environment_Beams &from)
Environment_Beams & operator=(Environment_Beams &&from) noexcept
void UnsafeArenaSwap(Environment_Beams *other)
Environment_Beams(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const std::string & ApproximationType_Name(T enum_t_value)
static const Environment_Beams & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_CONSTEXPR Environment_Beams(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Environment_Beams * internal_default_instance()
Environment_Beams(Environment_Beams &&from) noexcept
Environment_Beams & operator=(const Environment_Beams &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const Environment_Beams &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static bool ApproximationType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ApproximationType *value)
static const Environment_Bottom * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Environment_Bottom & operator=(const Environment_Bottom &from)
friend void swap(Environment_Bottom &a, Environment_Bottom &b)
static const Environment_Bottom & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_Bottom(const Environment_Bottom &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR Environment_Bottom(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const Environment_Bottom &from)
void UnsafeArenaSwap(Environment_Bottom *other)
void CopyFrom(const Environment_Bottom &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment_Bottom(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Environment_Bottom(Environment_Bottom &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Environment_Bottom & operator=(Environment_Bottom &&from) noexcept
Environment_Bottom * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Environment_Medium_Attenuation(Environment_Medium_Attenuation &&from) noexcept
static const Environment_Medium_Attenuation & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(Environment_Medium_Attenuation &a, Environment_Medium_Attenuation &b)
Environment_Medium_Attenuation(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const Environment_Medium_Attenuation &from)
void Swap(Environment_Medium_Attenuation *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Environment_Medium_Attenuation(const Environment_Medium_Attenuation &from)
void CopyFrom(const Environment_Medium_Attenuation &from)
Environment_Medium_Attenuation & operator=(Environment_Medium_Attenuation &&from) noexcept
static const std::string & Units_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Environment_Medium_Attenuation & operator=(const Environment_Medium_Attenuation &from)
static const Environment_Medium_Attenuation * internal_default_instance()
PROTOBUF_CONSTEXPR Environment_Medium_Attenuation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static bool Units_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Units *value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Units_descriptor()
void UnsafeArenaSwap(Environment_Medium_Attenuation *other)
Environment_Medium_Attenuation * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Environment_Medium_RCSample(Environment_Medium_RCSample &&from) noexcept
PROTOBUF_CONSTEXPR Environment_Medium_RCSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(Environment_Medium_RCSample &a, Environment_Medium_RCSample &b)
void MergeFrom(const Environment_Medium_RCSample &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const Environment_Medium_RCSample &from)
Environment_Medium_RCSample(const Environment_Medium_RCSample &from)
Environment_Medium_RCSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(Environment_Medium_RCSample *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment_Medium_RCSample & operator=(const Environment_Medium_RCSample &from)
static const Environment_Medium_RCSample & default_instance()
void UnsafeArenaSwap(Environment_Medium_RCSample *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Environment_Medium_RCSample & operator=(Environment_Medium_RCSample &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Environment_Medium_RCSample * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Environment_Medium_RCSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Environment_Medium & operator=(const Environment_Medium &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(Environment_Medium &a, Environment_Medium &b)
Environment_Medium * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MediumType_descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const Environment_Medium &from)
Environment_Medium(Environment_Medium &&from) noexcept
Environment_Medium & operator=(Environment_Medium &&from) noexcept
PROTOBUF_CONSTEXPR Environment_Medium(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_Medium(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Environment_Medium(const Environment_Medium &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Environment_Medium & default_instance()
void MergeFrom(const Environment_Medium &from)
static bool MediumType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MediumType *value)
static const Environment_Medium * internal_default_instance()
static const std::string & MediumType_Name(T enum_t_value)
void UnsafeArenaSwap(Environment_Medium *other)
void set_type(::netsim::bellhop::protobuf::Environment_Output_OutputType value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::netsim::bellhop::protobuf::Environment_Output_OutputType type() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static constexpr OutputType INCOHERENT_PRESSURE
Environment_Output & operator=(const Environment_Output &from)
static const std::string & OutputType_Name(T enum_t_value)
PROTOBUF_CONSTEXPR Environment_Output(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Environment_Output & operator=(Environment_Output &&from) noexcept
Environment_Output(const Environment_Output &from)
static bool OutputType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OutputType *value)
void MergeFrom(const Environment_Output &from)
static constexpr OutputType SEMICOHERENT_PRESSURE
void CopyFrom(const Environment_Output &from)
static constexpr OutputType COHERENT_PRESSURE
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Environment_Output(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(Environment_Output &a, Environment_Output &b)
static const Environment_Output & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(Environment_Output *other)
Environment_Output * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Environment_Output(Environment_Output &&from) noexcept
static const Environment_Output * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * OutputType_descriptor()
static const Environment_Receivers_ReceiverPosition & default_instance()
void UnsafeArenaSwap(Environment_Receivers_ReceiverPosition *other)
static const Environment_Receivers_ReceiverPosition * internal_default_instance()
Environment_Receivers_ReceiverPosition(const Environment_Receivers_ReceiverPosition &from)
Environment_Receivers_ReceiverPosition * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_CONSTEXPR Environment_Receivers_ReceiverPosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(Environment_Receivers_ReceiverPosition &a, Environment_Receivers_ReceiverPosition &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Environment_Receivers_ReceiverPosition & operator=(Environment_Receivers_ReceiverPosition &&from) noexcept
Environment_Receivers_ReceiverPosition(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_Receivers_ReceiverPosition & operator=(const Environment_Receivers_ReceiverPosition &from)
void Swap(Environment_Receivers_ReceiverPosition *other)
void MergeFrom(const Environment_Receivers_ReceiverPosition &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Environment_Receivers_ReceiverPosition(Environment_Receivers_ReceiverPosition &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const Environment_Receivers_ReceiverPosition &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Environment_Receivers(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(Environment_Receivers *other)
void Swap(Environment_Receivers *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const Environment_Receivers &from)
Environment_Receivers(Environment_Receivers &&from) noexcept
Environment_Receivers * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const Environment_Receivers & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Environment_Receivers * internal_default_instance()
Environment_Receivers & operator=(const Environment_Receivers &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const Environment_Receivers &from)
Environment_Receivers(const Environment_Receivers &from)
friend void swap(Environment_Receivers &a, Environment_Receivers &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR Environment_Receivers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment_Receivers & operator=(Environment_Receivers &&from) noexcept
void UnsafeArenaSwap(Environment_Sources_SourcePosition *other)
Environment_Sources_SourcePosition & operator=(Environment_Sources_SourcePosition &&from) noexcept
Environment_Sources_SourcePosition & operator=(const Environment_Sources_SourcePosition &from)
void CopyFrom(const Environment_Sources_SourcePosition &from)
void Swap(Environment_Sources_SourcePosition *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment_Sources_SourcePosition(const Environment_Sources_SourcePosition &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Environment_Sources_SourcePosition * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Environment_Sources_SourcePosition(Environment_Sources_SourcePosition &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(Environment_Sources_SourcePosition &a, Environment_Sources_SourcePosition &b)
static const Environment_Sources_SourcePosition & default_instance()
PROTOBUF_CONSTEXPR Environment_Sources_SourcePosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Environment_Sources_SourcePosition(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Environment_Sources_SourcePosition &from)
static const Environment_Sources_SourcePosition * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_Sources & operator=(const Environment_Sources &from)
void UnsafeArenaSwap(Environment_Sources *other)
static const Environment_Sources * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_CONSTEXPR Environment_Sources(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Environment_Sources * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Environment_Sources(Environment_Sources &&from) noexcept
Environment_Sources(const Environment_Sources &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(Environment_Sources &a, Environment_Sources &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const Environment_Sources &from)
static const Environment_Sources & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment_Sources & operator=(Environment_Sources &&from) noexcept
void MergeFrom(const Environment_Sources &from)
Environment_Sources(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const Environment_Surface &from)
friend void swap(Environment_Surface &a, Environment_Surface &b)
void MergeFrom(const Environment_Surface &from)
Environment_Surface(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Environment_Surface(const Environment_Surface &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(Environment_Surface *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_Surface(Environment_Surface &&from) noexcept
Environment_Surface * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment_Surface & operator=(const Environment_Surface &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Environment_Surface & operator=(Environment_Surface &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_CONSTEXPR Environment_Surface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Environment_Surface * internal_default_instance()
static const Environment_Surface & default_instance()
Environment_WaterColumn_SSPSample & operator=(Environment_WaterColumn_SSPSample &&from) noexcept
void MergeFrom(const Environment_WaterColumn_SSPSample &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const Environment_WaterColumn_SSPSample &from)
static const Environment_WaterColumn_SSPSample & default_instance()
void Swap(Environment_WaterColumn_SSPSample *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Environment_WaterColumn_SSPSample & operator=(const Environment_WaterColumn_SSPSample &from)
Environment_WaterColumn_SSPSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Environment_WaterColumn_SSPSample(Environment_WaterColumn_SSPSample &&from) noexcept
static const Environment_WaterColumn_SSPSample * internal_default_instance()
friend void swap(Environment_WaterColumn_SSPSample &a, Environment_WaterColumn_SSPSample &b)
void UnsafeArenaSwap(Environment_WaterColumn_SSPSample *other)
Environment_WaterColumn_SSPSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_WaterColumn_SSPSample(const Environment_WaterColumn_SSPSample &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_CONSTEXPR Environment_WaterColumn_SSPSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Environment_WaterColumn & operator=(const Environment_WaterColumn &from)
Environment_WaterColumn * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom(const Environment_WaterColumn &from)
static const Environment_WaterColumn * internal_default_instance()
PROTOBUF_CONSTEXPR Environment_WaterColumn(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const std::string & SSPInterpolation_Name(T enum_t_value)
static const Environment_WaterColumn & default_instance()
void Swap(Environment_WaterColumn *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Environment_WaterColumn(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const Environment_WaterColumn &from)
static bool SSPInterpolation_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SSPInterpolation *value)
Environment_WaterColumn & operator=(Environment_WaterColumn &&from) noexcept
Environment_WaterColumn(const Environment_WaterColumn &from)
friend void swap(Environment_WaterColumn &a, Environment_WaterColumn &b)
Environment_WaterColumn(Environment_WaterColumn &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SSPInterpolation_descriptor()
void UnsafeArenaSwap(Environment_WaterColumn *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Environment * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom(const Environment &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const Environment & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_CONSTEXPR Environment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Environment(Environment &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(Environment *other)
void set_title(ArgT0 &&arg0, ArgT... args)
Environment & operator=(const Environment &from)
Environment(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(Environment &a, Environment &b)
static const Environment * internal_default_instance()
Environment(const Environment &from)
Environment & operator=(Environment &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Environment &from)
::netsim::bellhop::protobuf::Environment_Beams * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Beams >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation >()
::netsim::bellhop::protobuf::Environment_Sources * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources >(Arena *)
::netsim::bellhop::protobuf::Environment_Medium_Attenuation * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium_Attenuation >(Arena *)
::netsim::bellhop::protobuf::Environment_Bottom * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Bottom >(Arena *)
::netsim::bellhop::protobuf::Environment_Medium * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType >()
::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition >(Arena *)
::netsim::bellhop::protobuf::Environment_Surface * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Surface >(Arena *)
::netsim::bellhop::protobuf::Environment_Output * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Output >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Medium_MediumType >()
const EnumDescriptor * GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Output_OutputType >()
::netsim::bellhop::protobuf::Environment_Receivers * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers >(Arena *)
::netsim::bellhop::protobuf::Environment_AdaptiveInfo * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_AdaptiveInfo >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_netsim_2facousticstoolbox_2fenvironment_2eproto
::netsim::bellhop::protobuf::Environment_Sources_SourcePosition * Arena::CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources_SourcePosition >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units >()
Environment_BeamsDefaultTypeInternal _Environment_Beams_default_instance_
constexpr int Environment_Medium_MediumType_MediumType_ARRAYSIZE
Environment_ReceiversDefaultTypeInternal _Environment_Receivers_default_instance_
Environment_AdaptiveInfoDefaultTypeInternal _Environment_AdaptiveInfo_default_instance_
bool Environment_Medium_Attenuation_Units_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Medium_Attenuation_Units *value)
Environment_Sources_SourcePositionDefaultTypeInternal _Environment_Sources_SourcePosition_default_instance_
const std::string & Environment_Beams_ApproximationType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Environment_Medium_Attenuation_Units_descriptor()
constexpr Environment_Output_OutputType Environment_Output_OutputType_OutputType_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Environment_Output_OutputType_descriptor()
constexpr Environment_Beams_ApproximationType Environment_Beams_ApproximationType_ApproximationType_MIN
Environment_WaterColumn_SSPSampleDefaultTypeInternal _Environment_WaterColumn_SSPSample_default_instance_
constexpr int Environment_Medium_Attenuation_Units_Units_ARRAYSIZE
Environment_OutputDefaultTypeInternal _Environment_Output_default_instance_
Environment_SurfaceDefaultTypeInternal _Environment_Surface_default_instance_
constexpr Environment_Medium_MediumType Environment_Medium_MediumType_MediumType_MIN
constexpr Environment_Output_OutputType Environment_Output_OutputType_OutputType_MIN
Environment_WaterColumnDefaultTypeInternal _Environment_WaterColumn_default_instance_
constexpr Environment_Medium_Attenuation_Units Environment_Medium_Attenuation_Units_Units_MIN
Environment_MediumDefaultTypeInternal _Environment_Medium_default_instance_
const std::string & Environment_WaterColumn_SSPInterpolation_Name(T enum_t_value)
constexpr Environment_WaterColumn_SSPInterpolation Environment_WaterColumn_SSPInterpolation_SSPInterpolation_MAX
constexpr Environment_Medium_MediumType Environment_Medium_MediumType_MediumType_MAX
Environment_Medium_AttenuationDefaultTypeInternal _Environment_Medium_Attenuation_default_instance_
bool Environment_Medium_MediumType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Medium_MediumType *value)
constexpr Environment_Beams_ApproximationType Environment_Beams_ApproximationType_ApproximationType_MAX
bool Environment_Medium_MediumType_IsValid(int value)
Environment_SourcesDefaultTypeInternal _Environment_Sources_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Environment_Medium_MediumType_descriptor()
bool Environment_Beams_ApproximationType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Beams_ApproximationType *value)
bool Environment_Output_OutputType_IsValid(int value)
bool Environment_Output_OutputType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_Output_OutputType *value)
constexpr Environment_Medium_Attenuation_Units Environment_Medium_Attenuation_Units_Units_MAX
constexpr int Environment_Output_OutputType_OutputType_ARRAYSIZE
bool Environment_Medium_Attenuation_Units_IsValid(int value)
EnvironmentDefaultTypeInternal _Environment_default_instance_
bool Environment_WaterColumn_SSPInterpolation_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Environment_WaterColumn_SSPInterpolation *value)
Environment_BottomDefaultTypeInternal _Environment_Bottom_default_instance_
constexpr int Environment_WaterColumn_SSPInterpolation_SSPInterpolation_ARRAYSIZE
Environment_Medium_RCSampleDefaultTypeInternal _Environment_Medium_RCSample_default_instance_
bool Environment_WaterColumn_SSPInterpolation_IsValid(int value)
constexpr int Environment_Beams_ApproximationType_ApproximationType_ARRAYSIZE
const std::string & Environment_Output_OutputType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Environment_Beams_ApproximationType_descriptor()
const std::string & Environment_Medium_MediumType_Name(T enum_t_value)
const std::string & Environment_Medium_Attenuation_Units_Name(T enum_t_value)
constexpr Environment_WaterColumn_SSPInterpolation Environment_WaterColumn_SSPInterpolation_SSPInterpolation_MIN
bool Environment_Beams_ApproximationType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Environment_WaterColumn_SSPInterpolation_descriptor()
Environment_Receivers_ReceiverPositionDefaultTypeInternal _Environment_Receivers_ReceiverPosition_default_instance_