4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmiddleware_2fpublisher_5fsubscriber_5foptions_2ftest_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2funit_2fmiddleware_2fpublisher_5fsubscriber_5foptions_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_2fpublisher_5fsubscriber_5foptions_2ftest_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
55namespace publisher_subscriber_options {
58struct SampleDefaultTypeInternal;
65PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
71namespace publisher_subscriber_options {
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.middleware.publisher_subscriber_options.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_a()
const;
214 void set_a(int32_t value);
216 int32_t _internal_a()
const;
217 void _internal_set_a(int32_t value);
223 bool _internal_has_group()
const;
226 uint32_t
group()
const;
229 uint32_t _internal_group()
const;
230 void _internal_set_group(uint32_t value);
238 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
239 typedef void InternalArenaConstructable_;
240 typedef void DestructorSkippable_;
242 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
243 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
248 friend struct ::TableStruct_goby_2ftest_2funit_2fmiddleware_2fpublisher_5fsubscriber_5foptions_2ftest_2eproto;
256 #pragma GCC diagnostic push
257 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
262inline bool Sample::_internal_has_a()
const {
263 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
267 return _internal_has_a();
271 _impl_._has_bits_[0] &= ~0x00000001u;
273inline int32_t Sample::_internal_a()
const {
278 return _internal_a();
280inline void Sample::_internal_set_a(int32_t value) {
281 _impl_._has_bits_[0] |= 0x00000001u;
285 _internal_set_a(value);
290inline bool Sample::_internal_has_group()
const {
291 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
295 return _internal_has_group();
299 _impl_._has_bits_[0] &= ~0x00000002u;
301inline uint32_t Sample::_internal_group()
const {
306 return _internal_group();
308inline void Sample::_internal_set_group(uint32_t value) {
309 _impl_._has_bits_[0] |= 0x00000002u;
313 _internal_set_group(value);
318 #pragma GCC diagnostic pop
331#include <google/protobuf/port_undef.inc>
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Sample(const Sample &from)
void MergeFrom(const Sample &from)
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Sample & operator=(const Sample &from)
static const Sample & default_instance()
static constexpr int kIndexInFileMessages
PROTOBUF_CONSTEXPR Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
size_t ByteSizeLong() const final
void set_a(int32_t value)
void CopyFrom(const Sample &from)
friend void swap(Sample &a, Sample &b)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Sample(Sample &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
int GetCachedSize() const final
Sample & operator=(Sample &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_group(uint32_t value)
static const Sample * internal_default_instance()
void UnsafeArenaSwap(Sample *other)
Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2funit_2fmiddleware_2fpublisher_5fsubscriber_5foptions_2ftest_2eproto
SampleDefaultTypeInternal _Sample_default_instance_
The global namespace for the Goby project.
static const uint32_t offsets[]