4 #ifndef PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fenvironment_2eproto
5 #define PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fenvironment_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
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>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[15];
50 static const ::google::protobuf::uint32
offsets[];
58 class EnvironmentDefaultTypeInternal;
61 class Environment_AdaptiveInfoDefaultTypeInternal;
64 class Environment_BeamsDefaultTypeInternal;
67 class Environment_BottomDefaultTypeInternal;
70 class Environment_MediumDefaultTypeInternal;
73 class Environment_Medium_AttenuationDefaultTypeInternal;
76 class Environment_Medium_RCSampleDefaultTypeInternal;
79 class Environment_OutputDefaultTypeInternal;
82 class Environment_ReceiversDefaultTypeInternal;
85 class Environment_Receivers_ReceiverPositionDefaultTypeInternal;
88 class Environment_SourcesDefaultTypeInternal;
91 class Environment_Sources_SourcePositionDefaultTypeInternal;
94 class Environment_SurfaceDefaultTypeInternal;
97 class Environment_WaterColumnDefaultTypeInternal;
100 class Environment_WaterColumn_SSPSampleDefaultTypeInternal;
143 return ::google::protobuf::internal::NameOfEnum(
148 return ::google::protobuf::internal::ParseNamedEnum<Environment_Output_OutputType>(
166 return ::google::protobuf::internal::NameOfEnum(
171 return ::google::protobuf::internal::ParseNamedEnum<Environment_Medium_Attenuation_Units>(
187 return ::google::protobuf::internal::NameOfEnum(
192 return ::google::protobuf::internal::ParseNamedEnum<Environment_Medium_MediumType>(
207 return ::google::protobuf::internal::NameOfEnum(
212 return ::google::protobuf::internal::ParseNamedEnum<Environment_WaterColumn_SSPInterpolation>(
228 return ::google::protobuf::internal::NameOfEnum(
233 return ::google::protobuf::internal::ParseNamedEnum<Environment_Beams_ApproximationType>(
252 *
this = ::std::move(from);
256 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
257 if (
this != &from) InternalSwap(&from);
265 return _internal_metadata_.unknown_fields();
268 return _internal_metadata_.mutable_unknown_fields();
271 static const ::google::protobuf::Descriptor*
descriptor();
290 return CreateMaybeMessage<Environment_Output>(NULL);
294 return CreateMaybeMessage<Environment_Output>(arena);
296 void CopyFrom(const ::google::protobuf::Message& from)
final;
297 void MergeFrom(const ::google::protobuf::Message& from)
final;
305 ::
google::protobuf::io::CodedInputStream* input) final;
307 ::
google::protobuf::io::CodedOutputStream* output) const final;
309 bool deterministic, ::
google::protobuf::uint8* target) const final;
315 void SetCachedSize(
int size)
const final;
318 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
321 inline void* MaybeArenaPtr()
const {
326 ::google::protobuf::Metadata
GetMetadata() const final;
352 static inline const ::google::protobuf::EnumDescriptor*
376 void clear_has_type();
378 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
379 ::google::protobuf::internal::HasBits<1> _has_bits_;
380 mutable ::google::protobuf::internal::CachedSize _cached_size_;
382 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
400 *
this = ::std::move(from);
404 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
405 if (
this != &from) InternalSwap(&from);
413 return _internal_metadata_.unknown_fields();
416 return _internal_metadata_.mutable_unknown_fields();
419 static const ::google::protobuf::Descriptor*
descriptor();
438 return CreateMaybeMessage<Environment_Medium_RCSample>(NULL);
442 return CreateMaybeMessage<Environment_Medium_RCSample>(arena);
444 void CopyFrom(const ::google::protobuf::Message& from)
final;
445 void MergeFrom(const ::google::protobuf::Message& from)
final;
453 ::
google::protobuf::io::CodedInputStream* input) final;
455 ::
google::protobuf::io::CodedOutputStream* output) const final;
457 bool deterministic, ::
google::protobuf::uint8* target) const final;
463 void SetCachedSize(
int size)
const final;
466 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
469 inline void* MaybeArenaPtr()
const {
474 ::google::protobuf::Metadata
GetMetadata() const final;
484 double angle() const;
492 void set_rc(
double value);
498 double phase() const;
503 void set_has_angle();
504 void clear_has_angle();
507 void set_has_phase();
508 void clear_has_phase();
510 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
511 ::
google::protobuf::internal::HasBits<1> _has_bits_;
512 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
534 *
this = ::std::move(from);
537 inline Environment_Medium_Attenuation&
operator=(Environment_Medium_Attenuation&& from) noexcept {
538 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
539 if (
this != &from) InternalSwap(&from);
547 return _internal_metadata_.unknown_fields();
550 return _internal_metadata_.mutable_unknown_fields();
553 static const ::google::protobuf::Descriptor*
descriptor();
572 return CreateMaybeMessage<Environment_Medium_Attenuation>(NULL);
576 return CreateMaybeMessage<Environment_Medium_Attenuation>(arena);
578 void CopyFrom(const ::google::protobuf::Message& from)
final;
579 void MergeFrom(const ::google::protobuf::Message& from)
final;
587 ::
google::protobuf::io::CodedInputStream* input) final;
589 ::
google::protobuf::io::CodedOutputStream* output) const final;
591 bool deterministic, ::
google::protobuf::uint8* target) const final;
597 void SetCachedSize(
int size)
const final;
600 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
603 inline void* MaybeArenaPtr()
const {
608 ::google::protobuf::Metadata
GetMetadata() const final;
623 static const
Units DB_PER_WAVELENGTH =
625 static inline
bool Units_IsValid(
int value) {
632 static const int Units_ARRAYSIZE =
634 static inline const ::google::protobuf::EnumDescriptor*
649 bool has_value()
const;
651 static const int kValueFieldNumber = 2;
652 double value()
const;
653 void set_value(
double value);
656 bool has_units()
const;
658 static const int kUnitsFieldNumber = 1;
664 void set_has_units();
665 void clear_has_units();
666 void set_has_value();
667 void clear_has_value();
669 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
670 ::google::protobuf::internal::HasBits<1> _has_bits_;
671 mutable ::google::protobuf::internal::CachedSize _cached_size_;
674 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
692 *
this = ::std::move(from);
695 inline Environment_Medium&
operator=(Environment_Medium&& from) noexcept {
696 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
697 if (
this != &from) InternalSwap(&from);
705 return _internal_metadata_.unknown_fields();
708 return _internal_metadata_.mutable_unknown_fields();
711 static const ::google::protobuf::Descriptor*
descriptor();
730 return CreateMaybeMessage<Environment_Medium>(NULL);
734 return CreateMaybeMessage<Environment_Medium>(arena);
736 void CopyFrom(const ::google::protobuf::Message& from)
final;
737 void MergeFrom(const ::google::protobuf::Message& from)
final;
745 ::
google::protobuf::io::CodedInputStream* input) final;
747 ::
google::protobuf::io::CodedOutputStream* output) const final;
749 bool deterministic, ::
google::protobuf::uint8* target) const final;
755 void SetCachedSize(
int size)
const final;
758 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
761 inline void* MaybeArenaPtr()
const {
766 ::google::protobuf::Metadata
GetMetadata() const final;
782 static inline
bool MediumType_IsValid(
int value) {
789 static const int MediumType_ARRAYSIZE =
791 static inline const ::google::protobuf::EnumDescriptor*
806 int rc_sample_size()
const;
807 void clear_rc_sample();
808 static const int kRcSampleFieldNumber = 7;
810 ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >*
812 const ::netsim::bellhop::protobuf::Environment_Medium_RCSample& rc_sample(
int index)
const;
814 const ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >&
818 bool has_attenuation()
const;
819 void clear_attenuation();
820 static const int kAttenuationFieldNumber = 2;
822 const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& _internal_attenuation()
const;
824 const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& attenuation()
const;
832 static const int kCpFieldNumber = 3;
834 void set_cp(
double value);
839 static const int kCsFieldNumber = 4;
841 void set_cs(
double value);
844 bool has_density()
const;
845 void clear_density();
846 static const int kDensityFieldNumber = 5;
847 double density()
const;
848 void set_density(
double value);
851 bool has_depth()
const;
853 static const int kDepthFieldNumber = 6;
854 double depth()
const;
855 void set_depth(
double value);
858 bool has_type()
const;
860 static const int kTypeFieldNumber = 1;
867 void clear_has_type();
868 void set_has_attenuation();
869 void clear_has_attenuation();
874 void set_has_density();
875 void clear_has_density();
876 void set_has_depth();
877 void clear_has_depth();
879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
880 ::google::protobuf::internal::HasBits<1> _has_bits_;
881 mutable ::google::protobuf::internal::CachedSize _cached_size_;
882 ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample > rc_sample_;
889 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
907 *
this = ::std::move(from);
910 inline Environment_Surface&
operator=(Environment_Surface&& from) noexcept {
911 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
912 if (
this != &from) InternalSwap(&from);
920 return _internal_metadata_.unknown_fields();
923 return _internal_metadata_.mutable_unknown_fields();
926 static const ::google::protobuf::Descriptor*
descriptor();
945 return CreateMaybeMessage<Environment_Surface>(NULL);
949 return CreateMaybeMessage<Environment_Surface>(arena);
951 void CopyFrom(const ::google::protobuf::Message& from)
final;
952 void MergeFrom(const ::google::protobuf::Message& from)
final;
960 ::
google::protobuf::io::CodedInputStream* input) final;
962 ::
google::protobuf::io::CodedOutputStream* output) const final;
964 bool deterministic, ::
google::protobuf::uint8* target) const final;
970 void SetCachedSize(
int size)
const final;
973 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
976 inline void* MaybeArenaPtr()
const {
981 ::google::protobuf::Metadata
GetMetadata() const final;
988 bool has_medium() const;
990 static const
int kMediumFieldNumber = 1;
1001 void set_has_medium();
1002 void clear_has_medium();
1004 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1005 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1006 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1026 *
this = ::std::move(from);
1029 inline Environment_WaterColumn_SSPSample&
operator=(Environment_WaterColumn_SSPSample&& from) noexcept {
1030 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1031 if (
this != &from) InternalSwap(&from);
1039 return _internal_metadata_.unknown_fields();
1042 return _internal_metadata_.mutable_unknown_fields();
1045 static const ::google::protobuf::Descriptor*
descriptor();
1064 return CreateMaybeMessage<Environment_WaterColumn_SSPSample>(NULL);
1068 return CreateMaybeMessage<Environment_WaterColumn_SSPSample>(arena);
1070 void CopyFrom(const ::google::protobuf::Message& from)
final;
1071 void MergeFrom(const ::google::protobuf::Message& from)
final;
1079 ::
google::protobuf::io::CodedInputStream* input) final;
1081 ::
google::protobuf::io::CodedOutputStream* output) const final;
1083 bool deterministic, ::
google::protobuf::uint8* target) const final;
1089 void SetCachedSize(
int size)
const final;
1092 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1095 inline void* MaybeArenaPtr()
const {
1100 ::google::protobuf::Metadata
GetMetadata() const final;
1107 int eof_size() const;
1109 static const
int kEofFieldNumber = 3;
1110 double eof(
int index) const;
1111 void set_eof(
int index,
double value);
1112 void add_eof(
double value);
1113 const ::
google::protobuf::RepeatedField<
double >&
1115 ::
google::protobuf::RepeatedField<
double >*
1119 bool has_depth() const;
1121 static const
int kDepthFieldNumber = 1;
1122 double depth() const;
1123 void set_depth(
double value);
1126 bool has_cp() const;
1128 static const
int kCpFieldNumber = 2;
1130 void set_cp(
double value);
1134 void set_has_depth();
1135 void clear_has_depth();
1137 void clear_has_cp();
1139 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1140 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1141 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1142 ::
google::protobuf::RepeatedField<
double > eof_;
1163 *
this = ::std::move(from);
1166 inline Environment_WaterColumn&
operator=(Environment_WaterColumn&& from) noexcept {
1167 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1168 if (
this != &from) InternalSwap(&from);
1176 return _internal_metadata_.unknown_fields();
1179 return _internal_metadata_.mutable_unknown_fields();
1182 static const ::google::protobuf::Descriptor*
descriptor();
1201 return CreateMaybeMessage<Environment_WaterColumn>(NULL);
1205 return CreateMaybeMessage<Environment_WaterColumn>(arena);
1207 void CopyFrom(const ::google::protobuf::Message& from)
final;
1208 void MergeFrom(const ::google::protobuf::Message& from)
final;
1216 ::
google::protobuf::io::CodedInputStream* input) final;
1218 ::
google::protobuf::io::CodedOutputStream* output) const final;
1220 bool deterministic, ::
google::protobuf::uint8* target) const final;
1226 void SetCachedSize(
int size)
const final;
1229 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1232 inline void* MaybeArenaPtr()
const {
1237 ::google::protobuf::Metadata
GetMetadata() const final;
1250 static inline
bool SSPInterpolation_IsValid(
int value) {
1257 static const int SSPInterpolation_ARRAYSIZE =
1259 static inline const ::google::protobuf::EnumDescriptor*
1274 int eof_coef_size()
const;
1275 void clear_eof_coef();
1276 static const int kEofCoefFieldNumber = 2;
1277 double eof_coef(
int index)
const;
1278 void set_eof_coef(
int index,
double value);
1279 void add_eof_coef(
double value);
1280 const ::google::protobuf::RepeatedField< double >&
1282 ::google::protobuf::RepeatedField< double >*
1286 int sample_size()
const;
1287 void clear_sample();
1288 static const int kSampleFieldNumber = 4;
1290 ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >*
1292 const ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample& sample(
int index)
const;
1294 const ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >&
1298 bool has_range()
const;
1300 static const int kRangeFieldNumber = 5;
1301 double range()
const;
1302 void set_range(
double value);
1305 bool has_bathymetry()
const;
1306 void clear_bathymetry();
1307 static const int kBathymetryFieldNumber = 6;
1308 double bathymetry()
const;
1309 void set_bathymetry(
double value);
1312 bool has_interpolation_type()
const;
1313 void clear_interpolation_type();
1314 static const int kInterpolationTypeFieldNumber = 1;
1319 bool has_use_attenuation()
const;
1320 void clear_use_attenuation();
1321 static const int kUseAttenuationFieldNumber = 3;
1322 bool use_attenuation()
const;
1323 void set_use_attenuation(
bool value);
1327 void set_has_interpolation_type();
1328 void clear_has_interpolation_type();
1329 void set_has_use_attenuation();
1330 void clear_has_use_attenuation();
1331 void set_has_range();
1332 void clear_has_range();
1333 void set_has_bathymetry();
1334 void clear_has_bathymetry();
1336 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1337 ::google::protobuf::internal::HasBits<1> _has_bits_;
1338 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1339 ::google::protobuf::RepeatedField< double > eof_coef_;
1340 ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample > sample_;
1343 int interpolation_type_;
1344 bool use_attenuation_;
1345 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
1363 *
this = ::std::move(from);
1366 inline Environment_Bottom&
operator=(Environment_Bottom&& from) noexcept {
1367 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1368 if (
this != &from) InternalSwap(&from);
1376 return _internal_metadata_.unknown_fields();
1379 return _internal_metadata_.mutable_unknown_fields();
1382 static const ::google::protobuf::Descriptor*
descriptor();
1401 return CreateMaybeMessage<Environment_Bottom>(NULL);
1405 return CreateMaybeMessage<Environment_Bottom>(arena);
1407 void CopyFrom(const ::google::protobuf::Message& from)
final;
1408 void MergeFrom(const ::google::protobuf::Message& from)
final;
1416 ::
google::protobuf::io::CodedInputStream* input) final;
1418 ::
google::protobuf::io::CodedOutputStream* output) const final;
1420 bool deterministic, ::
google::protobuf::uint8* target) const final;
1426 void SetCachedSize(
int size)
const final;
1429 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1432 inline void* MaybeArenaPtr()
const {
1437 ::google::protobuf::Metadata
GetMetadata() const final;
1444 bool has_medium() const;
1445 void clear_medium();
1446 static const
int kMediumFieldNumber = 1;
1457 void set_has_medium();
1458 void clear_has_medium();
1460 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1461 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1462 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1482 *
this = ::std::move(from);
1485 inline Environment_Sources_SourcePosition&
operator=(Environment_Sources_SourcePosition&& from) noexcept {
1486 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1487 if (
this != &from) InternalSwap(&from);
1495 return _internal_metadata_.unknown_fields();
1498 return _internal_metadata_.mutable_unknown_fields();
1501 static const ::google::protobuf::Descriptor*
descriptor();
1520 return CreateMaybeMessage<Environment_Sources_SourcePosition>(NULL);
1524 return CreateMaybeMessage<Environment_Sources_SourcePosition>(arena);
1526 void CopyFrom(const ::google::protobuf::Message& from)
final;
1527 void MergeFrom(const ::google::protobuf::Message& from)
final;
1535 ::
google::protobuf::io::CodedInputStream* input) final;
1537 ::
google::protobuf::io::CodedOutputStream* output) const final;
1539 bool deterministic, ::
google::protobuf::uint8* target) const final;
1545 void SetCachedSize(
int size)
const final;
1548 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1551 inline void* MaybeArenaPtr()
const {
1556 ::google::protobuf::Metadata
GetMetadata() const final;
1563 bool has_depth() const;
1565 static const
int kDepthFieldNumber = 1;
1566 double depth() const;
1567 void set_depth(
double value);
1571 void set_has_depth();
1572 void clear_has_depth();
1574 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1575 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1576 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1596 *
this = ::std::move(from);
1599 inline Environment_Sources&
operator=(Environment_Sources&& from) noexcept {
1600 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1601 if (
this != &from) InternalSwap(&from);
1609 return _internal_metadata_.unknown_fields();
1612 return _internal_metadata_.mutable_unknown_fields();
1615 static const ::google::protobuf::Descriptor*
descriptor();
1634 return CreateMaybeMessage<Environment_Sources>(NULL);
1638 return CreateMaybeMessage<Environment_Sources>(arena);
1640 void CopyFrom(const ::google::protobuf::Message& from)
final;
1641 void MergeFrom(const ::google::protobuf::Message& from)
final;
1649 ::
google::protobuf::io::CodedInputStream* input) final;
1651 ::
google::protobuf::io::CodedOutputStream* output) const final;
1653 bool deterministic, ::
google::protobuf::uint8* target) const final;
1659 void SetCachedSize(
int size)
const final;
1662 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1665 inline void* MaybeArenaPtr()
const {
1670 ::google::protobuf::Metadata
GetMetadata() const final;
1679 bool has_first() const;
1681 static const
int kFirstFieldNumber = 2;
1691 bool has_last() const;
1693 static const
int kLastFieldNumber = 3;
1703 bool has_number_in_depth() const;
1704 void clear_number_in_depth();
1705 static const
int kNumberInDepthFieldNumber = 1;
1706 ::
google::protobuf::uint32 number_in_depth() const;
1707 void set_number_in_depth(::
google::protobuf::uint32 value);
1711 void set_has_number_in_depth();
1712 void clear_has_number_in_depth();
1713 void set_has_first();
1714 void clear_has_first();
1715 void set_has_last();
1716 void clear_has_last();
1718 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1719 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1720 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1723 ::
google::protobuf::uint32 number_in_depth_;
1742 *
this = ::std::move(from);
1745 inline Environment_Receivers_ReceiverPosition&
operator=(Environment_Receivers_ReceiverPosition&& from) noexcept {
1746 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1747 if (
this != &from) InternalSwap(&from);
1755 return _internal_metadata_.unknown_fields();
1758 return _internal_metadata_.mutable_unknown_fields();
1761 static const ::google::protobuf::Descriptor*
descriptor();
1780 return CreateMaybeMessage<Environment_Receivers_ReceiverPosition>(NULL);
1784 return CreateMaybeMessage<Environment_Receivers_ReceiverPosition>(arena);
1786 void CopyFrom(const ::google::protobuf::Message& from)
final;
1787 void MergeFrom(const ::google::protobuf::Message& from)
final;
1795 ::
google::protobuf::io::CodedInputStream* input) final;
1797 ::
google::protobuf::io::CodedOutputStream* output) const final;
1799 bool deterministic, ::
google::protobuf::uint8* target) const final;
1805 void SetCachedSize(
int size)
const final;
1808 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1811 inline void* MaybeArenaPtr()
const {
1816 ::google::protobuf::Metadata
GetMetadata() const final;
1823 bool has_depth() const;
1825 static const
int kDepthFieldNumber = 1;
1826 double depth() const;
1827 void set_depth(
double value);
1830 bool has_range() const;
1832 static const
int kRangeFieldNumber = 2;
1833 double range() const;
1834 void set_range(
double value);
1838 void set_has_depth();
1839 void clear_has_depth();
1840 void set_has_range();
1841 void clear_has_range();
1843 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1844 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1845 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1866 *
this = ::std::move(from);
1869 inline Environment_Receivers&
operator=(Environment_Receivers&& from) noexcept {
1870 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1871 if (
this != &from) InternalSwap(&from);
1879 return _internal_metadata_.unknown_fields();
1882 return _internal_metadata_.mutable_unknown_fields();
1885 static const ::google::protobuf::Descriptor*
descriptor();
1904 return CreateMaybeMessage<Environment_Receivers>(NULL);
1908 return CreateMaybeMessage<Environment_Receivers>(arena);
1910 void CopyFrom(const ::google::protobuf::Message& from)
final;
1911 void MergeFrom(const ::google::protobuf::Message& from)
final;
1919 ::
google::protobuf::io::CodedInputStream* input) final;
1921 ::
google::protobuf::io::CodedOutputStream* output) const final;
1923 bool deterministic, ::
google::protobuf::uint8* target) const final;
1929 void SetCachedSize(
int size)
const final;
1932 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1935 inline void* MaybeArenaPtr()
const {
1940 ::google::protobuf::Metadata
GetMetadata() const final;
1949 bool has_first() const;
1951 static const
int kFirstFieldNumber = 3;
1961 bool has_last() const;
1963 static const
int kLastFieldNumber = 4;
1973 bool has_number_in_depth() const;
1974 void clear_number_in_depth();
1975 static const
int kNumberInDepthFieldNumber = 1;
1976 ::
google::protobuf::uint32 number_in_depth() const;
1977 void set_number_in_depth(::
google::protobuf::uint32 value);
1980 bool has_number_in_range() const;
1981 void clear_number_in_range();
1982 static const
int kNumberInRangeFieldNumber = 2;
1983 ::
google::protobuf::uint32 number_in_range() const;
1984 void set_number_in_range(::
google::protobuf::uint32 value);
1988 void set_has_number_in_depth();
1989 void clear_has_number_in_depth();
1990 void set_has_number_in_range();
1991 void clear_has_number_in_range();
1992 void set_has_first();
1993 void clear_has_first();
1994 void set_has_last();
1995 void clear_has_last();
1997 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1998 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1999 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
2002 ::
google::protobuf::uint32 number_in_depth_;
2003 ::
google::protobuf::uint32 number_in_range_;
2022 *
this = ::std::move(from);
2025 inline Environment_Beams&
operator=(Environment_Beams&& from) noexcept {
2026 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2027 if (
this != &from) InternalSwap(&from);
2035 return _internal_metadata_.unknown_fields();
2038 return _internal_metadata_.mutable_unknown_fields();
2041 static const ::google::protobuf::Descriptor*
descriptor();
2060 return CreateMaybeMessage<Environment_Beams>(NULL);
2064 return CreateMaybeMessage<Environment_Beams>(arena);
2066 void CopyFrom(const ::google::protobuf::Message& from)
final;
2067 void MergeFrom(const ::google::protobuf::Message& from)
final;
2075 ::
google::protobuf::io::CodedInputStream* input) final;
2077 ::
google::protobuf::io::CodedOutputStream* output) const final;
2079 bool deterministic, ::
google::protobuf::uint8* target) const final;
2085 void SetCachedSize(
int size)
const final;
2088 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2091 inline void* MaybeArenaPtr()
const {
2096 ::google::protobuf::Metadata
GetMetadata() const final;
2109 static inline
bool ApproximationType_IsValid(
int value) {
2116 static const int ApproximationType_ARRAYSIZE =
2118 static inline const ::google::protobuf::EnumDescriptor*
2133 bool has_number()
const;
2134 void clear_number();
2135 static const int kNumberFieldNumber = 4;
2136 ::google::protobuf::uint32 number()
const;
2137 void set_number(::google::protobuf::uint32 value);
2140 bool has_theta_max()
const;
2141 void clear_theta_max();
2142 static const int kThetaMaxFieldNumber = 3;
2143 ::google::protobuf::int32 theta_max()
const;
2144 void set_theta_max(::google::protobuf::int32 value);
2147 bool has_approximation_type()
const;
2148 void clear_approximation_type();
2149 static const int kApproximationTypeFieldNumber = 1;
2154 bool has_theta_min()
const;
2155 void clear_theta_min();
2156 static const int kThetaMinFieldNumber = 2;
2157 ::google::protobuf::int32 theta_min()
const;
2158 void set_theta_min(::google::protobuf::int32 value);
2162 void set_has_approximation_type();
2163 void clear_has_approximation_type();
2164 void set_has_theta_min();
2165 void clear_has_theta_min();
2166 void set_has_theta_max();
2167 void clear_has_theta_max();
2168 void set_has_number();
2169 void clear_has_number();
2171 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2172 ::google::protobuf::internal::HasBits<1> _has_bits_;
2173 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2174 ::google::protobuf::uint32 number_;
2175 ::google::protobuf::int32 theta_max_;
2176 int approximation_type_;
2177 ::google::protobuf::int32 theta_min_;
2178 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
2196 *
this = ::std::move(from);
2199 inline Environment_AdaptiveInfo&
operator=(Environment_AdaptiveInfo&& from) noexcept {
2200 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2201 if (
this != &from) InternalSwap(&from);
2209 return _internal_metadata_.unknown_fields();
2212 return _internal_metadata_.mutable_unknown_fields();
2215 static const ::google::protobuf::Descriptor*
descriptor();
2234 return CreateMaybeMessage<Environment_AdaptiveInfo>(NULL);
2238 return CreateMaybeMessage<Environment_AdaptiveInfo>(arena);
2240 void CopyFrom(const ::google::protobuf::Message& from)
final;
2241 void MergeFrom(const ::google::protobuf::Message& from)
final;
2249 ::
google::protobuf::io::CodedInputStream* input) final;
2251 ::
google::protobuf::io::CodedOutputStream* output) const final;
2253 bool deterministic, ::
google::protobuf::uint8* target) const final;
2259 void SetCachedSize(
int size)
const final;
2262 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2265 inline void* MaybeArenaPtr()
const {
2270 ::google::protobuf::Metadata
GetMetadata() const final;
2277 bool has_contact() const;
2278 void clear_contact();
2279 static const
int kContactFieldNumber = 1;
2280 const ::std::
string& contact() const;
2281 void set_contact(const ::std::
string& value);
2283 void set_contact(::std::string&& value);
2285 void set_contact(
const char* value);
2286 void set_contact(
const char* value,
size_t size);
2287 ::std::string* mutable_contact();
2288 ::std::string* release_contact();
2289 void set_allocated_contact(::std::string* contact);
2292 bool has_ownship()
const;
2293 void clear_ownship();
2294 static const int kOwnshipFieldNumber = 2;
2295 const ::std::string& ownship()
const;
2296 void set_ownship(const ::std::string& value);
2298 void set_ownship(::std::string&& value);
2300 void set_ownship(
const char* value);
2301 void set_ownship(
const char* value,
size_t size);
2302 ::std::string* mutable_ownship();
2303 ::std::string* release_ownship();
2304 void set_allocated_ownship(::std::string* ownship);
2307 bool has_read_shd()
const;
2308 void clear_read_shd();
2309 static const int kReadShdFieldNumber = 3;
2310 bool read_shd()
const;
2311 void set_read_shd(
bool value);
2314 bool has_full_shd_matrix()
const;
2315 void clear_full_shd_matrix();
2316 static const int kFullShdMatrixFieldNumber = 10;
2317 bool full_shd_matrix()
const;
2318 void set_full_shd_matrix(
bool value);
2321 bool has_auto_receiver_ranges()
const;
2322 void clear_auto_receiver_ranges();
2323 static const int kAutoReceiverRangesFieldNumber = 4;
2324 bool auto_receiver_ranges()
const;
2325 void set_auto_receiver_ranges(
bool value);
2328 bool has_auto_source_depth()
const;
2329 void clear_auto_source_depth();
2330 static const int kAutoSourceDepthFieldNumber = 6;
2331 bool auto_source_depth()
const;
2332 void set_auto_source_depth(
bool value);
2335 bool has_look_ahead_seconds()
const;
2336 void clear_look_ahead_seconds();
2337 static const int kLookAheadSecondsFieldNumber = 5;
2338 ::google::protobuf::uint32 look_ahead_seconds()
const;
2339 void set_look_ahead_seconds(::google::protobuf::uint32 value);
2342 bool has_auto_receiver_ranges_delta()
const;
2343 void clear_auto_receiver_ranges_delta();
2344 static const int kAutoReceiverRangesDeltaFieldNumber = 7;
2345 ::google::protobuf::int32 auto_receiver_ranges_delta()
const;
2346 void set_auto_receiver_ranges_delta(::google::protobuf::int32 value);
2350 void set_has_contact();
2351 void clear_has_contact();
2352 void set_has_ownship();
2353 void clear_has_ownship();
2354 void set_has_read_shd();
2355 void clear_has_read_shd();
2356 void set_has_full_shd_matrix();
2357 void clear_has_full_shd_matrix();
2358 void set_has_auto_receiver_ranges();
2359 void clear_has_auto_receiver_ranges();
2360 void set_has_auto_receiver_ranges_delta();
2361 void clear_has_auto_receiver_ranges_delta();
2362 void set_has_look_ahead_seconds();
2363 void clear_has_look_ahead_seconds();
2364 void set_has_auto_source_depth();
2365 void clear_has_auto_source_depth();
2367 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2368 ::google::protobuf::internal::HasBits<1> _has_bits_;
2369 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2370 ::google::protobuf::internal::ArenaStringPtr contact_;
2371 ::google::protobuf::internal::ArenaStringPtr ownship_;
2373 bool full_shd_matrix_;
2374 bool auto_receiver_ranges_;
2375 bool auto_source_depth_;
2376 ::google::protobuf::uint32 look_ahead_seconds_;
2377 ::google::protobuf::int32 auto_receiver_ranges_delta_;
2378 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
2396 *
this = ::std::move(from);
2400 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2401 if (
this != &from) InternalSwap(&from);
2409 return _internal_metadata_.unknown_fields();
2412 return _internal_metadata_.mutable_unknown_fields();
2415 static const ::google::protobuf::Descriptor*
descriptor();
2434 return CreateMaybeMessage<Environment>(NULL);
2438 return CreateMaybeMessage<Environment>(arena);
2440 void CopyFrom(const ::google::protobuf::Message& from)
final;
2441 void MergeFrom(const ::google::protobuf::Message& from)
final;
2449 ::
google::protobuf::io::CodedInputStream* input) final;
2451 ::
google::protobuf::io::CodedOutputStream* output) const final;
2453 bool deterministic, ::
google::protobuf::uint8* target) const final;
2459 void SetCachedSize(
int size)
const final;
2462 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2465 inline void* MaybeArenaPtr()
const {
2470 ::google::protobuf::Metadata
GetMetadata() const final;
2487 int water_column_size() const;
2488 void clear_water_column();
2489 static const
int kWaterColumnFieldNumber = 5;
2492 mutable_water_column();
2496 water_column() const;
2499 bool has_title() const;
2501 static const
int kTitleFieldNumber = 1;
2502 const ::std::
string& title() const;
2503 void set_title(const ::std::
string& value);
2505 void set_title(::std::string&& value);
2507 void set_title(
const char* value);
2508 void set_title(
const char* value,
size_t size);
2509 ::std::string* mutable_title();
2510 ::std::string* release_title();
2511 void set_allocated_title(::std::string* title);
2514 bool has_output()
const;
2515 void clear_output();
2516 static const int kOutputFieldNumber = 3;
2518 const ::netsim::bellhop::protobuf::Environment_Output& _internal_output()
const;
2520 const ::netsim::bellhop::protobuf::Environment_Output& output()
const;
2526 bool has_surface()
const;
2527 void clear_surface();
2528 static const int kSurfaceFieldNumber = 4;
2530 const ::netsim::bellhop::protobuf::Environment_Surface& _internal_surface()
const;
2532 const ::netsim::bellhop::protobuf::Environment_Surface& surface()
const;
2538 bool has_bottom()
const;
2539 void clear_bottom();
2540 static const int kBottomFieldNumber = 6;
2542 const ::netsim::bellhop::protobuf::Environment_Bottom& _internal_bottom()
const;
2544 const ::netsim::bellhop::protobuf::Environment_Bottom& bottom()
const;
2550 bool has_sources()
const;
2551 void clear_sources();
2552 static const int kSourcesFieldNumber = 7;
2554 const ::netsim::bellhop::protobuf::Environment_Sources& _internal_sources()
const;
2556 const ::netsim::bellhop::protobuf::Environment_Sources& sources()
const;
2562 bool has_receivers()
const;
2563 void clear_receivers();
2564 static const int kReceiversFieldNumber = 8;
2566 const ::netsim::bellhop::protobuf::Environment_Receivers& _internal_receivers()
const;
2568 const ::netsim::bellhop::protobuf::Environment_Receivers& receivers()
const;
2574 bool has_beams()
const;
2576 static const int kBeamsFieldNumber = 9;
2578 const ::netsim::bellhop::protobuf::Environment_Beams& _internal_beams()
const;
2580 const ::netsim::bellhop::protobuf::Environment_Beams& beams()
const;
2586 bool has_adaptive_info()
const;
2587 void clear_adaptive_info();
2588 static const int kAdaptiveInfoFieldNumber = 100;
2590 const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& _internal_adaptive_info()
const;
2592 const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& adaptive_info()
const;
2598 bool has_freq()
const;
2600 static const int kFreqFieldNumber = 2;
2601 ::google::protobuf::uint32 freq()
const;
2602 void set_freq(::google::protobuf::uint32 value);
2606 void set_has_title();
2607 void clear_has_title();
2608 void set_has_freq();
2609 void clear_has_freq();
2610 void set_has_output();
2611 void clear_has_output();
2612 void set_has_surface();
2613 void clear_has_surface();
2614 void set_has_bottom();
2615 void clear_has_bottom();
2616 void set_has_sources();
2617 void clear_has_sources();
2618 void set_has_receivers();
2619 void clear_has_receivers();
2620 void set_has_beams();
2621 void clear_has_beams();
2622 void set_has_adaptive_info();
2623 void clear_has_adaptive_info();
2625 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2626 ::google::protobuf::internal::HasBits<1> _has_bits_;
2627 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2628 ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn > water_column_;
2632 ::google::protobuf::internal::ArenaStringPtr title_;
2640 ::google::protobuf::uint32 freq_;
2641 friend struct ::protobuf_netsim_2facousticstoolbox_2fenvironment_2eproto::TableStruct;
2649 #pragma GCC diagnostic push
2650 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2656 return (_has_bits_[0] & 0x00000001u) != 0;
2658 inline void Environment_Output::set_has_type() {
2659 _has_bits_[0] |= 0x00000001u;
2661 inline void Environment_Output::clear_has_type() {
2662 _has_bits_[0] &= ~0x00000001u;
2685 return (_has_bits_[0] & 0x00000001u) != 0;
2687 inline void Environment_Medium_RCSample::set_has_angle() {
2688 _has_bits_[0] |= 0x00000001u;
2690 inline void Environment_Medium_RCSample::clear_has_angle() {
2691 _has_bits_[0] &= ~0x00000001u;
2709 return (_has_bits_[0] & 0x00000002u) != 0;
2711 inline void Environment_Medium_RCSample::set_has_rc() {
2712 _has_bits_[0] |= 0x00000002u;
2714 inline void Environment_Medium_RCSample::clear_has_rc() {
2715 _has_bits_[0] &= ~0x00000002u;
2733 return (_has_bits_[0] & 0x00000004u) != 0;
2735 inline void Environment_Medium_RCSample::set_has_phase() {
2736 _has_bits_[0] |= 0x00000004u;
2738 inline void Environment_Medium_RCSample::clear_has_phase() {
2739 _has_bits_[0] &= ~0x00000004u;
2761 return (_has_bits_[0] & 0x00000002u) != 0;
2763 inline void Environment_Medium_Attenuation::set_has_units() {
2764 _has_bits_[0] |= 0x00000002u;
2766 inline void Environment_Medium_Attenuation::clear_has_units() {
2767 _has_bits_[0] &= ~0x00000002u;
2786 return (_has_bits_[0] & 0x00000001u) != 0;
2788 inline void Environment_Medium_Attenuation::set_has_value() {
2789 _has_bits_[0] |= 0x00000001u;
2791 inline void Environment_Medium_Attenuation::clear_has_value() {
2792 _has_bits_[0] &= ~0x00000001u;
2814 return (_has_bits_[0] & 0x00000020u) != 0;
2816 inline void Environment_Medium::set_has_type() {
2817 _has_bits_[0] |= 0x00000020u;
2819 inline void Environment_Medium::clear_has_type() {
2820 _has_bits_[0] &= ~0x00000020u;
2839 return (_has_bits_[0] & 0x00000001u) != 0;
2841 inline void Environment_Medium::set_has_attenuation() {
2842 _has_bits_[0] |= 0x00000001u;
2844 inline void Environment_Medium::clear_has_attenuation() {
2845 _has_bits_[0] &= ~0x00000001u;
2848 if (attenuation_ != NULL) attenuation_->Clear();
2849 clear_has_attenuation();
2851 inline const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation& Environment_Medium::_internal_attenuation()
const {
2852 return *attenuation_;
2855 const ::netsim::bellhop::protobuf::Environment_Medium_Attenuation* p = attenuation_;
2862 clear_has_attenuation();
2864 attenuation_ = NULL;
2868 set_has_attenuation();
2869 if (attenuation_ == NULL) {
2870 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium_Attenuation>(GetArenaNoVirtual());
2874 return attenuation_;
2877 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2878 if (message_arena == NULL) {
2879 delete attenuation_;
2882 ::google::protobuf::Arena* submessage_arena = NULL;
2883 if (message_arena != submessage_arena) {
2884 attenuation = ::google::protobuf::internal::GetOwnedMessage(
2885 message_arena, attenuation, submessage_arena);
2887 set_has_attenuation();
2889 clear_has_attenuation();
2891 attenuation_ = attenuation;
2897 return (_has_bits_[0] & 0x00000002u) != 0;
2899 inline void Environment_Medium::set_has_cp() {
2900 _has_bits_[0] |= 0x00000002u;
2902 inline void Environment_Medium::clear_has_cp() {
2903 _has_bits_[0] &= ~0x00000002u;
2921 return (_has_bits_[0] & 0x00000004u) != 0;
2923 inline void Environment_Medium::set_has_cs() {
2924 _has_bits_[0] |= 0x00000004u;
2926 inline void Environment_Medium::clear_has_cs() {
2927 _has_bits_[0] &= ~0x00000004u;
2945 return (_has_bits_[0] & 0x00000008u) != 0;
2947 inline void Environment_Medium::set_has_density() {
2948 _has_bits_[0] |= 0x00000008u;
2950 inline void Environment_Medium::clear_has_density() {
2951 _has_bits_[0] &= ~0x00000008u;
2955 clear_has_density();
2969 return (_has_bits_[0] & 0x00000010u) != 0;
2971 inline void Environment_Medium::set_has_depth() {
2972 _has_bits_[0] |= 0x00000010u;
2974 inline void Environment_Medium::clear_has_depth() {
2975 _has_bits_[0] &= ~0x00000010u;
2993 return rc_sample_.size();
3000 return rc_sample_.Mutable(index);
3002 inline ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >*
3009 return rc_sample_.Get(index);
3013 return rc_sample_.Add();
3015 inline const ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_Medium_RCSample >&
3027 return (_has_bits_[0] & 0x00000001u) != 0;
3029 inline void Environment_Surface::set_has_medium() {
3030 _has_bits_[0] |= 0x00000001u;
3032 inline void Environment_Surface::clear_has_medium() {
3033 _has_bits_[0] &= ~0x00000001u;
3036 if (medium_ != NULL) medium_->Clear();
3039 inline const ::netsim::bellhop::protobuf::Environment_Medium& Environment_Surface::_internal_medium()
const {
3043 const ::netsim::bellhop::protobuf::Environment_Medium* p = medium_;
3057 if (medium_ == NULL) {
3058 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium>(GetArenaNoVirtual());
3065 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3066 if (message_arena == NULL) {
3070 ::google::protobuf::Arena* submessage_arena = NULL;
3071 if (message_arena != submessage_arena) {
3072 medium = ::google::protobuf::internal::GetOwnedMessage(
3073 message_arena, medium, submessage_arena);
3089 return (_has_bits_[0] & 0x00000001u) != 0;
3091 inline void Environment_WaterColumn_SSPSample::set_has_depth() {
3092 _has_bits_[0] |= 0x00000001u;
3094 inline void Environment_WaterColumn_SSPSample::clear_has_depth() {
3095 _has_bits_[0] &= ~0x00000001u;
3113 return (_has_bits_[0] & 0x00000002u) != 0;
3115 inline void Environment_WaterColumn_SSPSample::set_has_cp() {
3116 _has_bits_[0] |= 0x00000002u;
3118 inline void Environment_WaterColumn_SSPSample::clear_has_cp() {
3119 _has_bits_[0] &= ~0x00000002u;
3144 return eof_.Get(index);
3147 eof_.Set(index, value);
3154 inline const ::google::protobuf::RepeatedField< double >&
3159 inline ::google::protobuf::RepeatedField< double >*
3171 return (_has_bits_[0] & 0x00000004u) != 0;
3173 inline void Environment_WaterColumn::set_has_interpolation_type() {
3174 _has_bits_[0] |= 0x00000004u;
3176 inline void Environment_WaterColumn::clear_has_interpolation_type() {
3177 _has_bits_[0] &= ~0x00000004u;
3180 interpolation_type_ = 1;
3181 clear_has_interpolation_type();
3189 set_has_interpolation_type();
3190 interpolation_type_ = value;
3196 return eof_coef_.size();
3203 return eof_coef_.Get(index);
3206 eof_coef_.Set(index, value);
3210 eof_coef_.Add(value);
3213 inline const ::google::protobuf::RepeatedField< double >&
3218 inline ::google::protobuf::RepeatedField< double >*
3226 return (_has_bits_[0] & 0x00000008u) != 0;
3228 inline void Environment_WaterColumn::set_has_use_attenuation() {
3229 _has_bits_[0] |= 0x00000008u;
3231 inline void Environment_WaterColumn::clear_has_use_attenuation() {
3232 _has_bits_[0] &= ~0x00000008u;
3235 use_attenuation_ =
true;
3236 clear_has_use_attenuation();
3240 return use_attenuation_;
3243 set_has_use_attenuation();
3244 use_attenuation_ = value;
3250 return sample_.size();
3257 return sample_.Mutable(index);
3259 inline ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >*
3266 return sample_.Get(index);
3270 return sample_.Add();
3272 inline const ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPSample >&
3280 return (_has_bits_[0] & 0x00000001u) != 0;
3282 inline void Environment_WaterColumn::set_has_range() {
3283 _has_bits_[0] |= 0x00000001u;
3285 inline void Environment_WaterColumn::clear_has_range() {
3286 _has_bits_[0] &= ~0x00000001u;
3304 return (_has_bits_[0] & 0x00000002u) != 0;
3306 inline void Environment_WaterColumn::set_has_bathymetry() {
3307 _has_bits_[0] |= 0x00000002u;
3309 inline void Environment_WaterColumn::clear_has_bathymetry() {
3310 _has_bits_[0] &= ~0x00000002u;
3314 clear_has_bathymetry();
3321 set_has_bathymetry();
3322 bathymetry_ = value;
3332 return (_has_bits_[0] & 0x00000001u) != 0;
3334 inline void Environment_Bottom::set_has_medium() {
3335 _has_bits_[0] |= 0x00000001u;
3337 inline void Environment_Bottom::clear_has_medium() {
3338 _has_bits_[0] &= ~0x00000001u;
3341 if (medium_ != NULL) medium_->Clear();
3344 inline const ::netsim::bellhop::protobuf::Environment_Medium& Environment_Bottom::_internal_medium()
const {
3348 const ::netsim::bellhop::protobuf::Environment_Medium* p = medium_;
3362 if (medium_ == NULL) {
3363 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Medium>(GetArenaNoVirtual());
3370 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3371 if (message_arena == NULL) {
3375 ::google::protobuf::Arena* submessage_arena = NULL;
3376 if (message_arena != submessage_arena) {
3377 medium = ::google::protobuf::internal::GetOwnedMessage(
3378 message_arena, medium, submessage_arena);
3394 return (_has_bits_[0] & 0x00000001u) != 0;
3396 inline void Environment_Sources_SourcePosition::set_has_depth() {
3397 _has_bits_[0] |= 0x00000001u;
3399 inline void Environment_Sources_SourcePosition::clear_has_depth() {
3400 _has_bits_[0] &= ~0x00000001u;
3422 return (_has_bits_[0] & 0x00000004u) != 0;
3424 inline void Environment_Sources::set_has_number_in_depth() {
3425 _has_bits_[0] |= 0x00000004u;
3427 inline void Environment_Sources::clear_has_number_in_depth() {
3428 _has_bits_[0] &= ~0x00000004u;
3431 number_in_depth_ = 0u;
3432 clear_has_number_in_depth();
3436 return number_in_depth_;
3439 set_has_number_in_depth();
3440 number_in_depth_ = value;
3446 return (_has_bits_[0] & 0x00000001u) != 0;
3448 inline void Environment_Sources::set_has_first() {
3449 _has_bits_[0] |= 0x00000001u;
3451 inline void Environment_Sources::clear_has_first() {
3452 _has_bits_[0] &= ~0x00000001u;
3455 if (first_ != NULL) first_->Clear();
3458 inline const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& Environment_Sources::_internal_first()
const {
3462 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* p = first_;
3476 if (first_ == NULL) {
3477 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources_SourcePosition>(GetArenaNoVirtual());
3484 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3485 if (message_arena == NULL) {
3489 ::google::protobuf::Arena* submessage_arena = NULL;
3490 if (message_arena != submessage_arena) {
3491 first = ::google::protobuf::internal::GetOwnedMessage(
3492 message_arena, first, submessage_arena);
3504 return (_has_bits_[0] & 0x00000002u) != 0;
3506 inline void Environment_Sources::set_has_last() {
3507 _has_bits_[0] |= 0x00000002u;
3509 inline void Environment_Sources::clear_has_last() {
3510 _has_bits_[0] &= ~0x00000002u;
3513 if (last_ != NULL) last_->Clear();
3516 inline const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition& Environment_Sources::_internal_last()
const {
3520 const ::netsim::bellhop::protobuf::Environment_Sources_SourcePosition* p = last_;
3534 if (last_ == NULL) {
3535 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources_SourcePosition>(GetArenaNoVirtual());
3542 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3543 if (message_arena == NULL) {
3547 ::google::protobuf::Arena* submessage_arena = NULL;
3548 if (message_arena != submessage_arena) {
3549 last = ::google::protobuf::internal::GetOwnedMessage(
3550 message_arena, last, submessage_arena);
3566 return (_has_bits_[0] & 0x00000001u) != 0;
3568 inline void Environment_Receivers_ReceiverPosition::set_has_depth() {
3569 _has_bits_[0] |= 0x00000001u;
3571 inline void Environment_Receivers_ReceiverPosition::clear_has_depth() {
3572 _has_bits_[0] &= ~0x00000001u;
3590 return (_has_bits_[0] & 0x00000002u) != 0;
3592 inline void Environment_Receivers_ReceiverPosition::set_has_range() {
3593 _has_bits_[0] |= 0x00000002u;
3595 inline void Environment_Receivers_ReceiverPosition::clear_has_range() {
3596 _has_bits_[0] &= ~0x00000002u;
3618 return (_has_bits_[0] & 0x00000004u) != 0;
3620 inline void Environment_Receivers::set_has_number_in_depth() {
3621 _has_bits_[0] |= 0x00000004u;
3623 inline void Environment_Receivers::clear_has_number_in_depth() {
3624 _has_bits_[0] &= ~0x00000004u;
3627 number_in_depth_ = 0u;
3628 clear_has_number_in_depth();
3632 return number_in_depth_;
3635 set_has_number_in_depth();
3636 number_in_depth_ = value;
3642 return (_has_bits_[0] & 0x00000008u) != 0;
3644 inline void Environment_Receivers::set_has_number_in_range() {
3645 _has_bits_[0] |= 0x00000008u;
3647 inline void Environment_Receivers::clear_has_number_in_range() {
3648 _has_bits_[0] &= ~0x00000008u;
3651 number_in_range_ = 0u;
3652 clear_has_number_in_range();
3656 return number_in_range_;
3659 set_has_number_in_range();
3660 number_in_range_ = value;
3666 return (_has_bits_[0] & 0x00000001u) != 0;
3668 inline void Environment_Receivers::set_has_first() {
3669 _has_bits_[0] |= 0x00000001u;
3671 inline void Environment_Receivers::clear_has_first() {
3672 _has_bits_[0] &= ~0x00000001u;
3675 if (first_ != NULL) first_->Clear();
3678 inline const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& Environment_Receivers::_internal_first()
const {
3682 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* p = first_;
3696 if (first_ == NULL) {
3697 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition>(GetArenaNoVirtual());
3704 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3705 if (message_arena == NULL) {
3709 ::google::protobuf::Arena* submessage_arena = NULL;
3710 if (message_arena != submessage_arena) {
3711 first = ::google::protobuf::internal::GetOwnedMessage(
3712 message_arena, first, submessage_arena);
3724 return (_has_bits_[0] & 0x00000002u) != 0;
3726 inline void Environment_Receivers::set_has_last() {
3727 _has_bits_[0] |= 0x00000002u;
3729 inline void Environment_Receivers::clear_has_last() {
3730 _has_bits_[0] &= ~0x00000002u;
3733 if (last_ != NULL) last_->Clear();
3736 inline const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition& Environment_Receivers::_internal_last()
const {
3740 const ::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition* p = last_;
3754 if (last_ == NULL) {
3755 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers_ReceiverPosition>(GetArenaNoVirtual());
3762 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3763 if (message_arena == NULL) {
3767 ::google::protobuf::Arena* submessage_arena = NULL;
3768 if (message_arena != submessage_arena) {
3769 last = ::google::protobuf::internal::GetOwnedMessage(
3770 message_arena, last, submessage_arena);
3786 return (_has_bits_[0] & 0x00000004u) != 0;
3788 inline void Environment_Beams::set_has_approximation_type() {
3789 _has_bits_[0] |= 0x00000004u;
3791 inline void Environment_Beams::clear_has_approximation_type() {
3792 _has_bits_[0] &= ~0x00000004u;
3795 approximation_type_ = 1;
3796 clear_has_approximation_type();
3804 set_has_approximation_type();
3805 approximation_type_ = value;
3811 return (_has_bits_[0] & 0x00000008u) != 0;
3813 inline void Environment_Beams::set_has_theta_min() {
3814 _has_bits_[0] |= 0x00000008u;
3816 inline void Environment_Beams::clear_has_theta_min() {
3817 _has_bits_[0] &= ~0x00000008u;
3821 clear_has_theta_min();
3828 set_has_theta_min();
3835 return (_has_bits_[0] & 0x00000002u) != 0;
3837 inline void Environment_Beams::set_has_theta_max() {
3838 _has_bits_[0] |= 0x00000002u;
3840 inline void Environment_Beams::clear_has_theta_max() {
3841 _has_bits_[0] &= ~0x00000002u;
3845 clear_has_theta_max();
3852 set_has_theta_max();
3859 return (_has_bits_[0] & 0x00000001u) != 0;
3861 inline void Environment_Beams::set_has_number() {
3862 _has_bits_[0] |= 0x00000001u;
3864 inline void Environment_Beams::clear_has_number() {
3865 _has_bits_[0] &= ~0x00000001u;
3887 return (_has_bits_[0] & 0x00000001u) != 0;
3889 inline void Environment_AdaptiveInfo::set_has_contact() {
3890 _has_bits_[0] |= 0x00000001u;
3892 inline void Environment_AdaptiveInfo::clear_has_contact() {
3893 _has_bits_[0] &= ~0x00000001u;
3896 contact_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3897 clear_has_contact();
3901 return contact_.GetNoArena();
3905 contact_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3911 contact_.SetNoArena(
3912 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3917 GOOGLE_DCHECK(value != NULL);
3919 contact_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3924 contact_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3925 ::std::string(
reinterpret_cast<const char*
>(value), size));
3931 return contact_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3935 if (!has_contact()) {
3938 clear_has_contact();
3939 return contact_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3942 if (contact != NULL) {
3945 clear_has_contact();
3947 contact_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), contact);
3953 return (_has_bits_[0] & 0x00000002u) != 0;
3955 inline void Environment_AdaptiveInfo::set_has_ownship() {
3956 _has_bits_[0] |= 0x00000002u;
3958 inline void Environment_AdaptiveInfo::clear_has_ownship() {
3959 _has_bits_[0] &= ~0x00000002u;
3962 ownship_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3963 clear_has_ownship();
3967 return ownship_.GetNoArena();
3971 ownship_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
3977 ownship_.SetNoArena(
3978 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3983 GOOGLE_DCHECK(value != NULL);
3985 ownship_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3990 ownship_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
3991 ::std::string(
reinterpret_cast<const char*
>(value), size));
3997 return ownship_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4001 if (!has_ownship()) {
4004 clear_has_ownship();
4005 return ownship_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4008 if (ownship != NULL) {
4011 clear_has_ownship();
4013 ownship_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ownship);
4019 return (_has_bits_[0] & 0x00000004u) != 0;
4021 inline void Environment_AdaptiveInfo::set_has_read_shd() {
4022 _has_bits_[0] |= 0x00000004u;
4024 inline void Environment_AdaptiveInfo::clear_has_read_shd() {
4025 _has_bits_[0] &= ~0x00000004u;
4029 clear_has_read_shd();
4043 return (_has_bits_[0] & 0x00000008u) != 0;
4045 inline void Environment_AdaptiveInfo::set_has_full_shd_matrix() {
4046 _has_bits_[0] |= 0x00000008u;
4048 inline void Environment_AdaptiveInfo::clear_has_full_shd_matrix() {
4049 _has_bits_[0] &= ~0x00000008u;
4052 full_shd_matrix_ =
false;
4053 clear_has_full_shd_matrix();
4057 return full_shd_matrix_;
4060 set_has_full_shd_matrix();
4061 full_shd_matrix_ = value;
4067 return (_has_bits_[0] & 0x00000010u) != 0;
4069 inline void Environment_AdaptiveInfo::set_has_auto_receiver_ranges() {
4070 _has_bits_[0] |= 0x00000010u;
4072 inline void Environment_AdaptiveInfo::clear_has_auto_receiver_ranges() {
4073 _has_bits_[0] &= ~0x00000010u;
4076 auto_receiver_ranges_ =
false;
4077 clear_has_auto_receiver_ranges();
4081 return auto_receiver_ranges_;
4084 set_has_auto_receiver_ranges();
4085 auto_receiver_ranges_ = value;
4091 return (_has_bits_[0] & 0x00000080u) != 0;
4093 inline void Environment_AdaptiveInfo::set_has_auto_receiver_ranges_delta() {
4094 _has_bits_[0] |= 0x00000080u;
4096 inline void Environment_AdaptiveInfo::clear_has_auto_receiver_ranges_delta() {
4097 _has_bits_[0] &= ~0x00000080u;
4100 auto_receiver_ranges_delta_ = 1;
4101 clear_has_auto_receiver_ranges_delta();
4105 return auto_receiver_ranges_delta_;
4108 set_has_auto_receiver_ranges_delta();
4109 auto_receiver_ranges_delta_ = value;
4115 return (_has_bits_[0] & 0x00000040u) != 0;
4117 inline void Environment_AdaptiveInfo::set_has_look_ahead_seconds() {
4118 _has_bits_[0] |= 0x00000040u;
4120 inline void Environment_AdaptiveInfo::clear_has_look_ahead_seconds() {
4121 _has_bits_[0] &= ~0x00000040u;
4124 look_ahead_seconds_ = 60u;
4125 clear_has_look_ahead_seconds();
4129 return look_ahead_seconds_;
4132 set_has_look_ahead_seconds();
4133 look_ahead_seconds_ = value;
4139 return (_has_bits_[0] & 0x00000020u) != 0;
4141 inline void Environment_AdaptiveInfo::set_has_auto_source_depth() {
4142 _has_bits_[0] |= 0x00000020u;
4144 inline void Environment_AdaptiveInfo::clear_has_auto_source_depth() {
4145 _has_bits_[0] &= ~0x00000020u;
4148 auto_source_depth_ =
false;
4149 clear_has_auto_source_depth();
4153 return auto_source_depth_;
4156 set_has_auto_source_depth();
4157 auto_source_depth_ = value;
4167 return (_has_bits_[0] & 0x00000001u) != 0;
4169 inline void Environment::set_has_title() {
4170 _has_bits_[0] |= 0x00000001u;
4172 inline void Environment::clear_has_title() {
4173 _has_bits_[0] &= ~0x00000001u;
4181 return title_.GetNoArena();
4197 GOOGLE_DCHECK(value != NULL);
4205 ::std::string(
reinterpret_cast<const char*
>(value), size));
4222 if (title != NULL) {
4233 return (_has_bits_[0] & 0x00000100u) != 0;
4235 inline void Environment::set_has_freq() {
4236 _has_bits_[0] |= 0x00000100u;
4238 inline void Environment::clear_has_freq() {
4239 _has_bits_[0] &= ~0x00000100u;
4257 return (_has_bits_[0] & 0x00000002u) != 0;
4259 inline void Environment::set_has_output() {
4260 _has_bits_[0] |= 0x00000002u;
4262 inline void Environment::clear_has_output() {
4263 _has_bits_[0] &= ~0x00000002u;
4266 if (output_ != NULL) output_->Clear();
4269 inline const ::netsim::bellhop::protobuf::Environment_Output& Environment::_internal_output()
const {
4273 const ::netsim::bellhop::protobuf::Environment_Output* p = output_;
4287 if (output_ == NULL) {
4288 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Output>(GetArenaNoVirtual());
4295 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4296 if (message_arena == NULL) {
4300 ::google::protobuf::Arena* submessage_arena = NULL;
4301 if (message_arena != submessage_arena) {
4302 output = ::google::protobuf::internal::GetOwnedMessage(
4303 message_arena, output, submessage_arena);
4315 return (_has_bits_[0] & 0x00000004u) != 0;
4317 inline void Environment::set_has_surface() {
4318 _has_bits_[0] |= 0x00000004u;
4320 inline void Environment::clear_has_surface() {
4321 _has_bits_[0] &= ~0x00000004u;
4324 if (surface_ != NULL) surface_->Clear();
4325 clear_has_surface();
4327 inline const ::netsim::bellhop::protobuf::Environment_Surface& Environment::_internal_surface()
const {
4331 const ::netsim::bellhop::protobuf::Environment_Surface* p = surface_;
4338 clear_has_surface();
4345 if (surface_ == NULL) {
4346 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Surface>(GetArenaNoVirtual());
4353 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4354 if (message_arena == NULL) {
4358 ::google::protobuf::Arena* submessage_arena = NULL;
4359 if (message_arena != submessage_arena) {
4360 surface = ::google::protobuf::internal::GetOwnedMessage(
4361 message_arena, surface, submessage_arena);
4365 clear_has_surface();
4373 return water_column_.size();
4376 water_column_.Clear();
4380 return water_column_.Mutable(index);
4382 inline ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn >*
4385 return &water_column_;
4389 return water_column_.Get(index);
4393 return water_column_.Add();
4395 inline const ::google::protobuf::RepeatedPtrField< ::netsim::bellhop::protobuf::Environment_WaterColumn >&
4398 return water_column_;
4403 return (_has_bits_[0] & 0x00000008u) != 0;
4405 inline void Environment::set_has_bottom() {
4406 _has_bits_[0] |= 0x00000008u;
4408 inline void Environment::clear_has_bottom() {
4409 _has_bits_[0] &= ~0x00000008u;
4412 if (bottom_ != NULL) bottom_->Clear();
4415 inline const ::netsim::bellhop::protobuf::Environment_Bottom& Environment::_internal_bottom()
const {
4419 const ::netsim::bellhop::protobuf::Environment_Bottom* p = bottom_;
4433 if (bottom_ == NULL) {
4434 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Bottom>(GetArenaNoVirtual());
4441 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4442 if (message_arena == NULL) {
4446 ::google::protobuf::Arena* submessage_arena = NULL;
4447 if (message_arena != submessage_arena) {
4448 bottom = ::google::protobuf::internal::GetOwnedMessage(
4449 message_arena, bottom, submessage_arena);
4461 return (_has_bits_[0] & 0x00000010u) != 0;
4463 inline void Environment::set_has_sources() {
4464 _has_bits_[0] |= 0x00000010u;
4466 inline void Environment::clear_has_sources() {
4467 _has_bits_[0] &= ~0x00000010u;
4470 if (sources_ != NULL) sources_->Clear();
4471 clear_has_sources();
4473 inline const ::netsim::bellhop::protobuf::Environment_Sources& Environment::_internal_sources()
const {
4477 const ::netsim::bellhop::protobuf::Environment_Sources* p = sources_;
4484 clear_has_sources();
4491 if (sources_ == NULL) {
4492 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Sources>(GetArenaNoVirtual());
4499 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4500 if (message_arena == NULL) {
4504 ::google::protobuf::Arena* submessage_arena = NULL;
4505 if (message_arena != submessage_arena) {
4506 sources = ::google::protobuf::internal::GetOwnedMessage(
4507 message_arena, sources, submessage_arena);
4511 clear_has_sources();
4519 return (_has_bits_[0] & 0x00000020u) != 0;
4521 inline void Environment::set_has_receivers() {
4522 _has_bits_[0] |= 0x00000020u;
4524 inline void Environment::clear_has_receivers() {
4525 _has_bits_[0] &= ~0x00000020u;
4528 if (receivers_ != NULL) receivers_->Clear();
4529 clear_has_receivers();
4531 inline const ::netsim::bellhop::protobuf::Environment_Receivers& Environment::_internal_receivers()
const {
4535 const ::netsim::bellhop::protobuf::Environment_Receivers* p = receivers_;
4542 clear_has_receivers();
4548 set_has_receivers();
4549 if (receivers_ == NULL) {
4550 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Receivers>(GetArenaNoVirtual());
4557 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4558 if (message_arena == NULL) {
4562 ::google::protobuf::Arena* submessage_arena = NULL;
4563 if (message_arena != submessage_arena) {
4564 receivers = ::google::protobuf::internal::GetOwnedMessage(
4565 message_arena, receivers, submessage_arena);
4567 set_has_receivers();
4569 clear_has_receivers();
4571 receivers_ = receivers;
4577 return (_has_bits_[0] & 0x00000040u) != 0;
4579 inline void Environment::set_has_beams() {
4580 _has_bits_[0] |= 0x00000040u;
4582 inline void Environment::clear_has_beams() {
4583 _has_bits_[0] &= ~0x00000040u;
4586 if (beams_ != NULL) beams_->Clear();
4589 inline const ::netsim::bellhop::protobuf::Environment_Beams& Environment::_internal_beams()
const {
4593 const ::netsim::bellhop::protobuf::Environment_Beams* p = beams_;
4607 if (beams_ == NULL) {
4608 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_Beams>(GetArenaNoVirtual());
4615 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4616 if (message_arena == NULL) {
4620 ::google::protobuf::Arena* submessage_arena = NULL;
4621 if (message_arena != submessage_arena) {
4622 beams = ::google::protobuf::internal::GetOwnedMessage(
4623 message_arena, beams, submessage_arena);
4635 return (_has_bits_[0] & 0x00000080u) != 0;
4637 inline void Environment::set_has_adaptive_info() {
4638 _has_bits_[0] |= 0x00000080u;
4640 inline void Environment::clear_has_adaptive_info() {
4641 _has_bits_[0] &= ~0x00000080u;
4644 if (adaptive_info_ != NULL) adaptive_info_->Clear();
4645 clear_has_adaptive_info();
4647 inline const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo& Environment::_internal_adaptive_info()
const {
4648 return *adaptive_info_;
4651 const ::netsim::bellhop::protobuf::Environment_AdaptiveInfo* p = adaptive_info_;
4658 clear_has_adaptive_info();
4660 adaptive_info_ = NULL;
4664 set_has_adaptive_info();
4665 if (adaptive_info_ == NULL) {
4666 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment_AdaptiveInfo>(GetArenaNoVirtual());
4670 return adaptive_info_;
4673 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4674 if (message_arena == NULL) {
4675 delete adaptive_info_;
4677 if (adaptive_info) {
4678 ::google::protobuf::Arena* submessage_arena = NULL;
4679 if (message_arena != submessage_arena) {
4680 adaptive_info = ::google::protobuf::internal::GetOwnedMessage(
4681 message_arena, adaptive_info, submessage_arena);
4683 set_has_adaptive_info();
4685 clear_has_adaptive_info();
4687 adaptive_info_ = adaptive_info;
4692 #pragma GCC diagnostic pop
4730 namespace protobuf {
4734 inline const EnumDescriptor* GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Output_OutputType>() {
4739 inline const EnumDescriptor* GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Medium_Attenuation_Units>() {
4744 inline const EnumDescriptor* GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Medium_MediumType>() {
4749 inline const EnumDescriptor* GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_WaterColumn_SSPInterpolation>() {
4754 inline const EnumDescriptor* GetEnumDescriptor< ::netsim::bellhop::protobuf::Environment_Beams_ApproximationType>() {
4763 #endif // PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fenvironment_2eproto