4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[1];
55 namespace middleware {
57 class TransporterConfig;
58 class TransporterConfigDefaultTypeInternal;
69 namespace middleware {
88 *
this = ::std::move(from);
92 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
93 if (
this != &from) InternalSwap(&from);
101 return _internal_metadata_.unknown_fields();
104 return _internal_metadata_.mutable_unknown_fields();
107 static const ::google::protobuf::Descriptor*
descriptor();
126 return CreateMaybeMessage<TransporterConfig>(NULL);
130 return CreateMaybeMessage<TransporterConfig>(arena);
132 void CopyFrom(const ::google::protobuf::Message& from)
final;
133 void MergeFrom(const ::google::protobuf::Message& from)
final;
141 ::
google::protobuf::io::CodedInputStream* input) final;
143 ::
google::protobuf::io::CodedOutputStream* output) const final;
145 bool deterministic, ::
google::protobuf::uint8* target) const final;
151 void SetCachedSize(
int size)
const final;
154 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
157 inline void* MaybeArenaPtr()
const {
190 void clear_has_echo();
191 void set_has_intervehicle();
192 void clear_has_intervehicle();
194 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
195 ::
google::protobuf::internal::HasBits<1> _has_bits_;
196 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
207 #pragma GCC diagnostic push
208 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
214 return (_has_bits_[0] & 0x00000002u) != 0;
216 inline void TransporterConfig::set_has_echo() {
217 _has_bits_[0] |= 0x00000002u;
219 inline void TransporterConfig::clear_has_echo() {
220 _has_bits_[0] &= ~0x00000002u;
238 return (_has_bits_[0] & 0x00000001u) != 0;
240 inline void TransporterConfig::set_has_intervehicle() {
241 _has_bits_[0] |= 0x00000001u;
243 inline void TransporterConfig::clear_has_intervehicle() {
244 _has_bits_[0] &= ~0x00000001u;
246 inline const ::goby::middleware::intervehicle::protobuf::TransporterConfig& TransporterConfig::_internal_intervehicle()
const {
247 return *intervehicle_;
250 const ::goby::middleware::intervehicle::protobuf::TransporterConfig* p = intervehicle_;
257 clear_has_intervehicle();
259 intervehicle_ = NULL;
263 set_has_intervehicle();
264 if (intervehicle_ == NULL) {
265 auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::TransporterConfig>(GetArenaNoVirtual());
269 return intervehicle_;
273 if (message_arena == NULL) {
278 if (message_arena != submessage_arena) {
279 intervehicle = ::google::protobuf::internal::GetOwnedMessage(
282 set_has_intervehicle();
284 clear_has_intervehicle();
291 #pragma GCC diagnostic pop
302 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftransporter_5fconfig_2eproto