4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_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"
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_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
57struct SampleDefaultTypeInternal;
60struct WidgetDefaultTypeInternal;
66PROTOBUF_NAMESPACE_OPEN
69PROTOBUF_NAMESPACE_CLOSE
78 public ::PROTOBUF_NAMESPACE_ID::Message {
82 explicit PROTOBUF_CONSTEXPR
Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
87 *
this = ::std::move(from);
95 if (
this == &from)
return *
this;
96 if (GetOwningArena() == from.GetOwningArena()
97 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
98 && GetOwningArena() !=
nullptr
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() {
128 return reinterpret_cast<const Sample*
>(
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 Sample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
159 return CreateMaybeMessage<Sample>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 Sample::MergeImpl(*
this, from);
168 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
176 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
182 void SetCachedSize(
int size)
const final;
183 void InternalSwap(
Sample* other);
186 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188 return "goby.test.zeromq.protobuf.Sample";
191 explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
192 bool is_message_owned =
false);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
211 bool _internal_has_a()
const;
217 int32_t _internal_a()
const;
218 void _internal_set_a(int32_t value);
224 bool _internal_has_group()
const;
230 int32_t _internal_group()
const;
231 void _internal_set_group(int32_t value);
239 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
240 typedef void InternalArenaConstructable_;
241 typedef void DestructorSkippable_;
243 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
244 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
249 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto;
254 public ::PROTOBUF_NAMESPACE_ID::Message {
258 explicit PROTOBUF_CONSTEXPR
Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
263 *
this = ::std::move(from);
271 if (
this == &from)
return *
this;
272 if (GetOwningArena() == from.GetOwningArena()
273 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
274 && GetOwningArena() !=
nullptr
285 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
288 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
291 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
292 return GetDescriptor();
295 return default_instance().GetMetadata().descriptor;
298 return default_instance().GetMetadata().reflection;
301 return *internal_default_instance();
304 return reinterpret_cast<const Widget*
>(
305 &_Widget_default_instance_);
307 static constexpr int kIndexInFileMessages =
314 if (other ==
this)
return;
315 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
316 if (GetOwningArena() !=
nullptr &&
317 GetOwningArena() == other->GetOwningArena()) {
319 if (GetOwningArena() == other->GetOwningArena()) {
323 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
327 if (other ==
this)
return;
328 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
334 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
335 return CreateMaybeMessage<Widget>(arena);
337 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
339 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
341 Widget::MergeImpl(*
this, from);
344 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
346 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
347 bool IsInitialized() const final;
350 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
351 uint8_t* _InternalSerialize(
352 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
353 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
356 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
358 void SetCachedSize(
int size)
const final;
359 void InternalSwap(
Widget* other);
362 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
363 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
364 return "goby.test.zeromq.protobuf.Widget";
367 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
368 bool is_message_owned =
false);
371 static const ClassData _class_data_;
372 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
374 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
386 bool _internal_has_b()
const;
392 int32_t _internal_b()
const;
393 void _internal_set_b(int32_t value);
401 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
402 typedef void InternalArenaConstructable_;
403 typedef void DestructorSkippable_;
405 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
406 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
409 union { Impl_ _impl_; };
410 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto;
418 #pragma GCC diagnostic push
419 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
424inline bool Sample::_internal_has_a()
const {
425 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
428inline bool Sample::has_a()
const {
429 return _internal_has_a();
431inline void Sample::clear_a() {
433 _impl_._has_bits_[0] &= ~0x00000001u;
435inline int32_t Sample::_internal_a()
const {
438inline int32_t Sample::a()
const {
440 return _internal_a();
442inline void Sample::_internal_set_a(int32_t value) {
443 _impl_._has_bits_[0] |= 0x00000001u;
446inline void Sample::set_a(int32_t value) {
447 _internal_set_a(value);
452inline bool Sample::_internal_has_group()
const {
453 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
456inline bool Sample::has_group()
const {
457 return _internal_has_group();
459inline void Sample::clear_group() {
461 _impl_._has_bits_[0] &= ~0x00000002u;
463inline int32_t Sample::_internal_group()
const {
464 return _impl_.group_;
466inline int32_t Sample::group()
const {
468 return _internal_group();
470inline void Sample::_internal_set_group(int32_t value) {
471 _impl_._has_bits_[0] |= 0x00000002u;
472 _impl_.group_ = value;
474inline void Sample::set_group(int32_t value) {
475 _internal_set_group(value);
484inline bool Widget::_internal_has_b()
const {
485 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
488inline bool Widget::has_b()
const {
489 return _internal_has_b();
491inline void Widget::clear_b() {
493 _impl_._has_bits_[0] &= ~0x00000001u;
495inline int32_t Widget::_internal_b()
const {
498inline int32_t Widget::b()
const {
500 return _internal_b();
502inline void Widget::_internal_set_b(int32_t value) {
503 _impl_._has_bits_[0] |= 0x00000001u;
506inline void Widget::set_b(int32_t value) {
507 _internal_set_b(value);
512 #pragma GCC diagnostic pop
526#include <google/protobuf/port_undef.inc>
Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool IsInitialized() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Sample & default_instance()
static const Sample * internal_default_instance()
size_t ByteSizeLong() const final
void set_group(ArgT0 &&arg0, ArgT... args)
void set_a(int32_t value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Sample & operator=(const Sample &from)
Sample & operator=(Sample &&from) noexcept
void MergeFrom(const Sample &from)
friend void swap(Sample &a, Sample &b)
PROTOBUF_CONSTEXPR Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Sample(Sample &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr int kIndexInFileMessages
void CopyFrom(const Sample &from)
void UnsafeArenaSwap(Sample *other)
static const ClassData _class_data_
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
int GetCachedSize() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Sample(const Sample &from)
SampleDefaultTypeInternal _Sample_default_instance_
WidgetDefaultTypeInternal _Widget_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto