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 < 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 <boost/units/quantity.hpp>
34#include <boost/units/absolute.hpp>
35#include <boost/units/dimensionless_type.hpp>
36#include <boost/units/make_scaled_unit.hpp>
38#include <google/protobuf/port_def.inc>
39#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto
40PROTOBUF_NAMESPACE_OPEN
44PROTOBUF_NAMESPACE_CLOSE
56struct SampleDefaultTypeInternal;
59struct WidgetDefaultTypeInternal;
65PROTOBUF_NAMESPACE_OPEN
68PROTOBUF_NAMESPACE_CLOSE
77 public ::PROTOBUF_NAMESPACE_ID::Message {
81 explicit PROTOBUF_CONSTEXPR
Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86 *
this = ::std::move(from);
94 if (
this == &from)
return *
this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() !=
nullptr
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
127 return reinterpret_cast<const Sample*
>(
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 Sample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<Sample>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 Sample::MergeImpl(*
this, from);
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
181 void SetCachedSize(
int size)
const final;
182 void InternalSwap(
Sample* other);
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.test.zeromq.protobuf.Sample";
190 explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned =
false);
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
210 bool _internal_has_group()
const;
213 const std::string&
group()
const;
214 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
220 const std::string& _internal_group()
const;
221 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string& value);
222 std::string* _internal_mutable_group();
228 bool _internal_has_a()
const;
234 int32_t _internal_a()
const;
235 void _internal_set_a(int32_t value);
242 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
243 typedef void InternalArenaConstructable_;
244 typedef void DestructorSkippable_;
246 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
247 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
248 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
252 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
257 public ::PROTOBUF_NAMESPACE_ID::Message {
261 explicit PROTOBUF_CONSTEXPR
Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
266 *
this = ::std::move(from);
274 if (
this == &from)
return *
this;
275 if (GetOwningArena() == from.GetOwningArena()
276 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
277 && GetOwningArena() !=
nullptr
288 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
291 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
294 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
295 return GetDescriptor();
298 return default_instance().GetMetadata().descriptor;
301 return default_instance().GetMetadata().reflection;
304 return *internal_default_instance();
307 return reinterpret_cast<const Widget*
>(
308 &_Widget_default_instance_);
310 static constexpr int kIndexInFileMessages =
317 if (other ==
this)
return;
318 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
319 if (GetOwningArena() !=
nullptr &&
320 GetOwningArena() == other->GetOwningArena()) {
322 if (GetOwningArena() == other->GetOwningArena()) {
326 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
330 if (other ==
this)
return;
331 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
337 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
338 return CreateMaybeMessage<Widget>(arena);
340 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
342 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
344 Widget::MergeImpl(*
this, from);
347 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
349 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
350 bool IsInitialized() const final;
353 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
354 uint8_t* _InternalSerialize(
355 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
356 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
359 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
361 void SetCachedSize(
int size)
const final;
362 void InternalSwap(
Widget* other);
365 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
366 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
367 return "goby.test.zeromq.protobuf.Widget";
370 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
371 bool is_message_owned =
false);
374 static const ClassData _class_data_;
375 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
377 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
389 bool _internal_has_b()
const;
395 int32_t _internal_b()
const;
396 void _internal_set_b(int32_t value);
403 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
404 typedef void InternalArenaConstructable_;
405 typedef void DestructorSkippable_;
407 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
408 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
411 union { Impl_ _impl_; };
412 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
420 #pragma GCC diagnostic push
421 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
426inline bool Sample::_internal_has_a()
const {
427 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
430inline bool Sample::has_a()
const {
431 return _internal_has_a();
433inline void Sample::clear_a() {
435 _impl_._has_bits_[0] &= ~0x00000002u;
437inline int32_t Sample::_internal_a()
const {
440inline int32_t Sample::a()
const {
442 return _internal_a();
444inline void Sample::_internal_set_a(int32_t value) {
445 _impl_._has_bits_[0] |= 0x00000002u;
448inline void Sample::set_a(int32_t value) {
449 _internal_set_a(value);
454inline bool Sample::_internal_has_group()
const {
455 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
458inline bool Sample::has_group()
const {
459 return _internal_has_group();
461inline void Sample::clear_group() {
462 _impl_.group_.ClearToEmpty();
463 _impl_._has_bits_[0] &= ~0x00000001u;
465inline const std::string& Sample::group()
const {
467 return _internal_group();
469template <
typename ArgT0,
typename... ArgT>
470inline PROTOBUF_ALWAYS_INLINE
471void Sample::set_group(ArgT0&& arg0, ArgT... args) {
472 _impl_._has_bits_[0] |= 0x00000001u;
473 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
476inline std::string* Sample::mutable_group() {
477 std::string* _s = _internal_mutable_group();
481inline const std::string& Sample::_internal_group()
const {
482 return _impl_.group_.Get();
484inline void Sample::_internal_set_group(
const std::string& value) {
485 _impl_._has_bits_[0] |= 0x00000001u;
486 _impl_.group_.Set(value, GetArenaForAllocation());
488inline std::string* Sample::_internal_mutable_group() {
489 _impl_._has_bits_[0] |= 0x00000001u;
490 return _impl_.group_.Mutable(GetArenaForAllocation());
492inline std::string* Sample::release_group() {
494 if (!_internal_has_group()) {
497 _impl_._has_bits_[0] &= ~0x00000001u;
498 auto* p = _impl_.group_.Release();
499#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
500 if (_impl_.group_.IsDefault()) {
501 _impl_.group_.Set(
"", GetArenaForAllocation());
506inline void Sample::set_allocated_group(std::string*
group) {
507 if (
group !=
nullptr) {
508 _impl_._has_bits_[0] |= 0x00000001u;
510 _impl_._has_bits_[0] &= ~0x00000001u;
512 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
513#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
514 if (_impl_.group_.IsDefault()) {
515 _impl_.group_.Set(
"", GetArenaForAllocation());
526inline bool Widget::_internal_has_b()
const {
527 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
530inline bool Widget::has_b()
const {
531 return _internal_has_b();
533inline void Widget::clear_b() {
535 _impl_._has_bits_[0] &= ~0x00000001u;
537inline int32_t Widget::_internal_b()
const {
540inline int32_t Widget::b()
const {
542 return _internal_b();
544inline void Widget::_internal_set_b(int32_t value) {
545 _impl_._has_bits_[0] |= 0x00000001u;
548inline void Widget::set_b(int32_t value) {
549 _internal_set_b(value);
554 #pragma GCC diagnostic pop
568#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()
std::string * mutable_group()
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)
PROTOBUF_NODISCARD std::string * release_group()
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()
void set_allocated_group(std::string *group)
int GetCachedSize() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const std::string & group() const
Sample(const Sample &from)
goby::util::logger::GroupSetter group(std::string n)
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_2fmiddleware_5fregex_2ftest_2eproto