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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #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_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
43 PROTOBUF_NAMESPACE_OPEN
47 PROTOBUF_NAMESPACE_CLOSE
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
53 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
67 class ConfigDefaultTypeInternal;
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::goby::acomms::abc::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::abc::protobuf::Config>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
86 inline Config() : Config(nullptr) {};
92 *
this = ::std::move(from);
100 if (GetArena() == from.GetArena()) {
101 if (
this != &from) InternalSwap(&from);
109 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
112 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
116 return GetDescriptor();
119 return GetMetadataStatic().descriptor;
122 return GetMetadataStatic().reflection;
128 return reinterpret_cast<const Config*
>(
131 static constexpr
int kIndexInFileMessages =
134 friend void swap(Config& a, Config& b) {
137 inline void Swap(Config* other) {
138 if (other ==
this)
return;
139 if (GetArena() == other->GetArena()) {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
146 if (other ==
this)
return;
147 GOOGLE_DCHECK(GetArena() == other->GetArena());
153 inline Config*
New() const final {
154 return CreateMaybeMessage<Config>(
nullptr);
157 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
158 return CreateMaybeMessage<Config>(arena);
160 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
161 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
164 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
165 bool IsInitialized() const final;
168 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
169 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
170 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
171 int GetCachedSize() const final {
return _cached_size_.Get(); }
174 inline void SharedCtor();
175 inline void SharedDtor();
176 void SetCachedSize(
int size)
const final;
177 void InternalSwap(Config* other);
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "goby.acomms.abc.protobuf.Config";
183 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 static void ArenaDtor(
void*
object);
186 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
203 kEnableBarFieldNumber = 2,
204 kEnableFooFieldNumber = 1,
209 bool _internal_has_enable_bar()
const;
215 bool _internal_enable_bar()
const;
216 void _internal_set_enable_bar(
bool value);
222 bool _internal_has_enable_foo()
const;
228 bool _internal_enable_foo()
const;
229 void _internal_set_enable_foo(
bool value);
236 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
237 typedef void InternalArenaConstructable_;
238 typedef void DestructorSkippable_;
239 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
240 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
243 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto;
248 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
249 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11,
false >
255 #pragma GCC diagnostic push
256 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
261 inline bool Config::_internal_has_enable_foo()
const {
262 bool value = (_has_bits_[0] & 0x00000002u) != 0;
265 inline bool Config::has_enable_foo()
const {
266 return _internal_has_enable_foo();
268 inline void Config::clear_enable_foo() {
270 _has_bits_[0] &= ~0x00000002u;
272 inline bool Config::_internal_enable_foo()
const {
275 inline bool Config::enable_foo()
const {
277 return _internal_enable_foo();
279 inline void Config::_internal_set_enable_foo(
bool value) {
280 _has_bits_[0] |= 0x00000002u;
283 inline void Config::set_enable_foo(
bool value) {
284 _internal_set_enable_foo(value);
289 inline bool Config::_internal_has_enable_bar()
const {
290 bool value = (_has_bits_[0] & 0x00000001u) != 0;
293 inline bool Config::has_enable_bar()
const {
294 return _internal_has_enable_bar();
296 inline void Config::clear_enable_bar() {
298 _has_bits_[0] &= ~0x00000001u;
300 inline bool Config::_internal_enable_bar()
const {
303 inline bool Config::enable_bar()
const {
305 return _internal_enable_bar();
307 inline void Config::_internal_set_enable_bar(
bool value) {
308 _has_bits_[0] |= 0x00000001u;
311 inline void Config::set_enable_bar(
bool value) {
312 _internal_set_enable_bar(value);
317 #pragma GCC diagnostic pop
329 #include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
void set_enable_foo(bool value)
void UnsafeArenaSwap(Config *other)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static void InitAsDefaultInstance()
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Config & operator=(Config &&from) noexcept
void CopyFrom(const Config &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(Config &a, Config &b)
static const Config * internal_default_instance()
Config * New() const final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_enable_bar(bool value)
Config(const Config &from)
Config & operator=(const Config &from)
Config(Config &&from) noexcept
static const Config & default_instance()
void MergeFrom(const Config &from)
bool has_enable_foo() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool has_enable_bar() const
@ value
the parser finished reading a JSON value
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 ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]