4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fsingle_5fthread_5fapp1_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fmiddleware_2fsingle_5fthread_5fapp1_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_2fmiddleware_2fsingle_5fthread_5fapp1_2ftest_2eproto
40PROTOBUF_NAMESPACE_OPEN
44PROTOBUF_NAMESPACE_CLOSE
52struct WidgetDefaultTypeInternal;
54PROTOBUF_NAMESPACE_OPEN
55template<>
::Widget* Arena::CreateMaybeMessage<::Widget>(Arena*);
56PROTOBUF_NAMESPACE_CLOSE
61 public ::PROTOBUF_NAMESPACE_ID::Message {
65 explicit PROTOBUF_CONSTEXPR
Widget(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
70 *
this = ::std::move(from);
78 if (
this == &from)
return *
this;
79 if (GetOwningArena() == from.GetOwningArena()
80 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
81 && GetOwningArena() !=
nullptr
91 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet&
unknown_fields()
const {
92 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
95 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
98 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
111 return reinterpret_cast<const Widget*
>(
121 if (other ==
this)
return;
122 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
123 if (GetOwningArena() !=
nullptr &&
124 GetOwningArena() == other->GetOwningArena()) {
126 if (GetOwningArena() == other->GetOwningArena()) {
130 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
134 if (other ==
this)
return;
135 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
141 Widget*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
142 return CreateMaybeMessage<Widget>(arena);
144 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
146 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
148 Widget::MergeImpl(*
this, from);
151 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
153 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
159 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
165 void SetCachedSize(
int size)
const final;
166 void InternalSwap(
Widget* other);
169 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
170 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174 explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena,
175 bool is_message_owned =
false);
179 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
193 bool _internal_has_b()
const;
197 void set_b(int32_t value);
199 int32_t _internal_b()
const;
200 void _internal_set_b(int32_t value);
207 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
208 typedef void InternalArenaConstructable_;
209 typedef void DestructorSkippable_;
211 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
212 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
216 friend struct ::TableStruct_goby_2ftest_2fmiddleware_2fsingle_5fthread_5fapp1_2ftest_2eproto;
224 #pragma GCC diagnostic push
225 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
230inline bool Widget::_internal_has_b()
const {
231 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
235 return _internal_has_b();
239 _impl_._has_bits_[0] &= ~0x00000001u;
241inline int32_t Widget::_internal_b()
const {
246 return _internal_b();
248inline void Widget::_internal_set_b(int32_t value) {
249 _impl_._has_bits_[0] |= 0x00000001u;
253 _internal_set_b(value);
258 #pragma GCC diagnostic pop
266#include <google/protobuf/port_undef.inc>
WidgetDefaultTypeInternal _Widget_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fmiddleware_2fsingle_5fthread_5fapp1_2ftest_2eproto
static const uint32_t offsets[]