4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2ftool_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2ftool_2fconfig_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>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.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 "goby/middleware/protobuf/app_config.pb.h"
35#include "goby/protobuf/option_extensions.pb.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_bin_2ftool_2fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
57struct ToolDefaultTypeInternal;
61PROTOBUF_NAMESPACE_OPEN
63PROTOBUF_NAMESPACE_CLOSE
86 static_assert(::std::is_same<T, Tool_Action>::value ||
87 ::std::is_integral<T>::value,
88 "Incorrect type passed to function Tool_Action_Name.");
89 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
93 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Tool_Action* value) {
94 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Tool_Action>(
100 public ::PROTOBUF_NAMESPACE_ID::Message {
104 explicit PROTOBUF_CONSTEXPR
Tool(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
109 *
this = ::std::move(from);
117 if (
this == &from)
return *
this;
118 if (GetOwningArena() == from.GetOwningArena()
119 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
120 && GetOwningArena() !=
nullptr
131 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
134 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
137 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
150 return reinterpret_cast<const Tool*
>(
160 if (other ==
this)
return;
161 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
162 if (GetOwningArena() !=
nullptr &&
163 GetOwningArena() == other->GetOwningArena()) {
165 if (GetOwningArena() == other->GetOwningArena()) {
169 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
173 if (other ==
this)
return;
174 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
180 Tool*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
181 return CreateMaybeMessage<Tool>(arena);
183 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
185 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
187 Tool::MergeImpl(*
this, from);
190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
192 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
202 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
204 void SetCachedSize(
int size)
const final;
205 void InternalSwap(
Tool* other);
208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
210 return "jaiabot.config.Tool";
213 explicit Tool(::PROTOBUF_NAMESPACE_ID::Arena* arena,
214 bool is_message_owned =
false);
218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
252 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
258 static_assert(::std::is_same<T, Action>::value ||
259 ::std::is_integral<T>::value,
260 "Incorrect type passed to function Action_Name.");
263 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
277 bool _internal_has_app()
const;
280 const ::goby::middleware::protobuf::AppConfig&
app()
const;
281 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
282 ::goby::middleware::protobuf::AppConfig*
mutable_app();
285 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
286 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
289 ::goby::middleware::protobuf::AppConfig*
app);
295 bool _internal_has_action()
const;
309 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
310 typedef void InternalArenaConstructable_;
311 typedef void DestructorSkippable_;
313 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
314 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
315 ::goby::middleware::protobuf::AppConfig* app_;
319 friend struct ::TableStruct_bin_2ftool_2fconfig_2eproto;
327 #pragma GCC diagnostic push
328 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
333inline bool Tool::_internal_has_app()
const {
334 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
335 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
339 return _internal_has_app();
341inline const ::goby::middleware::protobuf::AppConfig& Tool::_internal_app()
const {
342 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
343 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
344 ::goby::middleware::protobuf::_AppConfig_default_instance_);
346inline const ::goby::middleware::protobuf::AppConfig&
Tool::app()
const {
348 return _internal_app();
351 ::goby::middleware::protobuf::AppConfig*
app) {
352 if (GetArenaForAllocation() ==
nullptr) {
353 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
357 _impl_._has_bits_[0] |= 0x00000001u;
359 _impl_._has_bits_[0] &= ~0x00000001u;
364 _impl_._has_bits_[0] &= ~0x00000001u;
365 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
367#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
368 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
369 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
370 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
372 if (GetArenaForAllocation() !=
nullptr) {
373 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
380 _impl_._has_bits_[0] &= ~0x00000001u;
381 ::goby::middleware::protobuf::AppConfig* temp =
_impl_.app_;
385inline ::goby::middleware::protobuf::AppConfig* Tool::_internal_mutable_app() {
386 _impl_._has_bits_[0] |= 0x00000001u;
387 if (
_impl_.app_ ==
nullptr) {
388 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
394 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
399 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
400 if (message_arena ==
nullptr) {
401 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
404 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
405 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
406 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
407 if (message_arena != submessage_arena) {
408 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
409 message_arena,
app, submessage_arena);
411 _impl_._has_bits_[0] |= 0x00000001u;
413 _impl_._has_bits_[0] &= ~0x00000001u;
420inline bool Tool::_internal_has_action()
const {
421 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
425 return _internal_has_action();
429 _impl_._has_bits_[0] &= ~0x00000002u;
431inline ::jaiabot::config::Tool_Action Tool::_internal_action()
const {
436 return _internal_action();
440 _impl_._has_bits_[0] |= 0x00000002u;
444 _internal_set_action(value);
449 #pragma GCC diagnostic pop
457PROTOBUF_NAMESPACE_OPEN
462 return ::jaiabot::config::Tool_Action_descriptor();
465PROTOBUF_NAMESPACE_CLOSE
469#include <google/protobuf/port_undef.inc>
constexpr int Tool_Action_Action_ARRAYSIZE
constexpr Tool_Action Tool_Action_Action_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Tool_Action_descriptor()
ToolDefaultTypeInternal _Tool_default_instance_
bool Tool_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Tool_Action *value)
constexpr Tool_Action Tool_Action_Action_MAX
bool Tool_Action_IsValid(int value)
const std::string & Tool_Action_Name(T enum_t_value)