4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmiddleware_2fdccl_5fload_5flibrary_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmiddleware_2fdccl_5fload_5flibrary_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_2funit_2fmiddleware_2fdccl_5fload_5flibrary_2ftest_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
57struct NativeProtobufSampleDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
74 public ::PROTOBUF_NAMESPACE_ID::Message {
83 *
this = ::std::move(from);
91 if (
this == &from)
return *
this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() !=
nullptr
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 if (other ==
this)
return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() !=
nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
139 if (GetOwningArena() == other->GetOwningArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
155 return CreateMaybeMessage<NativeProtobufSample>(arena);
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 NativeProtobufSample::MergeImpl(*
this, from);
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
178 void SetCachedSize(
int size)
const final;
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.test.middleware.protobuf.NativeProtobufSample";
188 bool is_message_owned =
false);
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
207 bool _internal_has_b()
const;
211 void set_b(
double value);
213 double _internal_b()
const;
214 void _internal_set_b(
double value);
220 bool _internal_has_a()
const;
224 void set_a(int32_t value);
226 int32_t _internal_a()
const;
227 void _internal_set_a(int32_t value);
235 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
236 typedef void InternalArenaConstructable_;
237 typedef void DestructorSkippable_;
239 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
240 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
245 friend struct ::TableStruct_goby_2ftest_2funit_2fmiddleware_2fdccl_5fload_5flibrary_2ftest_2eproto;
253 #pragma GCC diagnostic push
254 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
259inline bool NativeProtobufSample::_internal_has_a()
const {
260 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
264 return _internal_has_a();
268 _impl_._has_bits_[0] &= ~0x00000002u;
270inline int32_t NativeProtobufSample::_internal_a()
const {
275 return _internal_a();
277inline void NativeProtobufSample::_internal_set_a(int32_t value) {
278 _impl_._has_bits_[0] |= 0x00000002u;
282 _internal_set_a(value);
287inline bool NativeProtobufSample::_internal_has_b()
const {
288 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
292 return _internal_has_b();
296 _impl_._has_bits_[0] &= ~0x00000001u;
298inline double NativeProtobufSample::_internal_b()
const {
303 return _internal_b();
305inline void NativeProtobufSample::_internal_set_b(
double value) {
306 _impl_._has_bits_[0] |= 0x00000001u;
310 _internal_set_b(value);
315 #pragma GCC diagnostic pop
327#include <google/protobuf/port_undef.inc>
void Swap(NativeProtobufSample *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const NativeProtobufSample &from)
static const NativeProtobufSample * internal_default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
NativeProtobufSample(const NativeProtobufSample &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
NativeProtobufSample & operator=(NativeProtobufSample &&from) noexcept
static const ClassData _class_data_
static const NativeProtobufSample & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
NativeProtobufSample & operator=(const NativeProtobufSample &from)
static constexpr int kIndexInFileMessages
size_t ByteSizeLong() const final
int GetCachedSize() const final
NativeProtobufSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void UnsafeArenaSwap(NativeProtobufSample *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
~NativeProtobufSample() override
void set_a(int32_t value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
NativeProtobufSample(NativeProtobufSample &&from) noexcept
PROTOBUF_CONSTEXPR NativeProtobufSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool IsInitialized() const final
NativeProtobufSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const NativeProtobufSample &from)
friend void swap(NativeProtobufSample &a, NativeProtobufSample &b)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2funit_2fmiddleware_2fdccl_5fload_5flibrary_2ftest_2eproto
NativeProtobufSampleDefaultTypeInternal _NativeProtobufSample_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]