4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_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>
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>
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>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2ffrontseat_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[6];
55 namespace middleware {
59 class CommandRequestDefaultTypeInternal;
61 class CommandResponse;
62 class CommandResponseDefaultTypeInternal;
64 class HelmStateReport;
65 class HelmStateReportDefaultTypeInternal;
68 class InterfaceDataDefaultTypeInternal;
70 class InterfaceStatus;
71 class InterfaceStatusDefaultTypeInternal;
74 class RawDefaultTypeInternal;
91 namespace middleware {
106 return ::google::protobuf::internal::NameOfEnum(
111 return ::google::protobuf::internal::ParseNamedEnum<Raw_RawType>(
128 return ::google::protobuf::internal::NameOfEnum(
133 return ::google::protobuf::internal::ParseNamedEnum<InterfaceState>(
149 return ::google::protobuf::internal::NameOfEnum(
154 return ::google::protobuf::internal::ParseNamedEnum<FrontSeatState>(
169 return ::google::protobuf::internal::NameOfEnum(
173 const ::std::string& name,
HelmState* value) {
174 return ::google::protobuf::internal::ParseNamedEnum<HelmState>(
189 return ::google::protobuf::internal::NameOfEnum(
193 const ::std::string& name,
HelmError* value) {
194 return ::google::protobuf::internal::ParseNamedEnum<HelmError>(
210 return ::google::protobuf::internal::NameOfEnum(
215 return ::google::protobuf::internal::ParseNamedEnum<FrontSeatError>(
234 *
this = ::std::move(from);
238 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
239 if (
this != &from) InternalSwap(&from);
247 return _internal_metadata_.unknown_fields();
250 return _internal_metadata_.mutable_unknown_fields();
253 static const ::google::protobuf::Descriptor*
descriptor();
272 return CreateMaybeMessage<HelmStateReport>(NULL);
276 return CreateMaybeMessage<HelmStateReport>(arena);
278 void CopyFrom(const ::google::protobuf::Message& from)
final;
279 void MergeFrom(const ::google::protobuf::Message& from)
final;
287 ::
google::protobuf::io::CodedInputStream* input) final;
289 ::
google::protobuf::io::CodedOutputStream* output) const final;
291 bool deterministic, ::
google::protobuf::uint8* target) const final;
297 void SetCachedSize(
int size)
const final;
300 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
303 inline void* MaybeArenaPtr()
const {
323 void set_has_state();
324 void clear_has_state();
326 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
327 ::
google::protobuf::internal::HasBits<1> _has_bits_;
328 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
348 *
this = ::std::move(from);
351 inline InterfaceStatus&
operator=(InterfaceStatus&& from) noexcept {
352 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
353 if (
this != &from) InternalSwap(&from);
361 return _internal_metadata_.unknown_fields();
364 return _internal_metadata_.mutable_unknown_fields();
367 static const ::google::protobuf::Descriptor*
descriptor();
386 return CreateMaybeMessage<InterfaceStatus>(NULL);
390 return CreateMaybeMessage<InterfaceStatus>(arena);
392 void CopyFrom(const ::google::protobuf::Message& from)
final;
393 void MergeFrom(const ::google::protobuf::Message& from)
final;
401 ::
google::protobuf::io::CodedInputStream* input) final;
403 ::
google::protobuf::io::CodedOutputStream* output) const final;
405 bool deterministic, ::
google::protobuf::uint8* target) const final;
411 void SetCachedSize(
int size)
const final;
414 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
417 inline void* MaybeArenaPtr()
const {
429 bool has_frontseat_state() const;
430 void clear_frontseat_state();
431 static const
int kFrontseatStateFieldNumber = 2;
433 void set_frontseat_state(::
goby::middleware::frontseat::protobuf::
FrontSeatState value);
436 bool has_helm_state() const;
437 void clear_helm_state();
438 static const
int kHelmStateFieldNumber = 3;
440 void set_helm_state(::
goby::middleware::frontseat::protobuf::
HelmState value);
443 bool has_helm_error() const;
444 void clear_helm_error();
445 static const
int kHelmErrorFieldNumber = 4;
446 ::
goby::middleware::frontseat::protobuf::
HelmError helm_error() const;
447 void set_helm_error(::
goby::middleware::frontseat::protobuf::
HelmError value);
450 bool has_frontseat_error() const;
451 void clear_frontseat_error();
452 static const
int kFrontseatErrorFieldNumber = 5;
454 void set_frontseat_error(::
goby::middleware::frontseat::protobuf::
FrontSeatError value);
465 void set_has_state();
466 void clear_has_state();
467 void set_has_frontseat_state();
468 void clear_has_frontseat_state();
469 void set_has_helm_state();
470 void clear_has_helm_state();
471 void set_has_helm_error();
472 void clear_has_helm_error();
473 void set_has_frontseat_error();
474 void clear_has_frontseat_error();
476 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
477 ::
google::protobuf::internal::HasBits<1> _has_bits_;
478 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
479 int frontseat_state_;
482 int frontseat_error_;
502 *
this = ::std::move(from);
505 inline CommandRequest&
operator=(CommandRequest&& from) noexcept {
506 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
507 if (
this != &from) InternalSwap(&from);
515 return _internal_metadata_.unknown_fields();
518 return _internal_metadata_.mutable_unknown_fields();
521 static const ::google::protobuf::Descriptor*
descriptor();
540 return CreateMaybeMessage<CommandRequest>(NULL);
544 return CreateMaybeMessage<CommandRequest>(arena);
546 void CopyFrom(const ::google::protobuf::Message& from)
final;
547 void MergeFrom(const ::google::protobuf::Message& from)
final;
555 ::
google::protobuf::io::CodedInputStream* input) final;
557 ::
google::protobuf::io::CodedOutputStream* output) const final;
559 bool deterministic, ::
google::protobuf::uint8* target) const final;
565 void SetCachedSize(
int size)
const final;
568 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
571 inline void* MaybeArenaPtr()
const {
583 bool has_desired_course() const;
584 void clear_desired_course();
585 static const
int kDesiredCourseFieldNumber = 1;
587 const ::
goby::middleware::frontseat::protobuf::
DesiredCourse& _internal_desired_course() const;
590 ::
goby::middleware::frontseat::protobuf::
DesiredCourse* release_desired_course();
591 ::
goby::middleware::frontseat::protobuf::
DesiredCourse* mutable_desired_course();
595 bool has_cancel_request_id() const;
596 void clear_cancel_request_id();
597 static const
int kCancelRequestIdFieldNumber = 20;
598 ::
google::protobuf::
int32 cancel_request_id() const;
599 void set_cancel_request_id(::
google::protobuf::
int32 value);
602 bool has_response_requested() const;
603 void clear_response_requested();
604 static const
int kResponseRequestedFieldNumber = 10;
605 bool response_requested() const;
606 void set_response_requested(
bool value);
609 bool has_request_id() const;
610 void clear_request_id();
611 static const
int kRequestIdFieldNumber = 11;
613 void set_request_id(::
google::protobuf::
int32 value);
618 void set_has_desired_course();
619 void clear_has_desired_course();
620 void set_has_response_requested();
621 void clear_has_response_requested();
622 void set_has_request_id();
623 void clear_has_request_id();
624 void set_has_cancel_request_id();
625 void clear_has_cancel_request_id();
627 ::
google::protobuf::internal::ExtensionSet _extensions_;
629 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
630 ::
google::protobuf::internal::HasBits<1> _has_bits_;
631 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
634 bool response_requested_;
654 *
this = ::std::move(from);
657 inline CommandResponse&
operator=(CommandResponse&& from) noexcept {
658 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
659 if (
this != &from) InternalSwap(&from);
667 return _internal_metadata_.unknown_fields();
670 return _internal_metadata_.mutable_unknown_fields();
673 static const ::google::protobuf::Descriptor*
descriptor();
692 return CreateMaybeMessage<CommandResponse>(NULL);
696 return CreateMaybeMessage<CommandResponse>(arena);
698 void CopyFrom(const ::google::protobuf::Message& from)
final;
699 void MergeFrom(const ::google::protobuf::Message& from)
final;
707 ::
google::protobuf::io::CodedInputStream* input) final;
709 ::
google::protobuf::io::CodedOutputStream* output) const final;
711 bool deterministic, ::
google::protobuf::uint8* target) const final;
717 void SetCachedSize(
int size)
const final;
720 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
723 inline void* MaybeArenaPtr()
const {
735 bool has_error_string() const;
736 void clear_error_string();
737 static const
int kErrorStringFieldNumber = 21;
738 const ::std::
string& error_string() const;
739 void set_error_string(const ::std::
string& value);
741 void set_error_string(::std::string&& value);
743 void set_error_string(
const char* value);
744 void set_error_string(
const char* value,
size_t size);
745 ::std::string* mutable_error_string();
746 ::std::string* release_error_string();
747 void set_allocated_error_string(::std::string* error_string);
750 bool has_error_code()
const;
751 void clear_error_code();
752 static const int kErrorCodeFieldNumber = 20;
757 bool has_request_successful()
const;
758 void clear_request_successful();
759 static const int kRequestSuccessfulFieldNumber = 10;
760 bool request_successful()
const;
761 void set_request_successful(
bool value);
764 bool has_request_id()
const;
765 void clear_request_id();
766 static const int kRequestIdFieldNumber = 11;
773 void set_has_request_successful();
774 void clear_has_request_successful();
775 void set_has_request_id();
776 void clear_has_request_id();
777 void set_has_error_code();
778 void clear_has_error_code();
779 void set_has_error_string();
780 void clear_has_error_string();
782 ::google::protobuf::internal::ExtensionSet _extensions_;
784 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
785 ::google::protobuf::internal::HasBits<1> _has_bits_;
786 mutable ::google::protobuf::internal::CachedSize _cached_size_;
787 ::google::protobuf::internal::ArenaStringPtr error_string_;
789 bool request_successful_;
791 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2ffrontseat_2eproto::TableStruct;
809 *
this = ::std::move(from);
812 inline InterfaceData&
operator=(InterfaceData&& from) noexcept {
813 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
814 if (
this != &from) InternalSwap(&from);
822 return _internal_metadata_.unknown_fields();
825 return _internal_metadata_.mutable_unknown_fields();
828 static const ::google::protobuf::Descriptor*
descriptor();
847 return CreateMaybeMessage<InterfaceData>(NULL);
851 return CreateMaybeMessage<InterfaceData>(arena);
853 void CopyFrom(const ::google::protobuf::Message& from)
final;
854 void MergeFrom(const ::google::protobuf::Message& from)
final;
862 ::
google::protobuf::io::CodedInputStream* input) final;
864 ::
google::protobuf::io::CodedOutputStream* output) const final;
866 bool deterministic, ::
google::protobuf::uint8* target) const final;
872 void SetCachedSize(
int size)
const final;
875 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
878 inline void* MaybeArenaPtr()
const {
890 bool has_dccl_message() const;
891 void clear_dccl_message();
892 static const
int kDcclMessageFieldNumber = 3;
893 const ::std::
string& dccl_message() const;
894 void set_dccl_message(const ::std::
string& value);
896 void set_dccl_message(::std::string&& value);
898 void set_dccl_message(
const char* value);
899 void set_dccl_message(
const void* value,
size_t size);
900 ::std::string* mutable_dccl_message();
901 ::std::string* release_dccl_message();
902 void set_allocated_dccl_message(::std::string* dccl_message);
905 bool has_node_status()
const;
906 void clear_node_status();
907 static const int kNodeStatusFieldNumber = 1;
909 const ::goby::middleware::frontseat::protobuf::NodeStatus& _internal_node_status()
const;
911 const ::goby::middleware::frontseat::protobuf::NodeStatus&
node_status()
const;
917 bool has_ctd_sample()
const;
918 void clear_ctd_sample();
919 static const int kCtdSampleFieldNumber = 2;
921 const ::goby::middleware::frontseat::protobuf::CTDSample& _internal_ctd_sample()
const;
923 const ::goby::middleware::frontseat::protobuf::CTDSample& ctd_sample()
const;
931 void set_has_node_status();
932 void clear_has_node_status();
933 void set_has_ctd_sample();
934 void clear_has_ctd_sample();
935 void set_has_dccl_message();
936 void clear_has_dccl_message();
938 ::google::protobuf::internal::ExtensionSet _extensions_;
940 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
941 ::google::protobuf::internal::HasBits<1> _has_bits_;
942 mutable ::google::protobuf::internal::CachedSize _cached_size_;
943 ::google::protobuf::internal::ArenaStringPtr dccl_message_;
946 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2ffrontseat_2eproto::TableStruct;
964 *
this = ::std::move(from);
967 inline Raw&
operator=(Raw&& from) noexcept {
968 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
969 if (
this != &from) InternalSwap(&from);
977 return _internal_metadata_.unknown_fields();
980 return _internal_metadata_.mutable_unknown_fields();
983 static const ::google::protobuf::Descriptor*
descriptor();
988 return reinterpret_cast<const Raw*
>(
1002 return CreateMaybeMessage<Raw>(NULL);
1006 return CreateMaybeMessage<Raw>(arena);
1008 void CopyFrom(const ::google::protobuf::Message& from)
final;
1009 void MergeFrom(const ::google::protobuf::Message& from)
final;
1017 ::
google::protobuf::io::CodedInputStream* input) final;
1019 ::
google::protobuf::io::CodedOutputStream* output) const final;
1021 bool deterministic, ::
google::protobuf::uint8* target) const final;
1027 void SetCachedSize(
int size)
const final;
1028 void InternalSwap(
Raw* other);
1030 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1033 inline void* MaybeArenaPtr()
const {
1047 static inline
bool RawType_IsValid(
int value) {
1054 static const int RawType_ARRAYSIZE =
1056 static inline const ::google::protobuf::EnumDescriptor*
1071 bool has_raw()
const;
1073 static const int kRawFieldNumber = 1;
1074 const ::std::string& raw()
const;
1075 void set_raw(const ::std::string& value);
1077 void set_raw(::std::string&& value);
1079 void set_raw(
const char* value);
1080 void set_raw(
const void* value,
size_t size);
1081 ::std::string* mutable_raw();
1082 ::std::string* release_raw();
1083 void set_allocated_raw(::std::string* raw);
1086 bool has_description()
const;
1087 void clear_description();
1088 static const int kDescriptionFieldNumber = 3;
1089 const ::std::string& description()
const;
1090 void set_description(const ::std::string& value);
1092 void set_description(::std::string&& value);
1094 void set_description(
const char* value);
1095 void set_description(
const char* value,
size_t size);
1096 ::std::string* mutable_description();
1097 ::std::string* release_description();
1098 void set_allocated_description(::std::string* description);
1101 bool has_type()
const;
1103 static const int kTypeFieldNumber = 2;
1107 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(
Raw)
1111 void clear_has_raw();
1112 void set_has_type();
1113 void clear_has_type();
1114 void set_has_description();
1115 void clear_has_description();
1117 ::google::protobuf::internal::ExtensionSet _extensions_;
1119 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1120 ::google::protobuf::internal::HasBits<1> _has_bits_;
1121 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1122 ::google::protobuf::internal::ArenaStringPtr raw_;
1123 ::google::protobuf::internal::ArenaStringPtr description_;
1125 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2ffrontseat_2eproto::TableStruct;
1133 #pragma GCC diagnostic push
1134 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1140 return (_has_bits_[0] & 0x00000001u) != 0;
1142 inline void HelmStateReport::set_has_state() {
1143 _has_bits_[0] |= 0x00000001u;
1145 inline void HelmStateReport::clear_has_state() {
1146 _has_bits_[0] &= ~0x00000001u;
1169 return (_has_bits_[0] & 0x00000010u) != 0;
1171 inline void InterfaceStatus::set_has_state() {
1172 _has_bits_[0] |= 0x00000010u;
1174 inline void InterfaceStatus::clear_has_state() {
1175 _has_bits_[0] &= ~0x00000010u;
1194 return (_has_bits_[0] & 0x00000001u) != 0;
1196 inline void InterfaceStatus::set_has_frontseat_state() {
1197 _has_bits_[0] |= 0x00000001u;
1199 inline void InterfaceStatus::clear_has_frontseat_state() {
1200 _has_bits_[0] &= ~0x00000001u;
1203 frontseat_state_ = 0;
1204 clear_has_frontseat_state();
1212 set_has_frontseat_state();
1213 frontseat_state_ = value;
1219 return (_has_bits_[0] & 0x00000002u) != 0;
1221 inline void InterfaceStatus::set_has_helm_state() {
1222 _has_bits_[0] |= 0x00000002u;
1224 inline void InterfaceStatus::clear_has_helm_state() {
1225 _has_bits_[0] &= ~0x00000002u;
1229 clear_has_helm_state();
1237 set_has_helm_state();
1238 helm_state_ = value;
1244 return (_has_bits_[0] & 0x00000004u) != 0;
1246 inline void InterfaceStatus::set_has_helm_error() {
1247 _has_bits_[0] |= 0x00000004u;
1249 inline void InterfaceStatus::clear_has_helm_error() {
1250 _has_bits_[0] &= ~0x00000004u;
1254 clear_has_helm_error();
1262 set_has_helm_error();
1263 helm_error_ = value;
1269 return (_has_bits_[0] & 0x00000008u) != 0;
1271 inline void InterfaceStatus::set_has_frontseat_error() {
1272 _has_bits_[0] |= 0x00000008u;
1274 inline void InterfaceStatus::clear_has_frontseat_error() {
1275 _has_bits_[0] &= ~0x00000008u;
1278 frontseat_error_ = 0;
1279 clear_has_frontseat_error();
1287 set_has_frontseat_error();
1288 frontseat_error_ = value;
1298 return (_has_bits_[0] & 0x00000001u) != 0;
1300 inline void CommandRequest::set_has_desired_course() {
1301 _has_bits_[0] |= 0x00000001u;
1303 inline void CommandRequest::clear_has_desired_course() {
1304 _has_bits_[0] &= ~0x00000001u;
1306 inline const ::goby::middleware::frontseat::protobuf::DesiredCourse& CommandRequest::_internal_desired_course()
const {
1307 return *desired_course_;
1310 const ::goby::middleware::frontseat::protobuf::DesiredCourse* p = desired_course_;
1317 clear_has_desired_course();
1319 desired_course_ = NULL;
1323 set_has_desired_course();
1324 if (desired_course_ == NULL) {
1325 auto* p = CreateMaybeMessage<::goby::middleware::frontseat::protobuf::DesiredCourse>(GetArenaNoVirtual());
1326 desired_course_ = p;
1329 return desired_course_;
1333 if (message_arena == NULL) {
1338 if (message_arena != submessage_arena) {
1342 set_has_desired_course();
1344 clear_has_desired_course();
1352 return (_has_bits_[0] & 0x00000004u) != 0;
1354 inline void CommandRequest::set_has_response_requested() {
1355 _has_bits_[0] |= 0x00000004u;
1357 inline void CommandRequest::clear_has_response_requested() {
1358 _has_bits_[0] &= ~0x00000004u;
1361 response_requested_ =
false;
1362 clear_has_response_requested();
1366 return response_requested_;
1369 set_has_response_requested();
1370 response_requested_ = value;
1376 return (_has_bits_[0] & 0x00000008u) != 0;
1378 inline void CommandRequest::set_has_request_id() {
1379 _has_bits_[0] |= 0x00000008u;
1381 inline void CommandRequest::clear_has_request_id() {
1382 _has_bits_[0] &= ~0x00000008u;
1386 clear_has_request_id();
1393 set_has_request_id();
1394 request_id_ = value;
1400 return (_has_bits_[0] & 0x00000002u) != 0;
1402 inline void CommandRequest::set_has_cancel_request_id() {
1403 _has_bits_[0] |= 0x00000002u;
1405 inline void CommandRequest::clear_has_cancel_request_id() {
1406 _has_bits_[0] &= ~0x00000002u;
1409 cancel_request_id_ = 0;
1410 clear_has_cancel_request_id();
1414 return cancel_request_id_;
1417 set_has_cancel_request_id();
1418 cancel_request_id_ = value;
1428 return (_has_bits_[0] & 0x00000004u) != 0;
1430 inline void CommandResponse::set_has_request_successful() {
1431 _has_bits_[0] |= 0x00000004u;
1433 inline void CommandResponse::clear_has_request_successful() {
1434 _has_bits_[0] &= ~0x00000004u;
1437 request_successful_ =
false;
1438 clear_has_request_successful();
1442 return request_successful_;
1445 set_has_request_successful();
1446 request_successful_ = value;
1452 return (_has_bits_[0] & 0x00000008u) != 0;
1454 inline void CommandResponse::set_has_request_id() {
1455 _has_bits_[0] |= 0x00000008u;
1457 inline void CommandResponse::clear_has_request_id() {
1458 _has_bits_[0] &= ~0x00000008u;
1462 clear_has_request_id();
1469 set_has_request_id();
1470 request_id_ = value;
1476 return (_has_bits_[0] & 0x00000002u) != 0;
1478 inline void CommandResponse::set_has_error_code() {
1479 _has_bits_[0] |= 0x00000002u;
1481 inline void CommandResponse::clear_has_error_code() {
1482 _has_bits_[0] &= ~0x00000002u;
1486 clear_has_error_code();
1493 set_has_error_code();
1494 error_code_ = value;
1500 return (_has_bits_[0] & 0x00000001u) != 0;
1502 inline void CommandResponse::set_has_error_string() {
1503 _has_bits_[0] |= 0x00000001u;
1505 inline void CommandResponse::clear_has_error_string() {
1506 _has_bits_[0] &= ~0x00000001u;
1510 clear_has_error_string();
1514 return error_string_.GetNoArena();
1517 set_has_error_string();
1523 set_has_error_string();
1524 error_string_.SetNoArena(
1530 GOOGLE_DCHECK(value != NULL);
1531 set_has_error_string();
1536 set_has_error_string();
1538 ::std::string(
reinterpret_cast<const char*
>(value), size));
1542 set_has_error_string();
1548 if (!has_error_string()) {
1551 clear_has_error_string();
1555 if (error_string != NULL) {
1556 set_has_error_string();
1558 clear_has_error_string();
1570 return (_has_bits_[0] & 0x00000002u) != 0;
1572 inline void InterfaceData::set_has_node_status() {
1573 _has_bits_[0] |= 0x00000002u;
1575 inline void InterfaceData::clear_has_node_status() {
1576 _has_bits_[0] &= ~0x00000002u;
1578 inline const ::goby::middleware::frontseat::protobuf::NodeStatus& InterfaceData::_internal_node_status()
const {
1579 return *node_status_;
1582 const ::goby::middleware::frontseat::protobuf::NodeStatus* p = node_status_;
1589 clear_has_node_status();
1591 node_status_ = NULL;
1595 set_has_node_status();
1596 if (node_status_ == NULL) {
1597 auto* p = CreateMaybeMessage<::goby::middleware::frontseat::protobuf::NodeStatus>(GetArenaNoVirtual());
1601 return node_status_;
1605 if (message_arena == NULL) {
1610 if (message_arena != submessage_arena) {
1611 node_status = ::google::protobuf::internal::GetOwnedMessage(
1614 set_has_node_status();
1616 clear_has_node_status();
1624 return (_has_bits_[0] & 0x00000004u) != 0;
1626 inline void InterfaceData::set_has_ctd_sample() {
1627 _has_bits_[0] |= 0x00000004u;
1629 inline void InterfaceData::clear_has_ctd_sample() {
1630 _has_bits_[0] &= ~0x00000004u;
1632 inline const ::goby::middleware::frontseat::protobuf::CTDSample& InterfaceData::_internal_ctd_sample()
const {
1633 return *ctd_sample_;
1636 const ::goby::middleware::frontseat::protobuf::CTDSample* p = ctd_sample_;
1643 clear_has_ctd_sample();
1649 set_has_ctd_sample();
1650 if (ctd_sample_ == NULL) {
1651 auto* p = CreateMaybeMessage<::goby::middleware::frontseat::protobuf::CTDSample>(GetArenaNoVirtual());
1659 if (message_arena == NULL) {
1664 if (message_arena != submessage_arena) {
1665 ctd_sample = ::google::protobuf::internal::GetOwnedMessage(
1666 message_arena, ctd_sample, submessage_arena);
1668 set_has_ctd_sample();
1670 clear_has_ctd_sample();
1672 ctd_sample_ = ctd_sample;
1678 return (_has_bits_[0] & 0x00000001u) != 0;
1680 inline void InterfaceData::set_has_dccl_message() {
1681 _has_bits_[0] |= 0x00000001u;
1683 inline void InterfaceData::clear_has_dccl_message() {
1684 _has_bits_[0] &= ~0x00000001u;
1688 clear_has_dccl_message();
1692 return dccl_message_.GetNoArena();
1695 set_has_dccl_message();
1701 set_has_dccl_message();
1702 dccl_message_.SetNoArena(
1708 GOOGLE_DCHECK(value != NULL);
1709 set_has_dccl_message();
1714 set_has_dccl_message();
1716 ::std::string(
reinterpret_cast<const char*
>(value), size));
1720 set_has_dccl_message();
1726 if (!has_dccl_message()) {
1729 clear_has_dccl_message();
1733 if (dccl_message != NULL) {
1734 set_has_dccl_message();
1736 clear_has_dccl_message();
1748 return (_has_bits_[0] & 0x00000001u) != 0;
1750 inline void Raw::set_has_raw() {
1751 _has_bits_[0] |= 0x00000001u;
1753 inline void Raw::clear_has_raw() {
1754 _has_bits_[0] &= ~0x00000001u;
1762 return raw_.GetNoArena();
1778 GOOGLE_DCHECK(value != NULL);
1786 ::std::string(
reinterpret_cast<const char*
>(value), size));
1814 return (_has_bits_[0] & 0x00000004u) != 0;
1816 inline void Raw::set_has_type() {
1817 _has_bits_[0] |= 0x00000004u;
1819 inline void Raw::clear_has_type() {
1820 _has_bits_[0] &= ~0x00000004u;
1839 return (_has_bits_[0] & 0x00000002u) != 0;
1841 inline void Raw::set_has_description() {
1842 _has_bits_[0] |= 0x00000002u;
1844 inline void Raw::clear_has_description() {
1845 _has_bits_[0] &= ~0x00000002u;
1849 clear_has_description();
1853 return description_.GetNoArena();
1856 set_has_description();
1862 set_has_description();
1863 description_.SetNoArena(
1869 GOOGLE_DCHECK(value != NULL);
1870 set_has_description();
1875 set_has_description();
1877 ::std::string(
reinterpret_cast<const char*
>(value), size));
1881 set_has_description();
1887 if (!has_description()) {
1890 clear_has_description();
1894 if (description != NULL) {
1895 set_has_description();
1897 clear_has_description();
1904 #pragma GCC diagnostic pop
1925 namespace protobuf {
1929 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::Raw_RawType>() {
1934 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::InterfaceState>() {
1939 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::FrontSeatState>() {
1944 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::HelmState>() {
1949 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::HelmError>() {
1954 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::frontseat::protobuf::FrontSeatError>() {
1963 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_2eproto