4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fintermodule_5fand_5finterprocess_2ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fzeromq_5fintermodule_5fand_5finterprocess_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_5fintermodule_5fand_5finterprocess_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[3]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
67 class CompleteDefaultTypeInternal;
70 class SampleDefaultTypeInternal;
73 class WidgetDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::test::zeromq::protobuf::Complete* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Complete>(Arena*);
81 template<> ::goby::test::zeromq::protobuf::Sample* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Sample>(Arena*);
82 template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
83 PROTOBUF_NAMESPACE_CLOSE
91 class Sample PROTOBUF_FINAL :
92 public ::PROTOBUF_NAMESPACE_ID::Message {
94 inline Sample() : Sample(nullptr) {};
100 *
this = ::std::move(from);
108 if (GetArena() == from.GetArena()) {
109 if (
this != &from) InternalSwap(&from);
117 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
120 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
123 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
124 return GetDescriptor();
127 return GetMetadataStatic().descriptor;
130 return GetMetadataStatic().reflection;
136 return reinterpret_cast<const Sample*
>(
139 static constexpr
int kIndexInFileMessages =
142 friend void swap(Sample& a, Sample& b) {
145 inline void Swap(Sample* other) {
146 if (other ==
this)
return;
147 if (GetArena() == other->GetArena()) {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 GOOGLE_DCHECK(GetArena() == other->GetArena());
161 inline Sample*
New() const final {
162 return CreateMaybeMessage<Sample>(
nullptr);
165 Sample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
166 return CreateMaybeMessage<Sample>(arena);
168 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
172 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 bool IsInitialized() const final;
176 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
177 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
178 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179 int GetCachedSize() const final {
return _cached_size_.Get(); }
182 inline void SharedCtor();
183 inline void SharedDtor();
184 void SetCachedSize(
int size)
const final;
185 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);
193 static void ArenaDtor(
void*
object);
194 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
199 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
216 bool _internal_has_a()
const;
230 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
231 typedef void InternalArenaConstructable_;
232 typedef void DestructorSkippable_;
233 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
234 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
236 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fintermodule_5fand_5finterprocess_2ftest_2eproto;
241 public ::PROTOBUF_NAMESPACE_ID::Message {
249 *
this = ::std::move(from);
257 if (GetArena() == from.GetArena()) {
258 if (
this != &from) InternalSwap(&from);
266 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
269 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
272 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
273 return GetDescriptor();
276 return GetMetadataStatic().descriptor;
279 return GetMetadataStatic().reflection;
285 return reinterpret_cast<const Widget*
>(
288 static constexpr
int kIndexInFileMessages =
291 friend void swap(Widget& a, Widget& b) {
294 inline void Swap(Widget* other) {
295 if (other ==
this)
return;
296 if (GetArena() == other->GetArena()) {
299 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
303 if (other ==
this)
return;
304 GOOGLE_DCHECK(GetArena() == other->GetArena());
310 inline Widget*
New() const final {
311 return CreateMaybeMessage<Widget>(
nullptr);
314 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
315 return CreateMaybeMessage<Widget>(arena);
317 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
318 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
321 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
322 bool IsInitialized() const final;
325 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
326 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
327 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
328 int GetCachedSize() const final {
return _cached_size_.Get(); }
331 inline void SharedCtor();
332 inline void SharedDtor();
333 void SetCachedSize(
int size)
const final;
334 void InternalSwap(Widget* other);
335 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
336 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
337 return "goby.test.zeromq.protobuf.Widget";
340 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena);
342 static void ArenaDtor(
void*
object);
343 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
348 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
365 bool _internal_has_b()
const;
379 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
380 typedef void InternalArenaConstructable_;
381 typedef void DestructorSkippable_;
382 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
383 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
385 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fintermodule_5fand_5finterprocess_2ftest_2eproto;
390 public ::PROTOBUF_NAMESPACE_ID::Message {
398 *
this = ::std::move(from);
406 if (GetArena() == from.GetArena()) {
407 if (
this != &from) InternalSwap(&from);
415 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
418 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
421 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
422 return GetDescriptor();
425 return GetMetadataStatic().descriptor;
428 return GetMetadataStatic().reflection;
434 return reinterpret_cast<const Complete*
>(
437 static constexpr
int kIndexInFileMessages =
440 friend void swap(Complete& a, Complete& b) {
443 inline void Swap(Complete* other) {
444 if (other ==
this)
return;
445 if (GetArena() == other->GetArena()) {
448 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
452 if (other ==
this)
return;
453 GOOGLE_DCHECK(GetArena() == other->GetArena());
459 inline Complete*
New() const final {
460 return CreateMaybeMessage<Complete>(
nullptr);
463 Complete*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
464 return CreateMaybeMessage<Complete>(arena);
466 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
467 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
470 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
471 bool IsInitialized() const final;
474 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
475 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
476 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
477 int GetCachedSize() const final {
return _cached_size_.Get(); }
480 inline void SharedCtor();
481 inline void SharedDtor();
482 void SetCachedSize(
int size)
const final;
483 void InternalSwap(Complete* other);
484 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
485 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
486 return "goby.test.zeromq.protobuf.Complete";
489 explicit Complete(::PROTOBUF_NAMESPACE_ID::Arena* arena);
491 static void ArenaDtor(
void*
object);
492 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
497 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
509 kSubscriberIdFieldNumber = 1,
514 bool _internal_has_subscriber_id()
const;
528 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
529 typedef void InternalArenaConstructable_;
530 typedef void DestructorSkippable_;
531 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
532 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
534 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fzeromq_5fintermodule_5fand_5finterprocess_2ftest_2eproto;
542 #pragma GCC diagnostic push
543 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
548 inline bool Sample::_internal_has_a()
const {
549 bool value = (_has_bits_[0] & 0x00000001u) != 0;
552 inline bool Sample::has_a()
const {
553 return _internal_has_a();
555 inline void Sample::clear_a() {
557 _has_bits_[0] &= ~0x00000001u;
564 return _internal_a();
567 _has_bits_[0] |= 0x00000001u;
571 _internal_set_a(value);
580 inline bool Widget::_internal_has_b()
const {
581 bool value = (_has_bits_[0] & 0x00000001u) != 0;
584 inline bool Widget::has_b()
const {
585 return _internal_has_b();
587 inline void Widget::clear_b() {
589 _has_bits_[0] &= ~0x00000001u;
596 return _internal_b();
599 _has_bits_[0] |= 0x00000001u;
603 _internal_set_b(value);
612 inline bool Complete::_internal_has_subscriber_id()
const {
613 bool value = (_has_bits_[0] & 0x00000001u) != 0;
616 inline bool Complete::has_subscriber_id()
const {
617 return _internal_has_subscriber_id();
619 inline void Complete::clear_subscriber_id() {
621 _has_bits_[0] &= ~0x00000001u;
624 return subscriber_id_;
628 return _internal_subscriber_id();
631 _has_bits_[0] |= 0x00000001u;
632 subscriber_id_ =
value;
635 _internal_set_subscriber_id(value);
640 #pragma GCC diagnostic pop
656 #include <google/protobuf/port_undef.inc>
void CopyFrom(const Sample &from)
Widget(const Widget &from)
Sample(const Sample &from)
void UnsafeArenaSwap(Complete *other)
bool has_subscriber_id() const
void Swap(Complete *other)
Complete & operator=(Complete &&from) noexcept
Widget(Widget &&from) noexcept
void MergeFrom(const Widget &from)
void set_subscriber_id(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Complete & operator=(const Complete &from)
Complete * New() const final
Widget * New() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void clear_subscriber_id()
static void InitAsDefaultInstance()
static const Complete & default_instance()
void MergeFrom(const Complete &from)
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
Complete(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Complete(Complete &&from) noexcept
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(Widget *other)
Complete * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
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
static const Complete * internal_default_instance()
Sample & operator=(const Sample &from)
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const Complete &from)
::PROTOBUF_NAMESPACE_ID::int32 subscriber_id() const
static const Widget & default_instance()
void UnsafeArenaSwap(Sample *other)
Complete(const Complete &from)
friend void swap(Complete &a, Complete &b)
Widget & operator=(Widget &&from) noexcept
void set_a(::PROTOBUF_NAMESPACE_ID::int32 value)
Sample * New() const final
@ value
the parser finished reading a JSON value
CompleteDefaultTypeInternal _Complete_default_instance_
SampleDefaultTypeInternal _Sample_default_instance_
WidgetDefaultTypeInternal _Widget_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fzeromq_5fintermodule_5fand_5finterprocess_2ftest_2eproto