4 #ifndef PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fiBellhop_5fmessages_2eproto
5 #define PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fiBellhop_5fmessages_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/moos/protobuf/goby_moos_app.pb.h"
35 #include "goby/protobuf/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_netsim_2facousticstoolbox_2fiBellhop_5fmessages_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[8];
52 static const ::google::protobuf::uint32
offsets[];
59 class SVPInfoRequestDefaultTypeInternal;
62 class SVPInfoResponseDefaultTypeInternal;
65 class SVPInfoResponse_SVPSampleDefaultTypeInternal;
68 class iBellhopConfigDefaultTypeInternal;
71 class iBellhopRequestDefaultTypeInternal;
74 class iBellhopResponseDefaultTypeInternal;
77 class iBellhopResponse_TLAveragedInRangeDefaultTypeInternal;
80 class iBellhopResponse_TLAveragedInRange_TLSampleDefaultTypeInternal;
111 return ::google::protobuf::internal::NameOfEnum(
116 return ::google::protobuf::internal::ParseNamedEnum<iBellhopRequest_WaterColumnAction>(
135 *
this = ::std::move(from);
139 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
140 if (
this != &from) InternalSwap(&from);
148 return _internal_metadata_.unknown_fields();
151 return _internal_metadata_.mutable_unknown_fields();
154 static const ::google::protobuf::Descriptor*
descriptor();
173 return CreateMaybeMessage<iBellhopConfig>(NULL);
177 return CreateMaybeMessage<iBellhopConfig>(arena);
179 void CopyFrom(const ::google::protobuf::Message& from)
final;
180 void MergeFrom(const ::google::protobuf::Message& from)
final;
188 ::
google::protobuf::io::CodedInputStream* input) final;
190 ::
google::protobuf::io::CodedOutputStream* output) const final;
192 bool deterministic, ::
google::protobuf::uint8* target) const final;
198 void SetCachedSize(
int size)
const final;
201 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
204 inline void* MaybeArenaPtr()
const {
209 ::google::protobuf::Metadata
GetMetadata() const final;
280 const ::goby::moos::protobuf::GobyMOOSAppConfig& _internal_common()
const;
282 const ::goby::moos::protobuf::GobyMOOSAppConfig&
common()
const;
292 const ::netsim::bellhop::protobuf::Environment& _internal_initial_env()
const;
294 const ::netsim::bellhop::protobuf::Environment&
initial_env()
const;
315 void set_has_common();
316 void clear_has_common();
317 void set_has_initial_env();
318 void clear_has_initial_env();
319 void set_has_moos_var_request();
320 void clear_has_moos_var_request();
321 void set_has_moos_var_response();
322 void clear_has_moos_var_response();
323 void set_has_output_env_dir();
324 void clear_has_output_env_dir();
325 void set_has_extrapolate_nav();
326 void clear_has_extrapolate_nav();
327 void set_has_local_sound_speed_var();
328 void clear_has_local_sound_speed_var();
329 void set_has_max_number_of_receivers();
330 void clear_has_max_number_of_receivers();
332 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
333 ::google::protobuf::internal::HasBits<1> _has_bits_;
334 mutable ::google::protobuf::internal::CachedSize _cached_size_;
338 ::google::protobuf::internal::ArenaStringPtr moos_var_request_;
342 ::google::protobuf::internal::ArenaStringPtr moos_var_response_;
346 ::google::protobuf::internal::ArenaStringPtr output_env_dir_;
347 ::google::protobuf::internal::ArenaStringPtr local_sound_speed_var_;
348 ::goby::moos::protobuf::GobyMOOSAppConfig* common_;
350 bool extrapolate_nav_;
351 ::google::protobuf::int32 max_number_of_receivers_;
352 friend struct ::protobuf_netsim_2facousticstoolbox_2fiBellhop_5fmessages_2eproto::TableStruct;
370 *
this = ::std::move(from);
374 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
375 if (
this != &from) InternalSwap(&from);
383 return _internal_metadata_.unknown_fields();
386 return _internal_metadata_.mutable_unknown_fields();
389 static const ::google::protobuf::Descriptor*
descriptor();
408 return CreateMaybeMessage<iBellhopRequest>(NULL);
412 return CreateMaybeMessage<iBellhopRequest>(arena);
414 void CopyFrom(const ::google::protobuf::Message& from)
final;
415 void MergeFrom(const ::google::protobuf::Message& from)
final;
423 ::
google::protobuf::io::CodedInputStream* input) final;
425 ::
google::protobuf::io::CodedOutputStream* output) const final;
427 bool deterministic, ::
google::protobuf::uint8* target) const final;
433 void SetCachedSize(
int size)
const final;
436 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
439 inline void* MaybeArenaPtr()
const {
444 ::google::protobuf::Metadata
GetMetadata() const final;
464 static inline const ::google::protobuf::EnumDescriptor*
483 const ::netsim::bellhop::protobuf::Environment& _internal_env()
const;
485 const ::netsim::bellhop::protobuf::Environment&
env()
const;
507 void clear_has_env();
508 void set_has_request_number();
509 void clear_has_request_number();
510 void set_has_water_column_action();
511 void clear_has_water_column_action();
513 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
514 ::google::protobuf::internal::HasBits<1> _has_bits_;
515 mutable ::google::protobuf::internal::CachedSize _cached_size_;
517 ::google::protobuf::int32 request_number_;
518 int water_column_action_;
519 friend struct ::protobuf_netsim_2facousticstoolbox_2fiBellhop_5fmessages_2eproto::TableStruct;
537 *
this = ::std::move(from);
541 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
542 if (
this != &from) InternalSwap(&from);
550 return _internal_metadata_.unknown_fields();
553 return _internal_metadata_.mutable_unknown_fields();
556 static const ::google::protobuf::Descriptor*
descriptor();
575 return CreateMaybeMessage<iBellhopResponse_TLAveragedInRange_TLSample>(NULL);
579 return CreateMaybeMessage<iBellhopResponse_TLAveragedInRange_TLSample>(arena);
581 void CopyFrom(const ::google::protobuf::Message& from)
final;
582 void MergeFrom(const ::google::protobuf::Message& from)
final;
590 ::
google::protobuf::io::CodedInputStream* input) final;
592 ::
google::protobuf::io::CodedOutputStream* output) const final;
594 bool deterministic, ::
google::protobuf::uint8* target) const final;
600 void SetCachedSize(
int size)
const final;
603 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
606 inline void* MaybeArenaPtr()
const {
611 ::google::protobuf::Metadata
GetMetadata() const final;
621 double depth() const;
629 void set_tl(
double value);
633 void set_has_depth();
634 void clear_has_depth();
639 size_t RequiredFieldsByteSizeFallback() const;
641 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
642 ::
google::protobuf::internal::HasBits<1> _has_bits_;
643 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
664 *
this = ::std::move(from);
667 inline iBellhopResponse_TLAveragedInRange&
operator=(iBellhopResponse_TLAveragedInRange&& from) noexcept {
668 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
669 if (
this != &from) InternalSwap(&from);
677 return _internal_metadata_.unknown_fields();
680 return _internal_metadata_.mutable_unknown_fields();
683 static const ::google::protobuf::Descriptor*
descriptor();
702 return CreateMaybeMessage<iBellhopResponse_TLAveragedInRange>(NULL);
706 return CreateMaybeMessage<iBellhopResponse_TLAveragedInRange>(arena);
708 void CopyFrom(const ::google::protobuf::Message& from)
final;
709 void MergeFrom(const ::google::protobuf::Message& from)
final;
717 ::
google::protobuf::io::CodedInputStream* input) final;
719 ::
google::protobuf::io::CodedOutputStream* output) const final;
721 bool deterministic, ::
google::protobuf::uint8* target) const final;
727 void SetCachedSize(
int size)
const final;
730 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
733 inline void* MaybeArenaPtr()
const {
738 ::google::protobuf::Metadata
GetMetadata() const final;
747 int sample_size() const;
749 static const
int kSampleFieldNumber = 1;
761 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
762 ::
google::protobuf::internal::HasBits<1> _has_bits_;
763 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
783 *
this = ::std::move(from);
786 inline iBellhopResponse&
operator=(iBellhopResponse&& from) noexcept {
787 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
788 if (
this != &from) InternalSwap(&from);
796 return _internal_metadata_.unknown_fields();
799 return _internal_metadata_.mutable_unknown_fields();
802 static const ::google::protobuf::Descriptor*
descriptor();
821 return CreateMaybeMessage<iBellhopResponse>(NULL);
825 return CreateMaybeMessage<iBellhopResponse>(arena);
827 void CopyFrom(const ::google::protobuf::Message& from)
final;
828 void MergeFrom(const ::google::protobuf::Message& from)
final;
836 ::
google::protobuf::io::CodedInputStream* input) final;
838 ::
google::protobuf::io::CodedOutputStream* output) const final;
840 bool deterministic, ::
google::protobuf::uint8* target) const final;
846 void SetCachedSize(
int size)
const final;
849 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
852 inline void* MaybeArenaPtr()
const {
857 ::google::protobuf::Metadata
GetMetadata() const final;
866 bool has_requestor() const;
867 void clear_requestor();
868 static const
int kRequestorFieldNumber = 2;
869 const ::std::
string& requestor() const;
870 void set_requestor(const ::std::
string& value);
872 void set_requestor(::std::string&& value);
874 void set_requestor(
const char* value);
875 void set_requestor(
const char* value,
size_t size);
876 ::std::string* mutable_requestor();
877 ::std::string* release_requestor();
878 void set_allocated_requestor(::std::string* requestor);
881 bool has_output_file()
const;
882 void clear_output_file();
883 static const int kOutputFileFieldNumber = 4;
884 const ::std::string& output_file()
const;
885 void set_output_file(const ::std::string& value);
887 void set_output_file(::std::string&& value);
889 void set_output_file(
const char* value);
890 void set_output_file(
const char* value,
size_t size);
891 ::std::string* mutable_output_file();
892 ::std::string* release_output_file();
893 void set_allocated_output_file(::std::string* output_file);
896 bool has_serialized_tl_matrix()
const;
897 void clear_serialized_tl_matrix();
898 static const int kSerializedTlMatrixFieldNumber = 10;
899 const ::std::string& serialized_tl_matrix()
const;
900 void set_serialized_tl_matrix(const ::std::string& value);
902 void set_serialized_tl_matrix(::std::string&& value);
904 void set_serialized_tl_matrix(
const char* value);
905 void set_serialized_tl_matrix(
const void* value,
size_t size);
906 ::std::string* mutable_serialized_tl_matrix();
907 ::std::string* release_serialized_tl_matrix();
908 void set_allocated_serialized_tl_matrix(::std::string* serialized_tl_matrix);
911 bool has_env()
const;
913 static const int kEnvFieldNumber = 3;
915 const ::netsim::bellhop::protobuf::Environment& _internal_env()
const;
917 const ::netsim::bellhop::protobuf::Environment& env()
const;
923 bool has_avg_tl()
const;
925 static const int kAvgTlFieldNumber = 5;
927 const ::netsim::protobuf::iBellhopResponse_TLAveragedInRange& _internal_avg_tl()
const;
929 const ::netsim::protobuf::iBellhopResponse_TLAveragedInRange& avg_tl()
const;
935 bool has_success()
const;
936 void clear_success();
937 static const int kSuccessFieldNumber = 1;
938 bool success()
const;
939 void set_success(
bool value);
942 bool has_request_number()
const;
943 void clear_request_number();
944 static const int kRequestNumberFieldNumber = 6;
945 ::google::protobuf::int32 request_number()
const;
946 void set_request_number(::google::protobuf::int32 value);
950 void set_has_success();
951 void clear_has_success();
952 void set_has_requestor();
953 void clear_has_requestor();
955 void clear_has_env();
956 void set_has_output_file();
957 void clear_has_output_file();
958 void set_has_avg_tl();
959 void clear_has_avg_tl();
960 void set_has_serialized_tl_matrix();
961 void clear_has_serialized_tl_matrix();
962 void set_has_request_number();
963 void clear_has_request_number();
966 size_t RequiredFieldsByteSizeFallback()
const;
968 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
969 ::google::protobuf::internal::HasBits<1> _has_bits_;
970 mutable ::google::protobuf::internal::CachedSize _cached_size_;
971 ::google::protobuf::internal::ArenaStringPtr requestor_;
972 ::google::protobuf::internal::ArenaStringPtr output_file_;
973 ::google::protobuf::internal::ArenaStringPtr serialized_tl_matrix_;
977 ::google::protobuf::int32 request_number_;
978 friend struct ::protobuf_netsim_2facousticstoolbox_2fiBellhop_5fmessages_2eproto::TableStruct;
996 *
this = ::std::move(from);
999 inline SVPInfoRequest&
operator=(SVPInfoRequest&& from) noexcept {
1000 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1001 if (
this != &from) InternalSwap(&from);
1009 return _internal_metadata_.unknown_fields();
1012 return _internal_metadata_.mutable_unknown_fields();
1015 static const ::google::protobuf::Descriptor*
descriptor();
1034 return CreateMaybeMessage<SVPInfoRequest>(NULL);
1038 return CreateMaybeMessage<SVPInfoRequest>(arena);
1040 void CopyFrom(const ::google::protobuf::Message& from)
final;
1041 void MergeFrom(const ::google::protobuf::Message& from)
final;
1049 ::
google::protobuf::io::CodedInputStream* input) final;
1051 ::
google::protobuf::io::CodedOutputStream* output) const final;
1053 bool deterministic, ::
google::protobuf::uint8* target) const final;
1059 void SetCachedSize(
int size)
const final;
1062 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1065 inline void* MaybeArenaPtr()
const {
1070 ::google::protobuf::Metadata
GetMetadata() const final;
1077 int depth_size() const;
1080 double depth(
int index) const;
1081 void set_depth(
int index,
double value);
1082 void add_depth(
double value);
1083 const ::
google::protobuf::RepeatedField<
double >&
1085 ::
google::protobuf::RepeatedField<
double >*
1091 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1092 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1093 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1094 ::
google::protobuf::RepeatedField<
double > depth_;
1113 *
this = ::std::move(from);
1116 inline SVPInfoResponse_SVPSample&
operator=(SVPInfoResponse_SVPSample&& from) noexcept {
1117 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1118 if (
this != &from) InternalSwap(&from);
1126 return _internal_metadata_.unknown_fields();
1129 return _internal_metadata_.mutable_unknown_fields();
1132 static const ::google::protobuf::Descriptor*
descriptor();
1151 return CreateMaybeMessage<SVPInfoResponse_SVPSample>(NULL);
1155 return CreateMaybeMessage<SVPInfoResponse_SVPSample>(arena);
1157 void CopyFrom(const ::google::protobuf::Message& from)
final;
1158 void MergeFrom(const ::google::protobuf::Message& from)
final;
1166 ::
google::protobuf::io::CodedInputStream* input) final;
1168 ::
google::protobuf::io::CodedOutputStream* output) const final;
1170 bool deterministic, ::
google::protobuf::uint8* target) const final;
1176 void SetCachedSize(
int size)
const final;
1179 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1182 inline void* MaybeArenaPtr()
const {
1187 ::google::protobuf::Metadata
GetMetadata() const final;
1197 double depth() const;
1201 bool has_sound_speed() const;
1202 void clear_sound_speed();
1203 static const
int kSoundSpeedFieldNumber = 2;
1204 double sound_speed() const;
1205 void set_sound_speed(
double value);
1209 void set_has_depth();
1210 void clear_has_depth();
1211 void set_has_sound_speed();
1212 void clear_has_sound_speed();
1215 size_t RequiredFieldsByteSizeFallback() const;
1217 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1218 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1219 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1221 double sound_speed_;
1240 *
this = ::std::move(from);
1243 inline SVPInfoResponse&
operator=(SVPInfoResponse&& from) noexcept {
1244 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1245 if (
this != &from) InternalSwap(&from);
1253 return _internal_metadata_.unknown_fields();
1256 return _internal_metadata_.mutable_unknown_fields();
1259 static const ::google::protobuf::Descriptor*
descriptor();
1278 return CreateMaybeMessage<SVPInfoResponse>(NULL);
1282 return CreateMaybeMessage<SVPInfoResponse>(arena);
1284 void CopyFrom(const ::google::protobuf::Message& from)
final;
1285 void MergeFrom(const ::google::protobuf::Message& from)
final;
1293 ::
google::protobuf::io::CodedInputStream* input) final;
1295 ::
google::protobuf::io::CodedOutputStream* output) const final;
1297 bool deterministic, ::
google::protobuf::uint8* target) const final;
1303 void SetCachedSize(
int size)
const final;
1306 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1309 inline void* MaybeArenaPtr()
const {
1314 ::google::protobuf::Metadata
GetMetadata() const final;
1323 int svp_sample_size() const;
1324 void clear_svp_sample();
1325 static const
int kSvpSampleFieldNumber = 1;
1328 mutable_svp_sample();
1335 bool has_surface_sound_speed() const;
1336 void clear_surface_sound_speed();
1337 static const
int kSurfaceSoundSpeedFieldNumber = 2;
1338 double surface_sound_speed() const;
1339 void set_surface_sound_speed(
double value);
1342 bool has_water_depth() const;
1343 void clear_water_depth();
1344 static const
int kWaterDepthFieldNumber = 3;
1345 double water_depth() const;
1346 void set_water_depth(
double value);
1349 bool has_bottom_sound_speed() const;
1350 void clear_bottom_sound_speed();
1351 static const
int kBottomSoundSpeedFieldNumber = 4;
1352 double bottom_sound_speed() const;
1353 void set_bottom_sound_speed(
double value);
1357 void set_has_surface_sound_speed();
1358 void clear_has_surface_sound_speed();
1359 void set_has_water_depth();
1360 void clear_has_water_depth();
1361 void set_has_bottom_sound_speed();
1362 void clear_has_bottom_sound_speed();
1364 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1365 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1366 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1368 double surface_sound_speed_;
1369 double water_depth_;
1370 double bottom_sound_speed_;
1379 #pragma GCC diagnostic push
1380 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1386 return (_has_bits_[0] & 0x00000010u) != 0;
1388 inline void iBellhopConfig::set_has_common() {
1389 _has_bits_[0] |= 0x00000010u;
1391 inline void iBellhopConfig::clear_has_common() {
1392 _has_bits_[0] &= ~0x00000010u;
1394 inline const ::goby::moos::protobuf::GobyMOOSAppConfig& iBellhopConfig::_internal_common()
const {
1398 const ::goby::moos::protobuf::GobyMOOSAppConfig* p = common_;
1400 return p != NULL ? *p : *
reinterpret_cast<const ::goby::moos::protobuf::GobyMOOSAppConfig*
>(
1401 &::goby::moos::protobuf::_GobyMOOSAppConfig_default_instance_);
1406 ::goby::moos::protobuf::GobyMOOSAppConfig* temp = common_;
1412 if (common_ == NULL) {
1413 auto* p = CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig>(GetArenaNoVirtual());
1420 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1421 if (message_arena == NULL) {
1422 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(common_);
1425 ::google::protobuf::Arena* submessage_arena = NULL;
1426 if (message_arena != submessage_arena) {
1427 common = ::google::protobuf::internal::GetOwnedMessage(
1428 message_arena, common, submessage_arena);
1440 return (_has_bits_[0] & 0x00000020u) != 0;
1442 inline void iBellhopConfig::set_has_initial_env() {
1443 _has_bits_[0] |= 0x00000020u;
1445 inline void iBellhopConfig::clear_has_initial_env() {
1446 _has_bits_[0] &= ~0x00000020u;
1448 inline const ::netsim::bellhop::protobuf::Environment& iBellhopConfig::_internal_initial_env()
const {
1449 return *initial_env_;
1452 const ::netsim::bellhop::protobuf::Environment* p = initial_env_;
1459 clear_has_initial_env();
1461 initial_env_ = NULL;
1465 set_has_initial_env();
1466 if (initial_env_ == NULL) {
1467 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment>(GetArenaNoVirtual());
1471 return initial_env_;
1474 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1475 if (message_arena == NULL) {
1476 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(initial_env_);
1479 ::google::protobuf::Arena* submessage_arena = NULL;
1480 if (message_arena != submessage_arena) {
1481 initial_env = ::google::protobuf::internal::GetOwnedMessage(
1482 message_arena, initial_env, submessage_arena);
1484 set_has_initial_env();
1486 clear_has_initial_env();
1488 initial_env_ = initial_env;
1494 return (_has_bits_[0] & 0x00000001u) != 0;
1496 inline void iBellhopConfig::set_has_moos_var_request() {
1497 _has_bits_[0] |= 0x00000001u;
1499 inline void iBellhopConfig::clear_has_moos_var_request() {
1500 _has_bits_[0] &= ~0x00000001u;
1504 clear_has_moos_var_request();
1508 return moos_var_request_.GetNoArena();
1511 set_has_moos_var_request();
1517 set_has_moos_var_request();
1518 moos_var_request_.SetNoArena(
1524 GOOGLE_DCHECK(value != NULL);
1525 set_has_moos_var_request();
1530 set_has_moos_var_request();
1532 ::std::string(
reinterpret_cast<const char*
>(value), size));
1536 set_has_moos_var_request();
1542 if (!has_moos_var_request()) {
1545 clear_has_moos_var_request();
1549 if (moos_var_request != NULL) {
1550 set_has_moos_var_request();
1552 clear_has_moos_var_request();
1560 return (_has_bits_[0] & 0x00000002u) != 0;
1562 inline void iBellhopConfig::set_has_moos_var_response() {
1563 _has_bits_[0] |= 0x00000002u;
1565 inline void iBellhopConfig::clear_has_moos_var_response() {
1566 _has_bits_[0] &= ~0x00000002u;
1570 clear_has_moos_var_response();
1574 return moos_var_response_.GetNoArena();
1577 set_has_moos_var_response();
1583 set_has_moos_var_response();
1584 moos_var_response_.SetNoArena(
1590 GOOGLE_DCHECK(value != NULL);
1591 set_has_moos_var_response();
1596 set_has_moos_var_response();
1598 ::std::string(
reinterpret_cast<const char*
>(value), size));
1602 set_has_moos_var_response();
1608 if (!has_moos_var_response()) {
1611 clear_has_moos_var_response();
1615 if (moos_var_response != NULL) {
1616 set_has_moos_var_response();
1618 clear_has_moos_var_response();
1626 return (_has_bits_[0] & 0x00000004u) != 0;
1628 inline void iBellhopConfig::set_has_output_env_dir() {
1629 _has_bits_[0] |= 0x00000004u;
1631 inline void iBellhopConfig::clear_has_output_env_dir() {
1632 _has_bits_[0] &= ~0x00000004u;
1636 clear_has_output_env_dir();
1640 return output_env_dir_.GetNoArena();
1643 set_has_output_env_dir();
1649 set_has_output_env_dir();
1650 output_env_dir_.SetNoArena(
1656 GOOGLE_DCHECK(value != NULL);
1657 set_has_output_env_dir();
1662 set_has_output_env_dir();
1664 ::std::string(
reinterpret_cast<const char*
>(value), size));
1668 set_has_output_env_dir();
1674 if (!has_output_env_dir()) {
1677 clear_has_output_env_dir();
1681 if (output_env_dir != NULL) {
1682 set_has_output_env_dir();
1684 clear_has_output_env_dir();
1692 return (_has_bits_[0] & 0x00000040u) != 0;
1694 inline void iBellhopConfig::set_has_extrapolate_nav() {
1695 _has_bits_[0] |= 0x00000040u;
1697 inline void iBellhopConfig::clear_has_extrapolate_nav() {
1698 _has_bits_[0] &= ~0x00000040u;
1701 extrapolate_nav_ =
false;
1702 clear_has_extrapolate_nav();
1706 return extrapolate_nav_;
1709 set_has_extrapolate_nav();
1710 extrapolate_nav_ = value;
1716 return (_has_bits_[0] & 0x00000008u) != 0;
1718 inline void iBellhopConfig::set_has_local_sound_speed_var() {
1719 _has_bits_[0] |= 0x00000008u;
1721 inline void iBellhopConfig::clear_has_local_sound_speed_var() {
1722 _has_bits_[0] &= ~0x00000008u;
1725 local_sound_speed_var_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1726 clear_has_local_sound_speed_var();
1730 return local_sound_speed_var_.GetNoArena();
1733 set_has_local_sound_speed_var();
1734 local_sound_speed_var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1739 set_has_local_sound_speed_var();
1740 local_sound_speed_var_.SetNoArena(
1741 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1746 GOOGLE_DCHECK(value != NULL);
1747 set_has_local_sound_speed_var();
1748 local_sound_speed_var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1752 set_has_local_sound_speed_var();
1753 local_sound_speed_var_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1754 ::std::string(
reinterpret_cast<const char*
>(value), size));
1758 set_has_local_sound_speed_var();
1760 return local_sound_speed_var_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1764 if (!has_local_sound_speed_var()) {
1767 clear_has_local_sound_speed_var();
1768 return local_sound_speed_var_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1771 if (local_sound_speed_var != NULL) {
1772 set_has_local_sound_speed_var();
1774 clear_has_local_sound_speed_var();
1776 local_sound_speed_var_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), local_sound_speed_var);
1782 return (_has_bits_[0] & 0x00000080u) != 0;
1784 inline void iBellhopConfig::set_has_max_number_of_receivers() {
1785 _has_bits_[0] |= 0x00000080u;
1787 inline void iBellhopConfig::clear_has_max_number_of_receivers() {
1788 _has_bits_[0] &= ~0x00000080u;
1791 max_number_of_receivers_ = 1000000;
1792 clear_has_max_number_of_receivers();
1796 return max_number_of_receivers_;
1799 set_has_max_number_of_receivers();
1800 max_number_of_receivers_ = value;
1810 return (_has_bits_[0] & 0x00000001u) != 0;
1812 inline void iBellhopRequest::set_has_env() {
1813 _has_bits_[0] |= 0x00000001u;
1815 inline void iBellhopRequest::clear_has_env() {
1816 _has_bits_[0] &= ~0x00000001u;
1818 inline const ::netsim::bellhop::protobuf::Environment& iBellhopRequest::_internal_env()
const {
1822 const ::netsim::bellhop::protobuf::Environment* p = env_;
1837 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment>(GetArenaNoVirtual());
1844 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1845 if (message_arena == NULL) {
1846 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(env_);
1849 ::google::protobuf::Arena* submessage_arena = NULL;
1850 if (message_arena != submessage_arena) {
1851 env = ::google::protobuf::internal::GetOwnedMessage(
1852 message_arena, env, submessage_arena);
1864 return (_has_bits_[0] & 0x00000002u) != 0;
1866 inline void iBellhopRequest::set_has_request_number() {
1867 _has_bits_[0] |= 0x00000002u;
1869 inline void iBellhopRequest::clear_has_request_number() {
1870 _has_bits_[0] &= ~0x00000002u;
1873 request_number_ = 0;
1874 clear_has_request_number();
1878 return request_number_;
1881 set_has_request_number();
1882 request_number_ = value;
1888 return (_has_bits_[0] & 0x00000004u) != 0;
1890 inline void iBellhopRequest::set_has_water_column_action() {
1891 _has_bits_[0] |= 0x00000004u;
1893 inline void iBellhopRequest::clear_has_water_column_action() {
1894 _has_bits_[0] &= ~0x00000004u;
1897 water_column_action_ = 2;
1898 clear_has_water_column_action();
1906 set_has_water_column_action();
1907 water_column_action_ = value;
1917 return (_has_bits_[0] & 0x00000001u) != 0;
1919 inline void iBellhopResponse_TLAveragedInRange_TLSample::set_has_depth() {
1920 _has_bits_[0] |= 0x00000001u;
1922 inline void iBellhopResponse_TLAveragedInRange_TLSample::clear_has_depth() {
1923 _has_bits_[0] &= ~0x00000001u;
1941 return (_has_bits_[0] & 0x00000002u) != 0;
1943 inline void iBellhopResponse_TLAveragedInRange_TLSample::set_has_tl() {
1944 _has_bits_[0] |= 0x00000002u;
1946 inline void iBellhopResponse_TLAveragedInRange_TLSample::clear_has_tl() {
1947 _has_bits_[0] &= ~0x00000002u;
1969 return sample_.size();
1976 return sample_.Mutable(index);
1978 inline ::google::protobuf::RepeatedPtrField< ::netsim::protobuf::iBellhopResponse_TLAveragedInRange_TLSample >*
1985 return sample_.Get(index);
1989 return sample_.Add();
1991 inline const ::google::protobuf::RepeatedPtrField< ::netsim::protobuf::iBellhopResponse_TLAveragedInRange_TLSample >&
2003 return (_has_bits_[0] & 0x00000020u) != 0;
2005 inline void iBellhopResponse::set_has_success() {
2006 _has_bits_[0] |= 0x00000020u;
2008 inline void iBellhopResponse::clear_has_success() {
2009 _has_bits_[0] &= ~0x00000020u;
2013 clear_has_success();
2027 return (_has_bits_[0] & 0x00000001u) != 0;
2029 inline void iBellhopResponse::set_has_requestor() {
2030 _has_bits_[0] |= 0x00000001u;
2032 inline void iBellhopResponse::clear_has_requestor() {
2033 _has_bits_[0] &= ~0x00000001u;
2036 requestor_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2037 clear_has_requestor();
2041 return requestor_.GetNoArena();
2044 set_has_requestor();
2045 requestor_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2050 set_has_requestor();
2051 requestor_.SetNoArena(
2052 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2057 GOOGLE_DCHECK(value != NULL);
2058 set_has_requestor();
2059 requestor_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2063 set_has_requestor();
2064 requestor_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2065 ::std::string(
reinterpret_cast<const char*
>(value), size));
2069 set_has_requestor();
2071 return requestor_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2075 if (!has_requestor()) {
2078 clear_has_requestor();
2079 return requestor_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2082 if (requestor != NULL) {
2083 set_has_requestor();
2085 clear_has_requestor();
2087 requestor_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), requestor);
2093 return (_has_bits_[0] & 0x00000008u) != 0;
2095 inline void iBellhopResponse::set_has_env() {
2096 _has_bits_[0] |= 0x00000008u;
2098 inline void iBellhopResponse::clear_has_env() {
2099 _has_bits_[0] &= ~0x00000008u;
2101 inline const ::netsim::bellhop::protobuf::Environment& iBellhopResponse::_internal_env()
const {
2105 const ::netsim::bellhop::protobuf::Environment* p = env_;
2120 auto* p = CreateMaybeMessage<::netsim::bellhop::protobuf::Environment>(GetArenaNoVirtual());
2127 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2128 if (message_arena == NULL) {
2129 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(env_);
2132 ::google::protobuf::Arena* submessage_arena = NULL;
2133 if (message_arena != submessage_arena) {
2134 env = ::google::protobuf::internal::GetOwnedMessage(
2135 message_arena, env, submessage_arena);
2147 return (_has_bits_[0] & 0x00000002u) != 0;
2149 inline void iBellhopResponse::set_has_output_file() {
2150 _has_bits_[0] |= 0x00000002u;
2152 inline void iBellhopResponse::clear_has_output_file() {
2153 _has_bits_[0] &= ~0x00000002u;
2156 output_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2157 clear_has_output_file();
2161 return output_file_.GetNoArena();
2164 set_has_output_file();
2165 output_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2170 set_has_output_file();
2171 output_file_.SetNoArena(
2172 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2177 GOOGLE_DCHECK(value != NULL);
2178 set_has_output_file();
2179 output_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2183 set_has_output_file();
2184 output_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2185 ::std::string(
reinterpret_cast<const char*
>(value), size));
2189 set_has_output_file();
2191 return output_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2195 if (!has_output_file()) {
2198 clear_has_output_file();
2199 return output_file_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2202 if (output_file != NULL) {
2203 set_has_output_file();
2205 clear_has_output_file();
2207 output_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_file);
2213 return (_has_bits_[0] & 0x00000010u) != 0;
2215 inline void iBellhopResponse::set_has_avg_tl() {
2216 _has_bits_[0] |= 0x00000010u;
2218 inline void iBellhopResponse::clear_has_avg_tl() {
2219 _has_bits_[0] &= ~0x00000010u;
2222 if (avg_tl_ != NULL) avg_tl_->Clear();
2225 inline const ::netsim::protobuf::iBellhopResponse_TLAveragedInRange& iBellhopResponse::_internal_avg_tl()
const {
2229 const ::netsim::protobuf::iBellhopResponse_TLAveragedInRange* p = avg_tl_;
2243 if (avg_tl_ == NULL) {
2244 auto* p = CreateMaybeMessage<::netsim::protobuf::iBellhopResponse_TLAveragedInRange>(GetArenaNoVirtual());
2251 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2252 if (message_arena == NULL) {
2256 ::google::protobuf::Arena* submessage_arena = NULL;
2257 if (message_arena != submessage_arena) {
2258 avg_tl = ::google::protobuf::internal::GetOwnedMessage(
2259 message_arena, avg_tl, submessage_arena);
2271 return (_has_bits_[0] & 0x00000004u) != 0;
2273 inline void iBellhopResponse::set_has_serialized_tl_matrix() {
2274 _has_bits_[0] |= 0x00000004u;
2276 inline void iBellhopResponse::clear_has_serialized_tl_matrix() {
2277 _has_bits_[0] &= ~0x00000004u;
2280 serialized_tl_matrix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2281 clear_has_serialized_tl_matrix();
2285 return serialized_tl_matrix_.GetNoArena();
2288 set_has_serialized_tl_matrix();
2289 serialized_tl_matrix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2294 set_has_serialized_tl_matrix();
2295 serialized_tl_matrix_.SetNoArena(
2296 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2301 GOOGLE_DCHECK(value != NULL);
2302 set_has_serialized_tl_matrix();
2303 serialized_tl_matrix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2307 set_has_serialized_tl_matrix();
2308 serialized_tl_matrix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2309 ::std::string(
reinterpret_cast<const char*
>(value), size));
2313 set_has_serialized_tl_matrix();
2315 return serialized_tl_matrix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2319 if (!has_serialized_tl_matrix()) {
2322 clear_has_serialized_tl_matrix();
2323 return serialized_tl_matrix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2326 if (serialized_tl_matrix != NULL) {
2327 set_has_serialized_tl_matrix();
2329 clear_has_serialized_tl_matrix();
2331 serialized_tl_matrix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), serialized_tl_matrix);
2337 return (_has_bits_[0] & 0x00000040u) != 0;
2339 inline void iBellhopResponse::set_has_request_number() {
2340 _has_bits_[0] |= 0x00000040u;
2342 inline void iBellhopResponse::clear_has_request_number() {
2343 _has_bits_[0] &= ~0x00000040u;
2346 request_number_ = 0;
2347 clear_has_request_number();
2351 return request_number_;
2354 set_has_request_number();
2355 request_number_ = value;
2365 return depth_.size();
2372 return depth_.Get(index);
2375 depth_.Set(index, value);
2382 inline const ::google::protobuf::RepeatedField< double >&
2387 inline ::google::protobuf::RepeatedField< double >*
2399 return (_has_bits_[0] & 0x00000001u) != 0;
2401 inline void SVPInfoResponse_SVPSample::set_has_depth() {
2402 _has_bits_[0] |= 0x00000001u;
2404 inline void SVPInfoResponse_SVPSample::clear_has_depth() {
2405 _has_bits_[0] &= ~0x00000001u;
2423 return (_has_bits_[0] & 0x00000002u) != 0;
2425 inline void SVPInfoResponse_SVPSample::set_has_sound_speed() {
2426 _has_bits_[0] |= 0x00000002u;
2428 inline void SVPInfoResponse_SVPSample::clear_has_sound_speed() {
2429 _has_bits_[0] &= ~0x00000002u;
2433 clear_has_sound_speed();
2437 return sound_speed_;
2440 set_has_sound_speed();
2441 sound_speed_ = value;
2451 return svp_sample_.size();
2454 svp_sample_.Clear();
2458 return svp_sample_.Mutable(index);
2460 inline ::google::protobuf::RepeatedPtrField< ::netsim::protobuf::SVPInfoResponse_SVPSample >*
2463 return &svp_sample_;
2467 return svp_sample_.Get(index);
2471 return svp_sample_.Add();
2473 inline const ::google::protobuf::RepeatedPtrField< ::netsim::protobuf::SVPInfoResponse_SVPSample >&
2481 return (_has_bits_[0] & 0x00000001u) != 0;
2483 inline void SVPInfoResponse::set_has_surface_sound_speed() {
2484 _has_bits_[0] |= 0x00000001u;
2486 inline void SVPInfoResponse::clear_has_surface_sound_speed() {
2487 _has_bits_[0] &= ~0x00000001u;
2490 surface_sound_speed_ = 0;
2491 clear_has_surface_sound_speed();
2495 return surface_sound_speed_;
2498 set_has_surface_sound_speed();
2499 surface_sound_speed_ = value;
2505 return (_has_bits_[0] & 0x00000002u) != 0;
2507 inline void SVPInfoResponse::set_has_water_depth() {
2508 _has_bits_[0] |= 0x00000002u;
2510 inline void SVPInfoResponse::clear_has_water_depth() {
2511 _has_bits_[0] &= ~0x00000002u;
2515 clear_has_water_depth();
2519 return water_depth_;
2522 set_has_water_depth();
2523 water_depth_ = value;
2529 return (_has_bits_[0] & 0x00000004u) != 0;
2531 inline void SVPInfoResponse::set_has_bottom_sound_speed() {
2532 _has_bits_[0] |= 0x00000004u;
2534 inline void SVPInfoResponse::clear_has_bottom_sound_speed() {
2535 _has_bits_[0] &= ~0x00000004u;
2538 bottom_sound_speed_ = 0;
2539 clear_has_bottom_sound_speed();
2543 return bottom_sound_speed_;
2546 set_has_bottom_sound_speed();
2547 bottom_sound_speed_ = value;
2552 #pragma GCC diagnostic pop
2575 namespace protobuf {
2579 inline const EnumDescriptor* GetEnumDescriptor< ::netsim::protobuf::iBellhopRequest_WaterColumnAction>() {
2588 #endif // PROTOBUF_INCLUDED_netsim_2facousticstoolbox_2fiBellhop_5fmessages_2eproto