4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_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>
34#include "dccl/option_extensions.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <boost/units/systems/si.hpp>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2froute_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59struct RouteCommandDefaultTypeInternal;
61class RouteManagerConfig;
62struct RouteManagerConfigDefaultTypeInternal;
65struct StaticRouteDefaultTypeInternal;
70PROTOBUF_NAMESPACE_OPEN
74PROTOBUF_NAMESPACE_CLOSE
82 public ::PROTOBUF_NAMESPACE_ID::Message {
86 explicit PROTOBUF_CONSTEXPR
StaticRoute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
91 *
this = ::std::move(from);
99 if (
this == &from)
return *
this;
100 if (GetOwningArena() == from.GetOwningArena()
101 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
102 && GetOwningArena() !=
nullptr
113 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
116 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
142 if (other ==
this)
return;
143 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() !=
nullptr &&
145 GetOwningArena() == other->GetOwningArena()) {
147 if (GetOwningArena() == other->GetOwningArena()) {
151 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
155 if (other ==
this)
return;
156 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
163 return CreateMaybeMessage<StaticRoute>(arena);
165 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169 StaticRoute::MergeImpl(*
this, from);
172 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
174 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
180 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
184 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
186 void SetCachedSize(
int size)
const final;
190 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
191 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
192 return "goby.acomms.protobuf.StaticRoute";
196 bool is_message_owned =
false);
200 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
214 int _internal_hop_size()
const;
218 int32_t _internal_hop(
int index)
const;
219 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
220 _internal_hop()
const;
221 void _internal_add_hop(int32_t value);
222 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
223 _internal_mutable_hop();
225 int32_t
hop(
int index)
const;
226 void set_hop(
int index, int32_t value);
228 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
230 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
237 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
238 typedef void InternalArenaConstructable_;
239 typedef void DestructorSkippable_;
241 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > hop_;
242 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
245 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
250 public ::PROTOBUF_NAMESPACE_ID::Message {
254 explicit PROTOBUF_CONSTEXPR
RouteManagerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
259 *
this = ::std::move(from);
267 if (
this == &from)
return *
this;
268 if (GetOwningArena() == from.GetOwningArena()
269 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
270 && GetOwningArena() !=
nullptr
281 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
284 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
287 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
288 return GetDescriptor();
291 return default_instance().GetMetadata().descriptor;
294 return default_instance().GetMetadata().reflection;
297 return *internal_default_instance();
303 static constexpr int kIndexInFileMessages =
310 if (other ==
this)
return;
311 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
312 if (GetOwningArena() !=
nullptr &&
313 GetOwningArena() == other->GetOwningArena()) {
315 if (GetOwningArena() == other->GetOwningArena()) {
319 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
323 if (other ==
this)
return;
324 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
331 return CreateMaybeMessage<RouteManagerConfig>(arena);
333 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
335 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
337 RouteManagerConfig::MergeImpl(*
this, from);
340 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
342 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
343 bool IsInitialized() const final;
346 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
347 uint8_t* _InternalSerialize(
348 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
349 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
352 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
354 void SetCachedSize(
int size)
const final;
358 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
359 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
360 return "goby.acomms.protobuf.RouteManagerConfig";
364 bool is_message_owned =
false);
368 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
370 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
377 kRouteFieldNumber = 1,
378 kDefaultGatewayFieldNumber = 3,
379 kSubnetMaskFieldNumber = 2,
382 bool has_route()
const;
384 bool _internal_has_route()
const;
387 const ::goby::acomms::protobuf::StaticRoute& route()
const;
388 PROTOBUF_NODISCARD ::goby::acomms::protobuf::StaticRoute* release_route();
392 const ::goby::acomms::protobuf::StaticRoute& _internal_route()
const;
395 void unsafe_arena_set_allocated_route(
400 bool has_default_gateway()
const;
402 bool _internal_has_default_gateway()
const;
404 void clear_default_gateway();
405 uint32_t default_gateway()
const;
406 void set_default_gateway(uint32_t value);
408 uint32_t _internal_default_gateway()
const;
409 void _internal_set_default_gateway(uint32_t value);
413 bool has_subnet_mask()
const;
415 bool _internal_has_subnet_mask()
const;
417 void clear_subnet_mask();
418 uint32_t subnet_mask()
const;
419 void set_subnet_mask(uint32_t value);
421 uint32_t _internal_subnet_mask()
const;
422 void _internal_set_subnet_mask(uint32_t value);
429 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
430 typedef void InternalArenaConstructable_;
431 typedef void DestructorSkippable_;
433 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
434 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
436 uint32_t default_gateway_;
437 uint32_t subnet_mask_;
440 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
445 public ::PROTOBUF_NAMESPACE_ID::Message {
449 explicit PROTOBUF_CONSTEXPR
RouteCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
454 *
this = ::std::move(from);
462 if (
this == &from)
return *
this;
463 if (GetOwningArena() == from.GetOwningArena()
464 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
465 && GetOwningArena() !=
nullptr
476 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
479 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
482 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
483 return GetDescriptor();
486 return default_instance().GetMetadata().descriptor;
489 return default_instance().GetMetadata().reflection;
492 return *internal_default_instance();
498 static constexpr int kIndexInFileMessages =
505 if (other ==
this)
return;
506 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
507 if (GetOwningArena() !=
nullptr &&
508 GetOwningArena() == other->GetOwningArena()) {
510 if (GetOwningArena() == other->GetOwningArena()) {
514 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
518 if (other ==
this)
return;
519 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
526 return CreateMaybeMessage<RouteCommand>(arena);
528 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
530 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
532 RouteCommand::MergeImpl(*
this, from);
535 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
537 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
538 bool IsInitialized() const final;
541 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
542 uint8_t* _InternalSerialize(
543 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
544 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
547 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
549 void SetCachedSize(
int size)
const final;
553 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
554 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
555 return "goby.acomms.protobuf.RouteCommand";
559 bool is_message_owned =
false);
563 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
565 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
572 kNewRouteFieldNumber = 4,
574 kDestFieldNumber = 2,
575 kTimeFieldNumber = 3,
578 bool has_new_route()
const;
580 bool _internal_has_new_route()
const;
582 void clear_new_route();
583 const ::goby::acomms::protobuf::StaticRoute& new_route()
const;
584 PROTOBUF_NODISCARD ::goby::acomms::protobuf::StaticRoute* release_new_route();
588 const ::goby::acomms::protobuf::StaticRoute& _internal_new_route()
const;
591 void unsafe_arena_set_allocated_new_route(
596 bool has_src()
const;
598 bool _internal_has_src()
const;
602 void set_src(int32_t value);
604 int32_t _internal_src()
const;
605 void _internal_set_src(int32_t value);
609 bool has_dest()
const;
611 bool _internal_has_dest()
const;
614 int32_t dest()
const;
615 void set_dest(int32_t value);
617 int32_t _internal_dest()
const;
618 void _internal_set_dest(int32_t value);
622 bool has_time()
const;
624 bool _internal_has_time()
const;
627 uint64_t time()
const;
628 void set_time(uint64_t value);
630 uint64_t _internal_time()
const;
631 void _internal_set_time(uint64_t value);
635 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type
time_dimension;
637 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
time_unit;
639 template<
typename Quantity >
641 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
643 template<
typename Quantity >
645 {
return Quantity(time() *
time_unit()); };
648 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
654 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
655 typedef void InternalArenaConstructable_;
656 typedef void DestructorSkippable_;
658 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
659 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
666 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
674 #pragma GCC diagnostic push
675 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
680inline int StaticRoute::_internal_hop_size()
const {
681 return _impl_.hop_.size();
683inline int StaticRoute::hop_size()
const {
684 return _internal_hop_size();
686inline void StaticRoute::clear_hop() {
689inline int32_t StaticRoute::_internal_hop(
int index)
const {
690 return _impl_.hop_.Get(index);
692inline int32_t StaticRoute::hop(
int index)
const {
694 return _internal_hop(index);
696inline void StaticRoute::set_hop(
int index, int32_t value) {
697 _impl_.hop_.Set(index, value);
700inline void StaticRoute::_internal_add_hop(int32_t value) {
701 _impl_.hop_.Add(value);
703inline void StaticRoute::add_hop(int32_t value) {
704 _internal_add_hop(value);
707inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
708StaticRoute::_internal_hop()
const {
711inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
712StaticRoute::hop()
const {
714 return _internal_hop();
716inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
717StaticRoute::_internal_mutable_hop() {
720inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
721StaticRoute::mutable_hop() {
723 return _internal_mutable_hop();
731inline bool RouteManagerConfig::_internal_has_route()
const {
732 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
733 PROTOBUF_ASSUME(!value || _impl_.route_ !=
nullptr);
736inline bool RouteManagerConfig::has_route()
const {
737 return _internal_has_route();
739inline void RouteManagerConfig::clear_route() {
740 if (_impl_.route_ !=
nullptr) _impl_.route_->Clear();
741 _impl_._has_bits_[0] &= ~0x00000001u;
743inline const ::goby::acomms::protobuf::StaticRoute& RouteManagerConfig::_internal_route()
const {
744 const ::goby::acomms::protobuf::StaticRoute* p = _impl_.route_;
748inline const ::goby::acomms::protobuf::StaticRoute& RouteManagerConfig::route()
const {
750 return _internal_route();
752inline void RouteManagerConfig::unsafe_arena_set_allocated_route(
754 if (GetArenaForAllocation() ==
nullptr) {
755 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.route_);
757 _impl_.route_ = route;
759 _impl_._has_bits_[0] |= 0x00000001u;
761 _impl_._has_bits_[0] &= ~0x00000001u;
765inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::release_route() {
766 _impl_._has_bits_[0] &= ~0x00000001u;
768 _impl_.route_ =
nullptr;
769#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
770 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
771 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
772 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
774 if (GetArenaForAllocation() !=
nullptr) {
775 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
780inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::unsafe_arena_release_route() {
782 _impl_._has_bits_[0] &= ~0x00000001u;
784 _impl_.route_ =
nullptr;
787inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::_internal_mutable_route() {
788 _impl_._has_bits_[0] |= 0x00000001u;
789 if (_impl_.route_ ==
nullptr) {
793 return _impl_.route_;
795inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::mutable_route() {
801 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
802 if (message_arena ==
nullptr) {
803 delete _impl_.route_;
806 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
807 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(route);
808 if (message_arena != submessage_arena) {
809 route = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
810 message_arena, route, submessage_arena);
812 _impl_._has_bits_[0] |= 0x00000001u;
814 _impl_._has_bits_[0] &= ~0x00000001u;
816 _impl_.route_ = route;
821inline bool RouteManagerConfig::_internal_has_subnet_mask()
const {
822 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
825inline bool RouteManagerConfig::has_subnet_mask()
const {
826 return _internal_has_subnet_mask();
828inline void RouteManagerConfig::clear_subnet_mask() {
829 _impl_.subnet_mask_ = 4294967040u;
830 _impl_._has_bits_[0] &= ~0x00000004u;
832inline uint32_t RouteManagerConfig::_internal_subnet_mask()
const {
833 return _impl_.subnet_mask_;
835inline uint32_t RouteManagerConfig::subnet_mask()
const {
837 return _internal_subnet_mask();
839inline void RouteManagerConfig::_internal_set_subnet_mask(uint32_t value) {
840 _impl_._has_bits_[0] |= 0x00000004u;
841 _impl_.subnet_mask_ = value;
843inline void RouteManagerConfig::set_subnet_mask(uint32_t value) {
844 _internal_set_subnet_mask(value);
849inline bool RouteManagerConfig::_internal_has_default_gateway()
const {
850 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
853inline bool RouteManagerConfig::has_default_gateway()
const {
854 return _internal_has_default_gateway();
856inline void RouteManagerConfig::clear_default_gateway() {
857 _impl_.default_gateway_ = 0u;
858 _impl_._has_bits_[0] &= ~0x00000002u;
860inline uint32_t RouteManagerConfig::_internal_default_gateway()
const {
861 return _impl_.default_gateway_;
863inline uint32_t RouteManagerConfig::default_gateway()
const {
865 return _internal_default_gateway();
867inline void RouteManagerConfig::_internal_set_default_gateway(uint32_t value) {
868 _impl_._has_bits_[0] |= 0x00000002u;
869 _impl_.default_gateway_ = value;
871inline void RouteManagerConfig::set_default_gateway(uint32_t value) {
872 _internal_set_default_gateway(value);
881inline bool RouteCommand::_internal_has_src()
const {
882 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
885inline bool RouteCommand::has_src()
const {
886 return _internal_has_src();
888inline void RouteCommand::clear_src() {
890 _impl_._has_bits_[0] &= ~0x00000002u;
892inline int32_t RouteCommand::_internal_src()
const {
895inline int32_t RouteCommand::src()
const {
897 return _internal_src();
899inline void RouteCommand::_internal_set_src(int32_t value) {
900 _impl_._has_bits_[0] |= 0x00000002u;
903inline void RouteCommand::set_src(int32_t value) {
904 _internal_set_src(value);
909inline bool RouteCommand::_internal_has_dest()
const {
910 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
913inline bool RouteCommand::has_dest()
const {
914 return _internal_has_dest();
916inline void RouteCommand::clear_dest() {
918 _impl_._has_bits_[0] &= ~0x00000004u;
920inline int32_t RouteCommand::_internal_dest()
const {
923inline int32_t RouteCommand::dest()
const {
925 return _internal_dest();
927inline void RouteCommand::_internal_set_dest(int32_t value) {
928 _impl_._has_bits_[0] |= 0x00000004u;
929 _impl_.dest_ = value;
931inline void RouteCommand::set_dest(int32_t value) {
932 _internal_set_dest(value);
937inline bool RouteCommand::_internal_has_time()
const {
938 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
941inline bool RouteCommand::has_time()
const {
942 return _internal_has_time();
944inline void RouteCommand::clear_time() {
945 _impl_.time_ = uint64_t{0u};
946 _impl_._has_bits_[0] &= ~0x00000008u;
948inline uint64_t RouteCommand::_internal_time()
const {
951inline uint64_t RouteCommand::time()
const {
953 return _internal_time();
955inline void RouteCommand::_internal_set_time(uint64_t value) {
956 _impl_._has_bits_[0] |= 0x00000008u;
957 _impl_.time_ = value;
959inline void RouteCommand::set_time(uint64_t value) {
960 _internal_set_time(value);
965inline bool RouteCommand::_internal_has_new_route()
const {
966 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
967 PROTOBUF_ASSUME(!value || _impl_.new_route_ !=
nullptr);
970inline bool RouteCommand::has_new_route()
const {
971 return _internal_has_new_route();
973inline void RouteCommand::clear_new_route() {
974 if (_impl_.new_route_ !=
nullptr) _impl_.new_route_->Clear();
975 _impl_._has_bits_[0] &= ~0x00000001u;
977inline const ::goby::acomms::protobuf::StaticRoute& RouteCommand::_internal_new_route()
const {
978 const ::goby::acomms::protobuf::StaticRoute* p = _impl_.new_route_;
982inline const ::goby::acomms::protobuf::StaticRoute& RouteCommand::new_route()
const {
984 return _internal_new_route();
986inline void RouteCommand::unsafe_arena_set_allocated_new_route(
988 if (GetArenaForAllocation() ==
nullptr) {
989 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.new_route_);
991 _impl_.new_route_ = new_route;
993 _impl_._has_bits_[0] |= 0x00000001u;
995 _impl_._has_bits_[0] &= ~0x00000001u;
999inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::release_new_route() {
1000 _impl_._has_bits_[0] &= ~0x00000001u;
1002 _impl_.new_route_ =
nullptr;
1003#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1004 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1005 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1006 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1008 if (GetArenaForAllocation() !=
nullptr) {
1009 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1014inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::unsafe_arena_release_new_route() {
1016 _impl_._has_bits_[0] &= ~0x00000001u;
1018 _impl_.new_route_ =
nullptr;
1021inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::_internal_mutable_new_route() {
1022 _impl_._has_bits_[0] |= 0x00000001u;
1023 if (_impl_.new_route_ ==
nullptr) {
1025 _impl_.new_route_ = p;
1027 return _impl_.new_route_;
1029inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::mutable_new_route() {
1035 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1036 if (message_arena ==
nullptr) {
1037 delete _impl_.new_route_;
1040 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1041 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(new_route);
1042 if (message_arena != submessage_arena) {
1043 new_route = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1044 message_arena, new_route, submessage_arena);
1046 _impl_._has_bits_[0] |= 0x00000001u;
1048 _impl_._has_bits_[0] &= ~0x00000001u;
1050 _impl_.new_route_ = new_route;
1055 #pragma GCC diagnostic pop
1070#include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(RouteCommand &a, RouteCommand &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
RouteCommand * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const RouteCommand & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void MergeFrom(const RouteCommand &from)
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
PROTOBUF_CONSTEXPR RouteCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
Quantity time_with_units() const
RouteCommand(const RouteCommand &from)
void Swap(RouteCommand *other)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_time_with_units(Quantity value_w_units)
RouteCommand & operator=(const RouteCommand &from)
void CopyFrom(const RouteCommand &from)
static const RouteCommand * internal_default_instance()
RouteCommand & operator=(RouteCommand &&from) noexcept
void UnsafeArenaSwap(RouteCommand *other)
RouteCommand(RouteCommand &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
RouteCommand(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(RouteManagerConfig &a, RouteManagerConfig &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void CopyFrom(const RouteManagerConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void Swap(RouteManagerConfig *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
RouteManagerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void UnsafeArenaSwap(RouteManagerConfig *other)
RouteManagerConfig & operator=(RouteManagerConfig &&from) noexcept
PROTOBUF_CONSTEXPR RouteManagerConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
RouteManagerConfig & operator=(const RouteManagerConfig &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
~RouteManagerConfig() override
void MergeFrom(const RouteManagerConfig &from)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
RouteManagerConfig(RouteManagerConfig &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const RouteManagerConfig * internal_default_instance()
RouteManagerConfig(const RouteManagerConfig &from)
RouteManagerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const RouteManagerConfig & default_instance()
static const StaticRoute & default_instance()
void set_hop(int index, int32_t value)
bool IsInitialized() const final
StaticRoute * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const StaticRoute * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static constexpr int kIndexInFileMessages
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void add_hop(int32_t value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_hop()
size_t ByteSizeLong() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const StaticRoute &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(StaticRoute &a, StaticRoute &b)
void Swap(StaticRoute *other)
int GetCachedSize() const final
StaticRoute(const StaticRoute &from)
PROTOBUF_CONSTEXPR StaticRoute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
StaticRoute(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
StaticRoute & operator=(const StaticRoute &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & hop() const
StaticRoute & operator=(StaticRoute &&from) noexcept
StaticRoute(StaticRoute &&from) noexcept
void MergeFrom(const StaticRoute &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(StaticRoute *other)
static const ClassData _class_data_
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
StaticRouteDefaultTypeInternal _StaticRoute_default_instance_
RouteCommandDefaultTypeInternal _RouteCommand_default_instance_
RouteManagerConfigDefaultTypeInternal _RouteManagerConfig_default_instance_
The global namespace for the Goby project.
::goby::acomms::protobuf::StaticRoute * Arena::CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto
static const uint32_t offsets[]