4 #ifndef PROTOBUF_INCLUDED_goby_2fprotobuf_2foption_5fextensions_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fprotobuf_2foption_5fextensions_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fprotobuf_2foption_5fextensions_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[8];
55 class GobyEnumValueOptions;
56 class GobyEnumValueOptionsDefaultTypeInternal;
58 class GobyEnumValueOptions_ConfigurationOptions;
59 class GobyEnumValueOptions_ConfigurationOptionsDefaultTypeInternal;
61 class GobyFieldOptions;
62 class GobyFieldOptionsDefaultTypeInternal;
64 class GobyFieldOptions_ConfigurationOptions;
65 class GobyFieldOptions_ConfigurationOptionsDefaultTypeInternal;
67 class GobyFieldOptions_ConfigurationOptions_Position;
68 class GobyFieldOptions_ConfigurationOptions_PositionDefaultTypeInternal;
70 class GobyMessageOptions;
71 class GobyMessageOptionsDefaultTypeInternal;
73 class GobyMessageOptions_ConfigurationOptions;
74 class GobyMessageOptions_ConfigurationOptionsDefaultTypeInternal;
76 class GobyMessageOptions_ConfigurationOptions_Tool;
77 class GobyMessageOptions_ConfigurationOptions_ToolDefaultTypeInternal;
108 return ::google::protobuf::internal::NameOfEnum(
113 return ::google::protobuf::internal::ParseNamedEnum<GobyFieldOptions_ConfigurationOptions_ConfigAction>(
132 *
this = ::std::move(from);
136 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
137 if (
this != &from) InternalSwap(&from);
145 return _internal_metadata_.unknown_fields();
148 return _internal_metadata_.mutable_unknown_fields();
151 static const ::google::protobuf::Descriptor*
descriptor();
170 return CreateMaybeMessage<GobyFieldOptions_ConfigurationOptions_Position>(NULL);
174 return CreateMaybeMessage<GobyFieldOptions_ConfigurationOptions_Position>(arena);
176 void CopyFrom(const ::google::protobuf::Message& from)
final;
177 void MergeFrom(const ::google::protobuf::Message& from)
final;
185 ::
google::protobuf::io::CodedInputStream* input) final;
187 ::
google::protobuf::io::CodedOutputStream* output) const final;
189 bool deterministic, ::
google::protobuf::uint8* target) const final;
195 void SetCachedSize(
int size)
const final;
198 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
201 inline void* MaybeArenaPtr()
const {
228 void set_has_enable();
229 void clear_has_enable();
230 void set_has_max_count();
231 void clear_has_max_count();
233 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
234 ::
google::protobuf::internal::HasBits<1> _has_bits_;
235 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
256 *
this = ::std::move(from);
259 inline GobyFieldOptions_ConfigurationOptions&
operator=(GobyFieldOptions_ConfigurationOptions&& from) noexcept {
260 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
261 if (
this != &from) InternalSwap(&from);
269 return _internal_metadata_.unknown_fields();
272 return _internal_metadata_.mutable_unknown_fields();
275 static const ::google::protobuf::Descriptor*
descriptor();
294 return CreateMaybeMessage<GobyFieldOptions_ConfigurationOptions>(NULL);
298 return CreateMaybeMessage<GobyFieldOptions_ConfigurationOptions>(arena);
300 void CopyFrom(const ::google::protobuf::Message& from)
final;
301 void MergeFrom(const ::google::protobuf::Message& from)
final;
309 ::
google::protobuf::io::CodedInputStream* input) final;
311 ::
google::protobuf::io::CodedOutputStream* output) const final;
313 bool deterministic, ::
google::protobuf::uint8* target) const final;
319 void SetCachedSize(
int size)
const final;
322 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
325 inline void* MaybeArenaPtr()
const {
347 static inline
bool ConfigAction_IsValid(
int value) {
354 static const int ConfigAction_ARRAYSIZE =
356 static inline const ::google::protobuf::EnumDescriptor*
371 bool has_cli_short()
const;
372 void clear_cli_short();
373 static const int kCliShortFieldNumber = 1;
374 const ::std::string& cli_short()
const;
375 void set_cli_short(const ::std::string& value);
377 void set_cli_short(::std::string&& value);
379 void set_cli_short(
const char* value);
380 void set_cli_short(
const char* value,
size_t size);
381 ::std::string* mutable_cli_short();
382 ::std::string* release_cli_short();
383 void set_allocated_cli_short(::std::string* cli_short);
386 bool has_env()
const;
388 static const int kEnvFieldNumber = 4;
389 const ::std::string& env()
const;
390 void set_env(const ::std::string& value);
392 void set_env(::std::string&& value);
394 void set_env(
const char* value);
395 void set_env(
const char* value,
size_t size);
396 ::std::string* mutable_env();
397 ::std::string* release_env();
398 void set_allocated_env(::std::string* env);
401 bool has_position()
const;
402 void clear_position();
403 static const int kPositionFieldNumber = 3;
405 const ::goby::GobyFieldOptions_ConfigurationOptions_Position& _internal_position()
const;
407 const ::goby::GobyFieldOptions_ConfigurationOptions_Position& position()
const;
413 bool has_action()
const;
415 static const int kActionFieldNumber = 2;
421 void set_has_cli_short();
422 void clear_has_cli_short();
423 void set_has_action();
424 void clear_has_action();
425 void set_has_position();
426 void clear_has_position();
428 void clear_has_env();
430 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
431 ::google::protobuf::internal::HasBits<1> _has_bits_;
432 mutable ::google::protobuf::internal::CachedSize _cached_size_;
433 ::google::protobuf::internal::ArenaStringPtr cli_short_;
434 ::google::protobuf::internal::ArenaStringPtr env_;
437 friend struct ::protobuf_goby_2fprotobuf_2foption_5fextensions_2eproto::TableStruct;
455 *
this = ::std::move(from);
458 inline GobyFieldOptions&
operator=(GobyFieldOptions&& from) noexcept {
459 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
460 if (
this != &from) InternalSwap(&from);
468 return _internal_metadata_.unknown_fields();
471 return _internal_metadata_.mutable_unknown_fields();
474 static const ::google::protobuf::Descriptor*
descriptor();
493 return CreateMaybeMessage<GobyFieldOptions>(NULL);
497 return CreateMaybeMessage<GobyFieldOptions>(arena);
499 void CopyFrom(const ::google::protobuf::Message& from)
final;
500 void MergeFrom(const ::google::protobuf::Message& from)
final;
508 ::
google::protobuf::io::CodedInputStream* input) final;
510 ::
google::protobuf::io::CodedOutputStream* output) const final;
512 bool deterministic, ::
google::protobuf::uint8* target) const final;
518 void SetCachedSize(
int size)
const final;
521 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
524 inline void* MaybeArenaPtr()
const {
538 bool has_description() const;
539 void clear_description();
540 static const
int kDescriptionFieldNumber = 100;
541 const ::std::
string& description() const;
542 void set_description(const ::std::
string& value);
544 void set_description(::std::string&& value);
546 void set_description(
const char* value);
547 void set_description(
const char* value,
size_t size);
548 ::std::string* mutable_description();
549 ::std::string* release_description();
550 void set_allocated_description(::std::string* description);
553 bool has_example()
const;
554 void clear_example();
555 static const int kExampleFieldNumber = 101;
556 const ::std::string& example()
const;
557 void set_example(const ::std::string& value);
559 void set_example(::std::string&& value);
561 void set_example(
const char* value);
562 void set_example(
const char* value,
size_t size);
563 ::std::string* mutable_example();
564 ::std::string* release_example();
565 void set_allocated_example(::std::string* example);
568 bool has_moos_global()
const;
569 void clear_moos_global();
570 static const int kMoosGlobalFieldNumber = 102;
571 const ::std::string& moos_global()
const;
572 void set_moos_global(const ::std::string& value);
574 void set_moos_global(::std::string&& value);
576 void set_moos_global(
const char* value);
577 void set_moos_global(
const char* value,
size_t size);
578 ::std::string* mutable_moos_global();
579 ::std::string* release_moos_global();
580 void set_allocated_moos_global(::std::string* moos_global);
583 bool has_cfg()
const;
585 static const int kCfgFieldNumber = 200;
587 const ::goby::GobyFieldOptions_ConfigurationOptions& _internal_cfg()
const;
589 const ::goby::GobyFieldOptions_ConfigurationOptions& cfg()
const;
596 void set_has_description();
597 void clear_has_description();
598 void set_has_example();
599 void clear_has_example();
600 void set_has_moos_global();
601 void clear_has_moos_global();
603 void clear_has_cfg();
605 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
606 ::google::protobuf::internal::HasBits<1> _has_bits_;
607 mutable ::google::protobuf::internal::CachedSize _cached_size_;
608 ::google::protobuf::internal::ArenaStringPtr description_;
609 ::google::protobuf::internal::ArenaStringPtr example_;
610 ::google::protobuf::internal::ArenaStringPtr moos_global_;
612 friend struct ::protobuf_goby_2fprotobuf_2foption_5fextensions_2eproto::TableStruct;
630 *
this = ::std::move(from);
633 inline GobyMessageOptions_ConfigurationOptions_Tool&
operator=(GobyMessageOptions_ConfigurationOptions_Tool&& from) noexcept {
634 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
635 if (
this != &from) InternalSwap(&from);
643 return _internal_metadata_.unknown_fields();
646 return _internal_metadata_.mutable_unknown_fields();
649 static const ::google::protobuf::Descriptor*
descriptor();
668 return CreateMaybeMessage<GobyMessageOptions_ConfigurationOptions_Tool>(NULL);
672 return CreateMaybeMessage<GobyMessageOptions_ConfigurationOptions_Tool>(arena);
674 void CopyFrom(const ::google::protobuf::Message& from)
final;
675 void MergeFrom(const ::google::protobuf::Message& from)
final;
683 ::
google::protobuf::io::CodedInputStream* input) final;
685 ::
google::protobuf::io::CodedOutputStream* output) const final;
687 bool deterministic, ::
google::protobuf::uint8* target) const final;
693 void SetCachedSize(
int size)
const final;
696 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
699 inline void* MaybeArenaPtr()
const {
711 bool has_is_tool() const;
712 void clear_is_tool();
713 static const
int kIsToolFieldNumber = 1;
714 bool is_tool() const;
715 void set_is_tool(
bool value);
718 bool has_has_subtools() const;
719 void clear_has_subtools();
720 static const
int kHasSubtoolsFieldNumber = 2;
721 bool has_subtools() const;
722 void set_has_subtools(
bool value);
725 bool has_has_help_action() const;
726 void clear_has_help_action();
727 static const
int kHasHelpActionFieldNumber = 3;
728 bool has_help_action() const;
729 void set_has_help_action(
bool value);
733 void set_has_is_tool();
734 void clear_has_is_tool();
735 void set_has_has_subtools();
736 void clear_has_has_subtools();
737 void set_has_has_help_action();
738 void clear_has_has_help_action();
740 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
741 ::
google::protobuf::internal::HasBits<1> _has_bits_;
742 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
745 bool has_help_action_;
764 *
this = ::std::move(from);
767 inline GobyMessageOptions_ConfigurationOptions&
operator=(GobyMessageOptions_ConfigurationOptions&& from) noexcept {
768 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
769 if (
this != &from) InternalSwap(&from);
777 return _internal_metadata_.unknown_fields();
780 return _internal_metadata_.mutable_unknown_fields();
783 static const ::google::protobuf::Descriptor*
descriptor();
802 return CreateMaybeMessage<GobyMessageOptions_ConfigurationOptions>(NULL);
806 return CreateMaybeMessage<GobyMessageOptions_ConfigurationOptions>(arena);
808 void CopyFrom(const ::google::protobuf::Message& from)
final;
809 void MergeFrom(const ::google::protobuf::Message& from)
final;
817 ::
google::protobuf::io::CodedInputStream* input) final;
819 ::
google::protobuf::io::CodedOutputStream* output) const final;
821 bool deterministic, ::
google::protobuf::uint8* target) const final;
827 void SetCachedSize(
int size)
const final;
830 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
833 inline void* MaybeArenaPtr()
const {
847 bool has_tool() const;
849 static const
int kToolFieldNumber = 1;
861 void clear_has_tool();
863 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
864 ::
google::protobuf::internal::HasBits<1> _has_bits_;
865 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
885 *
this = ::std::move(from);
888 inline GobyMessageOptions&
operator=(GobyMessageOptions&& from) noexcept {
889 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
890 if (
this != &from) InternalSwap(&from);
898 return _internal_metadata_.unknown_fields();
901 return _internal_metadata_.mutable_unknown_fields();
904 static const ::google::protobuf::Descriptor*
descriptor();
923 return CreateMaybeMessage<GobyMessageOptions>(NULL);
927 return CreateMaybeMessage<GobyMessageOptions>(arena);
929 void CopyFrom(const ::google::protobuf::Message& from)
final;
930 void MergeFrom(const ::google::protobuf::Message& from)
final;
938 ::
google::protobuf::io::CodedInputStream* input) final;
940 ::
google::protobuf::io::CodedOutputStream* output) const final;
942 bool deterministic, ::
google::protobuf::uint8* target) const final;
948 void SetCachedSize(
int size)
const final;
951 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
954 inline void* MaybeArenaPtr()
const {
968 bool has_convertible_from() const;
969 void clear_convertible_from();
970 static const
int kConvertibleFromFieldNumber = 100;
971 const ::std::
string& convertible_from() const;
972 void set_convertible_from(const ::std::
string& value);
974 void set_convertible_from(::std::string&& value);
976 void set_convertible_from(
const char* value);
977 void set_convertible_from(
const char* value,
size_t size);
978 ::std::string* mutable_convertible_from();
979 ::std::string* release_convertible_from();
980 void set_allocated_convertible_from(::std::string* convertible_from);
983 bool has_cfg()
const;
985 static const int kCfgFieldNumber = 200;
987 const ::goby::GobyMessageOptions_ConfigurationOptions& _internal_cfg()
const;
989 const ::goby::GobyMessageOptions_ConfigurationOptions& cfg()
const;
996 void set_has_convertible_from();
997 void clear_has_convertible_from();
999 void clear_has_cfg();
1001 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1002 ::google::protobuf::internal::HasBits<1> _has_bits_;
1003 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1004 ::google::protobuf::internal::ArenaStringPtr convertible_from_;
1006 friend struct ::protobuf_goby_2fprotobuf_2foption_5fextensions_2eproto::TableStruct;
1024 *
this = ::std::move(from);
1027 inline GobyEnumValueOptions_ConfigurationOptions&
operator=(GobyEnumValueOptions_ConfigurationOptions&& from) noexcept {
1028 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1029 if (
this != &from) InternalSwap(&from);
1037 return _internal_metadata_.unknown_fields();
1040 return _internal_metadata_.mutable_unknown_fields();
1043 static const ::google::protobuf::Descriptor*
descriptor();
1062 return CreateMaybeMessage<GobyEnumValueOptions_ConfigurationOptions>(NULL);
1066 return CreateMaybeMessage<GobyEnumValueOptions_ConfigurationOptions>(arena);
1068 void CopyFrom(const ::google::protobuf::Message& from)
final;
1069 void MergeFrom(const ::google::protobuf::Message& from)
final;
1077 ::
google::protobuf::io::CodedInputStream* input) final;
1079 ::
google::protobuf::io::CodedOutputStream* output) const final;
1081 bool deterministic, ::
google::protobuf::uint8* target) const final;
1087 void SetCachedSize(
int size)
const final;
1090 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1093 inline void* MaybeArenaPtr()
const {
1105 bool has_external_command() const;
1106 void clear_external_command();
1107 static const
int kExternalCommandFieldNumber = 1;
1108 const ::std::
string& external_command() const;
1109 void set_external_command(const ::std::
string& value);
1111 void set_external_command(::std::string&& value);
1113 void set_external_command(
const char* value);
1114 void set_external_command(
const char* value,
size_t size);
1115 ::std::string* mutable_external_command();
1116 ::std::string* release_external_command();
1117 void set_allocated_external_command(::std::string* external_command);
1120 bool has_external_help_param()
const;
1121 void clear_external_help_param();
1122 static const int kExternalHelpParamFieldNumber = 2;
1123 const ::std::string& external_help_param()
const;
1124 void set_external_help_param(const ::std::string& value);
1126 void set_external_help_param(::std::string&& value);
1128 void set_external_help_param(
const char* value);
1129 void set_external_help_param(
const char* value,
size_t size);
1130 ::std::string* mutable_external_help_param();
1131 ::std::string* release_external_help_param();
1132 void set_allocated_external_help_param(::std::string* external_help_param);
1135 bool has_short_help_msg()
const;
1136 void clear_short_help_msg();
1137 static const int kShortHelpMsgFieldNumber = 3;
1138 const ::std::string& short_help_msg()
const;
1139 void set_short_help_msg(const ::std::string& value);
1141 void set_short_help_msg(::std::string&& value);
1143 void set_short_help_msg(
const char* value);
1144 void set_short_help_msg(
const char* value,
size_t size);
1145 ::std::string* mutable_short_help_msg();
1146 ::std::string* release_short_help_msg();
1147 void set_allocated_short_help_msg(::std::string* short_help_msg);
1150 bool has_full_help_msg()
const;
1151 void clear_full_help_msg();
1152 static const int kFullHelpMsgFieldNumber = 4;
1153 const ::std::string& full_help_msg()
const;
1154 void set_full_help_msg(const ::std::string& value);
1156 void set_full_help_msg(::std::string&& value);
1158 void set_full_help_msg(
const char* value);
1159 void set_full_help_msg(
const char* value,
size_t size);
1160 ::std::string* mutable_full_help_msg();
1161 ::std::string* release_full_help_msg();
1162 void set_allocated_full_help_msg(::std::string* full_help_msg);
1165 bool has_include_binary_flag()
const;
1166 void clear_include_binary_flag();
1167 static const int kIncludeBinaryFlagFieldNumber = 5;
1168 bool include_binary_flag()
const;
1169 void set_include_binary_flag(
bool value);
1173 void set_has_external_command();
1174 void clear_has_external_command();
1175 void set_has_external_help_param();
1176 void clear_has_external_help_param();
1177 void set_has_short_help_msg();
1178 void clear_has_short_help_msg();
1179 void set_has_full_help_msg();
1180 void clear_has_full_help_msg();
1181 void set_has_include_binary_flag();
1182 void clear_has_include_binary_flag();
1184 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1185 ::google::protobuf::internal::HasBits<1> _has_bits_;
1186 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1187 ::google::protobuf::internal::ArenaStringPtr external_command_;
1191 ::google::protobuf::internal::ArenaStringPtr external_help_param_;
1192 ::google::protobuf::internal::ArenaStringPtr short_help_msg_;
1193 ::google::protobuf::internal::ArenaStringPtr full_help_msg_;
1194 bool include_binary_flag_;
1195 friend struct ::protobuf_goby_2fprotobuf_2foption_5fextensions_2eproto::TableStruct;
1213 *
this = ::std::move(from);
1216 inline GobyEnumValueOptions&
operator=(GobyEnumValueOptions&& from) noexcept {
1217 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1218 if (
this != &from) InternalSwap(&from);
1226 return _internal_metadata_.unknown_fields();
1229 return _internal_metadata_.mutable_unknown_fields();
1232 static const ::google::protobuf::Descriptor*
descriptor();
1251 return CreateMaybeMessage<GobyEnumValueOptions>(NULL);
1255 return CreateMaybeMessage<GobyEnumValueOptions>(arena);
1257 void CopyFrom(const ::google::protobuf::Message& from)
final;
1258 void MergeFrom(const ::google::protobuf::Message& from)
final;
1266 ::
google::protobuf::io::CodedInputStream* input) final;
1268 ::
google::protobuf::io::CodedOutputStream* output) const final;
1270 bool deterministic, ::
google::protobuf::uint8* target) const final;
1276 void SetCachedSize(
int size)
const final;
1279 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1282 inline void* MaybeArenaPtr()
const {
1296 bool has_cfg() const;
1298 static const
int kCfgFieldNumber = 200;
1310 void clear_has_cfg();
1312 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1313 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1314 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1321 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
google::protobuf::FieldOptions,
1325 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
google::protobuf::MessageOptions,
1329 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
google::protobuf::EnumValueOptions,
1336 #pragma GCC diagnostic push
1337 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1343 return (_has_bits_[0] & 0x00000001u) != 0;
1345 inline void GobyFieldOptions_ConfigurationOptions_Position::set_has_enable() {
1346 _has_bits_[0] |= 0x00000001u;
1348 inline void GobyFieldOptions_ConfigurationOptions_Position::clear_has_enable() {
1349 _has_bits_[0] &= ~0x00000001u;
1367 return (_has_bits_[0] & 0x00000002u) != 0;
1369 inline void GobyFieldOptions_ConfigurationOptions_Position::set_has_max_count() {
1370 _has_bits_[0] |= 0x00000002u;
1372 inline void GobyFieldOptions_ConfigurationOptions_Position::clear_has_max_count() {
1373 _has_bits_[0] &= ~0x00000002u;
1377 clear_has_max_count();
1384 set_has_max_count();
1395 return (_has_bits_[0] & 0x00000001u) != 0;
1397 inline void GobyFieldOptions_ConfigurationOptions::set_has_cli_short() {
1398 _has_bits_[0] |= 0x00000001u;
1400 inline void GobyFieldOptions_ConfigurationOptions::clear_has_cli_short() {
1401 _has_bits_[0] &= ~0x00000001u;
1405 clear_has_cli_short();
1409 return cli_short_.GetNoArena();
1412 set_has_cli_short();
1418 set_has_cli_short();
1419 cli_short_.SetNoArena(
1425 GOOGLE_DCHECK(value != NULL);
1426 set_has_cli_short();
1431 set_has_cli_short();
1433 ::std::string(
reinterpret_cast<const char*
>(value), size));
1437 set_has_cli_short();
1443 if (!has_cli_short()) {
1446 clear_has_cli_short();
1450 if (cli_short != NULL) {
1451 set_has_cli_short();
1453 clear_has_cli_short();
1461 return (_has_bits_[0] & 0x00000008u) != 0;
1463 inline void GobyFieldOptions_ConfigurationOptions::set_has_action() {
1464 _has_bits_[0] |= 0x00000008u;
1466 inline void GobyFieldOptions_ConfigurationOptions::clear_has_action() {
1467 _has_bits_[0] &= ~0x00000008u;
1486 return (_has_bits_[0] & 0x00000004u) != 0;
1488 inline void GobyFieldOptions_ConfigurationOptions::set_has_position() {
1489 _has_bits_[0] |= 0x00000004u;
1491 inline void GobyFieldOptions_ConfigurationOptions::clear_has_position() {
1492 _has_bits_[0] &= ~0x00000004u;
1495 if (position_ != NULL) position_->Clear();
1496 clear_has_position();
1498 inline const ::goby::GobyFieldOptions_ConfigurationOptions_Position& GobyFieldOptions_ConfigurationOptions::_internal_position()
const {
1502 const ::goby::GobyFieldOptions_ConfigurationOptions_Position* p = position_;
1509 clear_has_position();
1516 if (position_ == NULL) {
1517 auto* p = CreateMaybeMessage<::goby::GobyFieldOptions_ConfigurationOptions_Position>(GetArenaNoVirtual());
1525 if (message_arena == NULL) {
1530 if (message_arena != submessage_arena) {
1531 position = ::google::protobuf::internal::GetOwnedMessage(
1532 message_arena, position, submessage_arena);
1536 clear_has_position();
1538 position_ = position;
1544 return (_has_bits_[0] & 0x00000002u) != 0;
1546 inline void GobyFieldOptions_ConfigurationOptions::set_has_env() {
1547 _has_bits_[0] |= 0x00000002u;
1549 inline void GobyFieldOptions_ConfigurationOptions::clear_has_env() {
1550 _has_bits_[0] &= ~0x00000002u;
1558 return env_.GetNoArena();
1574 GOOGLE_DCHECK(value != NULL);
1582 ::std::string(
reinterpret_cast<const char*
>(value), size));
1614 return (_has_bits_[0] & 0x00000001u) != 0;
1616 inline void GobyFieldOptions::set_has_description() {
1617 _has_bits_[0] |= 0x00000001u;
1619 inline void GobyFieldOptions::clear_has_description() {
1620 _has_bits_[0] &= ~0x00000001u;
1624 clear_has_description();
1628 return description_.GetNoArena();
1631 set_has_description();
1637 set_has_description();
1638 description_.SetNoArena(
1644 GOOGLE_DCHECK(value != NULL);
1645 set_has_description();
1650 set_has_description();
1652 ::std::string(
reinterpret_cast<const char*
>(value), size));
1656 set_has_description();
1662 if (!has_description()) {
1665 clear_has_description();
1669 if (description != NULL) {
1670 set_has_description();
1672 clear_has_description();
1680 return (_has_bits_[0] & 0x00000002u) != 0;
1682 inline void GobyFieldOptions::set_has_example() {
1683 _has_bits_[0] |= 0x00000002u;
1685 inline void GobyFieldOptions::clear_has_example() {
1686 _has_bits_[0] &= ~0x00000002u;
1690 clear_has_example();
1694 return example_.GetNoArena();
1704 example_.SetNoArena(
1710 GOOGLE_DCHECK(value != NULL);
1718 ::std::string(
reinterpret_cast<const char*
>(value), size));
1728 if (!has_example()) {
1731 clear_has_example();
1735 if (example != NULL) {
1738 clear_has_example();
1746 return (_has_bits_[0] & 0x00000004u) != 0;
1748 inline void GobyFieldOptions::set_has_moos_global() {
1749 _has_bits_[0] |= 0x00000004u;
1751 inline void GobyFieldOptions::clear_has_moos_global() {
1752 _has_bits_[0] &= ~0x00000004u;
1756 clear_has_moos_global();
1760 return moos_global_.GetNoArena();
1763 set_has_moos_global();
1769 set_has_moos_global();
1770 moos_global_.SetNoArena(
1776 GOOGLE_DCHECK(value != NULL);
1777 set_has_moos_global();
1782 set_has_moos_global();
1784 ::std::string(
reinterpret_cast<const char*
>(value), size));
1788 set_has_moos_global();
1794 if (!has_moos_global()) {
1797 clear_has_moos_global();
1801 if (moos_global != NULL) {
1802 set_has_moos_global();
1804 clear_has_moos_global();
1812 return (_has_bits_[0] & 0x00000008u) != 0;
1814 inline void GobyFieldOptions::set_has_cfg() {
1815 _has_bits_[0] |= 0x00000008u;
1817 inline void GobyFieldOptions::clear_has_cfg() {
1818 _has_bits_[0] &= ~0x00000008u;
1821 if (cfg_ != NULL) cfg_->Clear();
1824 inline const ::goby::GobyFieldOptions_ConfigurationOptions& GobyFieldOptions::_internal_cfg()
const {
1828 const ::goby::GobyFieldOptions_ConfigurationOptions* p = cfg_;
1843 auto* p = CreateMaybeMessage<::goby::GobyFieldOptions_ConfigurationOptions>(GetArenaNoVirtual());
1851 if (message_arena == NULL) {
1856 if (message_arena != submessage_arena) {
1857 cfg = ::google::protobuf::internal::GetOwnedMessage(
1858 message_arena, cfg, submessage_arena);
1874 return (_has_bits_[0] & 0x00000001u) != 0;
1876 inline void GobyMessageOptions_ConfigurationOptions_Tool::set_has_is_tool() {
1877 _has_bits_[0] |= 0x00000001u;
1879 inline void GobyMessageOptions_ConfigurationOptions_Tool::clear_has_is_tool() {
1880 _has_bits_[0] &= ~0x00000001u;
1884 clear_has_is_tool();
1898 return (_has_bits_[0] & 0x00000002u) != 0;
1900 inline void GobyMessageOptions_ConfigurationOptions_Tool::set_has_has_subtools() {
1901 _has_bits_[0] |= 0x00000002u;
1903 inline void GobyMessageOptions_ConfigurationOptions_Tool::clear_has_has_subtools() {
1904 _has_bits_[0] &= ~0x00000002u;
1907 has_subtools_ =
false;
1908 clear_has_has_subtools();
1912 return has_subtools_;
1915 set_has_has_subtools();
1916 has_subtools_ = value;
1922 return (_has_bits_[0] & 0x00000004u) != 0;
1924 inline void GobyMessageOptions_ConfigurationOptions_Tool::set_has_has_help_action() {
1925 _has_bits_[0] |= 0x00000004u;
1927 inline void GobyMessageOptions_ConfigurationOptions_Tool::clear_has_has_help_action() {
1928 _has_bits_[0] &= ~0x00000004u;
1931 has_help_action_ =
false;
1932 clear_has_has_help_action();
1936 return has_help_action_;
1939 set_has_has_help_action();
1940 has_help_action_ = value;
1950 return (_has_bits_[0] & 0x00000001u) != 0;
1952 inline void GobyMessageOptions_ConfigurationOptions::set_has_tool() {
1953 _has_bits_[0] |= 0x00000001u;
1955 inline void GobyMessageOptions_ConfigurationOptions::clear_has_tool() {
1956 _has_bits_[0] &= ~0x00000001u;
1959 if (tool_ != NULL) tool_->Clear();
1962 inline const ::goby::GobyMessageOptions_ConfigurationOptions_Tool& GobyMessageOptions_ConfigurationOptions::_internal_tool()
const {
1966 const ::goby::GobyMessageOptions_ConfigurationOptions_Tool* p = tool_;
1980 if (tool_ == NULL) {
1981 auto* p = CreateMaybeMessage<::goby::GobyMessageOptions_ConfigurationOptions_Tool>(GetArenaNoVirtual());
1989 if (message_arena == NULL) {
1994 if (message_arena != submessage_arena) {
1995 tool = ::google::protobuf::internal::GetOwnedMessage(
1996 message_arena, tool, submessage_arena);
2012 return (_has_bits_[0] & 0x00000001u) != 0;
2014 inline void GobyMessageOptions::set_has_convertible_from() {
2015 _has_bits_[0] |= 0x00000001u;
2017 inline void GobyMessageOptions::clear_has_convertible_from() {
2018 _has_bits_[0] &= ~0x00000001u;
2022 clear_has_convertible_from();
2026 return convertible_from_.GetNoArena();
2029 set_has_convertible_from();
2035 set_has_convertible_from();
2036 convertible_from_.SetNoArena(
2042 GOOGLE_DCHECK(value != NULL);
2043 set_has_convertible_from();
2048 set_has_convertible_from();
2050 ::std::string(
reinterpret_cast<const char*
>(value), size));
2054 set_has_convertible_from();
2060 if (!has_convertible_from()) {
2063 clear_has_convertible_from();
2067 if (convertible_from != NULL) {
2068 set_has_convertible_from();
2070 clear_has_convertible_from();
2078 return (_has_bits_[0] & 0x00000002u) != 0;
2080 inline void GobyMessageOptions::set_has_cfg() {
2081 _has_bits_[0] |= 0x00000002u;
2083 inline void GobyMessageOptions::clear_has_cfg() {
2084 _has_bits_[0] &= ~0x00000002u;
2087 if (cfg_ != NULL) cfg_->Clear();
2090 inline const ::goby::GobyMessageOptions_ConfigurationOptions& GobyMessageOptions::_internal_cfg()
const {
2094 const ::goby::GobyMessageOptions_ConfigurationOptions* p = cfg_;
2109 auto* p = CreateMaybeMessage<::goby::GobyMessageOptions_ConfigurationOptions>(GetArenaNoVirtual());
2117 if (message_arena == NULL) {
2122 if (message_arena != submessage_arena) {
2123 cfg = ::google::protobuf::internal::GetOwnedMessage(
2124 message_arena, cfg, submessage_arena);
2140 return (_has_bits_[0] & 0x00000001u) != 0;
2142 inline void GobyEnumValueOptions_ConfigurationOptions::set_has_external_command() {
2143 _has_bits_[0] |= 0x00000001u;
2145 inline void GobyEnumValueOptions_ConfigurationOptions::clear_has_external_command() {
2146 _has_bits_[0] &= ~0x00000001u;
2150 clear_has_external_command();
2154 return external_command_.GetNoArena();
2157 set_has_external_command();
2163 set_has_external_command();
2164 external_command_.SetNoArena(
2170 GOOGLE_DCHECK(value != NULL);
2171 set_has_external_command();
2176 set_has_external_command();
2178 ::std::string(
reinterpret_cast<const char*
>(value), size));
2182 set_has_external_command();
2188 if (!has_external_command()) {
2191 clear_has_external_command();
2195 if (external_command != NULL) {
2196 set_has_external_command();
2198 clear_has_external_command();
2206 return (_has_bits_[0] & 0x00000002u) != 0;
2208 inline void GobyEnumValueOptions_ConfigurationOptions::set_has_external_help_param() {
2209 _has_bits_[0] |= 0x00000002u;
2211 inline void GobyEnumValueOptions_ConfigurationOptions::clear_has_external_help_param() {
2212 _has_bits_[0] &= ~0x00000002u;
2216 clear_has_external_help_param();
2220 return external_help_param_.GetNoArena();
2223 set_has_external_help_param();
2229 set_has_external_help_param();
2230 external_help_param_.SetNoArena(
2236 GOOGLE_DCHECK(value != NULL);
2237 set_has_external_help_param();
2242 set_has_external_help_param();
2244 ::std::string(
reinterpret_cast<const char*
>(value), size));
2248 set_has_external_help_param();
2254 if (!has_external_help_param()) {
2257 clear_has_external_help_param();
2261 if (external_help_param != NULL) {
2262 set_has_external_help_param();
2264 clear_has_external_help_param();
2272 return (_has_bits_[0] & 0x00000004u) != 0;
2274 inline void GobyEnumValueOptions_ConfigurationOptions::set_has_short_help_msg() {
2275 _has_bits_[0] |= 0x00000004u;
2277 inline void GobyEnumValueOptions_ConfigurationOptions::clear_has_short_help_msg() {
2278 _has_bits_[0] &= ~0x00000004u;
2282 clear_has_short_help_msg();
2286 return short_help_msg_.GetNoArena();
2289 set_has_short_help_msg();
2295 set_has_short_help_msg();
2296 short_help_msg_.SetNoArena(
2302 GOOGLE_DCHECK(value != NULL);
2303 set_has_short_help_msg();
2308 set_has_short_help_msg();
2310 ::std::string(
reinterpret_cast<const char*
>(value), size));
2314 set_has_short_help_msg();
2320 if (!has_short_help_msg()) {
2323 clear_has_short_help_msg();
2327 if (short_help_msg != NULL) {
2328 set_has_short_help_msg();
2330 clear_has_short_help_msg();
2338 return (_has_bits_[0] & 0x00000008u) != 0;
2340 inline void GobyEnumValueOptions_ConfigurationOptions::set_has_full_help_msg() {
2341 _has_bits_[0] |= 0x00000008u;
2343 inline void GobyEnumValueOptions_ConfigurationOptions::clear_has_full_help_msg() {
2344 _has_bits_[0] &= ~0x00000008u;
2348 clear_has_full_help_msg();
2352 return full_help_msg_.GetNoArena();
2355 set_has_full_help_msg();
2361 set_has_full_help_msg();
2362 full_help_msg_.SetNoArena(
2368 GOOGLE_DCHECK(value != NULL);
2369 set_has_full_help_msg();
2374 set_has_full_help_msg();
2376 ::std::string(
reinterpret_cast<const char*
>(value), size));
2380 set_has_full_help_msg();
2386 if (!has_full_help_msg()) {
2389 clear_has_full_help_msg();
2393 if (full_help_msg != NULL) {
2394 set_has_full_help_msg();
2396 clear_has_full_help_msg();
2404 return (_has_bits_[0] & 0x00000010u) != 0;
2406 inline void GobyEnumValueOptions_ConfigurationOptions::set_has_include_binary_flag() {
2407 _has_bits_[0] |= 0x00000010u;
2409 inline void GobyEnumValueOptions_ConfigurationOptions::clear_has_include_binary_flag() {
2410 _has_bits_[0] &= ~0x00000010u;
2413 include_binary_flag_ =
true;
2414 clear_has_include_binary_flag();
2418 return include_binary_flag_;
2421 set_has_include_binary_flag();
2422 include_binary_flag_ = value;
2432 return (_has_bits_[0] & 0x00000001u) != 0;
2434 inline void GobyEnumValueOptions::set_has_cfg() {
2435 _has_bits_[0] |= 0x00000001u;
2437 inline void GobyEnumValueOptions::clear_has_cfg() {
2438 _has_bits_[0] &= ~0x00000001u;
2441 if (cfg_ != NULL) cfg_->Clear();
2444 inline const ::goby::GobyEnumValueOptions_ConfigurationOptions& GobyEnumValueOptions::_internal_cfg()
const {
2448 const ::goby::GobyEnumValueOptions_ConfigurationOptions* p = cfg_;
2463 auto* p = CreateMaybeMessage<::goby::GobyEnumValueOptions_ConfigurationOptions>(GetArenaNoVirtual());
2471 if (message_arena == NULL) {
2476 if (message_arena != submessage_arena) {
2477 cfg = ::google::protobuf::internal::GetOwnedMessage(
2478 message_arena, cfg, submessage_arena);
2489 #pragma GCC diagnostic pop
2511 namespace protobuf {
2515 inline const EnumDescriptor* GetEnumDescriptor< ::goby::GobyFieldOptions_ConfigurationOptions_ConfigAction>() {
2524 #endif // PROTOBUF_INCLUDED_goby_2fprotobuf_2foption_5fextensions_2eproto