4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fudpm_2fprotobuf_2ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fudpm_2fprotobuf_2ftool_5fconfig_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fudpm_2fprotobuf_2ftool_5fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
58struct UDPMToolConfigDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
83 static_assert(::std::is_same<T, UDPMToolConfig_Action>::value ||
84 ::std::is_integral<T>::value,
85 "Incorrect type passed to function UDPMToolConfig_Action_Name.");
86 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
91 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<UDPMToolConfig_Action>(
97 public ::PROTOBUF_NAMESPACE_ID::Message {
101 explicit PROTOBUF_CONSTEXPR
UDPMToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
106 *
this = ::std::move(from);
114 if (
this == &from)
return *
this;
115 if (GetOwningArena() == from.GetOwningArena()
116 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
117 && GetOwningArena() !=
nullptr
128 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
131 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
134 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
157 if (other ==
this)
return;
158 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
159 if (GetOwningArena() !=
nullptr &&
160 GetOwningArena() == other->GetOwningArena()) {
162 if (GetOwningArena() == other->GetOwningArena()) {
166 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
170 if (other ==
this)
return;
171 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
178 return CreateMaybeMessage<UDPMToolConfig>(arena);
180 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
182 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
184 UDPMToolConfig::MergeImpl(*
this, from);
187 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
189 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
195 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
199 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
201 void SetCachedSize(
int size)
const final;
205 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
206 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
207 return "goby.udpm.protobuf.UDPMToolConfig";
211 bool is_message_owned =
false);
215 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
237 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
243 static_assert(::std::is_same<T, Action>::value ||
244 ::std::is_integral<T>::value,
245 "Incorrect type passed to function Action_Name.");
248 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
262 bool _internal_has_app()
const;
265 const ::goby::middleware::protobuf::AppConfig&
app()
const;
266 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
270 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
280 bool _internal_has_action()
const;
294 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
295 typedef void InternalArenaConstructable_;
296 typedef void DestructorSkippable_;
298 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
299 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
304 friend struct ::TableStruct_goby_2fudpm_2fprotobuf_2ftool_5fconfig_2eproto;
312 #pragma GCC diagnostic push
313 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
318inline bool UDPMToolConfig::_internal_has_app()
const {
319 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
320 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
324 return _internal_has_app();
326inline const ::goby::middleware::protobuf::AppConfig& UDPMToolConfig::_internal_app()
const {
327 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
333 return _internal_app();
337 if (GetArenaForAllocation() ==
nullptr) {
338 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
342 _impl_._has_bits_[0] |= 0x00000001u;
344 _impl_._has_bits_[0] &= ~0x00000001u;
349 _impl_._has_bits_[0] &= ~0x00000001u;
352#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
353 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
354 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
355 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
357 if (GetArenaForAllocation() !=
nullptr) {
358 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
365 _impl_._has_bits_[0] &= ~0x00000001u;
370inline ::goby::middleware::protobuf::AppConfig* UDPMToolConfig::_internal_mutable_app() {
371 _impl_._has_bits_[0] |= 0x00000001u;
372 if (
_impl_.app_ ==
nullptr) {
384 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
385 if (message_arena ==
nullptr) {
386 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
389 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
390 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
391 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
392 if (message_arena != submessage_arena) {
393 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
394 message_arena,
app, submessage_arena);
396 _impl_._has_bits_[0] |= 0x00000001u;
398 _impl_._has_bits_[0] &= ~0x00000001u;
405inline bool UDPMToolConfig::_internal_has_action()
const {
406 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
410 return _internal_has_action();
414 _impl_._has_bits_[0] &= ~0x00000002u;
416inline ::goby::udpm::protobuf::UDPMToolConfig_Action UDPMToolConfig::_internal_action()
const {
421 return _internal_action();
425 _impl_._has_bits_[0] |= 0x00000002u;
429 _internal_set_action(value);
434 #pragma GCC diagnostic pop
443PROTOBUF_NAMESPACE_OPEN
448 return ::goby::udpm::protobuf::UDPMToolConfig_Action_descriptor();
451PROTOBUF_NAMESPACE_CLOSE
455#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
AppConfigDefaultTypeInternal _AppConfig_default_instance_
bool UDPMToolConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UDPMToolConfig_Action *value)
const std::string & UDPMToolConfig_Action_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * UDPMToolConfig_Action_descriptor()
constexpr UDPMToolConfig_Action UDPMToolConfig_Action_Action_MAX
constexpr UDPMToolConfig_Action UDPMToolConfig_Action_Action_MIN
constexpr int UDPMToolConfig_Action_Action_ARRAYSIZE
@ UDPMToolConfig_Action_subscribe
@ UDPMToolConfig_Action_publish
@ UDPMToolConfig_Action_help
UDPMToolConfigDefaultTypeInternal _UDPMToolConfig_default_instance_
bool UDPMToolConfig_Action_IsValid(int value)
The global namespace for the Goby project.