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 "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_2fmiddleware_5fregex_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_group()
const;
214 const std::string&
group()
const;
215 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
221 const std::string& _internal_group()
const;
222 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string& value);
223 std::string* _internal_mutable_group();
229 bool _internal_has_a()
const;
235 int32_t _internal_a()
const;
236 void _internal_set_a(int32_t value);
243 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
244 typedef void InternalArenaConstructable_;
245 typedef void DestructorSkippable_;
247 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
248 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
249 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
253 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
258 public ::PROTOBUF_NAMESPACE_ID::Message {
262 explicit PROTOBUF_CONSTEXPR
Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
267 *
this = ::std::move(from);
275 if (
this == &from)
return *
this;
276 if (GetOwningArena() == from.GetOwningArena()
277 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
278 && GetOwningArena() !=
nullptr
289 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
292 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
295 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
296 return GetDescriptor();
299 return default_instance().GetMetadata().descriptor;
302 return default_instance().GetMetadata().reflection;
305 return *internal_default_instance();
308 return reinterpret_cast<const Widget*
>(
309 &_Widget_default_instance_);
311 static constexpr int kIndexInFileMessages =
318 if (other ==
this)
return;
319 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
320 if (GetOwningArena() !=
nullptr &&
321 GetOwningArena() == other->GetOwningArena()) {
323 if (GetOwningArena() == other->GetOwningArena()) {
327 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
331 if (other ==
this)
return;
332 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
338 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
339 return CreateMaybeMessage<Widget>(arena);
341 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
343 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
345 Widget::MergeImpl(*
this, from);
348 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
350 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
351 bool IsInitialized() const final;
354 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
355 uint8_t* _InternalSerialize(
356 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
357 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
360 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
362 void SetCachedSize(
int size)
const final;
363 void InternalSwap(
Widget* other);
366 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
367 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
368 return "goby.test.zeromq.protobuf.Widget";
371 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
372 bool is_message_owned =
false);
375 static const ClassData _class_data_;
376 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
378 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
390 bool _internal_has_b()
const;
396 int32_t _internal_b()
const;
397 void _internal_set_b(int32_t value);
404 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
405 typedef void InternalArenaConstructable_;
406 typedef void DestructorSkippable_;
408 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
409 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
412 union { Impl_ _impl_; };
413 friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
421 #pragma GCC diagnostic push
422 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
427inline bool Sample::_internal_has_a()
const {
428 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
431inline bool Sample::has_a()
const {
432 return _internal_has_a();
434inline void Sample::clear_a() {
436 _impl_._has_bits_[0] &= ~0x00000002u;
438inline int32_t Sample::_internal_a()
const {
441inline int32_t Sample::a()
const {
443 return _internal_a();
445inline void Sample::_internal_set_a(int32_t value) {
446 _impl_._has_bits_[0] |= 0x00000002u;
449inline void Sample::set_a(int32_t value) {
450 _internal_set_a(value);
455inline bool Sample::_internal_has_group()
const {
456 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
459inline bool Sample::has_group()
const {
460 return _internal_has_group();
462inline void Sample::clear_group() {
463 _impl_.group_.ClearToEmpty();
464 _impl_._has_bits_[0] &= ~0x00000001u;
466inline const std::string& Sample::group()
const {
468 return _internal_group();
470template <
typename ArgT0,
typename... ArgT>
471inline PROTOBUF_ALWAYS_INLINE
472void Sample::set_group(ArgT0&& arg0, ArgT... args) {
473 _impl_._has_bits_[0] |= 0x00000001u;
474 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
477inline std::string* Sample::mutable_group() {
478 std::string* _s = _internal_mutable_group();
482inline const std::string& Sample::_internal_group()
const {
483 return _impl_.group_.Get();
485inline void Sample::_internal_set_group(
const std::string& value) {
486 _impl_._has_bits_[0] |= 0x00000001u;
487 _impl_.group_.Set(value, GetArenaForAllocation());
489inline std::string* Sample::_internal_mutable_group() {
490 _impl_._has_bits_[0] |= 0x00000001u;
491 return _impl_.group_.Mutable(GetArenaForAllocation());
493inline std::string* Sample::release_group() {
495 if (!_internal_has_group()) {
498 _impl_._has_bits_[0] &= ~0x00000001u;
499 auto* p = _impl_.group_.Release();
500#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
501 if (_impl_.group_.IsDefault()) {
502 _impl_.group_.Set(
"", GetArenaForAllocation());
507inline void Sample::set_allocated_group(std::string*
group) {
508 if (
group !=
nullptr) {
509 _impl_._has_bits_[0] |= 0x00000001u;
511 _impl_._has_bits_[0] &= ~0x00000001u;
513 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
514#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
515 if (_impl_.group_.IsDefault()) {
516 _impl_.group_.Set(
"", GetArenaForAllocation());
527inline bool Widget::_internal_has_b()
const {
528 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
531inline bool Widget::has_b()
const {
532 return _internal_has_b();
534inline void Widget::clear_b() {
536 _impl_._has_bits_[0] &= ~0x00000001u;
538inline int32_t Widget::_internal_b()
const {
541inline int32_t Widget::b()
const {
543 return _internal_b();
545inline void Widget::_internal_set_b(int32_t value) {
546 _impl_._has_bits_[0] |= 0x00000001u;
549inline void Widget::set_b(int32_t value) {
550 _internal_set_b(value);
555 #pragma GCC diagnostic pop
569#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