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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto
43 PROTOBUF_NAMESPACE_OPEN
47 PROTOBUF_NAMESPACE_CLOSE
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
53 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
67 class SampleDefaultTypeInternal;
70 class WidgetDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::goby::test::zeromq::protobuf::Sample* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Sample>(Arena*);
78 template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
87 class Sample PROTOBUF_FINAL :
88 public ::PROTOBUF_NAMESPACE_ID::Message {
90 inline Sample() : Sample(nullptr) {};
96 *
this = ::std::move(from);
104 if (GetArena() == from.GetArena()) {
105 if (
this != &from) InternalSwap(&from);
113 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
116 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
120 return GetDescriptor();
123 return GetMetadataStatic().descriptor;
126 return GetMetadataStatic().reflection;
132 return reinterpret_cast<const Sample*
>(
135 static constexpr
int kIndexInFileMessages =
138 friend void swap(Sample& a, Sample& b) {
141 inline void Swap(Sample* other) {
142 if (other ==
this)
return;
143 if (GetArena() == other->GetArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetArena() == other->GetArena());
157 inline Sample*
New() const final {
158 return CreateMaybeMessage<Sample>(
nullptr);
161 Sample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
162 return CreateMaybeMessage<Sample>(arena);
164 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
165 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
168 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 bool IsInitialized() const final;
172 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
173 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
174 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final {
return _cached_size_.Get(); }
178 inline void SharedCtor();
179 inline void SharedDtor();
180 void SetCachedSize(
int size)
const final;
181 void InternalSwap(Sample* other);
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.test.zeromq.protobuf.Sample";
187 explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena);
189 static void ArenaDtor(
void*
object);
190 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
195 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
208 kGroupFieldNumber = 2,
213 bool _internal_has_a()
const;
226 bool _internal_has_group()
const;
241 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
242 typedef void InternalArenaConstructable_;
243 typedef void DestructorSkippable_;
244 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
245 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
248 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto;
253 public ::PROTOBUF_NAMESPACE_ID::Message {
261 *
this = ::std::move(from);
269 if (GetArena() == from.GetArena()) {
270 if (
this != &from) InternalSwap(&from);
278 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
281 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
284 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
285 return GetDescriptor();
288 return GetMetadataStatic().descriptor;
291 return GetMetadataStatic().reflection;
297 return reinterpret_cast<const Widget*
>(
300 static constexpr
int kIndexInFileMessages =
303 friend void swap(Widget& a, Widget& b) {
306 inline void Swap(Widget* other) {
307 if (other ==
this)
return;
308 if (GetArena() == other->GetArena()) {
311 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
315 if (other ==
this)
return;
316 GOOGLE_DCHECK(GetArena() == other->GetArena());
322 inline Widget*
New() const final {
323 return CreateMaybeMessage<Widget>(
nullptr);
326 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
327 return CreateMaybeMessage<Widget>(arena);
329 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
330 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
333 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
334 bool IsInitialized() const final;
337 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
338 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
339 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
340 int GetCachedSize() const final {
return _cached_size_.Get(); }
343 inline void SharedCtor();
344 inline void SharedDtor();
345 void SetCachedSize(
int size)
const final;
346 void InternalSwap(Widget* other);
347 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
348 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
349 return "goby.test.zeromq.protobuf.Widget";
352 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena);
354 static void ArenaDtor(
void*
object);
355 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
360 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
377 bool _internal_has_b()
const;
392 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
393 typedef void InternalArenaConstructable_;
394 typedef void DestructorSkippable_;
395 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
396 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
398 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto;
406 #pragma GCC diagnostic push
407 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
412 inline bool Sample::_internal_has_a()
const {
413 bool value = (_has_bits_[0] & 0x00000001u) != 0;
416 inline bool Sample::has_a()
const {
417 return _internal_has_a();
419 inline void Sample::clear_a() {
421 _has_bits_[0] &= ~0x00000001u;
428 return _internal_a();
431 _has_bits_[0] |= 0x00000001u;
435 _internal_set_a(value);
440 inline bool Sample::_internal_has_group()
const {
441 bool value = (_has_bits_[0] & 0x00000002u) != 0;
444 inline bool Sample::has_group()
const {
445 return _internal_has_group();
447 inline void Sample::clear_group() {
449 _has_bits_[0] &= ~0x00000002u;
456 return _internal_group();
459 _has_bits_[0] |= 0x00000002u;
463 _internal_set_group(value);
472 inline bool Widget::_internal_has_b()
const {
473 bool value = (_has_bits_[0] & 0x00000001u) != 0;
476 inline bool Widget::has_b()
const {
477 return _internal_has_b();
479 inline void Widget::clear_b() {
481 _has_bits_[0] &= ~0x00000001u;
488 return _internal_b();
491 _has_bits_[0] |= 0x00000001u;
495 _internal_set_b(value);
500 #pragma GCC diagnostic pop
514 #include <google/protobuf/port_undef.inc>
void CopyFrom(const Sample &from)
Widget(const Widget &from)
Sample(const Sample &from)
void set_group(::PROTOBUF_NAMESPACE_ID::int32 value)
Widget(Widget &&from) noexcept
void MergeFrom(const Widget &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Widget * New() const final
::PROTOBUF_NAMESPACE_ID::int32 group() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void InitAsDefaultInstance()
static const Sample * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::int32 a() const
Sample(Sample &&from) noexcept
void MergeFrom(const Sample &from)
friend void swap(Sample &a, Sample &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Widget * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const Widget &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_b(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Widget(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const Widget * internal_default_instance()
friend void swap(Widget &a, Widget &b)
Sample & operator=(Sample &&from) noexcept
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(Widget *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::PROTOBUF_NAMESPACE_ID::int32 b() const
Widget & operator=(const Widget &from)
static const Sample & default_instance()
Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Sample & operator=(const Sample &from)
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const Widget & default_instance()
void UnsafeArenaSwap(Sample *other)
Widget & operator=(Widget &&from) noexcept
void set_a(::PROTOBUF_NAMESPACE_ID::int32 value)
Sample * New() const final
goby::util::logger::GroupSetter group(std::string n)
@ value
the parser finished reading a JSON value
SampleDefaultTypeInternal _Sample_default_instance_
WidgetDefaultTypeInternal _Widget_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fzeromq_5fand_5fintervehicle_2ftest_2eproto