4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2flog_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fgoby_5ftool_2flog_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fapps_2fmiddleware_2fgoby_5ftool_2flog_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
59struct UnifiedLogToolConfigDefaultTypeInternal;
65PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
85 static_assert(::std::is_same<T, UnifiedLogToolConfig_Action>::value ||
86 ::std::is_integral<T>::value,
87 "Incorrect type passed to function UnifiedLogToolConfig_Action_Name.");
88 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
93 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<UnifiedLogToolConfig_Action>(
99 public ::PROTOBUF_NAMESPACE_ID::Message {
108 *
this = ::std::move(from);
116 if (
this == &from)
return *
this;
117 if (GetOwningArena() == from.GetOwningArena()
118 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
119 && GetOwningArena() !=
nullptr
130 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
133 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
136 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
159 if (other ==
this)
return;
160 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
161 if (GetOwningArena() !=
nullptr &&
162 GetOwningArena() == other->GetOwningArena()) {
164 if (GetOwningArena() == other->GetOwningArena()) {
168 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
172 if (other ==
this)
return;
173 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
180 return CreateMaybeMessage<UnifiedLogToolConfig>(arena);
182 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
184 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
186 UnifiedLogToolConfig::MergeImpl(*
this, from);
189 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
191 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
197 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
201 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
203 void SetCachedSize(
int size)
const final;
207 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
208 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
209 return "goby.apps.middleware.protobuf.UnifiedLogToolConfig";
213 bool is_message_owned =
false);
217 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_2fapps_2fmiddleware_2fgoby_5ftool_2flog_2eproto;
312 #pragma GCC diagnostic push
313 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
318inline bool UnifiedLogToolConfig::_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& UnifiedLogToolConfig::_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* UnifiedLogToolConfig::_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 UnifiedLogToolConfig::_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::apps::middleware::protobuf::UnifiedLogToolConfig_Action UnifiedLogToolConfig::_internal_action()
const {
421 return _internal_action();
425 _impl_._has_bits_[0] |= 0x00000002u;
429 _internal_set_action(value);
434 #pragma GCC diagnostic pop
444PROTOBUF_NAMESPACE_OPEN
449 return ::goby::apps::middleware::protobuf::UnifiedLogToolConfig_Action_descriptor();
452PROTOBUF_NAMESPACE_CLOSE
456#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::apps::middleware::protobuf::UnifiedLogToolConfig_Action >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fapps_2fmiddleware_2fgoby_5ftool_2flog_2eproto
constexpr int UnifiedLogToolConfig_Action_Action_ARRAYSIZE
bool UnifiedLogToolConfig_Action_IsValid(int value)
UnifiedLogToolConfig_Action
@ UnifiedLogToolConfig_Action_convert
@ UnifiedLogToolConfig_Action_help
const std::string & UnifiedLogToolConfig_Action_Name(T enum_t_value)
bool UnifiedLogToolConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, UnifiedLogToolConfig_Action *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * UnifiedLogToolConfig_Action_descriptor()
constexpr UnifiedLogToolConfig_Action UnifiedLogToolConfig_Action_Action_MAX
constexpr UnifiedLogToolConfig_Action UnifiedLogToolConfig_Action_Action_MIN
UnifiedLogToolConfigDefaultTypeInternal _UnifiedLogToolConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
The global namespace for the Goby project.