4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #include "dccl/option_extensions.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
45 #include <boost/units/systems/si.hpp>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
72 class FrontSeatInterfaceConfig;
73 class FrontSeatInterfaceConfigDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::zeromq::protobuf::FrontSeatInterfaceConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::FrontSeatInterfaceConfig>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
89 class FrontSeatInterfaceConfig PROTOBUF_FINAL :
90 public ::PROTOBUF_NAMESPACE_ID::Message {
97 : FrontSeatInterfaceConfig() {
98 *
this = ::std::move(from);
101 inline FrontSeatInterfaceConfig&
operator=(
const FrontSeatInterfaceConfig& from) {
105 inline FrontSeatInterfaceConfig&
operator=(FrontSeatInterfaceConfig&& from) noexcept {
106 if (GetArena() == from.GetArena()) {
107 if (
this != &from) InternalSwap(&from);
115 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
118 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
122 return GetDescriptor();
125 return GetMetadataStatic().descriptor;
128 return GetMetadataStatic().reflection;
134 return reinterpret_cast<const FrontSeatInterfaceConfig*
>(
137 static constexpr
int kIndexInFileMessages =
140 friend void swap(FrontSeatInterfaceConfig& a, FrontSeatInterfaceConfig& b) {
143 inline void Swap(FrontSeatInterfaceConfig* other) {
144 if (other ==
this)
return;
145 if (GetArena() == other->GetArena()) {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
152 if (other ==
this)
return;
153 GOOGLE_DCHECK(GetArena() == other->GetArena());
159 inline FrontSeatInterfaceConfig*
New() const final {
160 return CreateMaybeMessage<FrontSeatInterfaceConfig>(
nullptr);
163 FrontSeatInterfaceConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
164 return CreateMaybeMessage<FrontSeatInterfaceConfig>(arena);
166 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
167 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
168 void CopyFrom(
const FrontSeatInterfaceConfig& from);
170 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
171 bool IsInitialized() const final;
174 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
175 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
176 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 int GetCachedSize() const final {
return _cached_size_.Get(); }
180 inline void SharedCtor();
181 inline void SharedDtor();
182 void SetCachedSize(
int size)
const final;
183 void InternalSwap(FrontSeatInterfaceConfig* other);
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "goby.apps.zeromq.protobuf.FrontSeatInterfaceConfig";
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
210 kInterprocessFieldNumber = 2,
211 kFrontseatCfgFieldNumber = 10,
216 bool _internal_has_app()
const;
219 const ::goby::middleware::protobuf::AppConfig&
app()
const;
224 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
225 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
228 ::goby::middleware::protobuf::AppConfig* app);
234 bool _internal_has_interprocess()
const;
237 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
242 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
243 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
246 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
252 bool _internal_has_frontseat_cfg()
const;
255 const ::goby::middleware::frontseat::protobuf::Config&
frontseat_cfg()
const;
260 const ::goby::middleware::frontseat::protobuf::Config& _internal_frontseat_cfg()
const;
261 ::goby::middleware::frontseat::protobuf::Config* _internal_mutable_frontseat_cfg();
264 ::goby::middleware::frontseat::protobuf::Config* frontseat_cfg);
267 GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FrontSeatInterfaceConfig)
272 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
274 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
275 typedef void InternalArenaConstructable_;
276 typedef void DestructorSkippable_;
277 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
278 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
279 ::goby::middleware::protobuf::AppConfig* app_;
280 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
281 ::goby::middleware::frontseat::protobuf::Config* frontseat_cfg_;
282 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto;
290 #pragma GCC diagnostic push
291 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
296 inline bool FrontSeatInterfaceConfig::_internal_has_app()
const {
297 bool value = (_has_bits_[0] & 0x00000001u) != 0;
298 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
301 inline bool FrontSeatInterfaceConfig::has_app()
const {
302 return _internal_has_app();
304 inline const ::goby::middleware::protobuf::AppConfig& FrontSeatInterfaceConfig::_internal_app()
const {
305 const ::goby::middleware::protobuf::AppConfig* p = app_;
306 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
309 inline const ::goby::middleware::protobuf::AppConfig& FrontSeatInterfaceConfig::app()
const {
311 return _internal_app();
313 inline void FrontSeatInterfaceConfig::unsafe_arena_set_allocated_app(
314 ::goby::middleware::protobuf::AppConfig* app) {
315 if (GetArena() ==
nullptr) {
316 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
320 _has_bits_[0] |= 0x00000001u;
322 _has_bits_[0] &= ~0x00000001u;
326 inline ::goby::middleware::protobuf::AppConfig* FrontSeatInterfaceConfig::release_app() {
327 auto temp = unsafe_arena_release_app();
328 if (GetArena() !=
nullptr) {
329 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
333 inline ::goby::middleware::protobuf::AppConfig* FrontSeatInterfaceConfig::unsafe_arena_release_app() {
335 _has_bits_[0] &= ~0x00000001u;
336 ::goby::middleware::protobuf::AppConfig* temp = app_;
340 inline ::goby::middleware::protobuf::AppConfig* FrontSeatInterfaceConfig::_internal_mutable_app() {
341 _has_bits_[0] |= 0x00000001u;
342 if (app_ ==
nullptr) {
343 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
348 inline ::goby::middleware::protobuf::AppConfig* FrontSeatInterfaceConfig::mutable_app() {
350 return _internal_mutable_app();
352 inline void FrontSeatInterfaceConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
353 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
354 if (message_arena ==
nullptr) {
355 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
358 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
359 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
360 if (message_arena != submessage_arena) {
361 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
362 message_arena, app, submessage_arena);
364 _has_bits_[0] |= 0x00000001u;
366 _has_bits_[0] &= ~0x00000001u;
373 inline bool FrontSeatInterfaceConfig::_internal_has_interprocess()
const {
374 bool value = (_has_bits_[0] & 0x00000002u) != 0;
375 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
378 inline bool FrontSeatInterfaceConfig::has_interprocess()
const {
379 return _internal_has_interprocess();
381 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FrontSeatInterfaceConfig::_internal_interprocess()
const {
382 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
383 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
386 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& FrontSeatInterfaceConfig::interprocess()
const {
388 return _internal_interprocess();
390 inline void FrontSeatInterfaceConfig::unsafe_arena_set_allocated_interprocess(
391 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
392 if (GetArena() ==
nullptr) {
393 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
395 interprocess_ = interprocess;
397 _has_bits_[0] |= 0x00000002u;
399 _has_bits_[0] &= ~0x00000002u;
403 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FrontSeatInterfaceConfig::release_interprocess() {
404 auto temp = unsafe_arena_release_interprocess();
405 if (GetArena() !=
nullptr) {
406 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
410 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FrontSeatInterfaceConfig::unsafe_arena_release_interprocess() {
412 _has_bits_[0] &= ~0x00000002u;
413 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
414 interprocess_ =
nullptr;
417 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FrontSeatInterfaceConfig::_internal_mutable_interprocess() {
418 _has_bits_[0] |= 0x00000002u;
419 if (interprocess_ ==
nullptr) {
420 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
423 return interprocess_;
425 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* FrontSeatInterfaceConfig::mutable_interprocess() {
427 return _internal_mutable_interprocess();
429 inline void FrontSeatInterfaceConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
430 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
431 if (message_arena ==
nullptr) {
432 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
435 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
436 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
437 if (message_arena != submessage_arena) {
438 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
439 message_arena, interprocess, submessage_arena);
441 _has_bits_[0] |= 0x00000002u;
443 _has_bits_[0] &= ~0x00000002u;
445 interprocess_ = interprocess;
450 inline bool FrontSeatInterfaceConfig::_internal_has_frontseat_cfg()
const {
451 bool value = (_has_bits_[0] & 0x00000004u) != 0;
452 PROTOBUF_ASSUME(!value || frontseat_cfg_ !=
nullptr);
455 inline bool FrontSeatInterfaceConfig::has_frontseat_cfg()
const {
456 return _internal_has_frontseat_cfg();
458 inline const ::goby::middleware::frontseat::protobuf::Config& FrontSeatInterfaceConfig::_internal_frontseat_cfg()
const {
459 const ::goby::middleware::frontseat::protobuf::Config* p = frontseat_cfg_;
460 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::frontseat::protobuf::Config*
>(
463 inline const ::goby::middleware::frontseat::protobuf::Config& FrontSeatInterfaceConfig::frontseat_cfg()
const {
465 return _internal_frontseat_cfg();
467 inline void FrontSeatInterfaceConfig::unsafe_arena_set_allocated_frontseat_cfg(
468 ::goby::middleware::frontseat::protobuf::Config* frontseat_cfg) {
469 if (GetArena() ==
nullptr) {
470 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(frontseat_cfg_);
472 frontseat_cfg_ = frontseat_cfg;
474 _has_bits_[0] |= 0x00000004u;
476 _has_bits_[0] &= ~0x00000004u;
480 inline ::goby::middleware::frontseat::protobuf::Config* FrontSeatInterfaceConfig::release_frontseat_cfg() {
481 auto temp = unsafe_arena_release_frontseat_cfg();
482 if (GetArena() !=
nullptr) {
483 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
487 inline ::goby::middleware::frontseat::protobuf::Config* FrontSeatInterfaceConfig::unsafe_arena_release_frontseat_cfg() {
489 _has_bits_[0] &= ~0x00000004u;
490 ::goby::middleware::frontseat::protobuf::Config* temp = frontseat_cfg_;
491 frontseat_cfg_ =
nullptr;
494 inline ::goby::middleware::frontseat::protobuf::Config* FrontSeatInterfaceConfig::_internal_mutable_frontseat_cfg() {
495 _has_bits_[0] |= 0x00000004u;
496 if (frontseat_cfg_ ==
nullptr) {
497 auto* p = CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Config>(GetArena());
500 return frontseat_cfg_;
502 inline ::goby::middleware::frontseat::protobuf::Config* FrontSeatInterfaceConfig::mutable_frontseat_cfg() {
504 return _internal_mutable_frontseat_cfg();
506 inline void FrontSeatInterfaceConfig::set_allocated_frontseat_cfg(::goby::middleware::frontseat::protobuf::Config* frontseat_cfg) {
507 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
508 if (message_arena ==
nullptr) {
509 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(frontseat_cfg_);
512 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
513 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(frontseat_cfg)->GetArena();
514 if (message_arena != submessage_arena) {
515 frontseat_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
516 message_arena, frontseat_cfg, submessage_arena);
518 _has_bits_[0] |= 0x00000004u;
520 _has_bits_[0] &= ~0x00000004u;
522 frontseat_cfg_ = frontseat_cfg;
527 #pragma GCC diagnostic pop
539 #include <google/protobuf/port_undef.inc>
FrontSeatInterfaceConfig()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::goby::middleware::protobuf::AppConfig * mutable_app()
virtual ~FrontSeatInterfaceConfig()
FrontSeatInterfaceConfig & operator=(const FrontSeatInterfaceConfig &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
bool has_interprocess() const
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
::goby::middleware::frontseat::protobuf::Config * mutable_frontseat_cfg()
void clear_frontseat_cfg()
static void InitAsDefaultInstance()
::goby::middleware::frontseat::protobuf::Config * unsafe_arena_release_frontseat_cfg()
void unsafe_arena_set_allocated_frontseat_cfg(::goby::middleware::frontseat::protobuf::Config *frontseat_cfg)
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
void UnsafeArenaSwap(FrontSeatInterfaceConfig *other)
void MergeFrom(const FrontSeatInterfaceConfig &from)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
FrontSeatInterfaceConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
FrontSeatInterfaceConfig(FrontSeatInterfaceConfig &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
::goby::middleware::frontseat::protobuf::Config * release_frontseat_cfg()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
FrontSeatInterfaceConfig * New() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
FrontSeatInterfaceConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_allocated_frontseat_cfg(::goby::middleware::frontseat::protobuf::Config *frontseat_cfg)
static const FrontSeatInterfaceConfig * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
FrontSeatInterfaceConfig(const FrontSeatInterfaceConfig &from)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const ::goby::middleware::protobuf::AppConfig & app() const
void Swap(FrontSeatInterfaceConfig *other)
const ::goby::middleware::frontseat::protobuf::Config & frontseat_cfg() const
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
friend void swap(FrontSeatInterfaceConfig &a, FrontSeatInterfaceConfig &b)
bool has_frontseat_cfg() const
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const FrontSeatInterfaceConfig &from)
static const FrontSeatInterfaceConfig & default_instance()
::goby::middleware::protobuf::AppConfig * release_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
FrontSeatInterfaceConfig & operator=(FrontSeatInterfaceConfig &&from) noexcept
void clear_interprocess()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2ffrontseat_5finterface_5fconfig_2eproto
@ value
the parser finished reading a JSON value
ConfigDefaultTypeInternal _Config_default_instance_
FrontSeatInterfaceConfigDefaultTypeInternal _FrontSeatInterfaceConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]