4 #ifndef PROTOBUF_INCLUDED_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_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/unknown_field_set.h>
33 #include "goby/middleware/protobuf/app_config.pb.h"
34 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
36 #include "goby/middleware/protobuf/udp_config.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_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_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[1];
52 static const ::google::protobuf::uint32
offsets[];
58 class AtlasSalinityPublisher;
59 class AtlasSalinityPublisherDefaultTypeInternal;
87 *
this = ::std::move(from);
91 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
92 if (
this != &from) InternalSwap(&from);
100 return _internal_metadata_.unknown_fields();
103 return _internal_metadata_.mutable_unknown_fields();
106 static const ::google::protobuf::Descriptor*
descriptor();
125 return CreateMaybeMessage<AtlasSalinityPublisher>(NULL);
129 return CreateMaybeMessage<AtlasSalinityPublisher>(arena);
131 void CopyFrom(const ::google::protobuf::Message& from)
final;
132 void MergeFrom(const ::google::protobuf::Message& from)
final;
140 ::
google::protobuf::io::CodedInputStream* input) final;
142 ::
google::protobuf::io::CodedOutputStream* output) const final;
144 bool deterministic, ::
google::protobuf::uint8* target) const final;
150 void SetCachedSize(
int size)
const final;
153 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
156 inline void* MaybeArenaPtr()
const {
161 ::google::protobuf::Metadata
GetMetadata() const final;
172 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
174 const ::
goby::middleware::protobuf::AppConfig&
app() const;
184 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
186 const ::
goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess() const;
196 const ::
goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_config() const;
198 const ::
goby::middleware::protobuf::UDPPointToPointConfig&
udp_config() const;
220 void clear_has_app();
221 void set_has_interprocess();
222 void clear_has_interprocess();
223 void set_has_udp_config();
224 void clear_has_udp_config();
225 void set_has_atlas_salinity_report_timeout_seconds();
226 void clear_has_atlas_salinity_report_timeout_seconds();
227 void set_has_atlas_salinity_report_in_simulation();
228 void clear_has_atlas_salinity_report_in_simulation();
230 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
231 ::
google::protobuf::internal::HasBits<1> _has_bits_;
232 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
233 ::
goby::middleware::protobuf::AppConfig* app_;
234 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
235 ::
goby::middleware::protobuf::UDPPointToPointConfig* udp_config_;
236 ::
google::protobuf::int32 atlas_salinity_report_timeout_seconds_;
237 bool atlas_salinity_report_in_simulation_;
246 #pragma GCC diagnostic push
247 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
253 return (_has_bits_[0] & 0x00000001u) != 0;
255 inline void AtlasSalinityPublisher::set_has_app() {
256 _has_bits_[0] |= 0x00000001u;
258 inline void AtlasSalinityPublisher::clear_has_app() {
259 _has_bits_[0] &= ~0x00000001u;
261 inline const ::goby::middleware::protobuf::AppConfig& AtlasSalinityPublisher::_internal_app()
const {
265 const ::goby::middleware::protobuf::AppConfig* p = app_;
267 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
268 &::goby::middleware::protobuf::_AppConfig_default_instance_);
273 ::goby::middleware::protobuf::AppConfig* temp = app_;
280 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
287 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
288 if (message_arena == NULL) {
289 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
292 ::google::protobuf::Arena* submessage_arena = NULL;
293 if (message_arena != submessage_arena) {
294 app = ::google::protobuf::internal::GetOwnedMessage(
295 message_arena,
app, submessage_arena);
307 return (_has_bits_[0] & 0x00000002u) != 0;
309 inline void AtlasSalinityPublisher::set_has_interprocess() {
310 _has_bits_[0] |= 0x00000002u;
312 inline void AtlasSalinityPublisher::clear_has_interprocess() {
313 _has_bits_[0] &= ~0x00000002u;
315 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& AtlasSalinityPublisher::_internal_interprocess()
const {
316 return *interprocess_;
319 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
321 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
322 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
326 clear_has_interprocess();
327 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
328 interprocess_ = NULL;
332 set_has_interprocess();
333 if (interprocess_ == NULL) {
334 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
338 return interprocess_;
341 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
342 if (message_arena == NULL) {
343 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
346 ::google::protobuf::Arena* submessage_arena = NULL;
347 if (message_arena != submessage_arena) {
348 interprocess = ::google::protobuf::internal::GetOwnedMessage(
351 set_has_interprocess();
353 clear_has_interprocess();
361 return (_has_bits_[0] & 0x00000004u) != 0;
363 inline void AtlasSalinityPublisher::set_has_udp_config() {
364 _has_bits_[0] |= 0x00000004u;
366 inline void AtlasSalinityPublisher::clear_has_udp_config() {
367 _has_bits_[0] &= ~0x00000004u;
369 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& AtlasSalinityPublisher::_internal_udp_config()
const {
373 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = udp_config_;
375 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*
>(
376 &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
380 clear_has_udp_config();
381 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = udp_config_;
386 set_has_udp_config();
387 if (udp_config_ == NULL) {
388 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaNoVirtual());
395 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
396 if (message_arena == NULL) {
397 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(udp_config_);
400 ::google::protobuf::Arena* submessage_arena = NULL;
401 if (message_arena != submessage_arena) {
402 udp_config = ::google::protobuf::internal::GetOwnedMessage(
405 set_has_udp_config();
407 clear_has_udp_config();
415 return (_has_bits_[0] & 0x00000008u) != 0;
417 inline void AtlasSalinityPublisher::set_has_atlas_salinity_report_timeout_seconds() {
418 _has_bits_[0] |= 0x00000008u;
420 inline void AtlasSalinityPublisher::clear_has_atlas_salinity_report_timeout_seconds() {
421 _has_bits_[0] &= ~0x00000008u;
424 atlas_salinity_report_timeout_seconds_ = 40;
425 clear_has_atlas_salinity_report_timeout_seconds();
429 return atlas_salinity_report_timeout_seconds_;
432 set_has_atlas_salinity_report_timeout_seconds();
433 atlas_salinity_report_timeout_seconds_ = value;
439 return (_has_bits_[0] & 0x00000010u) != 0;
441 inline void AtlasSalinityPublisher::set_has_atlas_salinity_report_in_simulation() {
442 _has_bits_[0] |= 0x00000010u;
444 inline void AtlasSalinityPublisher::clear_has_atlas_salinity_report_in_simulation() {
445 _has_bits_[0] &= ~0x00000010u;
448 atlas_salinity_report_in_simulation_ =
true;
449 clear_has_atlas_salinity_report_in_simulation();
453 return atlas_salinity_report_in_simulation_;
456 set_has_atlas_salinity_report_in_simulation();
457 atlas_salinity_report_in_simulation_ = value;
462 #pragma GCC diagnostic pop
472 #endif // PROTOBUF_INCLUDED_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto