4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fprotobuf_2foption_5fextensions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fprotobuf_2foption_5fextensions_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>
34#include <google/protobuf/descriptor.pb.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#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2fprotobuf_2foption_5fextensions_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
54class GobyEnumValueOptions;
55struct GobyEnumValueOptionsDefaultTypeInternal;
57class GobyEnumValueOptions_ConfigurationOptions;
58struct GobyEnumValueOptions_ConfigurationOptionsDefaultTypeInternal;
60class GobyFieldOptions;
61struct GobyFieldOptionsDefaultTypeInternal;
63class GobyFieldOptions_ConfigurationOptions;
64struct GobyFieldOptions_ConfigurationOptionsDefaultTypeInternal;
66class GobyFieldOptions_ConfigurationOptions_Position;
67struct GobyFieldOptions_ConfigurationOptions_PositionDefaultTypeInternal;
69class GobyMessageOptions;
70struct GobyMessageOptionsDefaultTypeInternal;
72class GobyMessageOptions_ConfigurationOptions;
73struct GobyMessageOptions_ConfigurationOptionsDefaultTypeInternal;
75class GobyMessageOptions_ConfigurationOptions_Tool;
76struct GobyMessageOptions_ConfigurationOptions_ToolDefaultTypeInternal;
79PROTOBUF_NAMESPACE_OPEN
88PROTOBUF_NAMESPACE_CLOSE
106 static_assert(::std::is_same<T, GobyFieldOptions_ConfigurationOptions_ConfigAction>::value ||
107 ::std::is_integral<T>::value,
108 "Incorrect type passed to function GobyFieldOptions_ConfigurationOptions_ConfigAction_Name.");
109 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
114 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GobyFieldOptions_ConfigurationOptions_ConfigAction>(
120 public ::PROTOBUF_NAMESPACE_ID::Message {
129 *
this = ::std::move(from);
137 if (
this == &from)
return *
this;
138 if (GetOwningArena() == from.GetOwningArena()
139 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
140 && GetOwningArena() !=
nullptr
151 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
154 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
157 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
180 if (other ==
this)
return;
181 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
182 if (GetOwningArena() !=
nullptr &&
183 GetOwningArena() == other->GetOwningArena()) {
185 if (GetOwningArena() == other->GetOwningArena()) {
189 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
193 if (other ==
this)
return;
194 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
201 return CreateMaybeMessage<GobyFieldOptions_ConfigurationOptions_Position>(arena);
203 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
205 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
207 GobyFieldOptions_ConfigurationOptions_Position::MergeImpl(*
this, from);
210 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
212 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
218 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
222 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
224 void SetCachedSize(
int size)
const final;
228 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
229 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
230 return "goby.GobyFieldOptions.ConfigurationOptions.Position";
234 bool is_message_owned =
false);
238 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
253 bool _internal_has_enable()
const;
259 bool _internal_enable()
const;
260 void _internal_set_enable(
bool value);
266 bool _internal_has_max_count()
const;
272 int32_t _internal_max_count()
const;
273 void _internal_set_max_count(int32_t value);
280 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
281 typedef void InternalArenaConstructable_;
282 typedef void DestructorSkippable_;
284 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
285 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
290 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
295 public ::PROTOBUF_NAMESPACE_ID::Message {
304 *
this = ::std::move(from);
312 if (
this == &from)
return *
this;
313 if (GetOwningArena() == from.GetOwningArena()
314 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
315 && GetOwningArena() !=
nullptr
326 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
329 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
332 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
333 return GetDescriptor();
336 return default_instance().GetMetadata().descriptor;
339 return default_instance().GetMetadata().reflection;
342 return *internal_default_instance();
348 static constexpr int kIndexInFileMessages =
355 if (other ==
this)
return;
356 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
357 if (GetOwningArena() !=
nullptr &&
358 GetOwningArena() == other->GetOwningArena()) {
360 if (GetOwningArena() == other->GetOwningArena()) {
364 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
368 if (other ==
this)
return;
369 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
376 return CreateMaybeMessage<GobyFieldOptions_ConfigurationOptions>(arena);
378 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
380 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
382 GobyFieldOptions_ConfigurationOptions::MergeImpl(*
this, from);
385 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
387 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
388 bool IsInitialized() const final;
391 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
392 uint8_t* _InternalSerialize(
393 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
394 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
397 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
399 void SetCachedSize(
int size)
const final;
403 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
404 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
405 return "goby.GobyFieldOptions.ConfigurationOptions";
409 bool is_message_owned =
false);
413 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
415 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
423 GobyFieldOptions_ConfigurationOptions_ConfigAction_ALWAYS;
425 GobyFieldOptions_ConfigurationOptions_ConfigAction_ADVANCED;
427 GobyFieldOptions_ConfigurationOptions_ConfigAction_DEVELOPER;
429 GobyFieldOptions_ConfigurationOptions_ConfigAction_HIDDEN;
431 GobyFieldOptions_ConfigurationOptions_ConfigAction_NEVER;
432 static inline
bool ConfigAction_IsValid(
int value) {
439 static constexpr int ConfigAction_ARRAYSIZE =
441 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
447 static_assert(::std::is_same<T, ConfigAction>::value ||
448 ::std::is_integral<T>::value,
449 "Incorrect type passed to function ConfigAction_Name.");
460 kCliShortFieldNumber = 1,
462 kPositionFieldNumber = 3,
463 kActionFieldNumber = 2,
466 bool has_cli_short()
const;
468 bool _internal_has_cli_short()
const;
470 void clear_cli_short();
471 const std::string& cli_short()
const;
472 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
474 std::string* mutable_cli_short();
475 PROTOBUF_NODISCARD std::string* release_cli_short();
476 void set_allocated_cli_short(std::string* cli_short);
478 const std::string& _internal_cli_short()
const;
479 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_cli_short(
const std::string& value);
480 std::string* _internal_mutable_cli_short();
484 bool has_env()
const;
486 bool _internal_has_env()
const;
489 const std::string& env()
const;
490 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
492 std::string* mutable_env();
493 PROTOBUF_NODISCARD std::string* release_env();
494 void set_allocated_env(std::string* env);
496 const std::string& _internal_env()
const;
497 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_env(
const std::string& value);
498 std::string* _internal_mutable_env();
502 bool has_position()
const;
504 bool _internal_has_position()
const;
506 void clear_position();
507 const ::goby::GobyFieldOptions_ConfigurationOptions_Position& position()
const;
508 PROTOBUF_NODISCARD ::goby::GobyFieldOptions_ConfigurationOptions_Position* release_position();
512 const ::goby::GobyFieldOptions_ConfigurationOptions_Position& _internal_position()
const;
515 void unsafe_arena_set_allocated_position(
520 bool has_action()
const;
522 bool _internal_has_action()
const;
536 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
537 typedef void InternalArenaConstructable_;
538 typedef void DestructorSkippable_;
540 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
541 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
542 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cli_short_;
543 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr env_;
548 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
553 public ::PROTOBUF_NAMESPACE_ID::Message {
557 explicit PROTOBUF_CONSTEXPR
GobyFieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
562 *
this = ::std::move(from);
570 if (
this == &from)
return *
this;
571 if (GetOwningArena() == from.GetOwningArena()
572 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
573 && GetOwningArena() !=
nullptr
584 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
587 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
590 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
591 return GetDescriptor();
594 return default_instance().GetMetadata().descriptor;
597 return default_instance().GetMetadata().reflection;
600 return *internal_default_instance();
606 static constexpr int kIndexInFileMessages =
613 if (other ==
this)
return;
614 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
615 if (GetOwningArena() !=
nullptr &&
616 GetOwningArena() == other->GetOwningArena()) {
618 if (GetOwningArena() == other->GetOwningArena()) {
622 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
626 if (other ==
this)
return;
627 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
634 return CreateMaybeMessage<GobyFieldOptions>(arena);
636 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
638 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
640 GobyFieldOptions::MergeImpl(*
this, from);
643 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
645 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
646 bool IsInitialized() const final;
649 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
650 uint8_t* _InternalSerialize(
651 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
652 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
655 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
657 void SetCachedSize(
int size)
const final;
661 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
662 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
663 return "goby.GobyFieldOptions";
667 bool is_message_owned =
false);
671 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
673 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
682 kDescriptionFieldNumber = 100,
683 kExampleFieldNumber = 101,
684 kMoosGlobalFieldNumber = 102,
685 kCfgFieldNumber = 200,
688 bool has_description()
const;
690 bool _internal_has_description()
const;
692 void clear_description();
693 const std::string& description()
const;
694 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
696 std::string* mutable_description();
697 PROTOBUF_NODISCARD std::string* release_description();
698 void set_allocated_description(std::string* description);
700 const std::string& _internal_description()
const;
701 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_description(
const std::string& value);
702 std::string* _internal_mutable_description();
706 bool has_example()
const;
708 bool _internal_has_example()
const;
710 void clear_example();
711 const std::string& example()
const;
712 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
714 std::string* mutable_example();
715 PROTOBUF_NODISCARD std::string* release_example();
716 void set_allocated_example(std::string* example);
718 const std::string& _internal_example()
const;
719 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_example(
const std::string& value);
720 std::string* _internal_mutable_example();
724 bool has_moos_global()
const;
726 bool _internal_has_moos_global()
const;
728 void clear_moos_global();
729 const std::string& moos_global()
const;
730 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
732 std::string* mutable_moos_global();
733 PROTOBUF_NODISCARD std::string* release_moos_global();
734 void set_allocated_moos_global(std::string* moos_global);
736 const std::string& _internal_moos_global()
const;
737 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_moos_global(
const std::string& value);
738 std::string* _internal_mutable_moos_global();
742 bool has_cfg()
const;
744 bool _internal_has_cfg()
const;
747 const ::goby::GobyFieldOptions_ConfigurationOptions& cfg()
const;
748 PROTOBUF_NODISCARD ::goby::GobyFieldOptions_ConfigurationOptions* release_cfg();
752 const ::goby::GobyFieldOptions_ConfigurationOptions& _internal_cfg()
const;
755 void unsafe_arena_set_allocated_cfg(
763 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
764 typedef void InternalArenaConstructable_;
765 typedef void DestructorSkippable_;
767 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
768 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
769 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
770 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr example_;
771 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr moos_global_;
775 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
780 public ::PROTOBUF_NAMESPACE_ID::Message {
789 *
this = ::std::move(from);
797 if (
this == &from)
return *
this;
798 if (GetOwningArena() == from.GetOwningArena()
799 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
800 && GetOwningArena() !=
nullptr
811 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
814 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
817 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
818 return GetDescriptor();
821 return default_instance().GetMetadata().descriptor;
824 return default_instance().GetMetadata().reflection;
827 return *internal_default_instance();
833 static constexpr int kIndexInFileMessages =
840 if (other ==
this)
return;
841 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
842 if (GetOwningArena() !=
nullptr &&
843 GetOwningArena() == other->GetOwningArena()) {
845 if (GetOwningArena() == other->GetOwningArena()) {
849 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
853 if (other ==
this)
return;
854 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
861 return CreateMaybeMessage<GobyMessageOptions_ConfigurationOptions_Tool>(arena);
863 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
865 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
867 GobyMessageOptions_ConfigurationOptions_Tool::MergeImpl(*
this, from);
870 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
872 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
873 bool IsInitialized() const final;
876 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
877 uint8_t* _InternalSerialize(
878 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
879 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
882 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
884 void SetCachedSize(
int size)
const final;
888 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
889 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
890 return "goby.GobyMessageOptions.ConfigurationOptions.Tool";
894 bool is_message_owned =
false);
898 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
900 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
907 kIsToolFieldNumber = 1,
908 kHasSubtoolsFieldNumber = 2,
909 kHasHelpActionFieldNumber = 3,
912 bool has_is_tool()
const;
914 bool _internal_has_is_tool()
const;
916 void clear_is_tool();
917 bool is_tool()
const;
918 void set_is_tool(
bool value);
920 bool _internal_is_tool()
const;
921 void _internal_set_is_tool(
bool value);
925 bool has_has_subtools()
const;
927 bool _internal_has_has_subtools()
const;
929 void clear_has_subtools();
930 bool has_subtools()
const;
931 void set_has_subtools(
bool value);
933 bool _internal_has_subtools()
const;
934 void _internal_set_has_subtools(
bool value);
938 bool has_has_help_action()
const;
940 bool _internal_has_has_help_action()
const;
942 void clear_has_help_action();
943 bool has_help_action()
const;
944 void set_has_help_action(
bool value);
946 bool _internal_has_help_action()
const;
947 void _internal_set_has_help_action(
bool value);
954 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
955 typedef void InternalArenaConstructable_;
956 typedef void DestructorSkippable_;
958 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
959 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
962 bool has_help_action_;
965 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
970 public ::PROTOBUF_NAMESPACE_ID::Message {
979 *
this = ::std::move(from);
987 if (
this == &from)
return *
this;
988 if (GetOwningArena() == from.GetOwningArena()
989 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
990 && GetOwningArena() !=
nullptr
1001 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1004 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1008 return GetDescriptor();
1011 return default_instance().GetMetadata().descriptor;
1014 return default_instance().GetMetadata().reflection;
1017 return *internal_default_instance();
1023 static constexpr int kIndexInFileMessages =
1030 if (other ==
this)
return;
1031 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1032 if (GetOwningArena() !=
nullptr &&
1033 GetOwningArena() == other->GetOwningArena()) {
1035 if (GetOwningArena() == other->GetOwningArena()) {
1037 InternalSwap(other);
1039 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1043 if (other ==
this)
return;
1044 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1045 InternalSwap(other);
1051 return CreateMaybeMessage<GobyMessageOptions_ConfigurationOptions>(arena);
1053 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1055 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1057 GobyMessageOptions_ConfigurationOptions::MergeImpl(*
this, from);
1060 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1062 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1063 bool IsInitialized() const final;
1066 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1067 uint8_t* _InternalSerialize(
1068 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1069 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1072 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1074 void SetCachedSize(
int size)
const final;
1078 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1079 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1080 return "goby.GobyMessageOptions.ConfigurationOptions";
1084 bool is_message_owned =
false);
1088 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1090 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1099 kToolFieldNumber = 1,
1102 bool has_tool()
const;
1104 bool _internal_has_tool()
const;
1107 const ::goby::GobyMessageOptions_ConfigurationOptions_Tool& tool()
const;
1108 PROTOBUF_NODISCARD ::goby::GobyMessageOptions_ConfigurationOptions_Tool* release_tool();
1112 const ::goby::GobyMessageOptions_ConfigurationOptions_Tool& _internal_tool()
const;
1115 void unsafe_arena_set_allocated_tool(
1123 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1124 typedef void InternalArenaConstructable_;
1125 typedef void DestructorSkippable_;
1127 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1128 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1132 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
1137 public ::PROTOBUF_NAMESPACE_ID::Message {
1146 *
this = ::std::move(from);
1154 if (
this == &from)
return *
this;
1155 if (GetOwningArena() == from.GetOwningArena()
1156 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1157 && GetOwningArena() !=
nullptr
1160 InternalSwap(&from);
1168 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1171 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1175 return GetDescriptor();
1178 return default_instance().GetMetadata().descriptor;
1181 return default_instance().GetMetadata().reflection;
1184 return *internal_default_instance();
1190 static constexpr int kIndexInFileMessages =
1197 if (other ==
this)
return;
1198 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1199 if (GetOwningArena() !=
nullptr &&
1200 GetOwningArena() == other->GetOwningArena()) {
1202 if (GetOwningArena() == other->GetOwningArena()) {
1204 InternalSwap(other);
1206 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1210 if (other ==
this)
return;
1211 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1212 InternalSwap(other);
1218 return CreateMaybeMessage<GobyMessageOptions>(arena);
1220 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1222 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1224 GobyMessageOptions::MergeImpl(*
this, from);
1227 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1229 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1230 bool IsInitialized() const final;
1233 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1234 uint8_t* _InternalSerialize(
1235 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1236 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1239 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1241 void SetCachedSize(
int size)
const final;
1245 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1246 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1247 return "goby.GobyMessageOptions";
1251 bool is_message_owned =
false);
1255 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1257 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1266 kConvertibleFromFieldNumber = 100,
1267 kCfgFieldNumber = 200,
1270 bool has_convertible_from()
const;
1272 bool _internal_has_convertible_from()
const;
1274 void clear_convertible_from();
1275 const std::string& convertible_from()
const;
1276 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1278 std::string* mutable_convertible_from();
1279 PROTOBUF_NODISCARD std::string* release_convertible_from();
1280 void set_allocated_convertible_from(std::string* convertible_from);
1282 const std::string& _internal_convertible_from()
const;
1283 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_convertible_from(
const std::string& value);
1284 std::string* _internal_mutable_convertible_from();
1288 bool has_cfg()
const;
1290 bool _internal_has_cfg()
const;
1293 const ::goby::GobyMessageOptions_ConfigurationOptions& cfg()
const;
1294 PROTOBUF_NODISCARD ::goby::GobyMessageOptions_ConfigurationOptions* release_cfg();
1298 const ::goby::GobyMessageOptions_ConfigurationOptions& _internal_cfg()
const;
1301 void unsafe_arena_set_allocated_cfg(
1309 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1310 typedef void InternalArenaConstructable_;
1311 typedef void DestructorSkippable_;
1313 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1314 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1315 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr convertible_from_;
1319 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
1324 public ::PROTOBUF_NAMESPACE_ID::Message {
1333 *
this = ::std::move(from);
1341 if (
this == &from)
return *
this;
1342 if (GetOwningArena() == from.GetOwningArena()
1343 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1344 && GetOwningArena() !=
nullptr
1347 InternalSwap(&from);
1355 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1358 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1362 return GetDescriptor();
1365 return default_instance().GetMetadata().descriptor;
1368 return default_instance().GetMetadata().reflection;
1371 return *internal_default_instance();
1377 static constexpr int kIndexInFileMessages =
1384 if (other ==
this)
return;
1385 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1386 if (GetOwningArena() !=
nullptr &&
1387 GetOwningArena() == other->GetOwningArena()) {
1389 if (GetOwningArena() == other->GetOwningArena()) {
1391 InternalSwap(other);
1393 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1397 if (other ==
this)
return;
1398 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1399 InternalSwap(other);
1405 return CreateMaybeMessage<GobyEnumValueOptions_ConfigurationOptions>(arena);
1407 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1409 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1411 GobyEnumValueOptions_ConfigurationOptions::MergeImpl(*
this, from);
1414 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1416 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1417 bool IsInitialized() const final;
1420 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1421 uint8_t* _InternalSerialize(
1422 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1423 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1426 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1428 void SetCachedSize(
int size)
const final;
1432 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1433 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1434 return "goby.GobyEnumValueOptions.ConfigurationOptions";
1438 bool is_message_owned =
false);
1442 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1444 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1451 kExternalCommandFieldNumber = 1,
1452 kExternalHelpParamFieldNumber = 2,
1453 kShortHelpMsgFieldNumber = 3,
1454 kFullHelpMsgFieldNumber = 4,
1455 kIncludeBinaryFlagFieldNumber = 5,
1458 bool has_external_command()
const;
1460 bool _internal_has_external_command()
const;
1462 void clear_external_command();
1463 const std::string& external_command()
const;
1464 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1466 std::string* mutable_external_command();
1467 PROTOBUF_NODISCARD std::string* release_external_command();
1468 void set_allocated_external_command(std::string* external_command);
1470 const std::string& _internal_external_command()
const;
1471 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_external_command(
const std::string& value);
1472 std::string* _internal_mutable_external_command();
1476 bool has_external_help_param()
const;
1478 bool _internal_has_external_help_param()
const;
1480 void clear_external_help_param();
1481 const std::string& external_help_param()
const;
1482 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1484 std::string* mutable_external_help_param();
1485 PROTOBUF_NODISCARD std::string* release_external_help_param();
1486 void set_allocated_external_help_param(std::string* external_help_param);
1488 const std::string& _internal_external_help_param()
const;
1489 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_external_help_param(
const std::string& value);
1490 std::string* _internal_mutable_external_help_param();
1494 bool has_short_help_msg()
const;
1496 bool _internal_has_short_help_msg()
const;
1498 void clear_short_help_msg();
1499 const std::string& short_help_msg()
const;
1500 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1502 std::string* mutable_short_help_msg();
1503 PROTOBUF_NODISCARD std::string* release_short_help_msg();
1504 void set_allocated_short_help_msg(std::string* short_help_msg);
1506 const std::string& _internal_short_help_msg()
const;
1507 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_short_help_msg(
const std::string& value);
1508 std::string* _internal_mutable_short_help_msg();
1512 bool has_full_help_msg()
const;
1514 bool _internal_has_full_help_msg()
const;
1516 void clear_full_help_msg();
1517 const std::string& full_help_msg()
const;
1518 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1520 std::string* mutable_full_help_msg();
1521 PROTOBUF_NODISCARD std::string* release_full_help_msg();
1522 void set_allocated_full_help_msg(std::string* full_help_msg);
1524 const std::string& _internal_full_help_msg()
const;
1525 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_full_help_msg(
const std::string& value);
1526 std::string* _internal_mutable_full_help_msg();
1530 bool has_include_binary_flag()
const;
1532 bool _internal_has_include_binary_flag()
const;
1534 void clear_include_binary_flag();
1535 bool include_binary_flag()
const;
1536 void set_include_binary_flag(
bool value);
1538 bool _internal_include_binary_flag()
const;
1539 void _internal_set_include_binary_flag(
bool value);
1546 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1547 typedef void InternalArenaConstructable_;
1548 typedef void DestructorSkippable_;
1550 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1551 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1552 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr external_command_;
1553 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_external_help_param_;
1554 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr external_help_param_;
1555 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr short_help_msg_;
1556 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_help_msg_;
1557 bool include_binary_flag_;
1560 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
1565 public ::PROTOBUF_NAMESPACE_ID::Message {
1574 *
this = ::std::move(from);
1582 if (
this == &from)
return *
this;
1583 if (GetOwningArena() == from.GetOwningArena()
1584 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1585 && GetOwningArena() !=
nullptr
1588 InternalSwap(&from);
1596 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1599 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1603 return GetDescriptor();
1606 return default_instance().GetMetadata().descriptor;
1609 return default_instance().GetMetadata().reflection;
1612 return *internal_default_instance();
1618 static constexpr int kIndexInFileMessages =
1625 if (other ==
this)
return;
1626 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1627 if (GetOwningArena() !=
nullptr &&
1628 GetOwningArena() == other->GetOwningArena()) {
1630 if (GetOwningArena() == other->GetOwningArena()) {
1632 InternalSwap(other);
1634 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1638 if (other ==
this)
return;
1639 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1640 InternalSwap(other);
1646 return CreateMaybeMessage<GobyEnumValueOptions>(arena);
1648 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1650 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1652 GobyEnumValueOptions::MergeImpl(*
this, from);
1655 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1657 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1658 bool IsInitialized() const final;
1661 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1662 uint8_t* _InternalSerialize(
1663 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1664 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1667 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1669 void SetCachedSize(
int size)
const final;
1673 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1674 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1675 return "goby.GobyEnumValueOptions";
1679 bool is_message_owned =
false);
1683 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1685 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1694 kCfgFieldNumber = 200,
1697 bool has_cfg()
const;
1699 bool _internal_has_cfg()
const;
1702 const ::goby::GobyEnumValueOptions_ConfigurationOptions& cfg()
const;
1703 PROTOBUF_NODISCARD ::goby::GobyEnumValueOptions_ConfigurationOptions* release_cfg();
1707 const ::goby::GobyEnumValueOptions_ConfigurationOptions& _internal_cfg()
const;
1710 void unsafe_arena_set_allocated_cfg(
1718 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1719 typedef void InternalArenaConstructable_;
1720 typedef void DestructorSkippable_;
1722 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1723 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1727 friend struct ::TableStruct_goby_2fprotobuf_2foption_5fextensions_2eproto;
1732extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions,
1733 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyFieldOptions >, 11,
false >
1736extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions,
1737 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyMessageOptions >, 11,
false >
1740extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions,
1741 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyEnumValueOptions >, 11,
false >
1747 #pragma GCC diagnostic push
1748 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1753inline bool GobyFieldOptions_ConfigurationOptions_Position::_internal_has_enable()
const {
1754 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1757inline bool GobyFieldOptions_ConfigurationOptions_Position::has_enable()
const {
1758 return _internal_has_enable();
1760inline void GobyFieldOptions_ConfigurationOptions_Position::clear_enable() {
1761 _impl_.enable_ =
false;
1762 _impl_._has_bits_[0] &= ~0x00000001u;
1764inline bool GobyFieldOptions_ConfigurationOptions_Position::_internal_enable()
const {
1765 return _impl_.enable_;
1767inline bool GobyFieldOptions_ConfigurationOptions_Position::enable()
const {
1769 return _internal_enable();
1771inline void GobyFieldOptions_ConfigurationOptions_Position::_internal_set_enable(
bool value) {
1772 _impl_._has_bits_[0] |= 0x00000001u;
1773 _impl_.enable_ = value;
1775inline void GobyFieldOptions_ConfigurationOptions_Position::set_enable(
bool value) {
1776 _internal_set_enable(value);
1781inline bool GobyFieldOptions_ConfigurationOptions_Position::_internal_has_max_count()
const {
1782 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1785inline bool GobyFieldOptions_ConfigurationOptions_Position::has_max_count()
const {
1786 return _internal_has_max_count();
1788inline void GobyFieldOptions_ConfigurationOptions_Position::clear_max_count() {
1789 _impl_.max_count_ = 1;
1790 _impl_._has_bits_[0] &= ~0x00000002u;
1792inline int32_t GobyFieldOptions_ConfigurationOptions_Position::_internal_max_count()
const {
1793 return _impl_.max_count_;
1795inline int32_t GobyFieldOptions_ConfigurationOptions_Position::max_count()
const {
1797 return _internal_max_count();
1799inline void GobyFieldOptions_ConfigurationOptions_Position::_internal_set_max_count(int32_t value) {
1800 _impl_._has_bits_[0] |= 0x00000002u;
1801 _impl_.max_count_ = value;
1803inline void GobyFieldOptions_ConfigurationOptions_Position::set_max_count(int32_t value) {
1804 _internal_set_max_count(value);
1813inline bool GobyFieldOptions_ConfigurationOptions::_internal_has_cli_short()
const {
1814 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1817inline bool GobyFieldOptions_ConfigurationOptions::has_cli_short()
const {
1818 return _internal_has_cli_short();
1820inline void GobyFieldOptions_ConfigurationOptions::clear_cli_short() {
1821 _impl_.cli_short_.ClearToEmpty();
1822 _impl_._has_bits_[0] &= ~0x00000001u;
1824inline const std::string& GobyFieldOptions_ConfigurationOptions::cli_short()
const {
1826 return _internal_cli_short();
1828template <
typename ArgT0,
typename... ArgT>
1829inline PROTOBUF_ALWAYS_INLINE
1830void GobyFieldOptions_ConfigurationOptions::set_cli_short(ArgT0&& arg0, ArgT... args) {
1831 _impl_._has_bits_[0] |= 0x00000001u;
1832 _impl_.cli_short_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1835inline std::string* GobyFieldOptions_ConfigurationOptions::mutable_cli_short() {
1836 std::string* _s = _internal_mutable_cli_short();
1840inline const std::string& GobyFieldOptions_ConfigurationOptions::_internal_cli_short()
const {
1841 return _impl_.cli_short_.Get();
1843inline void GobyFieldOptions_ConfigurationOptions::_internal_set_cli_short(
const std::string& value) {
1844 _impl_._has_bits_[0] |= 0x00000001u;
1845 _impl_.cli_short_.Set(value, GetArenaForAllocation());
1847inline std::string* GobyFieldOptions_ConfigurationOptions::_internal_mutable_cli_short() {
1848 _impl_._has_bits_[0] |= 0x00000001u;
1849 return _impl_.cli_short_.Mutable(GetArenaForAllocation());
1851inline std::string* GobyFieldOptions_ConfigurationOptions::release_cli_short() {
1853 if (!_internal_has_cli_short()) {
1856 _impl_._has_bits_[0] &= ~0x00000001u;
1857 auto* p = _impl_.cli_short_.Release();
1858#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1859 if (_impl_.cli_short_.IsDefault()) {
1860 _impl_.cli_short_.Set(
"", GetArenaForAllocation());
1865inline void GobyFieldOptions_ConfigurationOptions::set_allocated_cli_short(std::string* cli_short) {
1866 if (cli_short !=
nullptr) {
1867 _impl_._has_bits_[0] |= 0x00000001u;
1869 _impl_._has_bits_[0] &= ~0x00000001u;
1871 _impl_.cli_short_.SetAllocated(cli_short, GetArenaForAllocation());
1872#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1873 if (_impl_.cli_short_.IsDefault()) {
1874 _impl_.cli_short_.Set(
"", GetArenaForAllocation());
1881inline bool GobyFieldOptions_ConfigurationOptions::_internal_has_action()
const {
1882 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1885inline bool GobyFieldOptions_ConfigurationOptions::has_action()
const {
1886 return _internal_has_action();
1888inline void GobyFieldOptions_ConfigurationOptions::clear_action() {
1890 _impl_._has_bits_[0] &= ~0x00000008u;
1892inline ::goby::GobyFieldOptions_ConfigurationOptions_ConfigAction GobyFieldOptions_ConfigurationOptions::_internal_action()
const {
1895inline ::goby::GobyFieldOptions_ConfigurationOptions_ConfigAction GobyFieldOptions_ConfigurationOptions::action()
const {
1897 return _internal_action();
1901 _impl_._has_bits_[0] |= 0x00000008u;
1902 _impl_.action_ = value;
1905 _internal_set_action(value);
1910inline bool GobyFieldOptions_ConfigurationOptions::_internal_has_position()
const {
1911 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1912 PROTOBUF_ASSUME(!value || _impl_.position_ !=
nullptr);
1915inline bool GobyFieldOptions_ConfigurationOptions::has_position()
const {
1916 return _internal_has_position();
1918inline void GobyFieldOptions_ConfigurationOptions::clear_position() {
1919 if (_impl_.position_ !=
nullptr) _impl_.position_->Clear();
1920 _impl_._has_bits_[0] &= ~0x00000004u;
1922inline const ::goby::GobyFieldOptions_ConfigurationOptions_Position& GobyFieldOptions_ConfigurationOptions::_internal_position()
const {
1923 const ::goby::GobyFieldOptions_ConfigurationOptions_Position* p = _impl_.position_;
1927inline const ::goby::GobyFieldOptions_ConfigurationOptions_Position& GobyFieldOptions_ConfigurationOptions::position()
const {
1929 return _internal_position();
1931inline void GobyFieldOptions_ConfigurationOptions::unsafe_arena_set_allocated_position(
1933 if (GetArenaForAllocation() ==
nullptr) {
1934 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.position_);
1936 _impl_.position_ = position;
1938 _impl_._has_bits_[0] |= 0x00000004u;
1940 _impl_._has_bits_[0] &= ~0x00000004u;
1944inline ::goby::GobyFieldOptions_ConfigurationOptions_Position* GobyFieldOptions_ConfigurationOptions::release_position() {
1945 _impl_._has_bits_[0] &= ~0x00000004u;
1947 _impl_.position_ =
nullptr;
1948#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1949 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1950 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1951 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1953 if (GetArenaForAllocation() !=
nullptr) {
1954 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1959inline ::goby::GobyFieldOptions_ConfigurationOptions_Position* GobyFieldOptions_ConfigurationOptions::unsafe_arena_release_position() {
1961 _impl_._has_bits_[0] &= ~0x00000004u;
1963 _impl_.position_ =
nullptr;
1966inline ::goby::GobyFieldOptions_ConfigurationOptions_Position* GobyFieldOptions_ConfigurationOptions::_internal_mutable_position() {
1967 _impl_._has_bits_[0] |= 0x00000004u;
1968 if (_impl_.position_ ==
nullptr) {
1970 _impl_.position_ = p;
1972 return _impl_.position_;
1974inline ::goby::GobyFieldOptions_ConfigurationOptions_Position* GobyFieldOptions_ConfigurationOptions::mutable_position() {
1980 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1981 if (message_arena ==
nullptr) {
1982 delete _impl_.position_;
1985 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1986 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position);
1987 if (message_arena != submessage_arena) {
1988 position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1989 message_arena, position, submessage_arena);
1991 _impl_._has_bits_[0] |= 0x00000004u;
1993 _impl_._has_bits_[0] &= ~0x00000004u;
1995 _impl_.position_ = position;
2000inline bool GobyFieldOptions_ConfigurationOptions::_internal_has_env()
const {
2001 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2004inline bool GobyFieldOptions_ConfigurationOptions::has_env()
const {
2005 return _internal_has_env();
2007inline void GobyFieldOptions_ConfigurationOptions::clear_env() {
2008 _impl_.env_.ClearToEmpty();
2009 _impl_._has_bits_[0] &= ~0x00000002u;
2011inline const std::string& GobyFieldOptions_ConfigurationOptions::env()
const {
2013 return _internal_env();
2015template <
typename ArgT0,
typename... ArgT>
2016inline PROTOBUF_ALWAYS_INLINE
2017void GobyFieldOptions_ConfigurationOptions::set_env(ArgT0&& arg0, ArgT... args) {
2018 _impl_._has_bits_[0] |= 0x00000002u;
2019 _impl_.env_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2022inline std::string* GobyFieldOptions_ConfigurationOptions::mutable_env() {
2023 std::string* _s = _internal_mutable_env();
2027inline const std::string& GobyFieldOptions_ConfigurationOptions::_internal_env()
const {
2028 return _impl_.env_.Get();
2030inline void GobyFieldOptions_ConfigurationOptions::_internal_set_env(
const std::string& value) {
2031 _impl_._has_bits_[0] |= 0x00000002u;
2032 _impl_.env_.Set(value, GetArenaForAllocation());
2034inline std::string* GobyFieldOptions_ConfigurationOptions::_internal_mutable_env() {
2035 _impl_._has_bits_[0] |= 0x00000002u;
2036 return _impl_.env_.Mutable(GetArenaForAllocation());
2038inline std::string* GobyFieldOptions_ConfigurationOptions::release_env() {
2040 if (!_internal_has_env()) {
2043 _impl_._has_bits_[0] &= ~0x00000002u;
2044 auto* p = _impl_.env_.Release();
2045#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2046 if (_impl_.env_.IsDefault()) {
2047 _impl_.env_.Set(
"", GetArenaForAllocation());
2052inline void GobyFieldOptions_ConfigurationOptions::set_allocated_env(std::string* env) {
2053 if (env !=
nullptr) {
2054 _impl_._has_bits_[0] |= 0x00000002u;
2056 _impl_._has_bits_[0] &= ~0x00000002u;
2058 _impl_.env_.SetAllocated(env, GetArenaForAllocation());
2059#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2060 if (_impl_.env_.IsDefault()) {
2061 _impl_.env_.Set(
"", GetArenaForAllocation());
2072inline bool GobyFieldOptions::_internal_has_description()
const {
2073 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2076inline bool GobyFieldOptions::has_description()
const {
2077 return _internal_has_description();
2079inline void GobyFieldOptions::clear_description() {
2080 _impl_.description_.ClearToEmpty();
2081 _impl_._has_bits_[0] &= ~0x00000001u;
2083inline const std::string& GobyFieldOptions::description()
const {
2085 return _internal_description();
2087template <
typename ArgT0,
typename... ArgT>
2088inline PROTOBUF_ALWAYS_INLINE
2089void GobyFieldOptions::set_description(ArgT0&& arg0, ArgT... args) {
2090 _impl_._has_bits_[0] |= 0x00000001u;
2091 _impl_.description_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2094inline std::string* GobyFieldOptions::mutable_description() {
2095 std::string* _s = _internal_mutable_description();
2099inline const std::string& GobyFieldOptions::_internal_description()
const {
2100 return _impl_.description_.Get();
2102inline void GobyFieldOptions::_internal_set_description(
const std::string& value) {
2103 _impl_._has_bits_[0] |= 0x00000001u;
2104 _impl_.description_.Set(value, GetArenaForAllocation());
2106inline std::string* GobyFieldOptions::_internal_mutable_description() {
2107 _impl_._has_bits_[0] |= 0x00000001u;
2108 return _impl_.description_.Mutable(GetArenaForAllocation());
2110inline std::string* GobyFieldOptions::release_description() {
2112 if (!_internal_has_description()) {
2115 _impl_._has_bits_[0] &= ~0x00000001u;
2116 auto* p = _impl_.description_.Release();
2117#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2118 if (_impl_.description_.IsDefault()) {
2119 _impl_.description_.Set(
"", GetArenaForAllocation());
2124inline void GobyFieldOptions::set_allocated_description(std::string* description) {
2125 if (description !=
nullptr) {
2126 _impl_._has_bits_[0] |= 0x00000001u;
2128 _impl_._has_bits_[0] &= ~0x00000001u;
2130 _impl_.description_.SetAllocated(description, GetArenaForAllocation());
2131#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2132 if (_impl_.description_.IsDefault()) {
2133 _impl_.description_.Set(
"", GetArenaForAllocation());
2140inline bool GobyFieldOptions::_internal_has_example()
const {
2141 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2144inline bool GobyFieldOptions::has_example()
const {
2145 return _internal_has_example();
2147inline void GobyFieldOptions::clear_example() {
2148 _impl_.example_.ClearToEmpty();
2149 _impl_._has_bits_[0] &= ~0x00000002u;
2151inline const std::string& GobyFieldOptions::example()
const {
2153 return _internal_example();
2155template <
typename ArgT0,
typename... ArgT>
2156inline PROTOBUF_ALWAYS_INLINE
2157void GobyFieldOptions::set_example(ArgT0&& arg0, ArgT... args) {
2158 _impl_._has_bits_[0] |= 0x00000002u;
2159 _impl_.example_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2162inline std::string* GobyFieldOptions::mutable_example() {
2163 std::string* _s = _internal_mutable_example();
2167inline const std::string& GobyFieldOptions::_internal_example()
const {
2168 return _impl_.example_.Get();
2170inline void GobyFieldOptions::_internal_set_example(
const std::string& value) {
2171 _impl_._has_bits_[0] |= 0x00000002u;
2172 _impl_.example_.Set(value, GetArenaForAllocation());
2174inline std::string* GobyFieldOptions::_internal_mutable_example() {
2175 _impl_._has_bits_[0] |= 0x00000002u;
2176 return _impl_.example_.Mutable(GetArenaForAllocation());
2178inline std::string* GobyFieldOptions::release_example() {
2180 if (!_internal_has_example()) {
2183 _impl_._has_bits_[0] &= ~0x00000002u;
2184 auto* p = _impl_.example_.Release();
2185#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2186 if (_impl_.example_.IsDefault()) {
2187 _impl_.example_.Set(
"", GetArenaForAllocation());
2192inline void GobyFieldOptions::set_allocated_example(std::string* example) {
2193 if (example !=
nullptr) {
2194 _impl_._has_bits_[0] |= 0x00000002u;
2196 _impl_._has_bits_[0] &= ~0x00000002u;
2198 _impl_.example_.SetAllocated(example, GetArenaForAllocation());
2199#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2200 if (_impl_.example_.IsDefault()) {
2201 _impl_.example_.Set(
"", GetArenaForAllocation());
2208inline bool GobyFieldOptions::_internal_has_moos_global()
const {
2209 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2212inline bool GobyFieldOptions::has_moos_global()
const {
2213 return _internal_has_moos_global();
2215inline void GobyFieldOptions::clear_moos_global() {
2216 _impl_.moos_global_.ClearToEmpty();
2217 _impl_._has_bits_[0] &= ~0x00000004u;
2219inline const std::string& GobyFieldOptions::moos_global()
const {
2221 return _internal_moos_global();
2223template <
typename ArgT0,
typename... ArgT>
2224inline PROTOBUF_ALWAYS_INLINE
2225void GobyFieldOptions::set_moos_global(ArgT0&& arg0, ArgT... args) {
2226 _impl_._has_bits_[0] |= 0x00000004u;
2227 _impl_.moos_global_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2230inline std::string* GobyFieldOptions::mutable_moos_global() {
2231 std::string* _s = _internal_mutable_moos_global();
2235inline const std::string& GobyFieldOptions::_internal_moos_global()
const {
2236 return _impl_.moos_global_.Get();
2238inline void GobyFieldOptions::_internal_set_moos_global(
const std::string& value) {
2239 _impl_._has_bits_[0] |= 0x00000004u;
2240 _impl_.moos_global_.Set(value, GetArenaForAllocation());
2242inline std::string* GobyFieldOptions::_internal_mutable_moos_global() {
2243 _impl_._has_bits_[0] |= 0x00000004u;
2244 return _impl_.moos_global_.Mutable(GetArenaForAllocation());
2246inline std::string* GobyFieldOptions::release_moos_global() {
2248 if (!_internal_has_moos_global()) {
2251 _impl_._has_bits_[0] &= ~0x00000004u;
2252 auto* p = _impl_.moos_global_.Release();
2253#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2254 if (_impl_.moos_global_.IsDefault()) {
2255 _impl_.moos_global_.Set(
"", GetArenaForAllocation());
2260inline void GobyFieldOptions::set_allocated_moos_global(std::string* moos_global) {
2261 if (moos_global !=
nullptr) {
2262 _impl_._has_bits_[0] |= 0x00000004u;
2264 _impl_._has_bits_[0] &= ~0x00000004u;
2266 _impl_.moos_global_.SetAllocated(moos_global, GetArenaForAllocation());
2267#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2268 if (_impl_.moos_global_.IsDefault()) {
2269 _impl_.moos_global_.Set(
"", GetArenaForAllocation());
2276inline bool GobyFieldOptions::_internal_has_cfg()
const {
2277 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2278 PROTOBUF_ASSUME(!value || _impl_.cfg_ !=
nullptr);
2281inline bool GobyFieldOptions::has_cfg()
const {
2282 return _internal_has_cfg();
2284inline void GobyFieldOptions::clear_cfg() {
2285 if (_impl_.cfg_ !=
nullptr) _impl_.cfg_->Clear();
2286 _impl_._has_bits_[0] &= ~0x00000008u;
2288inline const ::goby::GobyFieldOptions_ConfigurationOptions& GobyFieldOptions::_internal_cfg()
const {
2289 const ::goby::GobyFieldOptions_ConfigurationOptions* p = _impl_.cfg_;
2293inline const ::goby::GobyFieldOptions_ConfigurationOptions& GobyFieldOptions::cfg()
const {
2295 return _internal_cfg();
2297inline void GobyFieldOptions::unsafe_arena_set_allocated_cfg(
2299 if (GetArenaForAllocation() ==
nullptr) {
2300 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.cfg_);
2304 _impl_._has_bits_[0] |= 0x00000008u;
2306 _impl_._has_bits_[0] &= ~0x00000008u;
2310inline ::goby::GobyFieldOptions_ConfigurationOptions* GobyFieldOptions::release_cfg() {
2311 _impl_._has_bits_[0] &= ~0x00000008u;
2313 _impl_.cfg_ =
nullptr;
2314#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2315 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2316 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2317 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2319 if (GetArenaForAllocation() !=
nullptr) {
2320 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2325inline ::goby::GobyFieldOptions_ConfigurationOptions* GobyFieldOptions::unsafe_arena_release_cfg() {
2327 _impl_._has_bits_[0] &= ~0x00000008u;
2329 _impl_.cfg_ =
nullptr;
2332inline ::goby::GobyFieldOptions_ConfigurationOptions* GobyFieldOptions::_internal_mutable_cfg() {
2333 _impl_._has_bits_[0] |= 0x00000008u;
2334 if (_impl_.cfg_ ==
nullptr) {
2340inline ::goby::GobyFieldOptions_ConfigurationOptions* GobyFieldOptions::mutable_cfg() {
2346 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2347 if (message_arena ==
nullptr) {
2351 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2352 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cfg);
2353 if (message_arena != submessage_arena) {
2354 cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2355 message_arena, cfg, submessage_arena);
2357 _impl_._has_bits_[0] |= 0x00000008u;
2359 _impl_._has_bits_[0] &= ~0x00000008u;
2370inline bool GobyMessageOptions_ConfigurationOptions_Tool::_internal_has_is_tool()
const {
2371 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2374inline bool GobyMessageOptions_ConfigurationOptions_Tool::has_is_tool()
const {
2375 return _internal_has_is_tool();
2377inline void GobyMessageOptions_ConfigurationOptions_Tool::clear_is_tool() {
2378 _impl_.is_tool_ =
false;
2379 _impl_._has_bits_[0] &= ~0x00000001u;
2381inline bool GobyMessageOptions_ConfigurationOptions_Tool::_internal_is_tool()
const {
2382 return _impl_.is_tool_;
2384inline bool GobyMessageOptions_ConfigurationOptions_Tool::is_tool()
const {
2386 return _internal_is_tool();
2388inline void GobyMessageOptions_ConfigurationOptions_Tool::_internal_set_is_tool(
bool value) {
2389 _impl_._has_bits_[0] |= 0x00000001u;
2390 _impl_.is_tool_ = value;
2392inline void GobyMessageOptions_ConfigurationOptions_Tool::set_is_tool(
bool value) {
2393 _internal_set_is_tool(value);
2398inline bool GobyMessageOptions_ConfigurationOptions_Tool::_internal_has_has_subtools()
const {
2399 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2402inline bool GobyMessageOptions_ConfigurationOptions_Tool::has_has_subtools()
const {
2403 return _internal_has_has_subtools();
2405inline void GobyMessageOptions_ConfigurationOptions_Tool::clear_has_subtools() {
2406 _impl_.has_subtools_ =
false;
2407 _impl_._has_bits_[0] &= ~0x00000002u;
2409inline bool GobyMessageOptions_ConfigurationOptions_Tool::_internal_has_subtools()
const {
2410 return _impl_.has_subtools_;
2412inline bool GobyMessageOptions_ConfigurationOptions_Tool::has_subtools()
const {
2414 return _internal_has_subtools();
2416inline void GobyMessageOptions_ConfigurationOptions_Tool::_internal_set_has_subtools(
bool value) {
2417 _impl_._has_bits_[0] |= 0x00000002u;
2418 _impl_.has_subtools_ = value;
2420inline void GobyMessageOptions_ConfigurationOptions_Tool::set_has_subtools(
bool value) {
2421 _internal_set_has_subtools(value);
2426inline bool GobyMessageOptions_ConfigurationOptions_Tool::_internal_has_has_help_action()
const {
2427 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2430inline bool GobyMessageOptions_ConfigurationOptions_Tool::has_has_help_action()
const {
2431 return _internal_has_has_help_action();
2433inline void GobyMessageOptions_ConfigurationOptions_Tool::clear_has_help_action() {
2434 _impl_.has_help_action_ =
false;
2435 _impl_._has_bits_[0] &= ~0x00000004u;
2437inline bool GobyMessageOptions_ConfigurationOptions_Tool::_internal_has_help_action()
const {
2438 return _impl_.has_help_action_;
2440inline bool GobyMessageOptions_ConfigurationOptions_Tool::has_help_action()
const {
2442 return _internal_has_help_action();
2444inline void GobyMessageOptions_ConfigurationOptions_Tool::_internal_set_has_help_action(
bool value) {
2445 _impl_._has_bits_[0] |= 0x00000004u;
2446 _impl_.has_help_action_ = value;
2448inline void GobyMessageOptions_ConfigurationOptions_Tool::set_has_help_action(
bool value) {
2449 _internal_set_has_help_action(value);
2458inline bool GobyMessageOptions_ConfigurationOptions::_internal_has_tool()
const {
2459 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2460 PROTOBUF_ASSUME(!value || _impl_.tool_ !=
nullptr);
2463inline bool GobyMessageOptions_ConfigurationOptions::has_tool()
const {
2464 return _internal_has_tool();
2466inline void GobyMessageOptions_ConfigurationOptions::clear_tool() {
2467 if (_impl_.tool_ !=
nullptr) _impl_.tool_->Clear();
2468 _impl_._has_bits_[0] &= ~0x00000001u;
2470inline const ::goby::GobyMessageOptions_ConfigurationOptions_Tool& GobyMessageOptions_ConfigurationOptions::_internal_tool()
const {
2471 const ::goby::GobyMessageOptions_ConfigurationOptions_Tool* p = _impl_.tool_;
2475inline const ::goby::GobyMessageOptions_ConfigurationOptions_Tool& GobyMessageOptions_ConfigurationOptions::tool()
const {
2477 return _internal_tool();
2479inline void GobyMessageOptions_ConfigurationOptions::unsafe_arena_set_allocated_tool(
2481 if (GetArenaForAllocation() ==
nullptr) {
2482 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.tool_);
2484 _impl_.tool_ = tool;
2486 _impl_._has_bits_[0] |= 0x00000001u;
2488 _impl_._has_bits_[0] &= ~0x00000001u;
2492inline ::goby::GobyMessageOptions_ConfigurationOptions_Tool* GobyMessageOptions_ConfigurationOptions::release_tool() {
2493 _impl_._has_bits_[0] &= ~0x00000001u;
2495 _impl_.tool_ =
nullptr;
2496#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2497 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2498 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2499 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2501 if (GetArenaForAllocation() !=
nullptr) {
2502 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2507inline ::goby::GobyMessageOptions_ConfigurationOptions_Tool* GobyMessageOptions_ConfigurationOptions::unsafe_arena_release_tool() {
2509 _impl_._has_bits_[0] &= ~0x00000001u;
2511 _impl_.tool_ =
nullptr;
2514inline ::goby::GobyMessageOptions_ConfigurationOptions_Tool* GobyMessageOptions_ConfigurationOptions::_internal_mutable_tool() {
2515 _impl_._has_bits_[0] |= 0x00000001u;
2516 if (_impl_.tool_ ==
nullptr) {
2520 return _impl_.tool_;
2522inline ::goby::GobyMessageOptions_ConfigurationOptions_Tool* GobyMessageOptions_ConfigurationOptions::mutable_tool() {
2528 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2529 if (message_arena ==
nullptr) {
2530 delete _impl_.tool_;
2533 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2534 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tool);
2535 if (message_arena != submessage_arena) {
2536 tool = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2537 message_arena, tool, submessage_arena);
2539 _impl_._has_bits_[0] |= 0x00000001u;
2541 _impl_._has_bits_[0] &= ~0x00000001u;
2543 _impl_.tool_ = tool;
2552inline bool GobyMessageOptions::_internal_has_convertible_from()
const {
2553 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2556inline bool GobyMessageOptions::has_convertible_from()
const {
2557 return _internal_has_convertible_from();
2559inline void GobyMessageOptions::clear_convertible_from() {
2560 _impl_.convertible_from_.ClearToEmpty();
2561 _impl_._has_bits_[0] &= ~0x00000001u;
2563inline const std::string& GobyMessageOptions::convertible_from()
const {
2565 return _internal_convertible_from();
2567template <
typename ArgT0,
typename... ArgT>
2568inline PROTOBUF_ALWAYS_INLINE
2569void GobyMessageOptions::set_convertible_from(ArgT0&& arg0, ArgT... args) {
2570 _impl_._has_bits_[0] |= 0x00000001u;
2571 _impl_.convertible_from_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2574inline std::string* GobyMessageOptions::mutable_convertible_from() {
2575 std::string* _s = _internal_mutable_convertible_from();
2579inline const std::string& GobyMessageOptions::_internal_convertible_from()
const {
2580 return _impl_.convertible_from_.Get();
2582inline void GobyMessageOptions::_internal_set_convertible_from(
const std::string& value) {
2583 _impl_._has_bits_[0] |= 0x00000001u;
2584 _impl_.convertible_from_.Set(value, GetArenaForAllocation());
2586inline std::string* GobyMessageOptions::_internal_mutable_convertible_from() {
2587 _impl_._has_bits_[0] |= 0x00000001u;
2588 return _impl_.convertible_from_.Mutable(GetArenaForAllocation());
2590inline std::string* GobyMessageOptions::release_convertible_from() {
2592 if (!_internal_has_convertible_from()) {
2595 _impl_._has_bits_[0] &= ~0x00000001u;
2596 auto* p = _impl_.convertible_from_.Release();
2597#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2598 if (_impl_.convertible_from_.IsDefault()) {
2599 _impl_.convertible_from_.Set(
"", GetArenaForAllocation());
2604inline void GobyMessageOptions::set_allocated_convertible_from(std::string* convertible_from) {
2605 if (convertible_from !=
nullptr) {
2606 _impl_._has_bits_[0] |= 0x00000001u;
2608 _impl_._has_bits_[0] &= ~0x00000001u;
2610 _impl_.convertible_from_.SetAllocated(convertible_from, GetArenaForAllocation());
2611#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2612 if (_impl_.convertible_from_.IsDefault()) {
2613 _impl_.convertible_from_.Set(
"", GetArenaForAllocation());
2620inline bool GobyMessageOptions::_internal_has_cfg()
const {
2621 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2622 PROTOBUF_ASSUME(!value || _impl_.cfg_ !=
nullptr);
2625inline bool GobyMessageOptions::has_cfg()
const {
2626 return _internal_has_cfg();
2628inline void GobyMessageOptions::clear_cfg() {
2629 if (_impl_.cfg_ !=
nullptr) _impl_.cfg_->Clear();
2630 _impl_._has_bits_[0] &= ~0x00000002u;
2632inline const ::goby::GobyMessageOptions_ConfigurationOptions& GobyMessageOptions::_internal_cfg()
const {
2633 const ::goby::GobyMessageOptions_ConfigurationOptions* p = _impl_.cfg_;
2637inline const ::goby::GobyMessageOptions_ConfigurationOptions& GobyMessageOptions::cfg()
const {
2639 return _internal_cfg();
2641inline void GobyMessageOptions::unsafe_arena_set_allocated_cfg(
2643 if (GetArenaForAllocation() ==
nullptr) {
2644 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.cfg_);
2648 _impl_._has_bits_[0] |= 0x00000002u;
2650 _impl_._has_bits_[0] &= ~0x00000002u;
2654inline ::goby::GobyMessageOptions_ConfigurationOptions* GobyMessageOptions::release_cfg() {
2655 _impl_._has_bits_[0] &= ~0x00000002u;
2657 _impl_.cfg_ =
nullptr;
2658#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2659 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2660 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2661 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2663 if (GetArenaForAllocation() !=
nullptr) {
2664 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2669inline ::goby::GobyMessageOptions_ConfigurationOptions* GobyMessageOptions::unsafe_arena_release_cfg() {
2671 _impl_._has_bits_[0] &= ~0x00000002u;
2673 _impl_.cfg_ =
nullptr;
2676inline ::goby::GobyMessageOptions_ConfigurationOptions* GobyMessageOptions::_internal_mutable_cfg() {
2677 _impl_._has_bits_[0] |= 0x00000002u;
2678 if (_impl_.cfg_ ==
nullptr) {
2684inline ::goby::GobyMessageOptions_ConfigurationOptions* GobyMessageOptions::mutable_cfg() {
2690 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2691 if (message_arena ==
nullptr) {
2695 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2696 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cfg);
2697 if (message_arena != submessage_arena) {
2698 cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2699 message_arena, cfg, submessage_arena);
2701 _impl_._has_bits_[0] |= 0x00000002u;
2703 _impl_._has_bits_[0] &= ~0x00000002u;
2714inline bool GobyEnumValueOptions_ConfigurationOptions::_internal_has_external_command()
const {
2715 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2718inline bool GobyEnumValueOptions_ConfigurationOptions::has_external_command()
const {
2719 return _internal_has_external_command();
2721inline void GobyEnumValueOptions_ConfigurationOptions::clear_external_command() {
2722 _impl_.external_command_.ClearToEmpty();
2723 _impl_._has_bits_[0] &= ~0x00000001u;
2725inline const std::string& GobyEnumValueOptions_ConfigurationOptions::external_command()
const {
2727 return _internal_external_command();
2729template <
typename ArgT0,
typename... ArgT>
2730inline PROTOBUF_ALWAYS_INLINE
2731void GobyEnumValueOptions_ConfigurationOptions::set_external_command(ArgT0&& arg0, ArgT... args) {
2732 _impl_._has_bits_[0] |= 0x00000001u;
2733 _impl_.external_command_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2736inline std::string* GobyEnumValueOptions_ConfigurationOptions::mutable_external_command() {
2737 std::string* _s = _internal_mutable_external_command();
2741inline const std::string& GobyEnumValueOptions_ConfigurationOptions::_internal_external_command()
const {
2742 return _impl_.external_command_.Get();
2744inline void GobyEnumValueOptions_ConfigurationOptions::_internal_set_external_command(
const std::string& value) {
2745 _impl_._has_bits_[0] |= 0x00000001u;
2746 _impl_.external_command_.Set(value, GetArenaForAllocation());
2748inline std::string* GobyEnumValueOptions_ConfigurationOptions::_internal_mutable_external_command() {
2749 _impl_._has_bits_[0] |= 0x00000001u;
2750 return _impl_.external_command_.Mutable(GetArenaForAllocation());
2752inline std::string* GobyEnumValueOptions_ConfigurationOptions::release_external_command() {
2754 if (!_internal_has_external_command()) {
2757 _impl_._has_bits_[0] &= ~0x00000001u;
2758 auto* p = _impl_.external_command_.Release();
2759#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2760 if (_impl_.external_command_.IsDefault()) {
2761 _impl_.external_command_.Set(
"", GetArenaForAllocation());
2766inline void GobyEnumValueOptions_ConfigurationOptions::set_allocated_external_command(std::string* external_command) {
2767 if (external_command !=
nullptr) {
2768 _impl_._has_bits_[0] |= 0x00000001u;
2770 _impl_._has_bits_[0] &= ~0x00000001u;
2772 _impl_.external_command_.SetAllocated(external_command, GetArenaForAllocation());
2773#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2774 if (_impl_.external_command_.IsDefault()) {
2775 _impl_.external_command_.Set(
"", GetArenaForAllocation());
2782inline bool GobyEnumValueOptions_ConfigurationOptions::_internal_has_external_help_param()
const {
2783 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2786inline bool GobyEnumValueOptions_ConfigurationOptions::has_external_help_param()
const {
2787 return _internal_has_external_help_param();
2789inline void GobyEnumValueOptions_ConfigurationOptions::clear_external_help_param() {
2790 _impl_.external_help_param_.ClearToDefault(::goby::GobyEnumValueOptions_ConfigurationOptions::Impl_::_i_give_permission_to_break_this_code_default_external_help_param_, GetArenaForAllocation());
2791 _impl_._has_bits_[0] &= ~0x00000002u;
2793inline const std::string& GobyEnumValueOptions_ConfigurationOptions::external_help_param()
const {
2795 if (_impl_.external_help_param_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_external_help_param_.get();
2796 return _internal_external_help_param();
2798template <
typename ArgT0,
typename... ArgT>
2799inline PROTOBUF_ALWAYS_INLINE
2800void GobyEnumValueOptions_ConfigurationOptions::set_external_help_param(ArgT0&& arg0, ArgT... args) {
2801 _impl_._has_bits_[0] |= 0x00000002u;
2802 _impl_.external_help_param_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2805inline std::string* GobyEnumValueOptions_ConfigurationOptions::mutable_external_help_param() {
2806 std::string* _s = _internal_mutable_external_help_param();
2810inline const std::string& GobyEnumValueOptions_ConfigurationOptions::_internal_external_help_param()
const {
2811 return _impl_.external_help_param_.Get();
2813inline void GobyEnumValueOptions_ConfigurationOptions::_internal_set_external_help_param(
const std::string& value) {
2814 _impl_._has_bits_[0] |= 0x00000002u;
2815 _impl_.external_help_param_.Set(value, GetArenaForAllocation());
2817inline std::string* GobyEnumValueOptions_ConfigurationOptions::_internal_mutable_external_help_param() {
2818 _impl_._has_bits_[0] |= 0x00000002u;
2819 return _impl_.external_help_param_.Mutable(::goby::GobyEnumValueOptions_ConfigurationOptions::Impl_::_i_give_permission_to_break_this_code_default_external_help_param_, GetArenaForAllocation());
2821inline std::string* GobyEnumValueOptions_ConfigurationOptions::release_external_help_param() {
2823 if (!_internal_has_external_help_param()) {
2826 _impl_._has_bits_[0] &= ~0x00000002u;
2827 auto* p = _impl_.external_help_param_.Release();
2830inline void GobyEnumValueOptions_ConfigurationOptions::set_allocated_external_help_param(std::string* external_help_param) {
2831 if (external_help_param !=
nullptr) {
2832 _impl_._has_bits_[0] |= 0x00000002u;
2834 _impl_._has_bits_[0] &= ~0x00000002u;
2836 _impl_.external_help_param_.SetAllocated(external_help_param, GetArenaForAllocation());
2841inline bool GobyEnumValueOptions_ConfigurationOptions::_internal_has_short_help_msg()
const {
2842 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2845inline bool GobyEnumValueOptions_ConfigurationOptions::has_short_help_msg()
const {
2846 return _internal_has_short_help_msg();
2848inline void GobyEnumValueOptions_ConfigurationOptions::clear_short_help_msg() {
2849 _impl_.short_help_msg_.ClearToEmpty();
2850 _impl_._has_bits_[0] &= ~0x00000004u;
2852inline const std::string& GobyEnumValueOptions_ConfigurationOptions::short_help_msg()
const {
2854 return _internal_short_help_msg();
2856template <
typename ArgT0,
typename... ArgT>
2857inline PROTOBUF_ALWAYS_INLINE
2858void GobyEnumValueOptions_ConfigurationOptions::set_short_help_msg(ArgT0&& arg0, ArgT... args) {
2859 _impl_._has_bits_[0] |= 0x00000004u;
2860 _impl_.short_help_msg_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2863inline std::string* GobyEnumValueOptions_ConfigurationOptions::mutable_short_help_msg() {
2864 std::string* _s = _internal_mutable_short_help_msg();
2868inline const std::string& GobyEnumValueOptions_ConfigurationOptions::_internal_short_help_msg()
const {
2869 return _impl_.short_help_msg_.Get();
2871inline void GobyEnumValueOptions_ConfigurationOptions::_internal_set_short_help_msg(
const std::string& value) {
2872 _impl_._has_bits_[0] |= 0x00000004u;
2873 _impl_.short_help_msg_.Set(value, GetArenaForAllocation());
2875inline std::string* GobyEnumValueOptions_ConfigurationOptions::_internal_mutable_short_help_msg() {
2876 _impl_._has_bits_[0] |= 0x00000004u;
2877 return _impl_.short_help_msg_.Mutable(GetArenaForAllocation());
2879inline std::string* GobyEnumValueOptions_ConfigurationOptions::release_short_help_msg() {
2881 if (!_internal_has_short_help_msg()) {
2884 _impl_._has_bits_[0] &= ~0x00000004u;
2885 auto* p = _impl_.short_help_msg_.Release();
2886#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2887 if (_impl_.short_help_msg_.IsDefault()) {
2888 _impl_.short_help_msg_.Set(
"", GetArenaForAllocation());
2893inline void GobyEnumValueOptions_ConfigurationOptions::set_allocated_short_help_msg(std::string* short_help_msg) {
2894 if (short_help_msg !=
nullptr) {
2895 _impl_._has_bits_[0] |= 0x00000004u;
2897 _impl_._has_bits_[0] &= ~0x00000004u;
2899 _impl_.short_help_msg_.SetAllocated(short_help_msg, GetArenaForAllocation());
2900#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2901 if (_impl_.short_help_msg_.IsDefault()) {
2902 _impl_.short_help_msg_.Set(
"", GetArenaForAllocation());
2909inline bool GobyEnumValueOptions_ConfigurationOptions::_internal_has_full_help_msg()
const {
2910 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2913inline bool GobyEnumValueOptions_ConfigurationOptions::has_full_help_msg()
const {
2914 return _internal_has_full_help_msg();
2916inline void GobyEnumValueOptions_ConfigurationOptions::clear_full_help_msg() {
2917 _impl_.full_help_msg_.ClearToEmpty();
2918 _impl_._has_bits_[0] &= ~0x00000008u;
2920inline const std::string& GobyEnumValueOptions_ConfigurationOptions::full_help_msg()
const {
2922 return _internal_full_help_msg();
2924template <
typename ArgT0,
typename... ArgT>
2925inline PROTOBUF_ALWAYS_INLINE
2926void GobyEnumValueOptions_ConfigurationOptions::set_full_help_msg(ArgT0&& arg0, ArgT... args) {
2927 _impl_._has_bits_[0] |= 0x00000008u;
2928 _impl_.full_help_msg_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2931inline std::string* GobyEnumValueOptions_ConfigurationOptions::mutable_full_help_msg() {
2932 std::string* _s = _internal_mutable_full_help_msg();
2936inline const std::string& GobyEnumValueOptions_ConfigurationOptions::_internal_full_help_msg()
const {
2937 return _impl_.full_help_msg_.Get();
2939inline void GobyEnumValueOptions_ConfigurationOptions::_internal_set_full_help_msg(
const std::string& value) {
2940 _impl_._has_bits_[0] |= 0x00000008u;
2941 _impl_.full_help_msg_.Set(value, GetArenaForAllocation());
2943inline std::string* GobyEnumValueOptions_ConfigurationOptions::_internal_mutable_full_help_msg() {
2944 _impl_._has_bits_[0] |= 0x00000008u;
2945 return _impl_.full_help_msg_.Mutable(GetArenaForAllocation());
2947inline std::string* GobyEnumValueOptions_ConfigurationOptions::release_full_help_msg() {
2949 if (!_internal_has_full_help_msg()) {
2952 _impl_._has_bits_[0] &= ~0x00000008u;
2953 auto* p = _impl_.full_help_msg_.Release();
2954#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2955 if (_impl_.full_help_msg_.IsDefault()) {
2956 _impl_.full_help_msg_.Set(
"", GetArenaForAllocation());
2961inline void GobyEnumValueOptions_ConfigurationOptions::set_allocated_full_help_msg(std::string* full_help_msg) {
2962 if (full_help_msg !=
nullptr) {
2963 _impl_._has_bits_[0] |= 0x00000008u;
2965 _impl_._has_bits_[0] &= ~0x00000008u;
2967 _impl_.full_help_msg_.SetAllocated(full_help_msg, GetArenaForAllocation());
2968#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2969 if (_impl_.full_help_msg_.IsDefault()) {
2970 _impl_.full_help_msg_.Set(
"", GetArenaForAllocation());
2977inline bool GobyEnumValueOptions_ConfigurationOptions::_internal_has_include_binary_flag()
const {
2978 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2981inline bool GobyEnumValueOptions_ConfigurationOptions::has_include_binary_flag()
const {
2982 return _internal_has_include_binary_flag();
2984inline void GobyEnumValueOptions_ConfigurationOptions::clear_include_binary_flag() {
2985 _impl_.include_binary_flag_ =
true;
2986 _impl_._has_bits_[0] &= ~0x00000010u;
2988inline bool GobyEnumValueOptions_ConfigurationOptions::_internal_include_binary_flag()
const {
2989 return _impl_.include_binary_flag_;
2991inline bool GobyEnumValueOptions_ConfigurationOptions::include_binary_flag()
const {
2993 return _internal_include_binary_flag();
2995inline void GobyEnumValueOptions_ConfigurationOptions::_internal_set_include_binary_flag(
bool value) {
2996 _impl_._has_bits_[0] |= 0x00000010u;
2997 _impl_.include_binary_flag_ = value;
2999inline void GobyEnumValueOptions_ConfigurationOptions::set_include_binary_flag(
bool value) {
3000 _internal_set_include_binary_flag(value);
3009inline bool GobyEnumValueOptions::_internal_has_cfg()
const {
3010 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3011 PROTOBUF_ASSUME(!value || _impl_.cfg_ !=
nullptr);
3014inline bool GobyEnumValueOptions::has_cfg()
const {
3015 return _internal_has_cfg();
3017inline void GobyEnumValueOptions::clear_cfg() {
3018 if (_impl_.cfg_ !=
nullptr) _impl_.cfg_->Clear();
3019 _impl_._has_bits_[0] &= ~0x00000001u;
3021inline const ::goby::GobyEnumValueOptions_ConfigurationOptions& GobyEnumValueOptions::_internal_cfg()
const {
3022 const ::goby::GobyEnumValueOptions_ConfigurationOptions* p = _impl_.cfg_;
3026inline const ::goby::GobyEnumValueOptions_ConfigurationOptions& GobyEnumValueOptions::cfg()
const {
3028 return _internal_cfg();
3030inline void GobyEnumValueOptions::unsafe_arena_set_allocated_cfg(
3032 if (GetArenaForAllocation() ==
nullptr) {
3033 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.cfg_);
3037 _impl_._has_bits_[0] |= 0x00000001u;
3039 _impl_._has_bits_[0] &= ~0x00000001u;
3043inline ::goby::GobyEnumValueOptions_ConfigurationOptions* GobyEnumValueOptions::release_cfg() {
3044 _impl_._has_bits_[0] &= ~0x00000001u;
3046 _impl_.cfg_ =
nullptr;
3047#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3048 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
3049 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3050 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
3052 if (GetArenaForAllocation() !=
nullptr) {
3053 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3058inline ::goby::GobyEnumValueOptions_ConfigurationOptions* GobyEnumValueOptions::unsafe_arena_release_cfg() {
3060 _impl_._has_bits_[0] &= ~0x00000001u;
3062 _impl_.cfg_ =
nullptr;
3065inline ::goby::GobyEnumValueOptions_ConfigurationOptions* GobyEnumValueOptions::_internal_mutable_cfg() {
3066 _impl_._has_bits_[0] |= 0x00000001u;
3067 if (_impl_.cfg_ ==
nullptr) {
3073inline ::goby::GobyEnumValueOptions_ConfigurationOptions* GobyEnumValueOptions::mutable_cfg() {
3079 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3080 if (message_arena ==
nullptr) {
3084 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3085 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(cfg);
3086 if (message_arena != submessage_arena) {
3087 cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3088 message_arena, cfg, submessage_arena);
3090 _impl_._has_bits_[0] |= 0x00000001u;
3092 _impl_._has_bits_[0] &= ~0x00000001u;
3099 #pragma GCC diagnostic pop
3120PROTOBUF_NAMESPACE_OPEN
3125 return ::goby::GobyFieldOptions_ConfigurationOptions_ConfigAction_descriptor();
3128PROTOBUF_NAMESPACE_CLOSE
3132#include <google/protobuf/port_undef.inc>
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(GobyEnumValueOptions_ConfigurationOptions &a, GobyEnumValueOptions_ConfigurationOptions &b)
GobyEnumValueOptions_ConfigurationOptions(const GobyEnumValueOptions_ConfigurationOptions &from)
static const GobyEnumValueOptions_ConfigurationOptions & default_instance()
void set_full_help_msg(ArgT0 &&arg0, ArgT... args)
void set_short_help_msg(ArgT0 &&arg0, ArgT... args)
GobyEnumValueOptions_ConfigurationOptions(GobyEnumValueOptions_ConfigurationOptions &&from) noexcept
void CopyFrom(const GobyEnumValueOptions_ConfigurationOptions &from)
PROTOBUF_CONSTEXPR GobyEnumValueOptions_ConfigurationOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_external_command(ArgT0 &&arg0, ArgT... args)
static const GobyEnumValueOptions_ConfigurationOptions * internal_default_instance()
GobyEnumValueOptions_ConfigurationOptions()
GobyEnumValueOptions_ConfigurationOptions & operator=(GobyEnumValueOptions_ConfigurationOptions &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
GobyEnumValueOptions_ConfigurationOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
GobyEnumValueOptions_ConfigurationOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
GobyEnumValueOptions_ConfigurationOptions & operator=(const GobyEnumValueOptions_ConfigurationOptions &from)
void UnsafeArenaSwap(GobyEnumValueOptions_ConfigurationOptions *other)
void Swap(GobyEnumValueOptions_ConfigurationOptions *other)
void set_external_help_param(ArgT0 &&arg0, ArgT... args)
~GobyEnumValueOptions_ConfigurationOptions() override
void MergeFrom(const GobyEnumValueOptions_ConfigurationOptions &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(GobyEnumValueOptions *other)
GobyEnumValueOptions(const GobyEnumValueOptions &from)
friend void swap(GobyEnumValueOptions &a, GobyEnumValueOptions &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_CONSTEXPR GobyEnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const GobyEnumValueOptions &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GobyEnumValueOptions & operator=(GobyEnumValueOptions &&from) noexcept
void Swap(GobyEnumValueOptions *other)
static const ClassData _class_data_
static const GobyEnumValueOptions & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void MergeFrom(const GobyEnumValueOptions &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
GobyEnumValueOptions(GobyEnumValueOptions &&from) noexcept
~GobyEnumValueOptions() override
GobyEnumValueOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
GobyEnumValueOptions & operator=(const GobyEnumValueOptions &from)
static const GobyEnumValueOptions * internal_default_instance()
GobyEnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyFieldOptions_ConfigurationOptions_Position * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool IsInitialized() const final
void set_enable(bool value)
GobyFieldOptions_ConfigurationOptions_Position()
static const GobyFieldOptions_ConfigurationOptions_Position * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
GobyFieldOptions_ConfigurationOptions_Position(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const GobyFieldOptions_ConfigurationOptions_Position &from)
GobyFieldOptions_ConfigurationOptions_Position & operator=(GobyFieldOptions_ConfigurationOptions_Position &&from) noexcept
friend void swap(GobyFieldOptions_ConfigurationOptions_Position &a, GobyFieldOptions_ConfigurationOptions_Position &b)
static constexpr int kIndexInFileMessages
static const ClassData _class_data_
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
GobyFieldOptions_ConfigurationOptions_Position(const GobyFieldOptions_ConfigurationOptions_Position &from)
GobyFieldOptions_ConfigurationOptions_Position & operator=(const GobyFieldOptions_ConfigurationOptions_Position &from)
static const GobyFieldOptions_ConfigurationOptions_Position & default_instance()
PROTOBUF_CONSTEXPR GobyFieldOptions_ConfigurationOptions_Position(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(GobyFieldOptions_ConfigurationOptions_Position *other)
~GobyFieldOptions_ConfigurationOptions_Position() override
bool has_max_count() const
void set_max_count(int32_t value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyFieldOptions_ConfigurationOptions_Position(GobyFieldOptions_ConfigurationOptions_Position &&from) noexcept
void MergeFrom(const GobyFieldOptions_ConfigurationOptions_Position &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(GobyFieldOptions_ConfigurationOptions_Position *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int32_t max_count() const
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_env(ArgT0 &&arg0, ArgT... args)
void Swap(GobyFieldOptions_ConfigurationOptions *other)
static bool ConfigAction_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConfigAction *value)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const GobyFieldOptions_ConfigurationOptions &from)
static const std::string & ConfigAction_Name(T enum_t_value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const GobyFieldOptions_ConfigurationOptions * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GobyFieldOptions_ConfigurationOptions & operator=(GobyFieldOptions_ConfigurationOptions &&from) noexcept
GobyFieldOptions_ConfigurationOptions(const GobyFieldOptions_ConfigurationOptions &from)
PROTOBUF_CONSTEXPR GobyFieldOptions_ConfigurationOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const GobyFieldOptions_ConfigurationOptions &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
GobyFieldOptions_ConfigurationOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyFieldOptions_ConfigurationOptions(GobyFieldOptions_ConfigurationOptions &&from) noexcept
static const ClassData _class_data_
GobyFieldOptions_ConfigurationOptions()
~GobyFieldOptions_ConfigurationOptions() override
void set_cli_short(ArgT0 &&arg0, ArgT... args)
friend void swap(GobyFieldOptions_ConfigurationOptions &a, GobyFieldOptions_ConfigurationOptions &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const GobyFieldOptions_ConfigurationOptions & default_instance()
void UnsafeArenaSwap(GobyFieldOptions_ConfigurationOptions *other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConfigAction_descriptor()
GobyFieldOptions_ConfigurationOptions & operator=(const GobyFieldOptions_ConfigurationOptions &from)
GobyFieldOptions_ConfigurationOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void CopyFrom(const GobyFieldOptions &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ClassData _class_data_
static const GobyFieldOptions & default_instance()
GobyFieldOptions & operator=(const GobyFieldOptions &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_description(ArgT0 &&arg0, ArgT... args)
GobyFieldOptions(GobyFieldOptions &&from) noexcept
GobyFieldOptions & operator=(GobyFieldOptions &&from) noexcept
PROTOBUF_CONSTEXPR GobyFieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const GobyFieldOptions * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyFieldOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(GobyFieldOptions &a, GobyFieldOptions &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
~GobyFieldOptions() override
GobyFieldOptions(const GobyFieldOptions &from)
void set_example(ArgT0 &&arg0, ArgT... args)
void UnsafeArenaSwap(GobyFieldOptions *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
GobyFieldOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_moos_global(ArgT0 &&arg0, ArgT... args)
void Swap(GobyFieldOptions *other)
void MergeFrom(const GobyFieldOptions &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const GobyMessageOptions_ConfigurationOptions &from)
void Swap(GobyMessageOptions_ConfigurationOptions *other)
void UnsafeArenaSwap(GobyMessageOptions_ConfigurationOptions *other)
~GobyMessageOptions_ConfigurationOptions() override
GobyMessageOptions_ConfigurationOptions(const GobyMessageOptions_ConfigurationOptions &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
GobyMessageOptions_ConfigurationOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ClassData _class_data_
PROTOBUF_CONSTEXPR GobyMessageOptions_ConfigurationOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
GobyMessageOptions_ConfigurationOptions & operator=(GobyMessageOptions_ConfigurationOptions &&from) noexcept
GobyMessageOptions_ConfigurationOptions & operator=(const GobyMessageOptions_ConfigurationOptions &from)
void MergeFrom(const GobyMessageOptions_ConfigurationOptions &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
GobyMessageOptions_ConfigurationOptions(GobyMessageOptions_ConfigurationOptions &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
GobyMessageOptions_ConfigurationOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(GobyMessageOptions_ConfigurationOptions &a, GobyMessageOptions_ConfigurationOptions &b)
static const GobyMessageOptions_ConfigurationOptions * internal_default_instance()
GobyMessageOptions_ConfigurationOptions()
static const GobyMessageOptions_ConfigurationOptions & default_instance()
GobyMessageOptions(const GobyMessageOptions &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(GobyMessageOptions *other)
static const GobyMessageOptions * internal_default_instance()
PROTOBUF_CONSTEXPR GobyMessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(GobyMessageOptions *other)
static const ClassData _class_data_
GobyMessageOptions & operator=(const GobyMessageOptions &from)
void set_convertible_from(ArgT0 &&arg0, ArgT... args)
GobyMessageOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
GobyMessageOptions(GobyMessageOptions &&from) noexcept
void MergeFrom(const GobyMessageOptions &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(GobyMessageOptions &a, GobyMessageOptions &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void CopyFrom(const GobyMessageOptions &from)
~GobyMessageOptions() override
GobyMessageOptions & operator=(GobyMessageOptions &&from) noexcept
static const GobyMessageOptions & default_instance()
GobyMessageOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
The global namespace for the Goby project.
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyEnumValueOptions >, 11, false > ev
GobyMessageOptions_ConfigurationOptionsDefaultTypeInternal _GobyMessageOptions_ConfigurationOptions_default_instance_
GobyFieldOptionsDefaultTypeInternal _GobyFieldOptions_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyFieldOptions >, 11, false > field
GobyEnumValueOptionsDefaultTypeInternal _GobyEnumValueOptions_default_instance_
GobyMessageOptions_ConfigurationOptions_ToolDefaultTypeInternal _GobyMessageOptions_ConfigurationOptions_Tool_default_instance_
bool GobyFieldOptions_ConfigurationOptions_ConfigAction_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GobyFieldOptions_ConfigurationOptions_ConfigAction *value)
static const int kEvFieldNumber
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::GobyMessageOptions >, 11, false > msg
constexpr GobyFieldOptions_ConfigurationOptions_ConfigAction GobyFieldOptions_ConfigurationOptions_ConfigAction_ConfigAction_MAX
bool GobyFieldOptions_ConfigurationOptions_ConfigAction_IsValid(int value)
static const int kFieldFieldNumber
constexpr int GobyFieldOptions_ConfigurationOptions_ConfigAction_ConfigAction_ARRAYSIZE
const std::string & GobyFieldOptions_ConfigurationOptions_ConfigAction_Name(T enum_t_value)
GobyFieldOptions_ConfigurationOptions_PositionDefaultTypeInternal _GobyFieldOptions_ConfigurationOptions_Position_default_instance_
static const int kMsgFieldNumber
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GobyFieldOptions_ConfigurationOptions_ConfigAction_descriptor()
constexpr GobyFieldOptions_ConfigurationOptions_ConfigAction GobyFieldOptions_ConfigurationOptions_ConfigAction_ConfigAction_MIN
GobyFieldOptions_ConfigurationOptions_ConfigAction
@ GobyFieldOptions_ConfigurationOptions_ConfigAction_HIDDEN
@ GobyFieldOptions_ConfigurationOptions_ConfigAction_ALWAYS
@ GobyFieldOptions_ConfigurationOptions_ConfigAction_DEVELOPER
@ GobyFieldOptions_ConfigurationOptions_ConfigAction_NEVER
@ GobyFieldOptions_ConfigurationOptions_ConfigAction_ADVANCED
GobyMessageOptionsDefaultTypeInternal _GobyMessageOptions_default_instance_
GobyEnumValueOptions_ConfigurationOptionsDefaultTypeInternal _GobyEnumValueOptions_ConfigurationOptions_default_instance_
GobyFieldOptions_ConfigurationOptionsDefaultTypeInternal _GobyFieldOptions_ConfigurationOptions_default_instance_
::goby::GobyEnumValueOptions_ConfigurationOptions * Arena::CreateMaybeMessage<::goby::GobyEnumValueOptions_ConfigurationOptions >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fprotobuf_2foption_5fextensions_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::GobyFieldOptions_ConfigurationOptions_ConfigAction >()
::goby::GobyFieldOptions_ConfigurationOptions * Arena::CreateMaybeMessage<::goby::GobyFieldOptions_ConfigurationOptions >(Arena *)
::goby::GobyFieldOptions_ConfigurationOptions_Position * Arena::CreateMaybeMessage<::goby::GobyFieldOptions_ConfigurationOptions_Position >(Arena *)
::goby::GobyMessageOptions_ConfigurationOptions * Arena::CreateMaybeMessage<::goby::GobyMessageOptions_ConfigurationOptions >(Arena *)
::goby::GobyMessageOptions_ConfigurationOptions_Tool * Arena::CreateMaybeMessage<::goby::GobyMessageOptions_ConfigurationOptions_Tool >(Arena *)
static const uint32_t offsets[]