4 #ifndef PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_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>
23 #include <google/protobuf/arena.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>
29 #include <google/protobuf/message.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 "goby/middleware/protobuf/app_config.pb.h"
34 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
35 #include "goby/middleware/protobuf/udp_config.pb.h"
36 #include "goby/middleware/protobuf/transporter_config.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_bin_2fweb_5fportal_2fconfig_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];
52 static const ::google::protobuf::uint32
offsets[];
59 class WebPortalDefaultTypeInternal;
73 class WebPortal :
public ::google::protobuf::Message {
87 *
this = ::std::move(from);
91 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
92 if (
this != &from) InternalSwap(&from);
100 return _internal_metadata_.unknown_fields();
103 return _internal_metadata_.mutable_unknown_fields();
106 static const ::google::protobuf::Descriptor*
descriptor();
111 return reinterpret_cast<const WebPortal*
>(
125 return CreateMaybeMessage<WebPortal>(NULL);
129 return CreateMaybeMessage<WebPortal>(arena);
131 void CopyFrom(const ::google::protobuf::Message& from)
final;
132 void MergeFrom(const ::google::protobuf::Message& from)
final;
140 ::
google::protobuf::io::CodedInputStream* input) final;
142 ::
google::protobuf::io::CodedOutputStream* output) const final;
144 bool deterministic, ::
google::protobuf::uint8* target) const final;
150 void SetCachedSize(
int size)
const final;
153 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
156 inline void* MaybeArenaPtr()
const {
161 ::google::protobuf::Metadata
GetMetadata() const final;
172 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
174 const ::
goby::middleware::protobuf::AppConfig&
app() const;
184 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
186 const ::
goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess() const;
196 const ::
goby::middleware::protobuf::UDPOneToManyConfig& _internal_udp_config() const;
198 const ::
goby::middleware::protobuf::UDPOneToManyConfig&
udp_config() const;
208 const ::
goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_customer_config() const;
218 void clear_has_app();
219 void set_has_interprocess();
220 void clear_has_interprocess();
221 void set_has_udp_config();
222 void clear_has_udp_config();
223 void set_has_udp_customer_config();
224 void clear_has_udp_customer_config();
226 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
227 ::
google::protobuf::internal::HasBits<1> _has_bits_;
228 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
229 ::
goby::middleware::protobuf::AppConfig* app_;
230 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
231 ::
goby::middleware::protobuf::UDPOneToManyConfig* udp_config_;
232 ::
goby::middleware::protobuf::UDPPointToPointConfig* udp_customer_config_;
241 #pragma GCC diagnostic push
242 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
248 return (_has_bits_[0] & 0x00000001u) != 0;
250 inline void WebPortal::set_has_app() {
251 _has_bits_[0] |= 0x00000001u;
253 inline void WebPortal::clear_has_app() {
254 _has_bits_[0] &= ~0x00000001u;
256 inline const ::goby::middleware::protobuf::AppConfig& WebPortal::_internal_app()
const {
260 const ::goby::middleware::protobuf::AppConfig* p = app_;
262 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
263 &::goby::middleware::protobuf::_AppConfig_default_instance_);
268 ::goby::middleware::protobuf::AppConfig* temp = app_;
275 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
282 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
283 if (message_arena == NULL) {
284 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
287 ::google::protobuf::Arena* submessage_arena = NULL;
288 if (message_arena != submessage_arena) {
289 app = ::google::protobuf::internal::GetOwnedMessage(
290 message_arena,
app, submessage_arena);
302 return (_has_bits_[0] & 0x00000002u) != 0;
304 inline void WebPortal::set_has_interprocess() {
305 _has_bits_[0] |= 0x00000002u;
307 inline void WebPortal::clear_has_interprocess() {
308 _has_bits_[0] &= ~0x00000002u;
310 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& WebPortal::_internal_interprocess()
const {
311 return *interprocess_;
314 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
316 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
317 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
321 clear_has_interprocess();
322 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
323 interprocess_ = NULL;
327 set_has_interprocess();
328 if (interprocess_ == NULL) {
329 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
333 return interprocess_;
336 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
337 if (message_arena == NULL) {
338 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
341 ::google::protobuf::Arena* submessage_arena = NULL;
342 if (message_arena != submessage_arena) {
343 interprocess = ::google::protobuf::internal::GetOwnedMessage(
346 set_has_interprocess();
348 clear_has_interprocess();
356 return (_has_bits_[0] & 0x00000004u) != 0;
358 inline void WebPortal::set_has_udp_config() {
359 _has_bits_[0] |= 0x00000004u;
361 inline void WebPortal::clear_has_udp_config() {
362 _has_bits_[0] &= ~0x00000004u;
364 inline const ::goby::middleware::protobuf::UDPOneToManyConfig& WebPortal::_internal_udp_config()
const {
368 const ::goby::middleware::protobuf::UDPOneToManyConfig* p = udp_config_;
370 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPOneToManyConfig*
>(
371 &::goby::middleware::protobuf::_UDPOneToManyConfig_default_instance_);
375 clear_has_udp_config();
376 ::goby::middleware::protobuf::UDPOneToManyConfig* temp = udp_config_;
381 set_has_udp_config();
382 if (udp_config_ == NULL) {
383 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPOneToManyConfig>(GetArenaNoVirtual());
390 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
391 if (message_arena == NULL) {
392 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(udp_config_);
395 ::google::protobuf::Arena* submessage_arena = NULL;
396 if (message_arena != submessage_arena) {
397 udp_config = ::google::protobuf::internal::GetOwnedMessage(
400 set_has_udp_config();
402 clear_has_udp_config();
410 return (_has_bits_[0] & 0x00000008u) != 0;
412 inline void WebPortal::set_has_udp_customer_config() {
413 _has_bits_[0] |= 0x00000008u;
415 inline void WebPortal::clear_has_udp_customer_config() {
416 _has_bits_[0] &= ~0x00000008u;
418 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& WebPortal::_internal_udp_customer_config()
const {
419 return *udp_customer_config_;
422 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = udp_customer_config_;
424 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*
>(
425 &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
429 clear_has_udp_customer_config();
430 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = udp_customer_config_;
431 udp_customer_config_ = NULL;
435 set_has_udp_customer_config();
436 if (udp_customer_config_ == NULL) {
437 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaNoVirtual());
438 udp_customer_config_ = p;
441 return udp_customer_config_;
444 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
445 if (message_arena == NULL) {
446 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(udp_customer_config_);
449 ::google::protobuf::Arena* submessage_arena = NULL;
450 if (message_arena != submessage_arena) {
454 set_has_udp_customer_config();
456 clear_has_udp_customer_config();
463 #pragma GCC diagnostic pop
473 #endif // PROTOBUF_INCLUDED_bin_2fweb_5fportal_2fconfig_2eproto