4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
58class ProtobufShowToolConfig;
59struct ProtobufShowToolConfigDefaultTypeInternal;
61class ProtobufToolConfig;
62struct ProtobufToolConfigDefaultTypeInternal;
68PROTOBUF_NAMESPACE_OPEN
71PROTOBUF_NAMESPACE_CLOSE
89 static_assert(::std::is_same<T, ProtobufToolConfig_Action>::value ||
90 ::std::is_integral<T>::value,
91 "Incorrect type passed to function ProtobufToolConfig_Action_Name.");
92 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
97 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ProtobufToolConfig_Action>(
103 public ::PROTOBUF_NAMESPACE_ID::Message {
107 explicit PROTOBUF_CONSTEXPR
ProtobufToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
112 *
this = ::std::move(from);
120 if (
this == &from)
return *
this;
121 if (GetOwningArena() == from.GetOwningArena()
122 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
123 && GetOwningArena() !=
nullptr
134 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
137 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
140 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
163 if (other ==
this)
return;
164 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
165 if (GetOwningArena() !=
nullptr &&
166 GetOwningArena() == other->GetOwningArena()) {
168 if (GetOwningArena() == other->GetOwningArena()) {
172 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
176 if (other ==
this)
return;
177 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
184 return CreateMaybeMessage<ProtobufToolConfig>(arena);
186 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
188 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
190 ProtobufToolConfig::MergeImpl(*
this, from);
193 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
195 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
201 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
205 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
207 void SetCachedSize(
int size)
const final;
211 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
212 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
213 return "goby.apps.middleware.protobuf.ProtobufToolConfig";
217 bool is_message_owned =
false);
221 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
241 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
247 static_assert(::std::is_same<T, Action>::value ||
248 ::std::is_integral<T>::value,
249 "Incorrect type passed to function Action_Name.");
252 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
266 bool _internal_has_app()
const;
269 const ::goby::middleware::protobuf::AppConfig&
app()
const;
270 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
274 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
284 bool _internal_has_action()
const;
298 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
299 typedef void InternalArenaConstructable_;
300 typedef void DestructorSkippable_;
302 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
303 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
308 friend struct ::TableStruct_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto;
313 public ::PROTOBUF_NAMESPACE_ID::Message {
322 *
this = ::std::move(from);
330 if (
this == &from)
return *
this;
331 if (GetOwningArena() == from.GetOwningArena()
332 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
333 && GetOwningArena() !=
nullptr
344 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
347 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
350 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
351 return GetDescriptor();
354 return default_instance().GetMetadata().descriptor;
357 return default_instance().GetMetadata().reflection;
360 return *internal_default_instance();
366 static constexpr int kIndexInFileMessages =
373 if (other ==
this)
return;
374 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
375 if (GetOwningArena() !=
nullptr &&
376 GetOwningArena() == other->GetOwningArena()) {
378 if (GetOwningArena() == other->GetOwningArena()) {
382 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
386 if (other ==
this)
return;
387 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
394 return CreateMaybeMessage<ProtobufShowToolConfig>(arena);
396 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
398 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
400 ProtobufShowToolConfig::MergeImpl(*
this, from);
403 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
405 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
406 bool IsInitialized() const final;
409 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
410 uint8_t* _InternalSerialize(
411 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
412 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
415 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
417 void SetCachedSize(
int size)
const final;
421 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
422 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
423 return "goby.apps.middleware.protobuf.ProtobufShowToolConfig";
427 bool is_message_owned =
false);
431 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
433 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
440 kNameFieldNumber = 2,
441 kLoadSharedLibraryFieldNumber = 10,
442 kPackageNameFieldNumber = 3,
446 int name_size()
const;
448 int _internal_name_size()
const;
451 const std::string& name(
int index)
const;
452 std::string* mutable_name(
int index);
453 void set_name(
int index,
const std::string& value);
454 void set_name(
int index, std::string&& value);
455 void set_name(
int index,
const char* value);
456 void set_name(
int index,
const char* value,
size_t size);
457 std::string* add_name();
458 void add_name(
const std::string& value);
459 void add_name(std::string&& value);
460 void add_name(
const char* value);
461 void add_name(
const char* value,
size_t size);
462 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& name()
const;
463 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_name();
465 const std::string& _internal_name(
int index)
const;
466 std::string* _internal_add_name();
470 int load_shared_library_size()
const;
472 int _internal_load_shared_library_size()
const;
474 void clear_load_shared_library();
475 const std::string& load_shared_library(
int index)
const;
476 std::string* mutable_load_shared_library(
int index);
477 void set_load_shared_library(
int index,
const std::string& value);
478 void set_load_shared_library(
int index, std::string&& value);
479 void set_load_shared_library(
int index,
const char* value);
480 void set_load_shared_library(
int index,
const char* value,
size_t size);
481 std::string* add_load_shared_library();
482 void add_load_shared_library(
const std::string& value);
483 void add_load_shared_library(std::string&& value);
484 void add_load_shared_library(
const char* value);
485 void add_load_shared_library(
const char* value,
size_t size);
486 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
487 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
489 const std::string& _internal_load_shared_library(
int index)
const;
490 std::string* _internal_add_load_shared_library();
494 bool has_package_name()
const;
496 bool _internal_has_package_name()
const;
498 void clear_package_name();
499 const std::string& package_name()
const;
500 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
502 std::string* mutable_package_name();
503 PROTOBUF_NODISCARD std::string* release_package_name();
504 void set_allocated_package_name(std::string* package_name);
506 const std::string& _internal_package_name()
const;
507 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_package_name(
const std::string& value);
508 std::string* _internal_mutable_package_name();
512 bool has_app()
const;
514 bool _internal_has_app()
const;
517 const ::goby::middleware::protobuf::AppConfig& app()
const;
518 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
522 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
525 void unsafe_arena_set_allocated_app(
533 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
534 typedef void InternalArenaConstructable_;
535 typedef void DestructorSkippable_;
537 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
538 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
539 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> name_;
540 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
541 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_name_;
545 friend struct ::TableStruct_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto;
553 #pragma GCC diagnostic push
554 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
559inline bool ProtobufToolConfig::_internal_has_app()
const {
560 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
561 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
564inline bool ProtobufToolConfig::has_app()
const {
565 return _internal_has_app();
567inline const ::goby::middleware::protobuf::AppConfig& ProtobufToolConfig::_internal_app()
const {
568 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
572inline const ::goby::middleware::protobuf::AppConfig& ProtobufToolConfig::app()
const {
574 return _internal_app();
576inline void ProtobufToolConfig::unsafe_arena_set_allocated_app(
578 if (GetArenaForAllocation() ==
nullptr) {
579 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
583 _impl_._has_bits_[0] |= 0x00000001u;
585 _impl_._has_bits_[0] &= ~0x00000001u;
589inline ::goby::middleware::protobuf::AppConfig* ProtobufToolConfig::release_app() {
590 _impl_._has_bits_[0] &= ~0x00000001u;
592 _impl_.app_ =
nullptr;
593#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
594 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
595 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
596 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
598 if (GetArenaForAllocation() !=
nullptr) {
599 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
604inline ::goby::middleware::protobuf::AppConfig* ProtobufToolConfig::unsafe_arena_release_app() {
606 _impl_._has_bits_[0] &= ~0x00000001u;
608 _impl_.app_ =
nullptr;
611inline ::goby::middleware::protobuf::AppConfig* ProtobufToolConfig::_internal_mutable_app() {
612 _impl_._has_bits_[0] |= 0x00000001u;
613 if (_impl_.app_ ==
nullptr) {
619inline ::goby::middleware::protobuf::AppConfig* ProtobufToolConfig::mutable_app() {
625 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
626 if (message_arena ==
nullptr) {
627 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
630 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
631 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
632 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
633 if (message_arena != submessage_arena) {
634 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
635 message_arena, app, submessage_arena);
637 _impl_._has_bits_[0] |= 0x00000001u;
639 _impl_._has_bits_[0] &= ~0x00000001u;
646inline bool ProtobufToolConfig::_internal_has_action()
const {
647 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
650inline bool ProtobufToolConfig::has_action()
const {
651 return _internal_has_action();
653inline void ProtobufToolConfig::clear_action() {
655 _impl_._has_bits_[0] &= ~0x00000002u;
657inline ::goby::apps::middleware::protobuf::ProtobufToolConfig_Action ProtobufToolConfig::_internal_action()
const {
660inline ::goby::apps::middleware::protobuf::ProtobufToolConfig_Action ProtobufToolConfig::action()
const {
662 return _internal_action();
666 _impl_._has_bits_[0] |= 0x00000002u;
667 _impl_.action_ = value;
670 _internal_set_action(value);
679inline bool ProtobufShowToolConfig::_internal_has_app()
const {
680 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
681 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
684inline bool ProtobufShowToolConfig::has_app()
const {
685 return _internal_has_app();
687inline const ::goby::middleware::protobuf::AppConfig& ProtobufShowToolConfig::_internal_app()
const {
688 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
692inline const ::goby::middleware::protobuf::AppConfig& ProtobufShowToolConfig::app()
const {
694 return _internal_app();
696inline void ProtobufShowToolConfig::unsafe_arena_set_allocated_app(
698 if (GetArenaForAllocation() ==
nullptr) {
699 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
703 _impl_._has_bits_[0] |= 0x00000002u;
705 _impl_._has_bits_[0] &= ~0x00000002u;
709inline ::goby::middleware::protobuf::AppConfig* ProtobufShowToolConfig::release_app() {
710 _impl_._has_bits_[0] &= ~0x00000002u;
712 _impl_.app_ =
nullptr;
713#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
714 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
715 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
716 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
718 if (GetArenaForAllocation() !=
nullptr) {
719 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
724inline ::goby::middleware::protobuf::AppConfig* ProtobufShowToolConfig::unsafe_arena_release_app() {
726 _impl_._has_bits_[0] &= ~0x00000002u;
728 _impl_.app_ =
nullptr;
731inline ::goby::middleware::protobuf::AppConfig* ProtobufShowToolConfig::_internal_mutable_app() {
732 _impl_._has_bits_[0] |= 0x00000002u;
733 if (_impl_.app_ ==
nullptr) {
739inline ::goby::middleware::protobuf::AppConfig* ProtobufShowToolConfig::mutable_app() {
745 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
746 if (message_arena ==
nullptr) {
747 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
750 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
751 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
752 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
753 if (message_arena != submessage_arena) {
754 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
755 message_arena, app, submessage_arena);
757 _impl_._has_bits_[0] |= 0x00000002u;
759 _impl_._has_bits_[0] &= ~0x00000002u;
766inline int ProtobufShowToolConfig::_internal_name_size()
const {
767 return _impl_.name_.size();
769inline int ProtobufShowToolConfig::name_size()
const {
770 return _internal_name_size();
772inline void ProtobufShowToolConfig::clear_name() {
773 _impl_.name_.Clear();
775inline std::string* ProtobufShowToolConfig::add_name() {
776 std::string* _s = _internal_add_name();
780inline const std::string& ProtobufShowToolConfig::_internal_name(
int index)
const {
781 return _impl_.name_.Get(index);
783inline const std::string& ProtobufShowToolConfig::name(
int index)
const {
785 return _internal_name(index);
787inline std::string* ProtobufShowToolConfig::mutable_name(
int index) {
789 return _impl_.name_.Mutable(index);
791inline void ProtobufShowToolConfig::set_name(
int index,
const std::string& value) {
792 _impl_.name_.Mutable(index)->assign(value);
795inline void ProtobufShowToolConfig::set_name(
int index, std::string&& value) {
796 _impl_.name_.Mutable(index)->assign(std::move(value));
799inline void ProtobufShowToolConfig::set_name(
int index,
const char* value) {
800 GOOGLE_DCHECK(value !=
nullptr);
801 _impl_.name_.Mutable(index)->assign(value);
804inline void ProtobufShowToolConfig::set_name(
int index,
const char* value,
size_t size) {
805 _impl_.name_.Mutable(index)->assign(
806 reinterpret_cast<const char*
>(value), size);
809inline std::string* ProtobufShowToolConfig::_internal_add_name() {
810 return _impl_.name_.Add();
812inline void ProtobufShowToolConfig::add_name(
const std::string& value) {
813 _impl_.name_.Add()->assign(value);
816inline void ProtobufShowToolConfig::add_name(std::string&& value) {
817 _impl_.name_.Add(std::move(value));
820inline void ProtobufShowToolConfig::add_name(
const char* value) {
821 GOOGLE_DCHECK(value !=
nullptr);
822 _impl_.name_.Add()->assign(value);
825inline void ProtobufShowToolConfig::add_name(
const char* value,
size_t size) {
826 _impl_.name_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
829inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
830ProtobufShowToolConfig::name()
const {
834inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
835ProtobufShowToolConfig::mutable_name() {
837 return &_impl_.name_;
841inline bool ProtobufShowToolConfig::_internal_has_package_name()
const {
842 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
845inline bool ProtobufShowToolConfig::has_package_name()
const {
846 return _internal_has_package_name();
848inline void ProtobufShowToolConfig::clear_package_name() {
849 _impl_.package_name_.ClearToEmpty();
850 _impl_._has_bits_[0] &= ~0x00000001u;
852inline const std::string& ProtobufShowToolConfig::package_name()
const {
854 return _internal_package_name();
856template <
typename ArgT0,
typename... ArgT>
857inline PROTOBUF_ALWAYS_INLINE
858void ProtobufShowToolConfig::set_package_name(ArgT0&& arg0, ArgT... args) {
859 _impl_._has_bits_[0] |= 0x00000001u;
860 _impl_.package_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
863inline std::string* ProtobufShowToolConfig::mutable_package_name() {
864 std::string* _s = _internal_mutable_package_name();
868inline const std::string& ProtobufShowToolConfig::_internal_package_name()
const {
869 return _impl_.package_name_.Get();
871inline void ProtobufShowToolConfig::_internal_set_package_name(
const std::string& value) {
872 _impl_._has_bits_[0] |= 0x00000001u;
873 _impl_.package_name_.Set(value, GetArenaForAllocation());
875inline std::string* ProtobufShowToolConfig::_internal_mutable_package_name() {
876 _impl_._has_bits_[0] |= 0x00000001u;
877 return _impl_.package_name_.Mutable(GetArenaForAllocation());
879inline std::string* ProtobufShowToolConfig::release_package_name() {
881 if (!_internal_has_package_name()) {
884 _impl_._has_bits_[0] &= ~0x00000001u;
885 auto* p = _impl_.package_name_.Release();
886#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
887 if (_impl_.package_name_.IsDefault()) {
888 _impl_.package_name_.Set(
"", GetArenaForAllocation());
893inline void ProtobufShowToolConfig::set_allocated_package_name(std::string* package_name) {
894 if (package_name !=
nullptr) {
895 _impl_._has_bits_[0] |= 0x00000001u;
897 _impl_._has_bits_[0] &= ~0x00000001u;
899 _impl_.package_name_.SetAllocated(package_name, GetArenaForAllocation());
900#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
901 if (_impl_.package_name_.IsDefault()) {
902 _impl_.package_name_.Set(
"", GetArenaForAllocation());
909inline int ProtobufShowToolConfig::_internal_load_shared_library_size()
const {
910 return _impl_.load_shared_library_.size();
912inline int ProtobufShowToolConfig::load_shared_library_size()
const {
913 return _internal_load_shared_library_size();
915inline void ProtobufShowToolConfig::clear_load_shared_library() {
916 _impl_.load_shared_library_.Clear();
918inline std::string* ProtobufShowToolConfig::add_load_shared_library() {
919 std::string* _s = _internal_add_load_shared_library();
923inline const std::string& ProtobufShowToolConfig::_internal_load_shared_library(
int index)
const {
924 return _impl_.load_shared_library_.Get(index);
926inline const std::string& ProtobufShowToolConfig::load_shared_library(
int index)
const {
928 return _internal_load_shared_library(index);
930inline std::string* ProtobufShowToolConfig::mutable_load_shared_library(
int index) {
932 return _impl_.load_shared_library_.Mutable(index);
934inline void ProtobufShowToolConfig::set_load_shared_library(
int index,
const std::string& value) {
935 _impl_.load_shared_library_.Mutable(index)->assign(value);
938inline void ProtobufShowToolConfig::set_load_shared_library(
int index, std::string&& value) {
939 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
942inline void ProtobufShowToolConfig::set_load_shared_library(
int index,
const char* value) {
943 GOOGLE_DCHECK(value !=
nullptr);
944 _impl_.load_shared_library_.Mutable(index)->assign(value);
947inline void ProtobufShowToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
948 _impl_.load_shared_library_.Mutable(index)->assign(
949 reinterpret_cast<const char*
>(value), size);
952inline std::string* ProtobufShowToolConfig::_internal_add_load_shared_library() {
953 return _impl_.load_shared_library_.Add();
955inline void ProtobufShowToolConfig::add_load_shared_library(
const std::string& value) {
956 _impl_.load_shared_library_.Add()->assign(value);
959inline void ProtobufShowToolConfig::add_load_shared_library(std::string&& value) {
960 _impl_.load_shared_library_.Add(std::move(value));
963inline void ProtobufShowToolConfig::add_load_shared_library(
const char* value) {
964 GOOGLE_DCHECK(value !=
nullptr);
965 _impl_.load_shared_library_.Add()->assign(value);
968inline void ProtobufShowToolConfig::add_load_shared_library(
const char* value,
size_t size) {
969 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
972inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
973ProtobufShowToolConfig::load_shared_library()
const {
975 return _impl_.load_shared_library_;
977inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
978ProtobufShowToolConfig::mutable_load_shared_library() {
980 return &_impl_.load_shared_library_;
984 #pragma GCC diagnostic pop
996PROTOBUF_NAMESPACE_OPEN
1001 return ::goby::apps::middleware::protobuf::ProtobufToolConfig_Action_descriptor();
1004PROTOBUF_NAMESPACE_CLOSE
1008#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
constexpr ProtobufToolConfig_Action ProtobufToolConfig_Action_Action_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ProtobufToolConfig_Action_descriptor()
constexpr ProtobufToolConfig_Action ProtobufToolConfig_Action_Action_MIN
bool ProtobufToolConfig_Action_IsValid(int value)
ProtobufShowToolConfigDefaultTypeInternal _ProtobufShowToolConfig_default_instance_
constexpr int ProtobufToolConfig_Action_Action_ARRAYSIZE
const std::string & ProtobufToolConfig_Action_Name(T enum_t_value)
ProtobufToolConfig_Action
@ ProtobufToolConfig_Action_help
@ ProtobufToolConfig_Action_show
ProtobufToolConfigDefaultTypeInternal _ProtobufToolConfig_default_instance_
bool ProtobufToolConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProtobufToolConfig_Action *value)
AppConfigDefaultTypeInternal _AppConfig_default_instance_
The global namespace for the Goby project.
const EnumDescriptor * GetEnumDescriptor< ::goby::apps::middleware::protobuf::ProtobufToolConfig_Action >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fapps_2fmiddleware_2fgoby_5ftool_2fmarshalling_2fprotobuf_2eproto