4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintervehicle_5ftransporter_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintervehicle_5ftransporter_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_2fintervehicle_5ftransporter_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 {
56 namespace intervehicle {
58 class TransporterConfig;
59 class TransporterConfigDefaultTypeInternal;
71 namespace middleware {
72 namespace intervehicle {
91 *
this = ::std::move(from);
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
104 return _internal_metadata_.unknown_fields();
107 return _internal_metadata_.mutable_unknown_fields();
110 static const ::google::protobuf::Descriptor*
descriptor();
129 return CreateMaybeMessage<TransporterConfig>(NULL);
133 return CreateMaybeMessage<TransporterConfig>(arena);
135 void CopyFrom(const ::google::protobuf::Message& from)
final;
136 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 ::
google::protobuf::io::CodedInputStream* input) final;
146 ::
google::protobuf::io::CodedOutputStream* output) const final;
148 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 void SetCachedSize(
int size)
const final;
157 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
160 inline void* MaybeArenaPtr()
const {
188 const ::
goby::acomms::protobuf::DynamicBufferConfig& _internal_buffer() const;
190 const ::
goby::acomms::protobuf::DynamicBufferConfig&
buffer() const;
211 void set_has_subscriber_uuid();
212 void clear_has_subscriber_uuid();
213 void set_has_buffer();
214 void clear_has_buffer();
215 void set_has_broadcast();
216 void clear_has_broadcast();
218 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
219 ::
google::protobuf::internal::HasBits<1> _has_bits_;
220 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
222 ::
goby::acomms::protobuf::DynamicBufferConfig* buffer_;
233 #pragma GCC diagnostic push
234 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
240 return publisher_id_.size();
243 publisher_id_.Clear();
247 return publisher_id_.Get(index);
250 publisher_id_.Set(index, value);
254 publisher_id_.Add(value);
257 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
260 return publisher_id_;
262 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
265 return &publisher_id_;
270 return (_has_bits_[0] & 0x00000002u) != 0;
272 inline void TransporterConfig::set_has_subscriber_uuid() {
273 _has_bits_[0] |= 0x00000002u;
275 inline void TransporterConfig::clear_has_subscriber_uuid() {
276 _has_bits_[0] &= ~0x00000002u;
279 subscriber_uuid_ = 0;
280 clear_has_subscriber_uuid();
284 return subscriber_uuid_;
287 set_has_subscriber_uuid();
288 subscriber_uuid_ = value;
294 return (_has_bits_[0] & 0x00000001u) != 0;
296 inline void TransporterConfig::set_has_buffer() {
297 _has_bits_[0] |= 0x00000001u;
299 inline void TransporterConfig::clear_has_buffer() {
300 _has_bits_[0] &= ~0x00000001u;
302 inline const ::goby::acomms::protobuf::DynamicBufferConfig& TransporterConfig::_internal_buffer()
const {
306 const ::goby::acomms::protobuf::DynamicBufferConfig* p = buffer_;
320 if (buffer_ == NULL) {
321 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DynamicBufferConfig>(GetArenaNoVirtual());
329 if (message_arena == NULL) {
334 if (message_arena != submessage_arena) {
335 buffer = ::google::protobuf::internal::GetOwnedMessage(
336 message_arena,
buffer, submessage_arena);
348 return (_has_bits_[0] & 0x00000004u) != 0;
350 inline void TransporterConfig::set_has_broadcast() {
351 _has_bits_[0] |= 0x00000004u;
353 inline void TransporterConfig::clear_has_broadcast() {
354 _has_bits_[0] &= ~0x00000004u;
358 clear_has_broadcast();
371 #pragma GCC diagnostic pop
383 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintervehicle_5ftransporter_5fconfig_2eproto