4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_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/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_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
55class TransporterConfig;
56struct TransporterConfigDefaultTypeInternal;
61PROTOBUF_NAMESPACE_OPEN
63PROTOBUF_NAMESPACE_CLOSE
71 public ::PROTOBUF_NAMESPACE_ID::Message {
75 explicit PROTOBUF_CONSTEXPR
TransporterConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
80 *
this = ::std::move(from);
88 if (
this == &from)
return *
this;
89 if (GetOwningArena() == from.GetOwningArena()
90 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
91 && GetOwningArena() !=
nullptr
102 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
105 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
131 if (other ==
this)
return;
132 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
133 if (GetOwningArena() !=
nullptr &&
134 GetOwningArena() == other->GetOwningArena()) {
136 if (GetOwningArena() == other->GetOwningArena()) {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
144 if (other ==
this)
return;
145 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 return CreateMaybeMessage<TransporterConfig>(arena);
154 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
156 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
158 TransporterConfig::MergeImpl(*
this, from);
161 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
163 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
175 void SetCachedSize(
int size)
const final;
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "goby.middleware.protobuf.TransporterConfig";
185 bool is_message_owned =
false);
189 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
204 bool _internal_has_intervehicle()
const;
207 const ::goby::middleware::intervehicle::protobuf::TransporterConfig&
intervehicle()
const;
208 PROTOBUF_NODISCARD ::goby::middleware::intervehicle::protobuf::TransporterConfig*
release_intervehicle();
212 const ::goby::middleware::intervehicle::protobuf::TransporterConfig& _internal_intervehicle()
const;
222 bool _internal_has_echo()
const;
228 bool _internal_echo()
const;
229 void _internal_set_echo(
bool value);
236 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
237 typedef void InternalArenaConstructable_;
238 typedef void DestructorSkippable_;
240 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
241 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
246 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto;
254 #pragma GCC diagnostic push
255 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
260inline bool TransporterConfig::_internal_has_echo()
const {
261 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
265 return _internal_has_echo();
269 _impl_._has_bits_[0] &= ~0x00000002u;
271inline bool TransporterConfig::_internal_echo()
const {
276 return _internal_echo();
278inline void TransporterConfig::_internal_set_echo(
bool value) {
279 _impl_._has_bits_[0] |= 0x00000002u;
283 _internal_set_echo(value);
288inline bool TransporterConfig::_internal_has_intervehicle()
const {
289 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
290 PROTOBUF_ASSUME(!value ||
_impl_.intervehicle_ !=
nullptr);
294 return _internal_has_intervehicle();
296inline const ::goby::middleware::intervehicle::protobuf::TransporterConfig& TransporterConfig::_internal_intervehicle()
const {
297 const ::goby::middleware::intervehicle::protobuf::TransporterConfig* p =
_impl_.intervehicle_;
303 return _internal_intervehicle();
307 if (GetArenaForAllocation() ==
nullptr) {
308 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.intervehicle_);
312 _impl_._has_bits_[0] |= 0x00000001u;
314 _impl_._has_bits_[0] &= ~0x00000001u;
319 _impl_._has_bits_[0] &= ~0x00000001u;
321 _impl_.intervehicle_ =
nullptr;
322#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
323 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
324 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
325 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
327 if (GetArenaForAllocation() !=
nullptr) {
328 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
335 _impl_._has_bits_[0] &= ~0x00000001u;
337 _impl_.intervehicle_ =
nullptr;
340inline ::goby::middleware::intervehicle::protobuf::TransporterConfig* TransporterConfig::_internal_mutable_intervehicle() {
341 _impl_._has_bits_[0] |= 0x00000001u;
342 if (
_impl_.intervehicle_ ==
nullptr) {
346 return _impl_.intervehicle_;
354 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
355 if (message_arena ==
nullptr) {
356 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.intervehicle_);
359 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
360 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
361 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
intervehicle));
362 if (message_arena != submessage_arena) {
363 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
366 _impl_._has_bits_[0] |= 0x00000001u;
368 _impl_._has_bits_[0] &= ~0x00000001u;
375 #pragma GCC diagnostic pop
386#include <google/protobuf/port_undef.inc>
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const TransporterConfig &from)
PROTOBUF_NODISCARD::goby::middleware::intervehicle::protobuf::TransporterConfig * release_intervehicle()
void UnsafeArenaSwap(TransporterConfig *other)
static const TransporterConfig & default_instance()
TransporterConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ClassData _class_data_
@ kIntervehicleFieldNumber
PROTOBUF_CONSTEXPR TransporterConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
~TransporterConfig() override
void clear_intervehicle()
void unsafe_arena_set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::TransporterConfig *intervehicle)
friend void swap(TransporterConfig &a, TransporterConfig &b)
static constexpr int kIndexInFileMessages
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
bool has_intervehicle() const
void set_echo(bool value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
bool IsInitialized() const final
void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::TransporterConfig *intervehicle)
::goby::middleware::intervehicle::protobuf::TransporterConfig * unsafe_arena_release_intervehicle()
TransporterConfig & operator=(const TransporterConfig &from)
void MergeFrom(const TransporterConfig &from)
void Swap(TransporterConfig *other)
TransporterConfig(const TransporterConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TransporterConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TransporterConfig & operator=(TransporterConfig &&from) noexcept
TransporterConfig(TransporterConfig &&from) noexcept
const ::goby::middleware::intervehicle::protobuf::TransporterConfig & intervehicle() const
::goby::middleware::intervehicle::protobuf::TransporterConfig * mutable_intervehicle()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
int GetCachedSize() const final
static const TransporterConfig * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::intervehicle::protobuf::TransporterConfig * Arena::CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::TransporterConfig >(Arena *)
TransporterConfigDefaultTypeInternal _TransporterConfig_default_instance_
TransporterConfigDefaultTypeInternal _TransporterConfig_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto