4 #ifndef PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_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>
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto
46 static const ::google::protobuf::internal::ParseTableField
entries[];
47 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
48 static const ::google::protobuf::internal::ParseTable
schema[2];
57 namespace middleware {
59 class ProtobufShowToolConfig;
60 class ProtobufShowToolConfigDefaultTypeInternal;
62 class ProtobufToolConfig;
63 class ProtobufToolConfigDefaultTypeInternal;
77 namespace middleware {
91 return ::google::protobuf::internal::NameOfEnum(
96 return ::google::protobuf::internal::ParseNamedEnum<ProtobufToolConfig_Action>(
115 *
this = ::std::move(from);
119 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
120 if (
this != &from) InternalSwap(&from);
128 return _internal_metadata_.unknown_fields();
131 return _internal_metadata_.mutable_unknown_fields();
134 static const ::google::protobuf::Descriptor*
descriptor();
153 return CreateMaybeMessage<ProtobufToolConfig>(NULL);
157 return CreateMaybeMessage<ProtobufToolConfig>(arena);
159 void CopyFrom(const ::google::protobuf::Message& from)
final;
160 void MergeFrom(const ::google::protobuf::Message& from)
final;
168 ::
google::protobuf::io::CodedInputStream* input) final;
170 ::
google::protobuf::io::CodedOutputStream* output) const final;
172 bool deterministic, ::
google::protobuf::uint8* target) const final;
178 void SetCachedSize(
int size)
const final;
181 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
184 inline void* MaybeArenaPtr()
const {
207 static inline const ::google::protobuf::EnumDescriptor*
226 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
228 const ::goby::middleware::protobuf::AppConfig&
app()
const;
243 void clear_has_app();
244 void set_has_action();
245 void clear_has_action();
247 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
248 ::google::protobuf::internal::HasBits<1> _has_bits_;
249 mutable ::google::protobuf::internal::CachedSize _cached_size_;
252 friend struct ::protobuf_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto::TableStruct;
270 *
this = ::std::move(from);
274 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
275 if (
this != &from) InternalSwap(&from);
283 return _internal_metadata_.unknown_fields();
286 return _internal_metadata_.mutable_unknown_fields();
289 static const ::google::protobuf::Descriptor*
descriptor();
308 return CreateMaybeMessage<ProtobufShowToolConfig>(NULL);
312 return CreateMaybeMessage<ProtobufShowToolConfig>(arena);
314 void CopyFrom(const ::google::protobuf::Message& from)
final;
315 void MergeFrom(const ::google::protobuf::Message& from)
final;
323 ::
google::protobuf::io::CodedInputStream* input) final;
325 ::
google::protobuf::io::CodedOutputStream* output) const final;
327 bool deterministic, ::
google::protobuf::uint8* target) const final;
333 void SetCachedSize(
int size)
const final;
336 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
339 inline void* MaybeArenaPtr()
const {
354 const ::std::
string&
name(
int index) const;
356 void set_name(
int index, const ::std::
string& value);
358 void set_name(
int index, ::std::string&& value);
360 void set_name(
int index,
const char* value);
361 void set_name(
int index,
const char* value,
size_t size);
363 void add_name(const ::std::string& value);
365 void add_name(::std::string&& value);
368 void add_name(
const char* value,
size_t size);
369 const ::google::protobuf::RepeatedPtrField< ::std::string>&
name()
const;
414 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
416 const ::goby::middleware::protobuf::AppConfig&
app()
const;
424 void clear_has_app();
425 void set_has_package_name();
426 void clear_has_package_name();
428 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
429 ::google::protobuf::internal::HasBits<1> _has_bits_;
430 mutable ::google::protobuf::internal::CachedSize _cached_size_;
433 ::google::protobuf::internal::ArenaStringPtr package_name_;
435 friend struct ::protobuf_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto::TableStruct;
443 #pragma GCC diagnostic push
444 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
450 return (_has_bits_[0] & 0x00000001u) != 0;
452 inline void ProtobufToolConfig::set_has_app() {
453 _has_bits_[0] |= 0x00000001u;
455 inline void ProtobufToolConfig::clear_has_app() {
456 _has_bits_[0] &= ~0x00000001u;
458 inline const ::goby::middleware::protobuf::AppConfig& ProtobufToolConfig::_internal_app()
const {
462 const ::goby::middleware::protobuf::AppConfig* p = app_;
477 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
485 if (message_arena == NULL) {
490 if (message_arena != submessage_arena) {
491 app = ::google::protobuf::internal::GetOwnedMessage(
492 message_arena,
app, submessage_arena);
504 return (_has_bits_[0] & 0x00000002u) != 0;
506 inline void ProtobufToolConfig::set_has_action() {
507 _has_bits_[0] |= 0x00000002u;
509 inline void ProtobufToolConfig::clear_has_action() {
510 _has_bits_[0] &= ~0x00000002u;
533 return (_has_bits_[0] & 0x00000002u) != 0;
535 inline void ProtobufShowToolConfig::set_has_app() {
536 _has_bits_[0] |= 0x00000002u;
538 inline void ProtobufShowToolConfig::clear_has_app() {
539 _has_bits_[0] &= ~0x00000002u;
541 inline const ::goby::middleware::protobuf::AppConfig& ProtobufShowToolConfig::_internal_app()
const {
545 const ::goby::middleware::protobuf::AppConfig* p = app_;
560 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
568 if (message_arena == NULL) {
573 if (message_arena != submessage_arena) {
574 app = ::google::protobuf::internal::GetOwnedMessage(
575 message_arena,
app, submessage_arena);
594 return name_.Get(index);
598 return name_.Mutable(index);
602 name_.Mutable(index)->assign(value);
607 name_.Mutable(index)->assign(std::move(value));
611 GOOGLE_DCHECK(value != NULL);
612 name_.Mutable(index)->assign(value);
616 name_.Mutable(index)->assign(
617 reinterpret_cast<const char*
>(value), size);
625 name_.Add()->assign(value);
630 name_.Add(std::move(value));
635 GOOGLE_DCHECK(value != NULL);
636 name_.Add()->assign(value);
640 name_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
643 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
648 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
656 return (_has_bits_[0] & 0x00000001u) != 0;
658 inline void ProtobufShowToolConfig::set_has_package_name() {
659 _has_bits_[0] |= 0x00000001u;
661 inline void ProtobufShowToolConfig::clear_has_package_name() {
662 _has_bits_[0] &= ~0x00000001u;
666 clear_has_package_name();
670 return package_name_.GetNoArena();
673 set_has_package_name();
679 set_has_package_name();
680 package_name_.SetNoArena(
686 GOOGLE_DCHECK(value != NULL);
687 set_has_package_name();
692 set_has_package_name();
694 ::std::string(
reinterpret_cast<const char*
>(value), size));
698 set_has_package_name();
707 clear_has_package_name();
712 set_has_package_name();
714 clear_has_package_name();
722 return load_shared_library_.size();
725 load_shared_library_.Clear();
729 return load_shared_library_.Get(index);
733 return load_shared_library_.Mutable(index);
737 load_shared_library_.Mutable(index)->assign(value);
742 load_shared_library_.Mutable(index)->assign(std::move(value));
746 GOOGLE_DCHECK(value != NULL);
747 load_shared_library_.Mutable(index)->assign(value);
751 load_shared_library_.Mutable(index)->assign(
752 reinterpret_cast<const char*
>(value), size);
757 return load_shared_library_.Add();
760 load_shared_library_.Add()->assign(value);
765 load_shared_library_.Add(std::move(value));
770 GOOGLE_DCHECK(value != NULL);
771 load_shared_library_.Add()->assign(value);
775 load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
778 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
781 return load_shared_library_;
783 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
786 return &load_shared_library_;
790 #pragma GCC diagnostic pop
807 inline const EnumDescriptor* GetEnumDescriptor< ::goby::apps::middleware::protobuf::ProtobufToolConfig_Action>() {
816 #endif // PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto