4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "dccl/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[1];
57 namespace middleware {
58 namespace intermodule {
61 class SubscriptionDefaultTypeInternal;
73 namespace middleware {
74 namespace intermodule {
89 return ::google::protobuf::internal::NameOfEnum(
94 return ::google::protobuf::internal::ParseNamedEnum<Subscription_Action>(
113 *
this = ::std::move(from);
117 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
118 if (
this != &from) InternalSwap(&from);
126 return _internal_metadata_.unknown_fields();
129 return _internal_metadata_.mutable_unknown_fields();
132 static const ::google::protobuf::Descriptor*
descriptor();
151 return CreateMaybeMessage<Subscription>(NULL);
155 return CreateMaybeMessage<Subscription>(arena);
157 void CopyFrom(const ::google::protobuf::Message& from)
final;
158 void MergeFrom(const ::google::protobuf::Message& from)
final;
166 ::
google::protobuf::io::CodedInputStream* input) final;
168 ::
google::protobuf::io::CodedOutputStream* output) const final;
170 bool deterministic, ::
google::protobuf::uint8* target) const final;
176 void SetCachedSize(
int size)
const final;
179 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
182 inline void* MaybeArenaPtr()
const {
207 static inline const ::google::protobuf::EnumDescriptor*
225 const ::std::string&
id()
const;
226 void set_id(const ::std::string& value);
228 void set_id(::std::string&& value);
230 void set_id(
const char* value);
231 void set_id(
const char* value,
size_t size);
241 const ::goby::middleware::protobuf::SerializerTransporterKey& _internal_key()
const;
243 const ::goby::middleware::protobuf::SerializerTransporterKey&
key()
const;
260 void clear_has_key();
261 void set_has_action();
262 void clear_has_action();
265 size_t RequiredFieldsByteSizeFallback()
const;
267 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
268 ::google::protobuf::internal::HasBits<1> _has_bits_;
269 mutable ::google::protobuf::internal::CachedSize _cached_size_;
270 ::google::protobuf::internal::ArenaStringPtr id_;
273 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto::TableStruct;
281 #pragma GCC diagnostic push
282 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
288 return (_has_bits_[0] & 0x00000001u) != 0;
290 inline void Subscription::set_has_id() {
291 _has_bits_[0] |= 0x00000001u;
293 inline void Subscription::clear_has_id() {
294 _has_bits_[0] &= ~0x00000001u;
302 return id_.GetNoArena();
318 GOOGLE_DCHECK(value != NULL);
326 ::std::string(
reinterpret_cast<const char*
>(value), size));
354 return (_has_bits_[0] & 0x00000002u) != 0;
356 inline void Subscription::set_has_key() {
357 _has_bits_[0] |= 0x00000002u;
359 inline void Subscription::clear_has_key() {
360 _has_bits_[0] &= ~0x00000002u;
362 inline const ::goby::middleware::protobuf::SerializerTransporterKey& Subscription::_internal_key()
const {
365 inline const ::goby::middleware::protobuf::SerializerTransporterKey&
Subscription::key()
const {
366 const ::goby::middleware::protobuf::SerializerTransporterKey* p = key_;
381 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerializerTransporterKey>(GetArenaNoVirtual());
389 if (message_arena == NULL) {
394 if (message_arena != submessage_arena) {
395 key = ::google::protobuf::internal::GetOwnedMessage(
396 message_arena,
key, submessage_arena);
408 return (_has_bits_[0] & 0x00000004u) != 0;
410 inline void Subscription::set_has_action() {
411 _has_bits_[0] |= 0x00000004u;
413 inline void Subscription::clear_has_action() {
414 _has_bits_[0] &= ~0x00000004u;
432 #pragma GCC diagnostic pop
447 inline const EnumDescriptor* GetEnumDescriptor< ::goby::middleware::intermodule::protobuf::Subscription_Action>() {
456 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fintermodule_2eproto