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>
33#include "dccl/option_extensions.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
56class TransporterConfig;
57struct TransporterConfigDefaultTypeInternal;
62PROTOBUF_NAMESPACE_OPEN
64PROTOBUF_NAMESPACE_CLOSE
72 public ::PROTOBUF_NAMESPACE_ID::Message {
76 explicit PROTOBUF_CONSTEXPR
TransporterConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81 *
this = ::std::move(from);
89 if (
this == &from)
return *
this;
90 if (GetOwningArena() == from.GetOwningArena()
91 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
92 && GetOwningArena() !=
nullptr
103 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
132 if (other ==
this)
return;
133 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
134 if (GetOwningArena() !=
nullptr &&
135 GetOwningArena() == other->GetOwningArena()) {
137 if (GetOwningArena() == other->GetOwningArena()) {
141 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
145 if (other ==
this)
return;
146 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
153 return CreateMaybeMessage<TransporterConfig>(arena);
155 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 TransporterConfig::MergeImpl(*
this, from);
162 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
164 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
176 void SetCachedSize(
int size)
const final;
180 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
181 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
182 return "goby.middleware.protobuf.TransporterConfig";
186 bool is_message_owned =
false);
190 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
205 bool _internal_has_intervehicle()
const;
208 const ::goby::middleware::intervehicle::protobuf::TransporterConfig&
intervehicle()
const;
209 PROTOBUF_NODISCARD ::goby::middleware::intervehicle::protobuf::TransporterConfig*
release_intervehicle();
213 const ::goby::middleware::intervehicle::protobuf::TransporterConfig& _internal_intervehicle()
const;
223 bool _internal_has_echo()
const;
229 bool _internal_echo()
const;
230 void _internal_set_echo(
bool value);
237 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
238 typedef void InternalArenaConstructable_;
239 typedef void DestructorSkippable_;
241 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
242 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
247 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto;
255 #pragma GCC diagnostic push
256 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
261inline bool TransporterConfig::_internal_has_echo()
const {
262 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
266 return _internal_has_echo();
270 _impl_._has_bits_[0] &= ~0x00000002u;
272inline bool TransporterConfig::_internal_echo()
const {
277 return _internal_echo();
279inline void TransporterConfig::_internal_set_echo(
bool value) {
280 _impl_._has_bits_[0] |= 0x00000002u;
284 _internal_set_echo(value);
289inline bool TransporterConfig::_internal_has_intervehicle()
const {
290 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
291 PROTOBUF_ASSUME(!value ||
_impl_.intervehicle_ !=
nullptr);
295 return _internal_has_intervehicle();
297inline const ::goby::middleware::intervehicle::protobuf::TransporterConfig& TransporterConfig::_internal_intervehicle()
const {
298 const ::goby::middleware::intervehicle::protobuf::TransporterConfig* p =
_impl_.intervehicle_;
304 return _internal_intervehicle();
308 if (GetArenaForAllocation() ==
nullptr) {
309 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.intervehicle_);
313 _impl_._has_bits_[0] |= 0x00000001u;
315 _impl_._has_bits_[0] &= ~0x00000001u;
320 _impl_._has_bits_[0] &= ~0x00000001u;
322 _impl_.intervehicle_ =
nullptr;
323#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
324 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
325 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
326 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
328 if (GetArenaForAllocation() !=
nullptr) {
329 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
336 _impl_._has_bits_[0] &= ~0x00000001u;
338 _impl_.intervehicle_ =
nullptr;
341inline ::goby::middleware::intervehicle::protobuf::TransporterConfig* TransporterConfig::_internal_mutable_intervehicle() {
342 _impl_._has_bits_[0] |= 0x00000001u;
343 if (
_impl_.intervehicle_ ==
nullptr) {
347 return _impl_.intervehicle_;
355 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
356 if (message_arena ==
nullptr) {
357 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.intervehicle_);
360 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
361 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
362 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
intervehicle));
363 if (message_arena != submessage_arena) {
364 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
367 _impl_._has_bits_[0] |= 0x00000001u;
369 _impl_._has_bits_[0] &= ~0x00000001u;
376 #pragma GCC diagnostic pop
387#include <google/protobuf/port_undef.inc>
@ kIntervehicleFieldNumber
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_
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