4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2futil_2fprotobuf_2fais_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2futil_2fprotobuf_2fais_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/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 #include <boost/units/systems/angle/degrees.hpp>
44 #include <boost/units/systems/si.hpp>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_goby_2futil_2fprotobuf_2fais_2eproto
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
72 class PositionDefaultTypeInternal;
75 class VoyageDefaultTypeInternal;
81 PROTOBUF_NAMESPACE_OPEN
82 template<> ::goby::util::ais::protobuf::Position* Arena::CreateMaybeMessage<::goby::util::ais::protobuf::Position>(Arena*);
83 template<> ::goby::util::ais::protobuf::Voyage* Arena::CreateMaybeMessage<::goby::util::ais::protobuf::Voyage>(Arena*);
84 PROTOBUF_NAMESPACE_CLOSE
105 static_assert(::std::is_same<T, Position_TurnInfo>::value ||
106 ::std::is_integral<T>::value,
107 "Incorrect type passed to function Position_TurnInfo_Name.");
108 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
113 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Position_TurnInfo>(
128 static_assert(::std::is_same<T, Position_PositionAccuracy>::value ||
129 ::std::is_integral<T>::value,
130 "Incorrect type passed to function Position_PositionAccuracy_Name.");
131 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
136 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Position_PositionAccuracy>(
249 static_assert(::std::is_same<T, Voyage_ShipType>::value ||
250 ::std::is_integral<T>::value,
251 "Incorrect type passed to function Voyage_ShipType_Name.");
252 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
257 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Voyage_ShipType>(
279 static_assert(::std::is_same<T, Voyage_FixType>::value ||
280 ::std::is_integral<T>::value,
281 "Incorrect type passed to function Voyage_FixType_Name.");
282 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
287 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Voyage_FixType>(
316 static_assert(::std::is_same<T, Status>::value ||
317 ::std::is_integral<T>::value,
318 "Incorrect type passed to function Status_Name.");
319 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
323 const std::string& name,
Status* value) {
324 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Status>(
330 public ::PROTOBUF_NAMESPACE_ID::Message {
338 *
this = ::std::move(from);
346 if (GetArena() == from.GetArena()) {
347 if (
this != &from) InternalSwap(&from);
355 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
358 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
361 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
362 return GetDescriptor();
365 return GetMetadataStatic().descriptor;
368 return GetMetadataStatic().reflection;
374 return reinterpret_cast<const Position*
>(
377 static constexpr
int kIndexInFileMessages =
380 friend void swap(Position& a, Position& b) {
383 inline void Swap(Position* other) {
384 if (other ==
this)
return;
385 if (GetArena() == other->GetArena()) {
388 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
392 if (other ==
this)
return;
393 GOOGLE_DCHECK(GetArena() == other->GetArena());
399 inline Position*
New() const final {
400 return CreateMaybeMessage<Position>(
nullptr);
403 Position*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
404 return CreateMaybeMessage<Position>(arena);
406 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
407 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
410 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
411 bool IsInitialized() const final;
414 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
415 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
416 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
417 int GetCachedSize() const final {
return _cached_size_.Get(); }
420 inline void SharedCtor();
421 inline void SharedDtor();
422 void SetCachedSize(
int size)
const final;
423 void InternalSwap(Position* other);
424 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
425 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
426 return "goby.util.ais.protobuf.Position";
429 explicit Position(::PROTOBUF_NAMESPACE_ID::Arena* arena);
431 static void ArenaDtor(
void*
object);
432 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
437 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
449 static constexpr
TurnInfo TURN_INFO__TURNING_AT_GIVEN_RATE =
451 static constexpr
TurnInfo TURN_INFO__TURNING_RIGHT_AT_MORE_THAN_5_DEG_PER_30_SEC =
453 static constexpr
TurnInfo TURN_INFO__TURNING_LEFT_AT_MORE_THAN_5_DEG_PER_30_SEC =
455 static constexpr
TurnInfo TURN_INFO__NO_TURN_INFORMATION =
464 static constexpr
int TurnInfo_ARRAYSIZE =
466 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
472 static_assert(::std::is_same<T, TurnInfo>::value ||
473 ::std::is_integral<T>::value,
474 "Incorrect type passed to function TurnInfo_Name.");
494 static constexpr
int PositionAccuracy_ARRAYSIZE =
496 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
502 static_assert(::std::is_same<T, PositionAccuracy>::value ||
503 ::std::is_integral<T>::value,
504 "Incorrect type passed to function PositionAccuracy_Name.");
515 kMessageIdFieldNumber = 2,
516 kMmsiFieldNumber = 3,
517 kTurnRateFieldNumber = 6,
518 kSpeedOverGroundFieldNumber = 7,
520 kPositionAccuracyFieldNumber = 8,
521 kCourseOverGroundFieldNumber = 11,
522 kLonFieldNumber = 10,
523 kTrueHeadingFieldNumber = 12,
524 kReportSecondFieldNumber = 13,
525 kRaimFieldNumber = 14,
526 kNavStatusFieldNumber = 4,
527 kTurnInfoFieldNumber = 5,
532 bool _internal_has_message_id()
const;
545 bool _internal_has_mmsi()
const;
558 bool _internal_has_turn_rate()
const;
564 float _internal_turn_rate()
const;
565 void _internal_set_turn_rate(
float value);
571 bool _internal_has_speed_over_ground()
const;
577 float _internal_speed_over_ground()
const;
578 void _internal_set_speed_over_ground(
float value);
584 bool _internal_has_lat()
const;
590 double _internal_lat()
const;
591 void _internal_set_lat(
double value);
597 bool _internal_has_position_accuracy()
const;
610 bool _internal_has_course_over_ground()
const;
616 float _internal_course_over_ground()
const;
617 void _internal_set_course_over_ground(
float value);
623 bool _internal_has_lon()
const;
629 double _internal_lon()
const;
630 void _internal_set_lon(
double value);
636 bool _internal_has_true_heading()
const;
642 float _internal_true_heading()
const;
643 void _internal_set_true_heading(
float value);
649 bool _internal_has_report_second()
const;
662 bool _internal_has_raim()
const;
668 bool _internal_raim()
const;
669 void _internal_set_raim(
bool value);
675 bool _internal_has_nav_status()
const;
688 bool _internal_has_turn_info()
const;
701 typedef boost::units::unit<turn_rate_dimension,boost::units::si::system>
turn_rate_unit;
703 template<
typename Quantity >
705 { set_turn_rate(boost::units::quantity<turn_rate_unit,float >(value_w_units).value() ); };
707 template<
typename Quantity >
712 {
return turn_rate_with_units<boost::units::quantity< turn_rate_unit,float > >(); };
718 template<
typename Quantity >
720 { set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,float >(value_w_units).value() ); };
722 template<
typename Quantity >
727 {
return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,float > >(); };
731 typedef boost::units::unit<lat_dimension,boost::units::degree::system>
lat_unit;
733 template<
typename Quantity >
735 { set_lat(boost::units::quantity<lat_unit,double >(value_w_units).value() ); };
737 template<
typename Quantity >
739 {
return Quantity(lat() *
lat_unit()); };
742 {
return lat_with_units<boost::units::quantity< lat_unit,double > >(); };
746 typedef boost::units::unit<lon_dimension,boost::units::degree::system>
lon_unit;
748 template<
typename Quantity >
750 { set_lon(boost::units::quantity<lon_unit,double >(value_w_units).value() ); };
752 template<
typename Quantity >
754 {
return Quantity(lon() *
lon_unit()); };
757 {
return lon_with_units<boost::units::quantity< lon_unit,double > >(); };
763 template<
typename Quantity >
765 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,float >(value_w_units).value() ); };
767 template<
typename Quantity >
772 {
return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,float > >(); };
776 typedef boost::units::unit<true_heading_dimension,boost::units::degree::system>
true_heading_unit;
778 template<
typename Quantity >
780 { set_true_heading(boost::units::quantity<true_heading_unit,float >(value_w_units).value() ); };
782 template<
typename Quantity >
787 {
return true_heading_with_units<boost::units::quantity< true_heading_unit,float > >(); };
793 template<
typename Quantity >
795 { set_report_second(boost::units::quantity<report_second_unit,google::protobuf::int32 >(value_w_units).value() ); };
797 template<
typename Quantity >
802 {
return report_second_with_units<boost::units::quantity< report_second_unit,google::protobuf::int32 > >(); };
808 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
809 typedef void InternalArenaConstructable_;
810 typedef void DestructorSkippable_;
811 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
812 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
816 float speed_over_ground_;
818 int position_accuracy_;
819 float course_over_ground_;
826 friend struct ::TableStruct_goby_2futil_2fprotobuf_2fais_2eproto;
831 public ::PROTOBUF_NAMESPACE_ID::Message {
839 *
this = ::std::move(from);
847 if (GetArena() == from.GetArena()) {
848 if (
this != &from) InternalSwap(&from);
856 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
859 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
862 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
863 return GetDescriptor();
866 return GetMetadataStatic().descriptor;
869 return GetMetadataStatic().reflection;
875 return reinterpret_cast<const Voyage*
>(
878 static constexpr
int kIndexInFileMessages =
881 friend void swap(Voyage& a, Voyage& b) {
884 inline void Swap(Voyage* other) {
885 if (other ==
this)
return;
886 if (GetArena() == other->GetArena()) {
889 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
893 if (other ==
this)
return;
894 GOOGLE_DCHECK(GetArena() == other->GetArena());
900 inline Voyage*
New() const final {
901 return CreateMaybeMessage<Voyage>(
nullptr);
904 Voyage*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
905 return CreateMaybeMessage<Voyage>(arena);
907 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
908 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
911 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
912 bool IsInitialized() const final;
915 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
916 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
917 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
918 int GetCachedSize() const final {
return _cached_size_.Get(); }
921 inline void SharedCtor();
922 inline void SharedDtor();
923 void SetCachedSize(
int size)
const final;
924 void InternalSwap(Voyage* other);
925 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
926 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
927 return "goby.util.ais.protobuf.Voyage";
930 explicit Voyage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
932 static void ArenaDtor(
void*
object);
933 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
938 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
990 static constexpr
ShipType TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_A =
992 static constexpr
ShipType TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_B =
994 static constexpr
ShipType TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_C =
996 static constexpr
ShipType TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_D =
998 static constexpr
ShipType TYPE__WING_IN_GROUND_RESERVED_25 =
1000 static constexpr
ShipType TYPE__WING_IN_GROUND_RESERVED_26 =
1002 static constexpr
ShipType TYPE__WING_IN_GROUND_RESERVED_27 =
1004 static constexpr
ShipType TYPE__WING_IN_GROUND_RESERVED_28 =
1006 static constexpr
ShipType TYPE__WING_IN_GROUND_RESERVED_29 =
1012 static constexpr
ShipType TYPE__TOWING_LENGTH_EXCEEDS_200M_OR_BREADTH_EXCEEDS_25M =
1014 static constexpr
ShipType TYPE__DREDGING_OR_UNDERWATER_OPS =
1030 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_A =
1032 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_B =
1034 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_C =
1036 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_D =
1038 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_RESERVED_45 =
1040 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_RESERVED_46 =
1042 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_RESERVED_47 =
1044 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_RESERVED_48 =
1046 static constexpr
ShipType TYPE__HIGH_SPEED_CRAFT_NO_ADDITIONAL_INFORMATION =
1050 static constexpr
ShipType TYPE__SEARCH_AND_RESCUE_VESSEL =
1056 static constexpr
ShipType TYPE__ANTI_POLLUTION_EQUIPMENT =
1066 static constexpr
ShipType TYPE__NONCOMBATANT_SHIP_ACCORDING_TO_RR_RESOLUTION_NO_18 =
1070 static constexpr
ShipType TYPE__PASSENGER_HAZARDOUS_CATEGORY_A =
1072 static constexpr
ShipType TYPE__PASSENGER_HAZARDOUS_CATEGORY_B =
1074 static constexpr
ShipType TYPE__PASSENGER_HAZARDOUS_CATEGORY_C =
1076 static constexpr
ShipType TYPE__PASSENGER_HAZARDOUS_CATEGORY_D =
1078 static constexpr
ShipType TYPE__PASSENGER_RESERVED_65 =
1080 static constexpr
ShipType TYPE__PASSENGER_RESERVED_66 =
1082 static constexpr
ShipType TYPE__PASSENGER_RESERVED_67 =
1084 static constexpr
ShipType TYPE__PASSENGER_RESERVED_68 =
1086 static constexpr
ShipType TYPE__PASSENGER_NO_ADDITIONAL_INFORMATION =
1090 static constexpr
ShipType TYPE__CARGO_HAZARDOUS_CATEGORY_A =
1092 static constexpr
ShipType TYPE__CARGO_HAZARDOUS_CATEGORY_B =
1094 static constexpr
ShipType TYPE__CARGO_HAZARDOUS_CATEGORY_C =
1096 static constexpr
ShipType TYPE__CARGO_HAZARDOUS_CATEGORY_D =
1106 static constexpr
ShipType TYPE__CARGO_NO_ADDITIONAL_INFORMATION =
1110 static constexpr
ShipType TYPE__TANKER_HAZARDOUS_CATEGORY_A =
1112 static constexpr
ShipType TYPE__TANKER_HAZARDOUS_CATEGORY_B =
1114 static constexpr
ShipType TYPE__TANKER_HAZARDOUS_CATEGORY_C =
1116 static constexpr
ShipType TYPE__TANKER_HAZARDOUS_CATEGORY_D =
1126 static constexpr
ShipType TYPE__TANKER_NO_ADDITIONAL_INFORMATION =
1130 static constexpr
ShipType TYPE__OTHER_HAZARDOUS_CATEGORY_A =
1132 static constexpr
ShipType TYPE__OTHER_HAZARDOUS_CATEGORY_B =
1134 static constexpr
ShipType TYPE__OTHER_HAZARDOUS_CATEGORY_C =
1136 static constexpr
ShipType TYPE__OTHER_HAZARDOUS_CATEGORY_D =
1146 static constexpr
ShipType TYPE__OTHER_NO_ADDITIONAL_INFORMATION =
1155 static constexpr
int ShipType_ARRAYSIZE =
1157 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1161 template<
typename T>
1163 static_assert(::std::is_same<T, ShipType>::value ||
1164 ::std::is_integral<T>::value,
1165 "Incorrect type passed to function ShipType_Name.");
1180 static constexpr
FixType FIX__COMBINED_GPS_AND_GLONASS =
1186 static constexpr
FixType FIX__INTEGRATED_NAVIGATION_SYSTEM =
1199 static constexpr
int FixType_ARRAYSIZE =
1201 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1205 template<
typename T>
1207 static_assert(::std::is_same<T, FixType>::value ||
1208 ::std::is_integral<T>::value,
1209 "Incorrect type passed to function FixType_Name.");
1220 kCallsignFieldNumber = 5,
1221 kNameFieldNumber = 6,
1222 kDestinationFieldNumber = 18,
1223 kMessageIdFieldNumber = 2,
1224 kMmsiFieldNumber = 3,
1225 kImoFieldNumber = 4,
1226 kTypeFieldNumber = 7,
1227 kToBowFieldNumber = 8,
1228 kToSternFieldNumber = 9,
1229 kToPortFieldNumber = 10,
1230 kToStarboardFieldNumber = 11,
1231 kFixTypeFieldNumber = 12,
1232 kEtaMonthFieldNumber = 13,
1233 kEtaDayFieldNumber = 14,
1234 kEtaHourFieldNumber = 15,
1235 kEtaMinuteFieldNumber = 16,
1236 kDraughtFieldNumber = 17,
1241 bool _internal_has_callsign()
const;
1252 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
1253 " string fields are deprecated and will be removed in a"
1255 std::
string* unsafe_arena_release_callsign();
1256 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1257 "
string fields are deprecated and will be removed in a"
1259 void unsafe_arena_set_allocated_callsign(
1260 std::
string* callsign);
1262 const std::
string& _internal_callsign() const;
1263 void _internal_set_callsign(const std::
string& value);
1264 std::
string* _internal_mutable_callsign();
1268 bool has_name() const;
1270 bool _internal_has_name() const;
1273 const std::
string& name() const;
1274 void set_name(const std::
string& value);
1275 void set_name(std::
string&& value);
1276 void set_name(const
char* value);
1277 void set_name(const
char* value,
size_t size);
1278 std::
string* mutable_name();
1279 std::
string* release_name();
1280 void set_allocated_name(std::
string* name);
1281 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1282 "
string fields are deprecated and will be removed in a"
1284 std::
string* unsafe_arena_release_name();
1285 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1286 "
string fields are deprecated and will be removed in a"
1288 void unsafe_arena_set_allocated_name(
1291 const std::
string& _internal_name() const;
1292 void _internal_set_name(const std::
string& value);
1293 std::
string* _internal_mutable_name();
1297 bool has_destination() const;
1299 bool _internal_has_destination() const;
1301 void clear_destination();
1302 const std::
string& destination() const;
1303 void set_destination(const std::
string& value);
1304 void set_destination(std::
string&& value);
1305 void set_destination(const
char* value);
1306 void set_destination(const
char* value,
size_t size);
1307 std::
string* mutable_destination();
1308 std::
string* release_destination();
1309 void set_allocated_destination(std::
string* destination);
1310 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1311 "
string fields are deprecated and will be removed in a"
1313 std::
string* unsafe_arena_release_destination();
1314 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1315 "
string fields are deprecated and will be removed in a"
1317 void unsafe_arena_set_allocated_destination(
1318 std::
string* destination);
1320 const std::
string& _internal_destination() const;
1321 void _internal_set_destination(const std::
string& value);
1322 std::
string* _internal_mutable_destination();
1326 bool has_message_id() const;
1328 bool _internal_has_message_id() const;
1330 void clear_message_id();
1331 ::PROTOBUF_NAMESPACE_ID::
int32 message_id() const;
1332 void set_message_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
1334 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_message_id() const;
1335 void _internal_set_message_id(::PROTOBUF_NAMESPACE_ID::
int32 value);
1339 bool has_mmsi() const;
1341 bool _internal_has_mmsi() const;
1344 ::PROTOBUF_NAMESPACE_ID::
int32 mmsi() const;
1345 void set_mmsi(::PROTOBUF_NAMESPACE_ID::
int32 value);
1347 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_mmsi() const;
1348 void _internal_set_mmsi(::PROTOBUF_NAMESPACE_ID::
int32 value);
1352 bool has_imo() const;
1354 bool _internal_has_imo() const;
1357 ::PROTOBUF_NAMESPACE_ID::
int32 imo() const;
1358 void set_imo(::PROTOBUF_NAMESPACE_ID::
int32 value);
1360 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_imo() const;
1361 void _internal_set_imo(::PROTOBUF_NAMESPACE_ID::
int32 value);
1365 bool has_type() const;
1367 bool _internal_has_type() const;
1378 bool has_to_bow() const;
1380 bool _internal_has_to_bow() const;
1382 void clear_to_bow();
1383 ::PROTOBUF_NAMESPACE_ID::
uint32 to_bow() const;
1384 void set_to_bow(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1386 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_to_bow() const;
1387 void _internal_set_to_bow(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1391 bool has_to_stern() const;
1393 bool _internal_has_to_stern() const;
1395 void clear_to_stern();
1396 ::PROTOBUF_NAMESPACE_ID::
uint32 to_stern() const;
1397 void set_to_stern(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1399 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_to_stern() const;
1400 void _internal_set_to_stern(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1404 bool has_to_port() const;
1406 bool _internal_has_to_port() const;
1408 void clear_to_port();
1409 ::PROTOBUF_NAMESPACE_ID::
uint32 to_port() const;
1410 void set_to_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1412 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_to_port() const;
1413 void _internal_set_to_port(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1417 bool has_to_starboard() const;
1419 bool _internal_has_to_starboard() const;
1421 void clear_to_starboard();
1422 ::PROTOBUF_NAMESPACE_ID::
uint32 to_starboard() const;
1423 void set_to_starboard(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1425 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_to_starboard() const;
1426 void _internal_set_to_starboard(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1430 bool has_fix_type() const;
1432 bool _internal_has_fix_type() const;
1434 void clear_fix_type();
1443 bool has_eta_month() const;
1445 bool _internal_has_eta_month() const;
1447 void clear_eta_month();
1448 ::PROTOBUF_NAMESPACE_ID::
uint32 eta_month() const;
1449 void set_eta_month(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1451 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_eta_month() const;
1452 void _internal_set_eta_month(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1456 bool has_eta_day() const;
1458 bool _internal_has_eta_day() const;
1460 void clear_eta_day();
1461 ::PROTOBUF_NAMESPACE_ID::
uint32 eta_day() const;
1462 void set_eta_day(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1464 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_eta_day() const;
1465 void _internal_set_eta_day(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1469 bool has_eta_hour() const;
1471 bool _internal_has_eta_hour() const;
1473 void clear_eta_hour();
1474 ::PROTOBUF_NAMESPACE_ID::
uint32 eta_hour() const;
1475 void set_eta_hour(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1477 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_eta_hour() const;
1478 void _internal_set_eta_hour(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1482 bool has_eta_minute() const;
1484 bool _internal_has_eta_minute() const;
1486 void clear_eta_minute();
1487 ::PROTOBUF_NAMESPACE_ID::
uint32 eta_minute() const;
1488 void set_eta_minute(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1490 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_eta_minute() const;
1491 void _internal_set_eta_minute(::PROTOBUF_NAMESPACE_ID::
uint32 value);
1495 bool has_draught() const;
1497 bool _internal_has_draught() const;
1499 void clear_draught();
1500 float draught() const;
1501 void set_draught(
float value);
1503 float _internal_draught() const;
1504 void _internal_set_draught(
float value);
1510 typedef boost::units::unit<to_bow_dimension,boost::units::si::system>
to_bow_unit;
1512 template<
typename Quantity >
1514 { set_to_bow(boost::units::quantity<to_bow_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1516 template<
typename Quantity >
1521 {
return to_bow_with_units<boost::units::quantity< to_bow_unit,google::protobuf::uint32 > >(); };
1525 typedef boost::units::unit<to_stern_dimension,boost::units::si::system>
to_stern_unit;
1527 template<
typename Quantity >
1529 { set_to_stern(boost::units::quantity<to_stern_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1531 template<
typename Quantity >
1536 {
return to_stern_with_units<boost::units::quantity< to_stern_unit,google::protobuf::uint32 > >(); };
1540 typedef boost::units::unit<to_port_dimension,boost::units::si::system>
to_port_unit;
1542 template<
typename Quantity >
1544 { set_to_port(boost::units::quantity<to_port_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1546 template<
typename Quantity >
1551 {
return to_port_with_units<boost::units::quantity< to_port_unit,google::protobuf::uint32 > >(); };
1557 template<
typename Quantity >
1559 { set_to_starboard(boost::units::quantity<to_starboard_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1561 template<
typename Quantity >
1566 {
return to_starboard_with_units<boost::units::quantity< to_starboard_unit,google::protobuf::uint32 > >(); };
1570 typedef boost::units::unit<draught_dimension,boost::units::si::system>
draught_unit;
1572 template<
typename Quantity >
1574 { set_draught(boost::units::quantity<draught_unit,float >(value_w_units).value() ); };
1576 template<
typename Quantity >
1581 {
return draught_with_units<boost::units::quantity< draught_unit,float > >(); };
1587 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1588 typedef void InternalArenaConstructable_;
1589 typedef void DestructorSkippable_;
1590 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1591 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1592 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr callsign_;
1593 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1594 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr destination_;
1609 friend struct ::TableStruct_goby_2futil_2fprotobuf_2fais_2eproto;
1617 #pragma GCC diagnostic push
1618 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1623 inline bool Position::_internal_has_message_id()
const {
1624 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1627 inline bool Position::has_message_id()
const {
1628 return _internal_has_message_id();
1630 inline void Position::clear_message_id() {
1632 _has_bits_[0] &= ~0x00000001u;
1639 return _internal_message_id();
1642 _has_bits_[0] |= 0x00000001u;
1643 message_id_ =
value;
1646 _internal_set_message_id(value);
1651 inline bool Position::_internal_has_mmsi()
const {
1652 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1655 inline bool Position::has_mmsi()
const {
1656 return _internal_has_mmsi();
1658 inline void Position::clear_mmsi() {
1660 _has_bits_[0] &= ~0x00000002u;
1667 return _internal_mmsi();
1670 _has_bits_[0] |= 0x00000002u;
1674 _internal_set_mmsi(value);
1679 inline bool Position::_internal_has_nav_status()
const {
1680 bool value = (_has_bits_[0] & 0x00000800u) != 0;
1683 inline bool Position::has_nav_status()
const {
1684 return _internal_has_nav_status();
1686 inline void Position::clear_nav_status() {
1688 _has_bits_[0] &= ~0x00000800u;
1695 return _internal_nav_status();
1699 _has_bits_[0] |= 0x00000800u;
1700 nav_status_ =
value;
1703 _internal_set_nav_status(value);
1708 inline bool Position::_internal_has_turn_info()
const {
1709 bool value = (_has_bits_[0] & 0x00001000u) != 0;
1712 inline bool Position::has_turn_info()
const {
1713 return _internal_has_turn_info();
1715 inline void Position::clear_turn_info() {
1717 _has_bits_[0] &= ~0x00001000u;
1724 return _internal_turn_info();
1728 _has_bits_[0] |= 0x00001000u;
1732 _internal_set_turn_info(value);
1737 inline bool Position::_internal_has_turn_rate()
const {
1738 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1741 inline bool Position::has_turn_rate()
const {
1742 return _internal_has_turn_rate();
1744 inline void Position::clear_turn_rate() {
1746 _has_bits_[0] &= ~0x00000004u;
1748 inline float Position::_internal_turn_rate()
const {
1751 inline float Position::turn_rate()
const {
1753 return _internal_turn_rate();
1755 inline void Position::_internal_set_turn_rate(
float value) {
1756 _has_bits_[0] |= 0x00000004u;
1759 inline void Position::set_turn_rate(
float value) {
1760 _internal_set_turn_rate(value);
1765 inline bool Position::_internal_has_speed_over_ground()
const {
1766 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1769 inline bool Position::has_speed_over_ground()
const {
1770 return _internal_has_speed_over_ground();
1772 inline void Position::clear_speed_over_ground() {
1773 speed_over_ground_ = 0;
1774 _has_bits_[0] &= ~0x00000008u;
1776 inline float Position::_internal_speed_over_ground()
const {
1777 return speed_over_ground_;
1779 inline float Position::speed_over_ground()
const {
1781 return _internal_speed_over_ground();
1783 inline void Position::_internal_set_speed_over_ground(
float value) {
1784 _has_bits_[0] |= 0x00000008u;
1785 speed_over_ground_ =
value;
1787 inline void Position::set_speed_over_ground(
float value) {
1788 _internal_set_speed_over_ground(value);
1793 inline bool Position::_internal_has_position_accuracy()
const {
1794 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1797 inline bool Position::has_position_accuracy()
const {
1798 return _internal_has_position_accuracy();
1800 inline void Position::clear_position_accuracy() {
1801 position_accuracy_ = 0;
1802 _has_bits_[0] &= ~0x00000020u;
1809 return _internal_position_accuracy();
1813 _has_bits_[0] |= 0x00000020u;
1814 position_accuracy_ =
value;
1817 _internal_set_position_accuracy(value);
1822 inline bool Position::_internal_has_lat()
const {
1823 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1826 inline bool Position::has_lat()
const {
1827 return _internal_has_lat();
1829 inline void Position::clear_lat() {
1831 _has_bits_[0] &= ~0x00000010u;
1833 inline double Position::_internal_lat()
const {
1836 inline double Position::lat()
const {
1838 return _internal_lat();
1840 inline void Position::_internal_set_lat(
double value) {
1841 _has_bits_[0] |= 0x00000010u;
1844 inline void Position::set_lat(
double value) {
1845 _internal_set_lat(value);
1850 inline bool Position::_internal_has_lon()
const {
1851 bool value = (_has_bits_[0] & 0x00000080u) != 0;
1854 inline bool Position::has_lon()
const {
1855 return _internal_has_lon();
1857 inline void Position::clear_lon() {
1859 _has_bits_[0] &= ~0x00000080u;
1861 inline double Position::_internal_lon()
const {
1864 inline double Position::lon()
const {
1866 return _internal_lon();
1868 inline void Position::_internal_set_lon(
double value) {
1869 _has_bits_[0] |= 0x00000080u;
1872 inline void Position::set_lon(
double value) {
1873 _internal_set_lon(value);
1878 inline bool Position::_internal_has_course_over_ground()
const {
1879 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1882 inline bool Position::has_course_over_ground()
const {
1883 return _internal_has_course_over_ground();
1885 inline void Position::clear_course_over_ground() {
1886 course_over_ground_ = 0;
1887 _has_bits_[0] &= ~0x00000040u;
1889 inline float Position::_internal_course_over_ground()
const {
1890 return course_over_ground_;
1892 inline float Position::course_over_ground()
const {
1894 return _internal_course_over_ground();
1896 inline void Position::_internal_set_course_over_ground(
float value) {
1897 _has_bits_[0] |= 0x00000040u;
1898 course_over_ground_ =
value;
1900 inline void Position::set_course_over_ground(
float value) {
1901 _internal_set_course_over_ground(value);
1906 inline bool Position::_internal_has_true_heading()
const {
1907 bool value = (_has_bits_[0] & 0x00000100u) != 0;
1910 inline bool Position::has_true_heading()
const {
1911 return _internal_has_true_heading();
1913 inline void Position::clear_true_heading() {
1915 _has_bits_[0] &= ~0x00000100u;
1917 inline float Position::_internal_true_heading()
const {
1918 return true_heading_;
1920 inline float Position::true_heading()
const {
1922 return _internal_true_heading();
1924 inline void Position::_internal_set_true_heading(
float value) {
1925 _has_bits_[0] |= 0x00000100u;
1926 true_heading_ =
value;
1928 inline void Position::set_true_heading(
float value) {
1929 _internal_set_true_heading(value);
1934 inline bool Position::_internal_has_report_second()
const {
1935 bool value = (_has_bits_[0] & 0x00000200u) != 0;
1938 inline bool Position::has_report_second()
const {
1939 return _internal_has_report_second();
1941 inline void Position::clear_report_second() {
1943 _has_bits_[0] &= ~0x00000200u;
1946 return report_second_;
1950 return _internal_report_second();
1953 _has_bits_[0] |= 0x00000200u;
1954 report_second_ =
value;
1957 _internal_set_report_second(value);
1962 inline bool Position::_internal_has_raim()
const {
1963 bool value = (_has_bits_[0] & 0x00000400u) != 0;
1966 inline bool Position::has_raim()
const {
1967 return _internal_has_raim();
1969 inline void Position::clear_raim() {
1971 _has_bits_[0] &= ~0x00000400u;
1973 inline bool Position::_internal_raim()
const {
1976 inline bool Position::raim()
const {
1978 return _internal_raim();
1980 inline void Position::_internal_set_raim(
bool value) {
1981 _has_bits_[0] |= 0x00000400u;
1984 inline void Position::set_raim(
bool value) {
1985 _internal_set_raim(value);
1994 inline bool Voyage::_internal_has_message_id()
const {
1995 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1998 inline bool Voyage::has_message_id()
const {
1999 return _internal_has_message_id();
2001 inline void Voyage::clear_message_id() {
2003 _has_bits_[0] &= ~0x00000008u;
2010 return _internal_message_id();
2013 _has_bits_[0] |= 0x00000008u;
2014 message_id_ =
value;
2017 _internal_set_message_id(value);
2022 inline bool Voyage::_internal_has_mmsi()
const {
2023 bool value = (_has_bits_[0] & 0x00000010u) != 0;
2026 inline bool Voyage::has_mmsi()
const {
2027 return _internal_has_mmsi();
2029 inline void Voyage::clear_mmsi() {
2031 _has_bits_[0] &= ~0x00000010u;
2038 return _internal_mmsi();
2041 _has_bits_[0] |= 0x00000010u;
2045 _internal_set_mmsi(value);
2050 inline bool Voyage::_internal_has_imo()
const {
2051 bool value = (_has_bits_[0] & 0x00000020u) != 0;
2054 inline bool Voyage::has_imo()
const {
2055 return _internal_has_imo();
2057 inline void Voyage::clear_imo() {
2059 _has_bits_[0] &= ~0x00000020u;
2066 return _internal_imo();
2069 _has_bits_[0] |= 0x00000020u;
2073 _internal_set_imo(value);
2078 inline bool Voyage::_internal_has_callsign()
const {
2079 bool value = (_has_bits_[0] & 0x00000001u) != 0;
2082 inline bool Voyage::has_callsign()
const {
2083 return _internal_has_callsign();
2085 inline void Voyage::clear_callsign() {
2087 _has_bits_[0] &= ~0x00000001u;
2089 inline const std::string& Voyage::callsign()
const {
2091 return _internal_callsign();
2093 inline void Voyage::set_callsign(
const std::string& value) {
2094 _internal_set_callsign(value);
2097 inline std::string* Voyage::mutable_callsign() {
2099 return _internal_mutable_callsign();
2101 inline const std::string& Voyage::_internal_callsign()
const {
2102 return callsign_.Get();
2104 inline void Voyage::_internal_set_callsign(
const std::string& value) {
2105 _has_bits_[0] |= 0x00000001u;
2108 inline void Voyage::set_callsign(std::string&& value) {
2109 _has_bits_[0] |= 0x00000001u;
2114 inline void Voyage::set_callsign(
const char* value) {
2115 GOOGLE_DCHECK(value !=
nullptr);
2116 _has_bits_[0] |= 0x00000001u;
2121 inline void Voyage::set_callsign(
const char* value,
2123 _has_bits_[0] |= 0x00000001u;
2125 reinterpret_cast<const char*
>(value), size), GetArena());
2128 inline std::string* Voyage::_internal_mutable_callsign() {
2129 _has_bits_[0] |= 0x00000001u;
2132 inline std::string* Voyage::release_callsign() {
2134 if (!_internal_has_callsign()) {
2137 _has_bits_[0] &= ~0x00000001u;
2140 inline void Voyage::set_allocated_callsign(std::string* callsign) {
2141 if (callsign !=
nullptr) {
2142 _has_bits_[0] |= 0x00000001u;
2144 _has_bits_[0] &= ~0x00000001u;
2150 inline std::string* Voyage::unsafe_arena_release_callsign() {
2152 GOOGLE_DCHECK(GetArena() !=
nullptr);
2153 _has_bits_[0] &= ~0x00000001u;
2157 inline void Voyage::unsafe_arena_set_allocated_callsign(
2158 std::string* callsign) {
2159 GOOGLE_DCHECK(GetArena() !=
nullptr);
2160 if (callsign !=
nullptr) {
2161 _has_bits_[0] |= 0x00000001u;
2163 _has_bits_[0] &= ~0x00000001u;
2166 callsign, GetArena());
2171 inline bool Voyage::_internal_has_name()
const {
2172 bool value = (_has_bits_[0] & 0x00000002u) != 0;
2175 inline bool Voyage::has_name()
const {
2176 return _internal_has_name();
2178 inline void Voyage::clear_name() {
2180 _has_bits_[0] &= ~0x00000002u;
2182 inline const std::string& Voyage::name()
const {
2184 return _internal_name();
2186 inline void Voyage::set_name(
const std::string& value) {
2187 _internal_set_name(value);
2190 inline std::string* Voyage::mutable_name() {
2192 return _internal_mutable_name();
2194 inline const std::string& Voyage::_internal_name()
const {
2197 inline void Voyage::_internal_set_name(
const std::string& value) {
2198 _has_bits_[0] |= 0x00000002u;
2201 inline void Voyage::set_name(std::string&& value) {
2202 _has_bits_[0] |= 0x00000002u;
2207 inline void Voyage::set_name(
const char* value) {
2208 GOOGLE_DCHECK(value !=
nullptr);
2209 _has_bits_[0] |= 0x00000002u;
2214 inline void Voyage::set_name(
const char* value,
2216 _has_bits_[0] |= 0x00000002u;
2218 reinterpret_cast<const char*
>(value), size), GetArena());
2221 inline std::string* Voyage::_internal_mutable_name() {
2222 _has_bits_[0] |= 0x00000002u;
2225 inline std::string* Voyage::release_name() {
2227 if (!_internal_has_name()) {
2230 _has_bits_[0] &= ~0x00000002u;
2233 inline void Voyage::set_allocated_name(std::string* name) {
2234 if (name !=
nullptr) {
2235 _has_bits_[0] |= 0x00000002u;
2237 _has_bits_[0] &= ~0x00000002u;
2243 inline std::string* Voyage::unsafe_arena_release_name() {
2245 GOOGLE_DCHECK(GetArena() !=
nullptr);
2246 _has_bits_[0] &= ~0x00000002u;
2250 inline void Voyage::unsafe_arena_set_allocated_name(
2251 std::string* name) {
2252 GOOGLE_DCHECK(GetArena() !=
nullptr);
2253 if (name !=
nullptr) {
2254 _has_bits_[0] |= 0x00000002u;
2256 _has_bits_[0] &= ~0x00000002u;
2264 inline bool Voyage::_internal_has_type()
const {
2265 bool value = (_has_bits_[0] & 0x00000040u) != 0;
2268 inline bool Voyage::has_type()
const {
2269 return _internal_has_type();
2271 inline void Voyage::clear_type() {
2273 _has_bits_[0] &= ~0x00000040u;
2280 return _internal_type();
2284 _has_bits_[0] |= 0x00000040u;
2288 _internal_set_type(value);
2293 inline bool Voyage::_internal_has_to_bow()
const {
2294 bool value = (_has_bits_[0] & 0x00000080u) != 0;
2297 inline bool Voyage::has_to_bow()
const {
2298 return _internal_has_to_bow();
2300 inline void Voyage::clear_to_bow() {
2302 _has_bits_[0] &= ~0x00000080u;
2309 return _internal_to_bow();
2312 _has_bits_[0] |= 0x00000080u;
2316 _internal_set_to_bow(value);
2321 inline bool Voyage::_internal_has_to_stern()
const {
2322 bool value = (_has_bits_[0] & 0x00000100u) != 0;
2325 inline bool Voyage::has_to_stern()
const {
2326 return _internal_has_to_stern();
2328 inline void Voyage::clear_to_stern() {
2330 _has_bits_[0] &= ~0x00000100u;
2337 return _internal_to_stern();
2340 _has_bits_[0] |= 0x00000100u;
2344 _internal_set_to_stern(value);
2349 inline bool Voyage::_internal_has_to_port()
const {
2350 bool value = (_has_bits_[0] & 0x00000200u) != 0;
2353 inline bool Voyage::has_to_port()
const {
2354 return _internal_has_to_port();
2356 inline void Voyage::clear_to_port() {
2358 _has_bits_[0] &= ~0x00000200u;
2365 return _internal_to_port();
2368 _has_bits_[0] |= 0x00000200u;
2372 _internal_set_to_port(value);
2377 inline bool Voyage::_internal_has_to_starboard()
const {
2378 bool value = (_has_bits_[0] & 0x00000400u) != 0;
2381 inline bool Voyage::has_to_starboard()
const {
2382 return _internal_has_to_starboard();
2384 inline void Voyage::clear_to_starboard() {
2386 _has_bits_[0] &= ~0x00000400u;
2389 return to_starboard_;
2393 return _internal_to_starboard();
2396 _has_bits_[0] |= 0x00000400u;
2397 to_starboard_ =
value;
2400 _internal_set_to_starboard(value);
2405 inline bool Voyage::_internal_has_fix_type()
const {
2406 bool value = (_has_bits_[0] & 0x00000800u) != 0;
2409 inline bool Voyage::has_fix_type()
const {
2410 return _internal_has_fix_type();
2412 inline void Voyage::clear_fix_type() {
2414 _has_bits_[0] &= ~0x00000800u;
2421 return _internal_fix_type();
2425 _has_bits_[0] |= 0x00000800u;
2429 _internal_set_fix_type(value);
2434 inline bool Voyage::_internal_has_eta_month()
const {
2435 bool value = (_has_bits_[0] & 0x00001000u) != 0;
2438 inline bool Voyage::has_eta_month()
const {
2439 return _internal_has_eta_month();
2441 inline void Voyage::clear_eta_month() {
2443 _has_bits_[0] &= ~0x00001000u;
2450 return _internal_eta_month();
2453 _has_bits_[0] |= 0x00001000u;
2457 _internal_set_eta_month(value);
2462 inline bool Voyage::_internal_has_eta_day()
const {
2463 bool value = (_has_bits_[0] & 0x00002000u) != 0;
2466 inline bool Voyage::has_eta_day()
const {
2467 return _internal_has_eta_day();
2469 inline void Voyage::clear_eta_day() {
2471 _has_bits_[0] &= ~0x00002000u;
2478 return _internal_eta_day();
2481 _has_bits_[0] |= 0x00002000u;
2485 _internal_set_eta_day(value);
2490 inline bool Voyage::_internal_has_eta_hour()
const {
2491 bool value = (_has_bits_[0] & 0x00004000u) != 0;
2494 inline bool Voyage::has_eta_hour()
const {
2495 return _internal_has_eta_hour();
2497 inline void Voyage::clear_eta_hour() {
2499 _has_bits_[0] &= ~0x00004000u;
2506 return _internal_eta_hour();
2509 _has_bits_[0] |= 0x00004000u;
2513 _internal_set_eta_hour(value);
2518 inline bool Voyage::_internal_has_eta_minute()
const {
2519 bool value = (_has_bits_[0] & 0x00008000u) != 0;
2522 inline bool Voyage::has_eta_minute()
const {
2523 return _internal_has_eta_minute();
2525 inline void Voyage::clear_eta_minute() {
2527 _has_bits_[0] &= ~0x00008000u;
2534 return _internal_eta_minute();
2537 _has_bits_[0] |= 0x00008000u;
2538 eta_minute_ =
value;
2541 _internal_set_eta_minute(value);
2546 inline bool Voyage::_internal_has_draught()
const {
2547 bool value = (_has_bits_[0] & 0x00010000u) != 0;
2550 inline bool Voyage::has_draught()
const {
2551 return _internal_has_draught();
2553 inline void Voyage::clear_draught() {
2555 _has_bits_[0] &= ~0x00010000u;
2557 inline float Voyage::_internal_draught()
const {
2560 inline float Voyage::draught()
const {
2562 return _internal_draught();
2564 inline void Voyage::_internal_set_draught(
float value) {
2565 _has_bits_[0] |= 0x00010000u;
2568 inline void Voyage::set_draught(
float value) {
2569 _internal_set_draught(value);
2574 inline bool Voyage::_internal_has_destination()
const {
2575 bool value = (_has_bits_[0] & 0x00000004u) != 0;
2578 inline bool Voyage::has_destination()
const {
2579 return _internal_has_destination();
2581 inline void Voyage::clear_destination() {
2583 _has_bits_[0] &= ~0x00000004u;
2585 inline const std::string& Voyage::destination()
const {
2587 return _internal_destination();
2589 inline void Voyage::set_destination(
const std::string& value) {
2590 _internal_set_destination(value);
2593 inline std::string* Voyage::mutable_destination() {
2595 return _internal_mutable_destination();
2597 inline const std::string& Voyage::_internal_destination()
const {
2598 return destination_.Get();
2600 inline void Voyage::_internal_set_destination(
const std::string& value) {
2601 _has_bits_[0] |= 0x00000004u;
2604 inline void Voyage::set_destination(std::string&& value) {
2605 _has_bits_[0] |= 0x00000004u;
2610 inline void Voyage::set_destination(
const char* value) {
2611 GOOGLE_DCHECK(value !=
nullptr);
2612 _has_bits_[0] |= 0x00000004u;
2617 inline void Voyage::set_destination(
const char* value,
2619 _has_bits_[0] |= 0x00000004u;
2621 reinterpret_cast<const char*
>(value), size), GetArena());
2624 inline std::string* Voyage::_internal_mutable_destination() {
2625 _has_bits_[0] |= 0x00000004u;
2628 inline std::string* Voyage::release_destination() {
2630 if (!_internal_has_destination()) {
2633 _has_bits_[0] &= ~0x00000004u;
2636 inline void Voyage::set_allocated_destination(std::string* destination) {
2637 if (destination !=
nullptr) {
2638 _has_bits_[0] |= 0x00000004u;
2640 _has_bits_[0] &= ~0x00000004u;
2646 inline std::string* Voyage::unsafe_arena_release_destination() {
2648 GOOGLE_DCHECK(GetArena() !=
nullptr);
2649 _has_bits_[0] &= ~0x00000004u;
2653 inline void Voyage::unsafe_arena_set_allocated_destination(
2654 std::string* destination) {
2655 GOOGLE_DCHECK(GetArena() !=
nullptr);
2656 if (destination !=
nullptr) {
2657 _has_bits_[0] |= 0x00000004u;
2659 _has_bits_[0] &= ~0x00000004u;
2662 destination, GetArena());
2667 #pragma GCC diagnostic pop
2679 PROTOBUF_NAMESPACE_OPEN
2683 inline const EnumDescriptor* GetEnumDescriptor< ::goby::util::ais::protobuf::Position_TurnInfo>() {
2688 inline const EnumDescriptor* GetEnumDescriptor< ::goby::util::ais::protobuf::Position_PositionAccuracy>() {
2693 inline const EnumDescriptor* GetEnumDescriptor< ::goby::util::ais::protobuf::Voyage_ShipType>() {
2698 inline const EnumDescriptor* GetEnumDescriptor< ::goby::util::ais::protobuf::Voyage_FixType>() {
2703 inline const EnumDescriptor* GetEnumDescriptor< ::goby::util::ais::protobuf::Status>() {
2707 PROTOBUF_NAMESPACE_CLOSE
2711 #include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2futil_2fprotobuf_2fais_2eproto
::PROTOBUF_NAMESPACE_ID::int32 message_id() const
boost::units::angular_velocity_dimension turn_rate_dimension
Quantity true_heading_with_units() const
void UnsafeArenaSwap(Position *other)
void CopyFrom(const Voyage &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::PROTOBUF_NAMESPACE_ID::int32 report_second() const
float true_heading() const
void set_to_starboard_with_units(Quantity value_w_units)
void set_lon(double value)
const std::string & callsign() const
Voyage & operator=(Voyage &&from) noexcept
boost::units::quantity< turn_rate_unit, float > turn_rate_with_units() const
bool has_nav_status() const
static bool ShipType_Parse(const std::string &name, ShipType *value)
static const std::string & ShipType_Name(T enum_t_value)
boost::units::length_dimension draught_dimension
Position(const Position &from)
Position * New() const final
void set_callsign(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Position & operator=(Position &&from) noexcept
void set_lon_with_units(Quantity value_w_units)
void set_lat_with_units(Quantity value_w_units)
friend void swap(Position &a, Position &b)
static const Position * internal_default_instance()
bool has_course_over_ground() const
boost::units::length_dimension to_starboard_dimension
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FixType_descriptor()
void set_speed_over_ground(float value)
static const std::string & TurnInfo_Name(T enum_t_value)
Position(Position &&from) noexcept
boost::units::unit< to_starboard_dimension, boost::units::si::system > to_starboard_unit
Quantity to_starboard_with_units() const
Voyage & operator=(const Voyage &from)
void UnsafeArenaSwap(Voyage *other)
Position * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
boost::units::plane_angle_dimension course_over_ground_dimension
void set_position_accuracy(::goby::util::ais::protobuf::Position_PositionAccuracy value)
boost::units::quantity< to_starboard_unit, google::protobuf::uint32 > to_starboard_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::util::ais::protobuf::Position_PositionAccuracy position_accuracy() const
boost::units::plane_angle_dimension lat_dimension
Quantity speed_over_ground_with_units() const
Quantity to_stern_with_units() const
void set_to_port_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TurnInfo_descriptor()
void MergeFrom(const Position &from)
bool has_position_accuracy() const
Voyage * New() const final
boost::units::quantity< to_bow_unit, google::protobuf::uint32 > to_bow_with_units() const
Voyage(Voyage &&from) noexcept
void set_turn_rate(float value)
boost::units::quantity< lon_unit, double > lon_with_units() const
void set_speed_over_ground_with_units(Quantity value_w_units)
boost::units::quantity< true_heading_unit, float > true_heading_with_units() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static bool TurnInfo_IsValid(int value)
boost::units::quantity< to_port_unit, google::protobuf::uint32 > to_port_with_units() const
boost::units::unit< to_bow_dimension, boost::units::si::system > to_bow_unit
::PROTOBUF_NAMESPACE_ID::int32 mmsi() const
void set_to_bow_with_units(Quantity value_w_units)
Quantity draught_with_units() const
std::string * release_callsign()
void set_nav_status(::goby::util::ais::protobuf::Status value)
void clear_speed_over_ground()
bool has_turn_rate() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Quantity course_over_ground_with_units() const
boost::units::quantity< course_over_ground_unit, float > course_over_ground_with_units() const
boost::units::unit< lat_dimension, boost::units::degree::system > lat_unit
Quantity to_port_with_units() const
boost::units::unit< to_stern_dimension, boost::units::si::system > to_stern_unit
void set_mmsi(::PROTOBUF_NAMESPACE_ID::int32 value)
void MergeFrom(const Voyage &from)
void set_raim(bool value)
bool has_speed_over_ground() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Quantity report_second_with_units() const
void set_report_second_with_units(Quantity value_w_units)
void clear_true_heading()
bool has_callsign() const
boost::units::quantity< draught_unit, float > draught_with_units() const
void set_callsign(const char *value, size_t size)
std::string * mutable_callsign()
boost::units::unit< speed_over_ground_dimension, boost::units::si::system > speed_over_ground_unit
static const std::string & PositionAccuracy_Name(T enum_t_value)
void set_message_id(::PROTOBUF_NAMESPACE_ID::int32 value)
Quantity to_bow_with_units() const
static const Voyage & default_instance()
boost::units::unit< draught_dimension, boost::units::si::system > draught_unit
Position_TurnInfo TurnInfo
Position(::PROTOBUF_NAMESPACE_ID::Arena *arena)
boost::units::unit< turn_rate_dimension, boost::units::si::system > turn_rate_unit
static bool PositionAccuracy_IsValid(int value)
Voyage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
boost::units::quantity< speed_over_ground_unit, float > speed_over_ground_with_units() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
boost::units::plane_angle_dimension true_heading_dimension
bool has_true_heading() const
void set_draught_with_units(Quantity value_w_units)
bool has_message_id() const
friend void swap(Voyage &a, Voyage &b)
void set_allocated_callsign(std::string *callsign)
Position_PositionAccuracy PositionAccuracy
boost::units::plane_angle_dimension lon_dimension
boost::units::length_dimension to_port_dimension
void clear_course_over_ground()
static bool FixType_Parse(const std::string &name, FixType *value)
boost::units::unit< course_over_ground_dimension, boost::units::degree::system > course_over_ground_unit
bool has_turn_info() const
static bool ShipType_IsValid(int value)
void set_turn_rate_with_units(Quantity value_w_units)
boost::units::unit< report_second_dimension, boost::units::si::system > report_second_unit
void Swap(Position *other)
float speed_over_ground() const
Position & operator=(const Position &from)
::goby::util::ais::protobuf::Status nav_status() const
boost::units::unit< true_heading_dimension, boost::units::degree::system > true_heading_unit
Quantity lon_with_units() const
float course_over_ground() const
Quantity lat_with_units() const
static bool TurnInfo_Parse(const std::string &name, TurnInfo *value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< report_second_unit, google::protobuf::int32 > report_second_with_units() const
static const Voyage * internal_default_instance()
void set_true_heading_with_units(Quantity value_w_units)
Voyage(const Voyage &from)
bool has_report_second() const
boost::units::velocity_dimension speed_over_ground_dimension
void set_turn_info(::goby::util::ais::protobuf::Position_TurnInfo value)
boost::units::length_dimension to_stern_dimension
void set_callsign(std::string &&value)
void set_true_heading(float value)
boost::units::quantity< lat_unit, double > lat_with_units() const
void CopyFrom(const Position &from)
static void InitAsDefaultInstance()
void clear_report_second()
Quantity turn_rate_with_units() const
void set_callsign(const std::string &value)
void set_to_stern_with_units(Quantity value_w_units)
static const Position & default_instance()
void clear_position_accuracy()
static bool FixType_IsValid(int value)
void set_lat(double value)
void set_report_second(::PROTOBUF_NAMESPACE_ID::int32 value)
boost::units::unit< to_port_dimension, boost::units::si::system > to_port_unit
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PositionAccuracy_descriptor()
Voyage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
boost::units::unit< lon_dimension, boost::units::degree::system > lon_unit
boost::units::length_dimension to_bow_dimension
void set_course_over_ground_with_units(Quantity value_w_units)
boost::units::time_dimension report_second_dimension
::goby::util::ais::protobuf::Position_TurnInfo turn_info() const
boost::units::quantity< to_stern_unit, google::protobuf::uint32 > to_stern_with_units() const
static const std::string & FixType_Name(T enum_t_value)
void set_course_over_ground(float value)
static bool PositionAccuracy_Parse(const std::string &name, PositionAccuracy *value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ShipType_descriptor()
@ value
the parser finished reading a JSON value
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Voyage_ShipType_descriptor()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Position_PositionAccuracy_descriptor()
constexpr Position_TurnInfo Position_TurnInfo_TurnInfo_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Position_TurnInfo_descriptor()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Voyage_FixType_descriptor()
constexpr Status Status_MAX
bool Status_Parse(const std::string &name, Status *value)
constexpr int Voyage_ShipType_ShipType_ARRAYSIZE
constexpr int Status_ARRAYSIZE
bool Voyage_FixType_IsValid(int value)
Position_PositionAccuracy
@ Position_PositionAccuracy_ACCURACY__HIGH__BELOW_10_METERS
@ Position_PositionAccuracy_ACCURACY__LOW__ABOVE_10_METERS
bool Status_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Status_descriptor()
bool Voyage_ShipType_Parse(const std::string &name, Voyage_ShipType *value)
const std::string & Position_PositionAccuracy_Name(T enum_t_value)
bool Position_PositionAccuracy_Parse(const std::string &name, Position_PositionAccuracy *value)
@ Position_TurnInfo_TURN_INFO__NOT_TURNING
@ Position_TurnInfo_TURN_INFO__NO_TURN_INFORMATION
@ Position_TurnInfo_TURN_INFO__TURNING_RIGHT_AT_MORE_THAN_5_DEG_PER_30_SEC
@ Position_TurnInfo_TURN_INFO__TURNING_AT_GIVEN_RATE
@ Position_TurnInfo_TURN_INFO__TURNING_LEFT_AT_MORE_THAN_5_DEG_PER_30_SEC
constexpr Voyage_FixType Voyage_FixType_FixType_MAX
@ Voyage_FixType_FIX__GALILEO
@ Voyage_FixType_FIX__COMBINED_GPS_AND_GLONASS
@ Voyage_FixType_FIX__CHAYKA
@ Voyage_FixType_FIX__LORAN_C
@ Voyage_FixType_FIX__SURVEYED
@ Voyage_FixType_FIX__GPS
@ Voyage_FixType_FIX__INTEGRATED_NAVIGATION_SYSTEM
@ Voyage_FixType_FIX__GLONASS
@ Voyage_FixType_FIX__UNDEFINED
const std::string & Position_TurnInfo_Name(T enum_t_value)
constexpr int Position_PositionAccuracy_PositionAccuracy_ARRAYSIZE
const std::string & Voyage_ShipType_Name(T enum_t_value)
constexpr int Position_TurnInfo_TurnInfo_ARRAYSIZE
const std::string & Status_Name(T enum_t_value)
bool Position_TurnInfo_IsValid(int value)
@ AIS_STATUS__UNDER_WAY_SAILING
@ AIS_STATUS__CONSTRAINED_BY_HER_DRAUGHT
@ AIS_STATUS__RESERVED_11
@ AIS_STATUS__NOT_UNDER_COMMAND
@ AIS_STATUS__ENGAGED_IN_FISHING
@ AIS_STATUS__RESERVED_12
@ AIS_STATUS__RESERVED_13
@ AIS_STATUS__UNDER_WAY_USING_ENGINE
@ AIS_STATUS__SART_IS_ACTIVE
@ AIS_STATUS__NOT_DEFINED
@ AIS_STATUS__RESERVED_FOR_WING_IN_GROUND
@ AIS_STATUS__RESERVED_FOR_HIGH_SPEED_CRAFT
@ AIS_STATUS__RESTRICTED_MANOEUVERABILITY
constexpr Voyage_FixType Voyage_FixType_FixType_MIN
constexpr Voyage_ShipType Voyage_ShipType_ShipType_MIN
bool Position_TurnInfo_Parse(const std::string &name, Position_TurnInfo *value)
PositionDefaultTypeInternal _Position_default_instance_
constexpr Position_TurnInfo Position_TurnInfo_TurnInfo_MAX
bool Voyage_FixType_Parse(const std::string &name, Voyage_FixType *value)
@ Voyage_ShipType_TYPE__TOWING_LENGTH_EXCEEDS_200M_OR_BREADTH_EXCEEDS_25M
@ Voyage_ShipType_TYPE__CARGO_HAZARDOUS_CATEGORY_B
@ Voyage_ShipType_TYPE__TANKER_HAZARDOUS_CATEGORY_A
@ Voyage_ShipType_TYPE__OTHER_HAZARDOUS_CATEGORY_A
@ Voyage_ShipType_TYPE__OTHER_RESERVED_67
@ Voyage_ShipType_TYPE__TANKER_RESERVED_68
@ Voyage_ShipType_TYPE__PASSENGER
@ Voyage_ShipType_TYPE__CARGO_NO_ADDITIONAL_INFORMATION
@ Voyage_ShipType_TYPE__RESERVED_10
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_B
@ Voyage_ShipType_TYPE__WING_IN_GROUND_RESERVED_26
@ Voyage_ShipType_TYPE__PASSENGER_RESERVED_65
@ Voyage_ShipType_TYPE__RESERVED_2
@ Voyage_ShipType_TYPE__PASSENGER_RESERVED_67
@ Voyage_ShipType_TYPE__TANKER_RESERVED_67
@ Voyage_ShipType_TYPE__NOT_AVAILABLE
@ Voyage_ShipType_TYPE__TANKER
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT
@ Voyage_ShipType_TYPE__OTHER_RESERVED_65
@ Voyage_ShipType_TYPE__PASSENGER_HAZARDOUS_CATEGORY_D
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_RESERVED_47
@ Voyage_ShipType_TYPE__CARGO_RESERVED_65
@ Voyage_ShipType_TYPE__TANKER_RESERVED_66
@ Voyage_ShipType_TYPE__CARGO_HAZARDOUS_CATEGORY_D
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_A
@ Voyage_ShipType_TYPE__DIVING_OPS
@ Voyage_ShipType_TYPE__PASSENGER_HAZARDOUS_CATEGORY_C
@ Voyage_ShipType_TYPE__PASSENGER_NO_ADDITIONAL_INFORMATION
@ Voyage_ShipType_TYPE__RESERVED_3
@ Voyage_ShipType_TYPE__RESERVED_15
@ Voyage_ShipType_TYPE__WING_IN_GROUND_RESERVED_27
@ Voyage_ShipType_TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_A
@ Voyage_ShipType_TYPE__MILITARY_OPS
@ Voyage_ShipType_TYPE__OTHER_NO_ADDITIONAL_INFORMATION
@ Voyage_ShipType_TYPE__WING_IN_GROUND_RESERVED_28
@ Voyage_ShipType_TYPE__RESERVED_39
@ Voyage_ShipType_TYPE__PORT_TENDER
@ Voyage_ShipType_TYPE__OTHER
@ Voyage_ShipType_TYPE__TANKER_NO_ADDITIONAL_INFORMATION
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_C
@ Voyage_ShipType_TYPE__CARGO_RESERVED_68
@ Voyage_ShipType_TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_D
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_NO_ADDITIONAL_INFORMATION
@ Voyage_ShipType_TYPE__RESERVED_6
@ Voyage_ShipType_TYPE__RESERVED_12
@ Voyage_ShipType_TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_C
@ Voyage_ShipType_TYPE__FISHING
@ Voyage_ShipType_TYPE__DREDGING_OR_UNDERWATER_OPS
@ Voyage_ShipType_TYPE__TANKER_RESERVED_65
@ Voyage_ShipType_TYPE__RESERVED_16
@ Voyage_ShipType_TYPE__RESERVED_8
@ Voyage_ShipType_TYPE__RESERVED_13
@ Voyage_ShipType_TYPE__TANKER_HAZARDOUS_CATEGORY_B
@ Voyage_ShipType_TYPE__WING_IN_GROUND
@ Voyage_ShipType_TYPE__WING_IN_GROUND_HAZARDOUS_CATEGORY_B
@ Voyage_ShipType_TYPE__OTHER_RESERVED_68
@ Voyage_ShipType_TYPE__RESERVED_18
@ Voyage_ShipType_TYPE__PASSENGER_HAZARDOUS_CATEGORY_B
@ Voyage_ShipType_TYPE__RESERVED_38
@ Voyage_ShipType_TYPE__RESERVED_9
@ Voyage_ShipType_TYPE__WING_IN_GROUND_RESERVED_29
@ Voyage_ShipType_TYPE__RESERVED_11
@ Voyage_ShipType_TYPE__NONCOMBATANT_SHIP_ACCORDING_TO_RR_RESOLUTION_NO_18
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_HAZARDOUS_CATEGORY_D
@ Voyage_ShipType_TYPE__LAW_ENFORCEMENT
@ Voyage_ShipType_TYPE__OTHER_HAZARDOUS_CATEGORY_D
@ Voyage_ShipType_TYPE__PASSENGER_RESERVED_68
@ Voyage_ShipType_TYPE__SPARE57_LOCAL_VESSEL
@ Voyage_ShipType_TYPE__RESERVED_4
@ Voyage_ShipType_TYPE__SAILING
@ Voyage_ShipType_TYPE__PASSENGER_RESERVED_66
@ Voyage_ShipType_TYPE__CARGO
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_RESERVED_48
@ Voyage_ShipType_TYPE__CARGO_RESERVED_66
@ Voyage_ShipType_TYPE__OTHER_HAZARDOUS_CATEGORY_C
@ Voyage_ShipType_TYPE__RESERVED_17
@ Voyage_ShipType_TYPE__CARGO_HAZARDOUS_CATEGORY_C
@ Voyage_ShipType_TYPE__TOWING
@ Voyage_ShipType_TYPE__OTHER_RESERVED_66
@ Voyage_ShipType_TYPE__RESERVED_5
@ Voyage_ShipType_TYPE__PASSENGER_HAZARDOUS_CATEGORY_A
@ Voyage_ShipType_TYPE__RESERVED_14
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_RESERVED_46
@ Voyage_ShipType_TYPE__OTHER_HAZARDOUS_CATEGORY_B
@ Voyage_ShipType_TYPE__RESERVED_1
@ Voyage_ShipType_TYPE__TANKER_HAZARDOUS_CATEGORY_D
@ Voyage_ShipType_TYPE__SPARE56_LOCAL_VESSEL
@ Voyage_ShipType_TYPE__PLEASURE_CRAFT
@ Voyage_ShipType_TYPE__HIGH_SPEED_CRAFT_RESERVED_45
@ Voyage_ShipType_TYPE__ANTI_POLLUTION_EQUIPMENT
@ Voyage_ShipType_TYPE__CARGO_HAZARDOUS_CATEGORY_A
@ Voyage_ShipType_TYPE__WING_IN_GROUND_RESERVED_25
@ Voyage_ShipType_TYPE__RESERVED_7
@ Voyage_ShipType_TYPE__MEDICAL_TRANSPORT
@ Voyage_ShipType_TYPE__CARGO_RESERVED_67
@ Voyage_ShipType_TYPE__SEARCH_AND_RESCUE_VESSEL
@ Voyage_ShipType_TYPE__TANKER_HAZARDOUS_CATEGORY_C
@ Voyage_ShipType_TYPE__TUG
@ Voyage_ShipType_TYPE__PILOT_VESSEL
@ Voyage_ShipType_TYPE__RESERVED_19
constexpr Position_PositionAccuracy Position_PositionAccuracy_PositionAccuracy_MAX
bool Voyage_ShipType_IsValid(int value)
bool Position_PositionAccuracy_IsValid(int value)
constexpr int Voyage_FixType_FixType_ARRAYSIZE
constexpr Position_PositionAccuracy Position_PositionAccuracy_PositionAccuracy_MIN
constexpr Status Status_MIN
VoyageDefaultTypeInternal _Voyage_default_instance_
const std::string & Voyage_FixType_Name(T enum_t_value)
constexpr Voyage_ShipType Voyage_ShipType_ShipType_MAX
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
type
Generic JSON types used in JWTs.
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)