4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fregex_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_2fmiddleware_5fregex_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() {
207 kGroupFieldNumber = 2,
213 bool _internal_has_group()
const;
224 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
225 " string fields are deprecated and will be removed in a"
227 std::
string* unsafe_arena_release_group();
228 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
229 "
string fields are deprecated and will be removed in a"
231 void unsafe_arena_set_allocated_group(
234 const std::
string& _internal_group() const;
235 void _internal_set_group(const std::
string& value);
236 std::
string* _internal_mutable_group();
242 bool _internal_has_a() const;
245 ::PROTOBUF_NAMESPACE_ID::
int32 a() const;
246 void set_a(::PROTOBUF_NAMESPACE_ID::
int32 value);
248 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_a() const;
249 void _internal_set_a(::PROTOBUF_NAMESPACE_ID::
int32 value);
256 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
257 typedef
void InternalArenaConstructable_;
258 typedef
void DestructorSkippable_;
259 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
260 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
261 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr group_;
262 ::PROTOBUF_NAMESPACE_ID::
int32 a_;
268 public ::PROTOBUF_NAMESPACE_ID::Message {
276 *
this = ::std::move(from);
284 if (GetArena() == from.GetArena()) {
285 if (
this != &from) InternalSwap(&from);
293 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
296 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
299 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
300 return GetDescriptor();
303 return GetMetadataStatic().descriptor;
306 return GetMetadataStatic().reflection;
312 return reinterpret_cast<const Widget*
>(
315 static constexpr
int kIndexInFileMessages =
318 friend void swap(Widget& a, Widget& b) {
321 inline void Swap(Widget* other) {
322 if (other ==
this)
return;
323 if (GetArena() == other->GetArena()) {
326 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
330 if (other ==
this)
return;
331 GOOGLE_DCHECK(GetArena() == other->GetArena());
337 inline Widget*
New() const final {
338 return CreateMaybeMessage<Widget>(
nullptr);
341 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
342 return CreateMaybeMessage<Widget>(arena);
344 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
345 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
348 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
349 bool IsInitialized() const final;
352 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
353 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
354 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
355 int GetCachedSize() const final {
return _cached_size_.Get(); }
358 inline void SharedCtor();
359 inline void SharedDtor();
360 void SetCachedSize(
int size)
const final;
361 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);
369 static void ArenaDtor(
void*
object);
370 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
375 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
392 bool _internal_has_b()
const;
406 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
407 typedef void InternalArenaConstructable_;
408 typedef void DestructorSkippable_;
409 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
410 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
412 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
420 #pragma GCC diagnostic push
421 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
426 inline bool Sample::_internal_has_a()
const {
427 bool value = (_has_bits_[0] & 0x00000002u) != 0;
430 inline bool Sample::has_a()
const {
431 return _internal_has_a();
433 inline void Sample::clear_a() {
435 _has_bits_[0] &= ~0x00000002u;
442 return _internal_a();
445 _has_bits_[0] |= 0x00000002u;
449 _internal_set_a(value);
454 inline bool Sample::_internal_has_group()
const {
455 bool value = (_has_bits_[0] & 0x00000001u) != 0;
458 inline bool Sample::has_group()
const {
459 return _internal_has_group();
461 inline void Sample::clear_group() {
463 _has_bits_[0] &= ~0x00000001u;
467 return _internal_group();
469 inline void Sample::set_group(
const std::string& value) {
470 _internal_set_group(value);
473 inline std::string* Sample::mutable_group() {
475 return _internal_mutable_group();
477 inline const std::string& Sample::_internal_group()
const {
480 inline void Sample::_internal_set_group(
const std::string& value) {
481 _has_bits_[0] |= 0x00000001u;
484 inline void Sample::set_group(std::string&& value) {
485 _has_bits_[0] |= 0x00000001u;
490 inline void Sample::set_group(
const char* value) {
491 GOOGLE_DCHECK(value !=
nullptr);
492 _has_bits_[0] |= 0x00000001u;
497 inline void Sample::set_group(
const char* value,
499 _has_bits_[0] |= 0x00000001u;
501 reinterpret_cast<const char*
>(value), size), GetArena());
504 inline std::string* Sample::_internal_mutable_group() {
505 _has_bits_[0] |= 0x00000001u;
508 inline std::string* Sample::release_group() {
510 if (!_internal_has_group()) {
513 _has_bits_[0] &= ~0x00000001u;
516 inline void Sample::set_allocated_group(std::string*
group) {
517 if (
group !=
nullptr) {
518 _has_bits_[0] |= 0x00000001u;
520 _has_bits_[0] &= ~0x00000001u;
526 inline std::string* Sample::unsafe_arena_release_group() {
528 GOOGLE_DCHECK(GetArena() !=
nullptr);
529 _has_bits_[0] &= ~0x00000001u;
533 inline void Sample::unsafe_arena_set_allocated_group(
534 std::string*
group) {
535 GOOGLE_DCHECK(GetArena() !=
nullptr);
536 if (
group !=
nullptr) {
537 _has_bits_[0] |= 0x00000001u;
539 _has_bits_[0] &= ~0x00000001u;
551 inline bool Widget::_internal_has_b()
const {
552 bool value = (_has_bits_[0] & 0x00000001u) != 0;
555 inline bool Widget::has_b()
const {
556 return _internal_has_b();
558 inline void Widget::clear_b() {
560 _has_bits_[0] &= ~0x00000001u;
567 return _internal_b();
570 _has_bits_[0] |= 0x00000001u;
574 _internal_set_b(value);
579 #pragma GCC diagnostic pop
593 #include <google/protobuf/port_undef.inc>
void CopyFrom(const Sample &from)
Widget(const Widget &from)
Sample(const Sample &from)
void set_group(const char *value, size_t size)
std::string * mutable_group()
void set_group(std::string &&value)
Widget(Widget &&from) noexcept
void MergeFrom(const Widget &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Widget * New() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void InitAsDefaultInstance()
static const Sample * internal_default_instance()
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 set_allocated_group(std::string *group)
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)
const std::string & group() const
static const Widget & default_instance()
void UnsafeArenaSwap(Sample *other)
Widget & operator=(Widget &&from) noexcept
void set_group(const std::string &value)
void set_group(const char *value)
std::string * release_group()
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.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
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::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto