4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_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/unknown_field_set.h>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
57struct ConfigDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
74 public ::PROTOBUF_NAMESPACE_ID::Message {
78 explicit PROTOBUF_CONSTEXPR
Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83 *
this = ::std::move(from);
91 if (
this == &from)
return *
this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() !=
nullptr
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
124 return reinterpret_cast<const Config*
>(
134 if (other ==
this)
return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() !=
nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
139 if (GetOwningArena() == other->GetOwningArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
155 return CreateMaybeMessage<Config>(arena);
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 Config::MergeImpl(*
this, from);
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
178 void SetCachedSize(
int size)
const final;
179 void InternalSwap(
Config* other);
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.acomms.abc.protobuf.Config";
187 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned =
false);
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
207 bool _internal_has_enable_bar()
const;
213 bool _internal_enable_bar()
const;
214 void _internal_set_enable_bar(
bool value);
220 bool _internal_has_enable_foo()
const;
226 bool _internal_enable_foo()
const;
227 void _internal_set_enable_foo(
bool value);
234 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
235 typedef void InternalArenaConstructable_;
236 typedef void DestructorSkippable_;
238 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
239 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
244 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto;
250 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11,
false >
256 #pragma GCC diagnostic push
257 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
262inline bool Config::_internal_has_enable_foo()
const {
263 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
267 return _internal_has_enable_foo();
270 _impl_.enable_foo_ =
true;
271 _impl_._has_bits_[0] &= ~0x00000002u;
273inline bool Config::_internal_enable_foo()
const {
274 return _impl_.enable_foo_;
278 return _internal_enable_foo();
280inline void Config::_internal_set_enable_foo(
bool value) {
281 _impl_._has_bits_[0] |= 0x00000002u;
282 _impl_.enable_foo_ = value;
285 _internal_set_enable_foo(value);
290inline bool Config::_internal_has_enable_bar()
const {
291 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
295 return _internal_has_enable_bar();
298 _impl_.enable_bar_ =
false;
299 _impl_._has_bits_[0] &= ~0x00000001u;
301inline bool Config::_internal_enable_bar()
const {
302 return _impl_.enable_bar_;
306 return _internal_enable_bar();
308inline void Config::_internal_set_enable_bar(
bool value) {
309 _impl_._has_bits_[0] |= 0x00000001u;
310 _impl_.enable_bar_ = value;
313 _internal_set_enable_bar(value);
318 #pragma GCC diagnostic pop
330#include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
static const Config * internal_default_instance()
Config(const Config &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Config & operator=(Config &&from) noexcept
void set_enable_bar(bool value)
void MergeFrom(const Config &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
bool has_enable_foo() const
friend void swap(Config &a, Config &b)
int GetCachedSize() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_enable_bar() const
void set_enable_foo(bool value)
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr int kIndexInFileMessages
bool IsInitialized() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const Config & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Config & operator=(const Config &from)
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(Config *other)
Config(Config &&from) noexcept
void CopyFrom(const Config &from)
static const int kConfigFieldNumber
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11, false > config
ConfigDefaultTypeInternal _Config_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]