4 #ifndef PROTOBUF_INCLUDED_bin_2fengineering_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fengineering_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"
35 #include "goby/middleware/protobuf/transporter_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_2fengineering_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 JaiabotEngineering;
59 class JaiabotEngineeringDefaultTypeInternal;
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<JaiabotEngineering>(NULL);
129 return CreateMaybeMessage<JaiabotEngineering>(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::TransporterConfig& _internal_command_sub_cfg() const;
208 const ::
jaiabot::protobuf::HubInfo& _internal_subscribe_to_hub_on_start() const;
225 void clear_has_app();
226 void set_has_interprocess();
227 void clear_has_interprocess();
228 void set_has_bot_id();
229 void clear_has_bot_id();
230 void set_has_command_sub_cfg();
231 void clear_has_command_sub_cfg();
232 void set_has_subscribe_to_hub_on_start();
233 void clear_has_subscribe_to_hub_on_start();
236 size_t RequiredFieldsByteSizeFallback() const;
238 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
239 ::
google::protobuf::internal::HasBits<1> _has_bits_;
240 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
241 ::
goby::middleware::protobuf::AppConfig* app_;
242 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
243 ::
goby::middleware::protobuf::TransporterConfig* command_sub_cfg_;
244 ::
jaiabot::protobuf::HubInfo* subscribe_to_hub_on_start_;
245 ::
google::protobuf::int32 bot_id_;
254 #pragma GCC diagnostic push
255 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
261 return (_has_bits_[0] & 0x00000001u) != 0;
263 inline void JaiabotEngineering::set_has_app() {
264 _has_bits_[0] |= 0x00000001u;
266 inline void JaiabotEngineering::clear_has_app() {
267 _has_bits_[0] &= ~0x00000001u;
269 inline const ::goby::middleware::protobuf::AppConfig& JaiabotEngineering::_internal_app()
const {
273 const ::goby::middleware::protobuf::AppConfig* p = app_;
275 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
276 &::goby::middleware::protobuf::_AppConfig_default_instance_);
281 ::goby::middleware::protobuf::AppConfig* temp = app_;
288 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
295 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
296 if (message_arena == NULL) {
297 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
300 ::google::protobuf::Arena* submessage_arena = NULL;
301 if (message_arena != submessage_arena) {
302 app = ::google::protobuf::internal::GetOwnedMessage(
303 message_arena,
app, submessage_arena);
315 return (_has_bits_[0] & 0x00000002u) != 0;
317 inline void JaiabotEngineering::set_has_interprocess() {
318 _has_bits_[0] |= 0x00000002u;
320 inline void JaiabotEngineering::clear_has_interprocess() {
321 _has_bits_[0] &= ~0x00000002u;
323 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& JaiabotEngineering::_internal_interprocess()
const {
324 return *interprocess_;
327 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
329 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
330 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
334 clear_has_interprocess();
335 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
336 interprocess_ = NULL;
340 set_has_interprocess();
341 if (interprocess_ == NULL) {
342 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
346 return interprocess_;
349 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
350 if (message_arena == NULL) {
351 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
354 ::google::protobuf::Arena* submessage_arena = NULL;
355 if (message_arena != submessage_arena) {
356 interprocess = ::google::protobuf::internal::GetOwnedMessage(
359 set_has_interprocess();
361 clear_has_interprocess();
369 return (_has_bits_[0] & 0x00000010u) != 0;
371 inline void JaiabotEngineering::set_has_bot_id() {
372 _has_bits_[0] |= 0x00000010u;
374 inline void JaiabotEngineering::clear_has_bot_id() {
375 _has_bits_[0] &= ~0x00000010u;
393 return (_has_bits_[0] & 0x00000004u) != 0;
395 inline void JaiabotEngineering::set_has_command_sub_cfg() {
396 _has_bits_[0] |= 0x00000004u;
398 inline void JaiabotEngineering::clear_has_command_sub_cfg() {
399 _has_bits_[0] &= ~0x00000004u;
401 inline const ::goby::middleware::protobuf::TransporterConfig& JaiabotEngineering::_internal_command_sub_cfg()
const {
402 return *command_sub_cfg_;
405 const ::goby::middleware::protobuf::TransporterConfig* p = command_sub_cfg_;
407 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig*
>(
408 &::goby::middleware::protobuf::_TransporterConfig_default_instance_);
412 clear_has_command_sub_cfg();
413 ::goby::middleware::protobuf::TransporterConfig* temp = command_sub_cfg_;
414 command_sub_cfg_ = NULL;
418 set_has_command_sub_cfg();
419 if (command_sub_cfg_ == NULL) {
420 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaNoVirtual());
421 command_sub_cfg_ = p;
424 return command_sub_cfg_;
427 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
428 if (message_arena == NULL) {
429 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(command_sub_cfg_);
432 ::google::protobuf::Arena* submessage_arena = NULL;
433 if (message_arena != submessage_arena) {
437 set_has_command_sub_cfg();
439 clear_has_command_sub_cfg();
447 return (_has_bits_[0] & 0x00000008u) != 0;
449 inline void JaiabotEngineering::set_has_subscribe_to_hub_on_start() {
450 _has_bits_[0] |= 0x00000008u;
452 inline void JaiabotEngineering::clear_has_subscribe_to_hub_on_start() {
453 _has_bits_[0] &= ~0x00000008u;
455 inline const ::jaiabot::protobuf::HubInfo& JaiabotEngineering::_internal_subscribe_to_hub_on_start()
const {
456 return *subscribe_to_hub_on_start_;
459 const ::jaiabot::protobuf::HubInfo* p = subscribe_to_hub_on_start_;
466 clear_has_subscribe_to_hub_on_start();
468 subscribe_to_hub_on_start_ = NULL;
472 set_has_subscribe_to_hub_on_start();
473 if (subscribe_to_hub_on_start_ == NULL) {
474 auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(GetArenaNoVirtual());
475 subscribe_to_hub_on_start_ = p;
478 return subscribe_to_hub_on_start_;
481 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
482 if (message_arena == NULL) {
483 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(subscribe_to_hub_on_start_);
486 ::google::protobuf::Arena* submessage_arena = NULL;
487 if (message_arena != submessage_arena) {
491 set_has_subscribe_to_hub_on_start();
493 clear_has_subscribe_to_hub_on_start();
500 #pragma GCC diagnostic pop
510 #endif // PROTOBUF_INCLUDED_bin_2fengineering_2fconfig_2eproto