Goby3  3.1.5
2024.05.14
route.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/route.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
36 #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>
41 
42 #include <boost/units/systems/si.hpp>
43 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2froute_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63 };
64 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto;
65 namespace goby {
66 namespace acomms {
67 namespace protobuf {
68 class RouteCommand;
69 class RouteCommandDefaultTypeInternal;
70 extern RouteCommandDefaultTypeInternal _RouteCommand_default_instance_;
71 class RouteManagerConfig;
72 class RouteManagerConfigDefaultTypeInternal;
73 extern RouteManagerConfigDefaultTypeInternal _RouteManagerConfig_default_instance_;
74 class StaticRoute;
75 class StaticRouteDefaultTypeInternal;
76 extern StaticRouteDefaultTypeInternal _StaticRoute_default_instance_;
77 } // namespace protobuf
78 } // namespace acomms
79 } // namespace goby
80 PROTOBUF_NAMESPACE_OPEN
81 template<> ::goby::acomms::protobuf::RouteCommand* Arena::CreateMaybeMessage<::goby::acomms::protobuf::RouteCommand>(Arena*);
82 template<> ::goby::acomms::protobuf::RouteManagerConfig* Arena::CreateMaybeMessage<::goby::acomms::protobuf::RouteManagerConfig>(Arena*);
83 template<> ::goby::acomms::protobuf::StaticRoute* Arena::CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute>(Arena*);
84 PROTOBUF_NAMESPACE_CLOSE
85 namespace goby {
86 namespace acomms {
87 namespace protobuf {
88 
89 // ===================================================================
90 
91 class StaticRoute PROTOBUF_FINAL :
92  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.StaticRoute) */ {
93  public:
94  inline StaticRoute() : StaticRoute(nullptr) {};
95  virtual ~StaticRoute();
96 
97  StaticRoute(const StaticRoute& from);
98  StaticRoute(StaticRoute&& from) noexcept
99  : StaticRoute() {
100  *this = ::std::move(from);
101  }
102 
103  inline StaticRoute& operator=(const StaticRoute& from) {
104  CopyFrom(from);
105  return *this;
106  }
107  inline StaticRoute& operator=(StaticRoute&& from) noexcept {
108  if (GetArena() == from.GetArena()) {
109  if (this != &from) InternalSwap(&from);
110  } else {
111  CopyFrom(from);
112  }
113  return *this;
114  }
115 
116  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
117  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
118  }
119  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
120  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
121  }
122 
123  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
124  return GetDescriptor();
125  }
126  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
127  return GetMetadataStatic().descriptor;
128  }
129  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
130  return GetMetadataStatic().reflection;
131  }
132  static const StaticRoute& default_instance();
133 
134  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
135  static inline const StaticRoute* internal_default_instance() {
136  return reinterpret_cast<const StaticRoute*>(
138  }
139  static constexpr int kIndexInFileMessages =
140  0;
141 
142  friend void swap(StaticRoute& a, StaticRoute& b) {
143  a.Swap(&b);
144  }
145  inline void Swap(StaticRoute* other) {
146  if (other == this) return;
147  if (GetArena() == other->GetArena()) {
148  InternalSwap(other);
149  } else {
150  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151  }
152  }
153  void UnsafeArenaSwap(StaticRoute* other) {
154  if (other == this) return;
155  GOOGLE_DCHECK(GetArena() == other->GetArena());
156  InternalSwap(other);
157  }
158 
159  // implements Message ----------------------------------------------
160 
161  inline StaticRoute* New() const final {
162  return CreateMaybeMessage<StaticRoute>(nullptr);
163  }
164 
165  StaticRoute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
166  return CreateMaybeMessage<StaticRoute>(arena);
167  }
168  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
169  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
170  void CopyFrom(const StaticRoute& from);
171  void MergeFrom(const StaticRoute& from);
172  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
173  bool IsInitialized() const final;
174 
175  size_t ByteSizeLong() const final;
176  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
178  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179  int GetCachedSize() const final { return _cached_size_.Get(); }
180 
181  private:
182  inline void SharedCtor();
183  inline void SharedDtor();
184  void SetCachedSize(int size) const final;
185  void InternalSwap(StaticRoute* other);
186  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188  return "goby.acomms.protobuf.StaticRoute";
189  }
190  protected:
191  explicit StaticRoute(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  private:
193  static void ArenaDtor(void* object);
194  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
195  public:
196 
197  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198  private:
199  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
200  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto);
201  return ::descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto.file_level_metadata[kIndexInFileMessages];
202  }
203 
204  public:
205 
206  // nested types ----------------------------------------------------
207 
208  // accessors -------------------------------------------------------
209 
210  enum : int {
211  kHopFieldNumber = 1,
212  };
213  // repeated int32 hop = 1 [(.dccl.field) = {
214  int hop_size() const;
215  private:
216  int _internal_hop_size() const;
217  public:
218  void clear_hop();
219  private:
220  ::PROTOBUF_NAMESPACE_ID::int32 _internal_hop(int index) const;
221  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
222  _internal_hop() const;
223  void _internal_add_hop(::PROTOBUF_NAMESPACE_ID::int32 value);
224  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
225  _internal_mutable_hop();
226  public:
228  void set_hop(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
230  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
231  hop() const;
232  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
234 
235  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.StaticRoute)
236  private:
237  class _Internal;
238 
239  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
240  typedef void InternalArenaConstructable_;
241  typedef void DestructorSkippable_;
242  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > hop_;
243  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
244  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
245 };
246 // -------------------------------------------------------------------
247 
248 class RouteManagerConfig PROTOBUF_FINAL :
249  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.RouteManagerConfig) */ {
250  public:
251  inline RouteManagerConfig() : RouteManagerConfig(nullptr) {};
253 
254  RouteManagerConfig(const RouteManagerConfig& from);
255  RouteManagerConfig(RouteManagerConfig&& from) noexcept
256  : RouteManagerConfig() {
257  *this = ::std::move(from);
258  }
259 
260  inline RouteManagerConfig& operator=(const RouteManagerConfig& from) {
261  CopyFrom(from);
262  return *this;
263  }
264  inline RouteManagerConfig& operator=(RouteManagerConfig&& from) noexcept {
265  if (GetArena() == from.GetArena()) {
266  if (this != &from) InternalSwap(&from);
267  } else {
268  CopyFrom(from);
269  }
270  return *this;
271  }
272 
273  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
274  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
275  }
276  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
277  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
278  }
279 
280  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
281  return GetDescriptor();
282  }
283  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
284  return GetMetadataStatic().descriptor;
285  }
286  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
287  return GetMetadataStatic().reflection;
288  }
289  static const RouteManagerConfig& default_instance();
290 
291  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
292  static inline const RouteManagerConfig* internal_default_instance() {
293  return reinterpret_cast<const RouteManagerConfig*>(
295  }
296  static constexpr int kIndexInFileMessages =
297  1;
298 
299  friend void swap(RouteManagerConfig& a, RouteManagerConfig& b) {
300  a.Swap(&b);
301  }
302  inline void Swap(RouteManagerConfig* other) {
303  if (other == this) return;
304  if (GetArena() == other->GetArena()) {
305  InternalSwap(other);
306  } else {
307  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
308  }
309  }
310  void UnsafeArenaSwap(RouteManagerConfig* other) {
311  if (other == this) return;
312  GOOGLE_DCHECK(GetArena() == other->GetArena());
313  InternalSwap(other);
314  }
315 
316  // implements Message ----------------------------------------------
317 
318  inline RouteManagerConfig* New() const final {
319  return CreateMaybeMessage<RouteManagerConfig>(nullptr);
320  }
321 
322  RouteManagerConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
323  return CreateMaybeMessage<RouteManagerConfig>(arena);
324  }
325  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
326  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
327  void CopyFrom(const RouteManagerConfig& from);
328  void MergeFrom(const RouteManagerConfig& from);
329  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
330  bool IsInitialized() const final;
331 
332  size_t ByteSizeLong() const final;
333  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
334  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
335  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
336  int GetCachedSize() const final { return _cached_size_.Get(); }
337 
338  private:
339  inline void SharedCtor();
340  inline void SharedDtor();
341  void SetCachedSize(int size) const final;
342  void InternalSwap(RouteManagerConfig* other);
343  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
344  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
345  return "goby.acomms.protobuf.RouteManagerConfig";
346  }
347  protected:
348  explicit RouteManagerConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
349  private:
350  static void ArenaDtor(void* object);
351  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
352  public:
353 
354  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
355  private:
356  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
357  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto);
358  return ::descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto.file_level_metadata[kIndexInFileMessages];
359  }
360 
361  public:
362 
363  // nested types ----------------------------------------------------
364 
365  // accessors -------------------------------------------------------
366 
367  enum : int {
368  kRouteFieldNumber = 1,
369  kDefaultGatewayFieldNumber = 3,
370  kSubnetMaskFieldNumber = 2,
371  };
372  // optional .goby.acomms.protobuf.StaticRoute route = 1;
373  bool has_route() const;
374  private:
375  bool _internal_has_route() const;
376  public:
377  void clear_route();
378  const ::goby::acomms::protobuf::StaticRoute& route() const;
379  ::goby::acomms::protobuf::StaticRoute* release_route();
380  ::goby::acomms::protobuf::StaticRoute* mutable_route();
381  void set_allocated_route(::goby::acomms::protobuf::StaticRoute* route);
382  private:
383  const ::goby::acomms::protobuf::StaticRoute& _internal_route() const;
384  ::goby::acomms::protobuf::StaticRoute* _internal_mutable_route();
385  public:
387  ::goby::acomms::protobuf::StaticRoute* route);
388  ::goby::acomms::protobuf::StaticRoute* unsafe_arena_release_route();
389 
390  // optional uint32 default_gateway = 3;
391  bool has_default_gateway() const;
392  private:
393  bool _internal_has_default_gateway() const;
394  public:
398  private:
399  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_default_gateway() const;
400  void _internal_set_default_gateway(::PROTOBUF_NAMESPACE_ID::uint32 value);
401  public:
402 
403  // optional uint32 subnet_mask = 2 [default = 4294967040];
404  bool has_subnet_mask() const;
405  private:
406  bool _internal_has_subnet_mask() const;
407  public:
411  private:
412  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_subnet_mask() const;
413  void _internal_set_subnet_mask(::PROTOBUF_NAMESPACE_ID::uint32 value);
414  public:
415 
416  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.RouteManagerConfig)
417  private:
418  class _Internal;
419 
420  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
421  typedef void InternalArenaConstructable_;
422  typedef void DestructorSkippable_;
423  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
424  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
425  ::goby::acomms::protobuf::StaticRoute* route_;
426  ::PROTOBUF_NAMESPACE_ID::uint32 default_gateway_;
427  ::PROTOBUF_NAMESPACE_ID::uint32 subnet_mask_;
428  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
429 };
430 // -------------------------------------------------------------------
431 
432 class RouteCommand PROTOBUF_FINAL :
433  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.RouteCommand) */ {
434  public:
435  inline RouteCommand() : RouteCommand(nullptr) {};
436  virtual ~RouteCommand();
437 
438  RouteCommand(const RouteCommand& from);
439  RouteCommand(RouteCommand&& from) noexcept
440  : RouteCommand() {
441  *this = ::std::move(from);
442  }
443 
444  inline RouteCommand& operator=(const RouteCommand& from) {
445  CopyFrom(from);
446  return *this;
447  }
448  inline RouteCommand& operator=(RouteCommand&& from) noexcept {
449  if (GetArena() == from.GetArena()) {
450  if (this != &from) InternalSwap(&from);
451  } else {
452  CopyFrom(from);
453  }
454  return *this;
455  }
456 
457  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
458  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
459  }
460  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
461  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
462  }
463 
464  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
465  return GetDescriptor();
466  }
467  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
468  return GetMetadataStatic().descriptor;
469  }
470  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
471  return GetMetadataStatic().reflection;
472  }
473  static const RouteCommand& default_instance();
474 
475  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
476  static inline const RouteCommand* internal_default_instance() {
477  return reinterpret_cast<const RouteCommand*>(
479  }
480  static constexpr int kIndexInFileMessages =
481  2;
482 
483  friend void swap(RouteCommand& a, RouteCommand& b) {
484  a.Swap(&b);
485  }
486  inline void Swap(RouteCommand* other) {
487  if (other == this) return;
488  if (GetArena() == other->GetArena()) {
489  InternalSwap(other);
490  } else {
491  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
492  }
493  }
494  void UnsafeArenaSwap(RouteCommand* other) {
495  if (other == this) return;
496  GOOGLE_DCHECK(GetArena() == other->GetArena());
497  InternalSwap(other);
498  }
499 
500  // implements Message ----------------------------------------------
501 
502  inline RouteCommand* New() const final {
503  return CreateMaybeMessage<RouteCommand>(nullptr);
504  }
505 
506  RouteCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
507  return CreateMaybeMessage<RouteCommand>(arena);
508  }
509  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
510  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
511  void CopyFrom(const RouteCommand& from);
512  void MergeFrom(const RouteCommand& from);
513  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
514  bool IsInitialized() const final;
515 
516  size_t ByteSizeLong() const final;
517  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
518  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
519  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
520  int GetCachedSize() const final { return _cached_size_.Get(); }
521 
522  private:
523  inline void SharedCtor();
524  inline void SharedDtor();
525  void SetCachedSize(int size) const final;
526  void InternalSwap(RouteCommand* other);
527  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
528  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
529  return "goby.acomms.protobuf.RouteCommand";
530  }
531  protected:
532  explicit RouteCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena);
533  private:
534  static void ArenaDtor(void* object);
535  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
536  public:
537 
538  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
539  private:
540  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
541  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto);
542  return ::descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto.file_level_metadata[kIndexInFileMessages];
543  }
544 
545  public:
546 
547  // nested types ----------------------------------------------------
548 
549  // accessors -------------------------------------------------------
550 
551  enum : int {
552  kNewRouteFieldNumber = 4,
553  kSrcFieldNumber = 1,
554  kDestFieldNumber = 2,
555  kTimeFieldNumber = 3,
556  };
557  // optional .goby.acomms.protobuf.StaticRoute new_route = 4;
558  bool has_new_route() const;
559  private:
560  bool _internal_has_new_route() const;
561  public:
563  const ::goby::acomms::protobuf::StaticRoute& new_route() const;
564  ::goby::acomms::protobuf::StaticRoute* release_new_route();
565  ::goby::acomms::protobuf::StaticRoute* mutable_new_route();
566  void set_allocated_new_route(::goby::acomms::protobuf::StaticRoute* new_route);
567  private:
568  const ::goby::acomms::protobuf::StaticRoute& _internal_new_route() const;
569  ::goby::acomms::protobuf::StaticRoute* _internal_mutable_new_route();
570  public:
572  ::goby::acomms::protobuf::StaticRoute* new_route);
573  ::goby::acomms::protobuf::StaticRoute* unsafe_arena_release_new_route();
574 
575  // optional int32 src = 1 [(.dccl.field) = {
576  bool has_src() const;
577  private:
578  bool _internal_has_src() const;
579  public:
580  void clear_src();
583  private:
584  ::PROTOBUF_NAMESPACE_ID::int32 _internal_src() const;
585  void _internal_set_src(::PROTOBUF_NAMESPACE_ID::int32 value);
586  public:
587 
588  // optional int32 dest = 2 [(.dccl.field) = {
589  bool has_dest() const;
590  private:
591  bool _internal_has_dest() const;
592  public:
593  void clear_dest();
596  private:
597  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dest() const;
598  void _internal_set_dest(::PROTOBUF_NAMESPACE_ID::int32 value);
599  public:
600 
601  // optional uint64 time = 3 [(.dccl.field) = {
602  bool has_time() const;
603  private:
604  bool _internal_has_time() const;
605  public:
606  void clear_time();
609  private:
610  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time() const;
611  void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
612  public:
613 
614  enum DCCLParameters { DCCL_ID = 514, DCCL_MAX_BYTES = 64 };
616 
617  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;
618 
619  template<typename Quantity >
620  void set_time_with_units(Quantity value_w_units)
621  { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
622 
623  template<typename Quantity >
624  Quantity time_with_units() const
625  { return Quantity(time() * time_unit()); };
626 
627  boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
628  { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
629 
630  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.RouteCommand)
631  private:
632  class _Internal;
633 
634  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
635  typedef void InternalArenaConstructable_;
636  typedef void DestructorSkippable_;
637  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
638  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
639  ::goby::acomms::protobuf::StaticRoute* new_route_;
643  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2froute_2eproto;
644 };
645 // ===================================================================
646 
647 
648 // ===================================================================
649 
650 #ifdef __GNUC__
651  #pragma GCC diagnostic push
652  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
653 #endif // __GNUC__
654 // StaticRoute
655 
656 // repeated int32 hop = 1 [(.dccl.field) = {
657 inline int StaticRoute::_internal_hop_size() const {
658  return hop_.size();
659 }
660 inline int StaticRoute::hop_size() const {
661  return _internal_hop_size();
662 }
663 inline void StaticRoute::clear_hop() {
664  hop_.Clear();
665 }
666 inline ::PROTOBUF_NAMESPACE_ID::int32 StaticRoute::_internal_hop(int index) const {
667  return hop_.Get(index);
668 }
669 inline ::PROTOBUF_NAMESPACE_ID::int32 StaticRoute::hop(int index) const {
670  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StaticRoute.hop)
671  return _internal_hop(index);
672 }
673 inline void StaticRoute::set_hop(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
674  hop_.Set(index, value);
675  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.StaticRoute.hop)
676 }
677 inline void StaticRoute::_internal_add_hop(::PROTOBUF_NAMESPACE_ID::int32 value) {
678  hop_.Add(value);
679 }
680 inline void StaticRoute::add_hop(::PROTOBUF_NAMESPACE_ID::int32 value) {
681  _internal_add_hop(value);
682  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.StaticRoute.hop)
683 }
684 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
685 StaticRoute::_internal_hop() const {
686  return hop_;
687 }
688 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
689 StaticRoute::hop() const {
690  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.StaticRoute.hop)
691  return _internal_hop();
692 }
693 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
694 StaticRoute::_internal_mutable_hop() {
695  return &hop_;
696 }
697 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
698 StaticRoute::mutable_hop() {
699  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.StaticRoute.hop)
700  return _internal_mutable_hop();
701 }
702 
703 // -------------------------------------------------------------------
704 
705 // RouteManagerConfig
706 
707 // optional .goby.acomms.protobuf.StaticRoute route = 1;
708 inline bool RouteManagerConfig::_internal_has_route() const {
709  bool value = (_has_bits_[0] & 0x00000001u) != 0;
710  PROTOBUF_ASSUME(!value || route_ != nullptr);
711  return value;
712 }
713 inline bool RouteManagerConfig::has_route() const {
714  return _internal_has_route();
715 }
716 inline void RouteManagerConfig::clear_route() {
717  if (route_ != nullptr) route_->Clear();
718  _has_bits_[0] &= ~0x00000001u;
719 }
720 inline const ::goby::acomms::protobuf::StaticRoute& RouteManagerConfig::_internal_route() const {
721  const ::goby::acomms::protobuf::StaticRoute* p = route_;
722  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::StaticRoute*>(
724 }
725 inline const ::goby::acomms::protobuf::StaticRoute& RouteManagerConfig::route() const {
726  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteManagerConfig.route)
727  return _internal_route();
728 }
729 inline void RouteManagerConfig::unsafe_arena_set_allocated_route(
730  ::goby::acomms::protobuf::StaticRoute* route) {
731  if (GetArena() == nullptr) {
732  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(route_);
733  }
734  route_ = route;
735  if (route) {
736  _has_bits_[0] |= 0x00000001u;
737  } else {
738  _has_bits_[0] &= ~0x00000001u;
739  }
740  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.protobuf.RouteManagerConfig.route)
741 }
742 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::release_route() {
743  auto temp = unsafe_arena_release_route();
744  if (GetArena() != nullptr) {
745  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
746  }
747  return temp;
748 }
749 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::unsafe_arena_release_route() {
750  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.RouteManagerConfig.route)
751  _has_bits_[0] &= ~0x00000001u;
752  ::goby::acomms::protobuf::StaticRoute* temp = route_;
753  route_ = nullptr;
754  return temp;
755 }
756 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::_internal_mutable_route() {
757  _has_bits_[0] |= 0x00000001u;
758  if (route_ == nullptr) {
759  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute>(GetArena());
760  route_ = p;
761  }
762  return route_;
763 }
764 inline ::goby::acomms::protobuf::StaticRoute* RouteManagerConfig::mutable_route() {
765  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.RouteManagerConfig.route)
766  return _internal_mutable_route();
767 }
768 inline void RouteManagerConfig::set_allocated_route(::goby::acomms::protobuf::StaticRoute* route) {
769  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
770  if (message_arena == nullptr) {
771  delete route_;
772  }
773  if (route) {
774  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
775  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(route);
776  if (message_arena != submessage_arena) {
777  route = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
778  message_arena, route, submessage_arena);
779  }
780  _has_bits_[0] |= 0x00000001u;
781  } else {
782  _has_bits_[0] &= ~0x00000001u;
783  }
784  route_ = route;
785  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.RouteManagerConfig.route)
786 }
787 
788 // optional uint32 subnet_mask = 2 [default = 4294967040];
789 inline bool RouteManagerConfig::_internal_has_subnet_mask() const {
790  bool value = (_has_bits_[0] & 0x00000004u) != 0;
791  return value;
792 }
793 inline bool RouteManagerConfig::has_subnet_mask() const {
794  return _internal_has_subnet_mask();
795 }
796 inline void RouteManagerConfig::clear_subnet_mask() {
797  subnet_mask_ = 4294967040u;
798  _has_bits_[0] &= ~0x00000004u;
799 }
800 inline ::PROTOBUF_NAMESPACE_ID::uint32 RouteManagerConfig::_internal_subnet_mask() const {
801  return subnet_mask_;
802 }
803 inline ::PROTOBUF_NAMESPACE_ID::uint32 RouteManagerConfig::subnet_mask() const {
804  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteManagerConfig.subnet_mask)
805  return _internal_subnet_mask();
806 }
807 inline void RouteManagerConfig::_internal_set_subnet_mask(::PROTOBUF_NAMESPACE_ID::uint32 value) {
808  _has_bits_[0] |= 0x00000004u;
809  subnet_mask_ = value;
810 }
811 inline void RouteManagerConfig::set_subnet_mask(::PROTOBUF_NAMESPACE_ID::uint32 value) {
812  _internal_set_subnet_mask(value);
813  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.RouteManagerConfig.subnet_mask)
814 }
815 
816 // optional uint32 default_gateway = 3;
817 inline bool RouteManagerConfig::_internal_has_default_gateway() const {
818  bool value = (_has_bits_[0] & 0x00000002u) != 0;
819  return value;
820 }
821 inline bool RouteManagerConfig::has_default_gateway() const {
822  return _internal_has_default_gateway();
823 }
824 inline void RouteManagerConfig::clear_default_gateway() {
825  default_gateway_ = 0u;
826  _has_bits_[0] &= ~0x00000002u;
827 }
828 inline ::PROTOBUF_NAMESPACE_ID::uint32 RouteManagerConfig::_internal_default_gateway() const {
829  return default_gateway_;
830 }
831 inline ::PROTOBUF_NAMESPACE_ID::uint32 RouteManagerConfig::default_gateway() const {
832  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteManagerConfig.default_gateway)
833  return _internal_default_gateway();
834 }
835 inline void RouteManagerConfig::_internal_set_default_gateway(::PROTOBUF_NAMESPACE_ID::uint32 value) {
836  _has_bits_[0] |= 0x00000002u;
837  default_gateway_ = value;
838 }
839 inline void RouteManagerConfig::set_default_gateway(::PROTOBUF_NAMESPACE_ID::uint32 value) {
840  _internal_set_default_gateway(value);
841  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.RouteManagerConfig.default_gateway)
842 }
843 
844 // -------------------------------------------------------------------
845 
846 // RouteCommand
847 
848 // optional int32 src = 1 [(.dccl.field) = {
849 inline bool RouteCommand::_internal_has_src() const {
850  bool value = (_has_bits_[0] & 0x00000002u) != 0;
851  return value;
852 }
853 inline bool RouteCommand::has_src() const {
854  return _internal_has_src();
855 }
856 inline void RouteCommand::clear_src() {
857  src_ = 0;
858  _has_bits_[0] &= ~0x00000002u;
859 }
860 inline ::PROTOBUF_NAMESPACE_ID::int32 RouteCommand::_internal_src() const {
861  return src_;
862 }
863 inline ::PROTOBUF_NAMESPACE_ID::int32 RouteCommand::src() const {
864  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteCommand.src)
865  return _internal_src();
866 }
867 inline void RouteCommand::_internal_set_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
868  _has_bits_[0] |= 0x00000002u;
869  src_ = value;
870 }
871 inline void RouteCommand::set_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
872  _internal_set_src(value);
873  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.RouteCommand.src)
874 }
875 
876 // optional int32 dest = 2 [(.dccl.field) = {
877 inline bool RouteCommand::_internal_has_dest() const {
878  bool value = (_has_bits_[0] & 0x00000004u) != 0;
879  return value;
880 }
881 inline bool RouteCommand::has_dest() const {
882  return _internal_has_dest();
883 }
884 inline void RouteCommand::clear_dest() {
885  dest_ = 0;
886  _has_bits_[0] &= ~0x00000004u;
887 }
888 inline ::PROTOBUF_NAMESPACE_ID::int32 RouteCommand::_internal_dest() const {
889  return dest_;
890 }
891 inline ::PROTOBUF_NAMESPACE_ID::int32 RouteCommand::dest() const {
892  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteCommand.dest)
893  return _internal_dest();
894 }
895 inline void RouteCommand::_internal_set_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
896  _has_bits_[0] |= 0x00000004u;
897  dest_ = value;
898 }
899 inline void RouteCommand::set_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
900  _internal_set_dest(value);
901  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.RouteCommand.dest)
902 }
903 
904 // optional uint64 time = 3 [(.dccl.field) = {
905 inline bool RouteCommand::_internal_has_time() const {
906  bool value = (_has_bits_[0] & 0x00000008u) != 0;
907  return value;
908 }
909 inline bool RouteCommand::has_time() const {
910  return _internal_has_time();
911 }
912 inline void RouteCommand::clear_time() {
913  time_ = PROTOBUF_ULONGLONG(0);
914  _has_bits_[0] &= ~0x00000008u;
915 }
916 inline ::PROTOBUF_NAMESPACE_ID::uint64 RouteCommand::_internal_time() const {
917  return time_;
918 }
920  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteCommand.time)
921  return _internal_time();
922 }
923 inline void RouteCommand::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
924  _has_bits_[0] |= 0x00000008u;
925  time_ = value;
926 }
927 inline void RouteCommand::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
928  _internal_set_time(value);
929  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.RouteCommand.time)
930 }
931 
932 // optional .goby.acomms.protobuf.StaticRoute new_route = 4;
933 inline bool RouteCommand::_internal_has_new_route() const {
934  bool value = (_has_bits_[0] & 0x00000001u) != 0;
935  PROTOBUF_ASSUME(!value || new_route_ != nullptr);
936  return value;
937 }
938 inline bool RouteCommand::has_new_route() const {
939  return _internal_has_new_route();
940 }
941 inline void RouteCommand::clear_new_route() {
942  if (new_route_ != nullptr) new_route_->Clear();
943  _has_bits_[0] &= ~0x00000001u;
944 }
945 inline const ::goby::acomms::protobuf::StaticRoute& RouteCommand::_internal_new_route() const {
946  const ::goby::acomms::protobuf::StaticRoute* p = new_route_;
947  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::StaticRoute*>(
949 }
950 inline const ::goby::acomms::protobuf::StaticRoute& RouteCommand::new_route() const {
951  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.RouteCommand.new_route)
952  return _internal_new_route();
953 }
954 inline void RouteCommand::unsafe_arena_set_allocated_new_route(
955  ::goby::acomms::protobuf::StaticRoute* new_route) {
956  if (GetArena() == nullptr) {
957  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(new_route_);
958  }
959  new_route_ = new_route;
960  if (new_route) {
961  _has_bits_[0] |= 0x00000001u;
962  } else {
963  _has_bits_[0] &= ~0x00000001u;
964  }
965  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.protobuf.RouteCommand.new_route)
966 }
967 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::release_new_route() {
968  auto temp = unsafe_arena_release_new_route();
969  if (GetArena() != nullptr) {
970  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
971  }
972  return temp;
973 }
974 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::unsafe_arena_release_new_route() {
975  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.RouteCommand.new_route)
976  _has_bits_[0] &= ~0x00000001u;
977  ::goby::acomms::protobuf::StaticRoute* temp = new_route_;
978  new_route_ = nullptr;
979  return temp;
980 }
981 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::_internal_mutable_new_route() {
982  _has_bits_[0] |= 0x00000001u;
983  if (new_route_ == nullptr) {
984  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::StaticRoute>(GetArena());
985  new_route_ = p;
986  }
987  return new_route_;
988 }
989 inline ::goby::acomms::protobuf::StaticRoute* RouteCommand::mutable_new_route() {
990  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.RouteCommand.new_route)
991  return _internal_mutable_new_route();
992 }
993 inline void RouteCommand::set_allocated_new_route(::goby::acomms::protobuf::StaticRoute* new_route) {
994  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
995  if (message_arena == nullptr) {
996  delete new_route_;
997  }
998  if (new_route) {
999  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1000  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(new_route);
1001  if (message_arena != submessage_arena) {
1002  new_route = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1003  message_arena, new_route, submessage_arena);
1004  }
1005  _has_bits_[0] |= 0x00000001u;
1006  } else {
1007  _has_bits_[0] &= ~0x00000001u;
1008  }
1009  new_route_ = new_route;
1010  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.RouteCommand.new_route)
1011 }
1012 
1013 #ifdef __GNUC__
1014  #pragma GCC diagnostic pop
1015 #endif // __GNUC__
1016 // -------------------------------------------------------------------
1017 
1018 // -------------------------------------------------------------------
1019 
1020 
1021 // @@protoc_insertion_point(namespace_scope)
1022 
1023 } // namespace protobuf
1024 } // namespace acomms
1025 } // namespace goby
1026 
1027 // @@protoc_insertion_point(global_scope)
1028 
1029 #include <google/protobuf/port_undef.inc>
1030 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2froute_2eproto
void set_time_with_units(Quantity value_w_units)
Definition: route.pb.h:620
StaticRoute * New() const final
Definition: route.pb.h:161
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
Definition: route.pb.h:615
::PROTOBUF_NAMESPACE_ID::int32 dest() const
friend void swap(RouteManagerConfig &a, RouteManagerConfig &b)
Definition: route.pb.h:299
RouteCommand * New() const final
Definition: route.pb.h:502
const ::goby::acomms::protobuf::StaticRoute & route() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & hop() const
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(RouteCommand &a, RouteCommand &b)
Definition: route.pb.h:483
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: route.pb.h:116
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
Definition: route.pb.h:627
RouteCommand(::PROTOBUF_NAMESPACE_ID::Arena *arena)
RouteManagerConfig(const RouteManagerConfig &from)
::goby::acomms::protobuf::StaticRoute * mutable_new_route()
StaticRoute & operator=(const StaticRoute &from)
Definition: route.pb.h:103
RouteCommand(const RouteCommand &from)
static const RouteCommand * internal_default_instance()
Definition: route.pb.h:476
RouteCommand & operator=(RouteCommand &&from) noexcept
Definition: route.pb.h:448
RouteManagerConfig & operator=(const RouteManagerConfig &from)
Definition: route.pb.h:260
::PROTOBUF_NAMESPACE_ID::uint32 default_gateway() const
void set_subnet_mask(::PROTOBUF_NAMESPACE_ID::uint32 value)
void UnsafeArenaSwap(RouteCommand *other)
Definition: route.pb.h:494
void Swap(StaticRoute *other)
Definition: route.pb.h:145
void CopyFrom(const RouteCommand &from)
StaticRoute * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: route.pb.h:165
::PROTOBUF_NAMESPACE_ID::uint32 subnet_mask() const
::goby::acomms::protobuf::StaticRoute * mutable_route()
void MergeFrom(const RouteCommand &from)
void set_dest(::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(StaticRoute &a, StaticRoute &b)
Definition: route.pb.h:142
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const RouteManagerConfig * internal_default_instance()
Definition: route.pb.h:292
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const StaticRoute & default_instance()
RouteCommand * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: route.pb.h:506
void Swap(RouteCommand *other)
Definition: route.pb.h:486
RouteManagerConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
RouteManagerConfig * New() const final
Definition: route.pb.h:318
RouteCommand(RouteCommand &&from) noexcept
Definition: route.pb.h:439
void unsafe_arena_set_allocated_new_route(::goby::acomms::protobuf::StaticRoute *new_route)
RouteCommand & operator=(const RouteCommand &from)
Definition: route.pb.h:444
::goby::acomms::protobuf::StaticRoute * unsafe_arena_release_new_route()
StaticRoute(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const StaticRoute &from)
RouteManagerConfig & operator=(RouteManagerConfig &&from) noexcept
Definition: route.pb.h:264
void set_src(::PROTOBUF_NAMESPACE_ID::int32 value)
static const RouteManagerConfig & default_instance()
void unsafe_arena_set_allocated_route(::goby::acomms::protobuf::StaticRoute *route)
void add_hop(::PROTOBUF_NAMESPACE_ID::int32 value)
void CopyFrom(const RouteManagerConfig &from)
StaticRoute & operator=(StaticRoute &&from) noexcept
Definition: route.pb.h:107
RouteManagerConfig(RouteManagerConfig &&from) noexcept
Definition: route.pb.h:255
void set_allocated_route(::goby::acomms::protobuf::StaticRoute *route)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_hop()
void set_default_gateway(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: route.pb.h:129
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: route.pb.h:119
void Swap(RouteManagerConfig *other)
Definition: route.pb.h:302
void set_allocated_new_route(::goby::acomms::protobuf::StaticRoute *new_route)
::PROTOBUF_NAMESPACE_ID::uint64 time() const
StaticRoute(StaticRoute &&from) noexcept
Definition: route.pb.h:98
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: route.pb.h:126
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
Definition: route.pb.h:617
void set_hop(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 src() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::int32 hop(int index) const
RouteManagerConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: route.pb.h:322
void MergeFrom(const RouteManagerConfig &from)
::goby::acomms::protobuf::StaticRoute * release_new_route()
void UnsafeArenaSwap(RouteManagerConfig *other)
Definition: route.pb.h:310
const ::goby::acomms::protobuf::StaticRoute & new_route() const
void UnsafeArenaSwap(StaticRoute *other)
Definition: route.pb.h:153
void MergeFrom(const StaticRoute &from)
::goby::acomms::protobuf::StaticRoute * unsafe_arena_release_route()
static const StaticRoute * internal_default_instance()
Definition: route.pb.h:135
::goby::acomms::protobuf::StaticRoute * release_route()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: route.pb.h:123
StaticRoute(const StaticRoute &from)
static const RouteCommand & default_instance()
unit< time_dimension, si::system > time
Definition: time.hpp:22
@ value
the parser finished reading a JSON value
StaticRouteDefaultTypeInternal _StaticRoute_default_instance_
RouteCommandDefaultTypeInternal _RouteCommand_default_instance_
RouteManagerConfigDefaultTypeInternal _RouteManagerConfig_default_instance_
constexpr goby::middleware::Group route
Definition: groups.h:37
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
std::uint64_t uint64
type
Generic JSON types used in JWTs.
Definition: jwt.h:2072
#define ByteSizeLong
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2froute_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: route.pb.h:60
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: route.pb.h:62
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: route.pb.h:61
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)