Goby3  3.1.5
2024.05.14
ip_gateway_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/zeromq/protobuf/ip_gateway_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_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/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
39 #include "dccl/option_extensions.pb.h"
42 #include <boost/units/quantity.hpp>
43 #include <boost/units/absolute.hpp>
44 #include <boost/units/dimensionless_type.hpp>
45 #include <boost/units/make_scaled_unit.hpp>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_2eproto
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 };
67 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_2eproto;
68 namespace goby {
69 namespace apps {
70 namespace zeromq {
71 namespace acomms {
72 namespace protobuf {
73 class IPGatewayConfig;
74 class IPGatewayConfigDefaultTypeInternal;
75 extern IPGatewayConfigDefaultTypeInternal _IPGatewayConfig_default_instance_;
76 } // namespace protobuf
77 } // namespace acomms
78 } // namespace zeromq
79 } // namespace apps
80 } // namespace goby
81 PROTOBUF_NAMESPACE_OPEN
82 template<> ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig>(Arena*);
83 PROTOBUF_NAMESPACE_CLOSE
84 namespace goby {
85 namespace apps {
86 namespace zeromq {
87 namespace acomms {
88 namespace protobuf {
89 
93 };
98 
99 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IPGatewayConfig_ModelType_descriptor();
100 template<typename T>
101 inline const std::string& IPGatewayConfig_ModelType_Name(T enum_t_value) {
102  static_assert(::std::is_same<T, IPGatewayConfig_ModelType>::value ||
103  ::std::is_integral<T>::value,
104  "Incorrect type passed to function IPGatewayConfig_ModelType_Name.");
105  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
106  IPGatewayConfig_ModelType_descriptor(), enum_t_value);
107 }
109  const std::string& name, IPGatewayConfig_ModelType* value) {
110  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<IPGatewayConfig_ModelType>(
111  IPGatewayConfig_ModelType_descriptor(), name, value);
112 }
113 // ===================================================================
114 
115 class IPGatewayConfig PROTOBUF_FINAL :
116  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig) */ {
117  public:
118  inline IPGatewayConfig() : IPGatewayConfig(nullptr) {};
119  virtual ~IPGatewayConfig();
120 
121  IPGatewayConfig(const IPGatewayConfig& from);
122  IPGatewayConfig(IPGatewayConfig&& from) noexcept
123  : IPGatewayConfig() {
124  *this = ::std::move(from);
125  }
126 
127  inline IPGatewayConfig& operator=(const IPGatewayConfig& from) {
128  CopyFrom(from);
129  return *this;
130  }
131  inline IPGatewayConfig& operator=(IPGatewayConfig&& from) noexcept {
132  if (GetArena() == from.GetArena()) {
133  if (this != &from) InternalSwap(&from);
134  } else {
135  CopyFrom(from);
136  }
137  return *this;
138  }
139 
140  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
141  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
142  }
143  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
144  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
145  }
146 
147  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
148  return GetDescriptor();
149  }
150  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
151  return GetMetadataStatic().descriptor;
152  }
153  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
154  return GetMetadataStatic().reflection;
155  }
156  static const IPGatewayConfig& default_instance();
157 
158  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
159  static inline const IPGatewayConfig* internal_default_instance() {
160  return reinterpret_cast<const IPGatewayConfig*>(
162  }
163  static constexpr int kIndexInFileMessages =
164  0;
165 
166  friend void swap(IPGatewayConfig& a, IPGatewayConfig& b) {
167  a.Swap(&b);
168  }
169  inline void Swap(IPGatewayConfig* other) {
170  if (other == this) return;
171  if (GetArena() == other->GetArena()) {
172  InternalSwap(other);
173  } else {
174  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
175  }
176  }
177  void UnsafeArenaSwap(IPGatewayConfig* other) {
178  if (other == this) return;
179  GOOGLE_DCHECK(GetArena() == other->GetArena());
180  InternalSwap(other);
181  }
182 
183  // implements Message ----------------------------------------------
184 
185  inline IPGatewayConfig* New() const final {
186  return CreateMaybeMessage<IPGatewayConfig>(nullptr);
187  }
188 
189  IPGatewayConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
190  return CreateMaybeMessage<IPGatewayConfig>(arena);
191  }
192  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
193  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
194  void CopyFrom(const IPGatewayConfig& from);
195  void MergeFrom(const IPGatewayConfig& from);
196  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
197  bool IsInitialized() const final;
198 
199  size_t ByteSizeLong() const final;
200  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
201  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
202  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
203  int GetCachedSize() const final { return _cached_size_.Get(); }
204 
205  private:
206  inline void SharedCtor();
207  inline void SharedDtor();
208  void SetCachedSize(int size) const final;
209  void InternalSwap(IPGatewayConfig* other);
210  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
211  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
212  return "goby.apps.zeromq.acomms.protobuf.IPGatewayConfig";
213  }
214  protected:
215  explicit IPGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
216  private:
217  static void ArenaDtor(void* object);
218  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
219  public:
220 
221  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
222  private:
223  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
224  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_2eproto);
226  }
227 
228  public:
229 
230  // nested types ----------------------------------------------------
231 
233  static constexpr ModelType UNIFORM =
235  static constexpr ModelType AUTONOMY_COLLABORATION =
237  static inline bool ModelType_IsValid(int value) {
238  return IPGatewayConfig_ModelType_IsValid(value);
239  }
240  static constexpr ModelType ModelType_MIN =
242  static constexpr ModelType ModelType_MAX =
244  static constexpr int ModelType_ARRAYSIZE =
246  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
249  }
250  template<typename T>
251  static inline const std::string& ModelType_Name(T enum_t_value) {
252  static_assert(::std::is_same<T, ModelType>::value ||
253  ::std::is_integral<T>::value,
254  "Incorrect type passed to function ModelType_Name.");
255  return IPGatewayConfig_ModelType_Name(enum_t_value);
256  }
257  static inline bool ModelType_Parse(const std::string& name,
258  ModelType* value) {
259  return IPGatewayConfig_ModelType_Parse(name, value);
260  }
261 
262  // accessors -------------------------------------------------------
263 
264  enum : int {
265  kStaticUdpPortFieldNumber = 21,
266  kLocalIpv4AddressFieldNumber = 3,
267  kAppFieldNumber = 1,
268  kInterprocessFieldNumber = 2,
269  kMacCfgFieldNumber = 30,
270  kBypassMacSlotFieldNumber = 33,
271  kCidrNetmaskPrefixFieldNumber = 4,
272  kTunNumberFieldNumber = 5,
273  kDynamicAddressCountFieldNumber = 11,
274  kMtuFieldNumber = 31,
275  kBypassMacFieldNumber = 32,
276  kOnlyRateFieldNumber = 50,
277  kQueueSizeFieldNumber = 40,
278  kEnableBroadcastAddressFieldNumber = 10,
279  kModelTypeFieldNumber = 12,
280  kGammaAutonomyFieldNumber = 13,
281  kGammaCollaborationFieldNumber = 14,
282  kGatewayIdFieldNumber = 15,
283  kTotalPortsFieldNumber = 20,
284  };
285  // repeated uint32 static_udp_port = 21;
286  int static_udp_port_size() const;
287  private:
288  int _internal_static_udp_port_size() const;
289  public:
291  private:
292  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_static_udp_port(int index) const;
293  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
294  _internal_static_udp_port() const;
295  void _internal_add_static_udp_port(::PROTOBUF_NAMESPACE_ID::uint32 value);
296  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
297  _internal_mutable_static_udp_port();
298  public:
302  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
304  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
306 
307  // required string local_ipv4_address = 3;
309  private:
310  bool _internal_has_local_ipv4_address() const;
311  public:
313  const std::string& local_ipv4_address() const;
314  void set_local_ipv4_address(const std::string& value);
315  void set_local_ipv4_address(std::string&& value);
316  void set_local_ipv4_address(const char* value);
317  void set_local_ipv4_address(const char* value, size_t size);
320  void set_allocated_local_ipv4_address(std::string* local_ipv4_address);
321  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
322  " string fields are deprecated and will be removed in a"
323  " future release.")
324  std::string* unsafe_arena_release_local_ipv4_address();
325  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
326  " string fields are deprecated and will be removed in a"
327  " future release.")
328  void unsafe_arena_set_allocated_local_ipv4_address(
329  std::string* local_ipv4_address);
330  private:
331  const std::string& _internal_local_ipv4_address() const;
332  void _internal_set_local_ipv4_address(const std::string& value);
333  std::string* _internal_mutable_local_ipv4_address();
334  public:
335 
336  // optional .goby.middleware.protobuf.AppConfig app = 1;
337  bool has_app() const;
338  private:
339  bool _internal_has_app() const;
340  public:
341  void clear_app();
342  const ::goby::middleware::protobuf::AppConfig& app() const;
343  ::goby::middleware::protobuf::AppConfig* release_app();
344  ::goby::middleware::protobuf::AppConfig* mutable_app();
345  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
346  private:
347  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
348  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
349  public:
350  void unsafe_arena_set_allocated_app(
351  ::goby::middleware::protobuf::AppConfig* app);
352  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
353 
354  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
355  bool has_interprocess() const;
356  private:
357  bool _internal_has_interprocess() const;
358  public:
359  void clear_interprocess();
360  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
361  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
362  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
363  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
364  private:
365  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
366  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
367  public:
368  void unsafe_arena_set_allocated_interprocess(
369  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
370  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
371 
372  // optional .goby.acomms.protobuf.MACConfig mac_cfg = 30;
373  bool has_mac_cfg() const;
374  private:
375  bool _internal_has_mac_cfg() const;
376  public:
377  void clear_mac_cfg();
378  const ::goby::acomms::protobuf::MACConfig& mac_cfg() const;
379  ::goby::acomms::protobuf::MACConfig* release_mac_cfg();
380  ::goby::acomms::protobuf::MACConfig* mutable_mac_cfg();
381  void set_allocated_mac_cfg(::goby::acomms::protobuf::MACConfig* mac_cfg);
382  private:
383  const ::goby::acomms::protobuf::MACConfig& _internal_mac_cfg() const;
384  ::goby::acomms::protobuf::MACConfig* _internal_mutable_mac_cfg();
385  public:
386  void unsafe_arena_set_allocated_mac_cfg(
387  ::goby::acomms::protobuf::MACConfig* mac_cfg);
388  ::goby::acomms::protobuf::MACConfig* unsafe_arena_release_mac_cfg();
389 
390  // optional .goby.acomms.protobuf.ModemTransmission bypass_mac_slot = 33;
391  bool has_bypass_mac_slot() const;
392  private:
393  bool _internal_has_bypass_mac_slot() const;
394  public:
395  void clear_bypass_mac_slot();
396  const ::goby::acomms::protobuf::ModemTransmission& bypass_mac_slot() const;
397  ::goby::acomms::protobuf::ModemTransmission* release_bypass_mac_slot();
398  ::goby::acomms::protobuf::ModemTransmission* mutable_bypass_mac_slot();
399  void set_allocated_bypass_mac_slot(::goby::acomms::protobuf::ModemTransmission* bypass_mac_slot);
400  private:
401  const ::goby::acomms::protobuf::ModemTransmission& _internal_bypass_mac_slot() const;
402  ::goby::acomms::protobuf::ModemTransmission* _internal_mutable_bypass_mac_slot();
403  public:
404  void unsafe_arena_set_allocated_bypass_mac_slot(
405  ::goby::acomms::protobuf::ModemTransmission* bypass_mac_slot);
406  ::goby::acomms::protobuf::ModemTransmission* unsafe_arena_release_bypass_mac_slot();
407 
408  // required uint32 cidr_netmask_prefix = 4;
409  bool has_cidr_netmask_prefix() const;
410  private:
411  bool _internal_has_cidr_netmask_prefix() const;
412  public:
413  void clear_cidr_netmask_prefix();
414  ::PROTOBUF_NAMESPACE_ID::uint32 cidr_netmask_prefix() const;
415  void set_cidr_netmask_prefix(::PROTOBUF_NAMESPACE_ID::uint32 value);
416  private:
417  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_cidr_netmask_prefix() const;
418  void _internal_set_cidr_netmask_prefix(::PROTOBUF_NAMESPACE_ID::uint32 value);
419  public:
420 
421  // optional int32 tun_number = 5;
422  bool has_tun_number() const;
423  private:
424  bool _internal_has_tun_number() const;
425  public:
426  void clear_tun_number();
427  ::PROTOBUF_NAMESPACE_ID::int32 tun_number() const;
428  void set_tun_number(::PROTOBUF_NAMESPACE_ID::int32 value);
429  private:
430  ::PROTOBUF_NAMESPACE_ID::int32 _internal_tun_number() const;
431  void _internal_set_tun_number(::PROTOBUF_NAMESPACE_ID::int32 value);
432  public:
433 
434  // optional uint32 dynamic_address_count = 11 [default = 0];
435  bool has_dynamic_address_count() const;
436  private:
437  bool _internal_has_dynamic_address_count() const;
438  public:
439  void clear_dynamic_address_count();
440  ::PROTOBUF_NAMESPACE_ID::uint32 dynamic_address_count() const;
441  void set_dynamic_address_count(::PROTOBUF_NAMESPACE_ID::uint32 value);
442  private:
443  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dynamic_address_count() const;
444  void _internal_set_dynamic_address_count(::PROTOBUF_NAMESPACE_ID::uint32 value);
445  public:
446 
447  // required uint32 mtu = 31;
448  bool has_mtu() const;
449  private:
450  bool _internal_has_mtu() const;
451  public:
452  void clear_mtu();
453  ::PROTOBUF_NAMESPACE_ID::uint32 mtu() const;
454  void set_mtu(::PROTOBUF_NAMESPACE_ID::uint32 value);
455  private:
456  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_mtu() const;
457  void _internal_set_mtu(::PROTOBUF_NAMESPACE_ID::uint32 value);
458  public:
459 
460  // optional bool bypass_mac = 32 [default = false];
461  bool has_bypass_mac() const;
462  private:
463  bool _internal_has_bypass_mac() const;
464  public:
465  void clear_bypass_mac();
466  bool bypass_mac() const;
467  void set_bypass_mac(bool value);
468  private:
469  bool _internal_bypass_mac() const;
470  void _internal_set_bypass_mac(bool value);
471  public:
472 
473  // optional int32 only_rate = 50;
474  bool has_only_rate() const;
475  private:
476  bool _internal_has_only_rate() const;
477  public:
478  void clear_only_rate();
479  ::PROTOBUF_NAMESPACE_ID::int32 only_rate() const;
480  void set_only_rate(::PROTOBUF_NAMESPACE_ID::int32 value);
481  private:
482  ::PROTOBUF_NAMESPACE_ID::int32 _internal_only_rate() const;
483  void _internal_set_only_rate(::PROTOBUF_NAMESPACE_ID::int32 value);
484  public:
485 
486  // optional int32 queue_size = 40 [default = 100];
487  bool has_queue_size() const;
488  private:
489  bool _internal_has_queue_size() const;
490  public:
491  void clear_queue_size();
492  ::PROTOBUF_NAMESPACE_ID::int32 queue_size() const;
493  void set_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value);
494  private:
495  ::PROTOBUF_NAMESPACE_ID::int32 _internal_queue_size() const;
496  void _internal_set_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value);
497  public:
498 
499  // optional bool enable_broadcast_address = 10 [default = true];
500  bool has_enable_broadcast_address() const;
501  private:
502  bool _internal_has_enable_broadcast_address() const;
503  public:
504  void clear_enable_broadcast_address();
505  bool enable_broadcast_address() const;
506  void set_enable_broadcast_address(bool value);
507  private:
508  bool _internal_enable_broadcast_address() const;
509  void _internal_set_enable_broadcast_address(bool value);
510  public:
511 
512  // optional .goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.ModelType model_type = 12 [default = UNIFORM];
513  bool has_model_type() const;
514  private:
515  bool _internal_has_model_type() const;
516  public:
517  void clear_model_type();
518  ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType model_type() const;
519  void set_model_type(::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType value);
520  private:
521  ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType _internal_model_type() const;
522  void _internal_set_model_type(::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType value);
523  public:
524 
525  // optional double gamma_autonomy = 13 [default = 0.75];
526  bool has_gamma_autonomy() const;
527  private:
528  bool _internal_has_gamma_autonomy() const;
529  public:
530  void clear_gamma_autonomy();
531  double gamma_autonomy() const;
532  void set_gamma_autonomy(double value);
533  private:
534  double _internal_gamma_autonomy() const;
535  void _internal_set_gamma_autonomy(double value);
536  public:
537 
538  // optional double gamma_collaboration = 14 [default = 0.25];
539  bool has_gamma_collaboration() const;
540  private:
541  bool _internal_has_gamma_collaboration() const;
542  public:
543  void clear_gamma_collaboration();
544  double gamma_collaboration() const;
545  void set_gamma_collaboration(double value);
546  private:
547  double _internal_gamma_collaboration() const;
548  void _internal_set_gamma_collaboration(double value);
549  public:
550 
551  // optional int32 gateway_id = 15 [default = 1];
552  bool has_gateway_id() const;
553  private:
554  bool _internal_has_gateway_id() const;
555  public:
556  void clear_gateway_id();
557  ::PROTOBUF_NAMESPACE_ID::int32 gateway_id() const;
558  void set_gateway_id(::PROTOBUF_NAMESPACE_ID::int32 value);
559  private:
560  ::PROTOBUF_NAMESPACE_ID::int32 _internal_gateway_id() const;
561  void _internal_set_gateway_id(::PROTOBUF_NAMESPACE_ID::int32 value);
562  public:
563 
564  // optional int32 total_ports = 20 [default = 1];
565  bool has_total_ports() const;
566  private:
567  bool _internal_has_total_ports() const;
568  public:
569  void clear_total_ports();
570  ::PROTOBUF_NAMESPACE_ID::int32 total_ports() const;
571  void set_total_ports(::PROTOBUF_NAMESPACE_ID::int32 value);
572  private:
573  ::PROTOBUF_NAMESPACE_ID::int32 _internal_total_ports() const;
574  void _internal_set_total_ports(::PROTOBUF_NAMESPACE_ID::int32 value);
575  public:
576 
577  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig)
578  private:
579  class _Internal;
580 
581  // helper for ByteSizeLong()
582  size_t RequiredFieldsByteSizeFallback() const;
583 
584  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
585  typedef void InternalArenaConstructable_;
586  typedef void DestructorSkippable_;
587  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
588  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
589  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > static_udp_port_;
590  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_ipv4_address_;
591  ::goby::middleware::protobuf::AppConfig* app_;
592  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
593  ::goby::acomms::protobuf::MACConfig* mac_cfg_;
594  ::goby::acomms::protobuf::ModemTransmission* bypass_mac_slot_;
595  ::PROTOBUF_NAMESPACE_ID::uint32 cidr_netmask_prefix_;
596  ::PROTOBUF_NAMESPACE_ID::int32 tun_number_;
597  ::PROTOBUF_NAMESPACE_ID::uint32 dynamic_address_count_;
598  ::PROTOBUF_NAMESPACE_ID::uint32 mtu_;
599  bool bypass_mac_;
600  ::PROTOBUF_NAMESPACE_ID::int32 only_rate_;
601  ::PROTOBUF_NAMESPACE_ID::int32 queue_size_;
602  bool enable_broadcast_address_;
603  int model_type_;
604  double gamma_autonomy_;
605  double gamma_collaboration_;
606  ::PROTOBUF_NAMESPACE_ID::int32 gateway_id_;
607  ::PROTOBUF_NAMESPACE_ID::int32 total_ports_;
609 };
610 // ===================================================================
611 
612 
613 // ===================================================================
614 
615 #ifdef __GNUC__
616  #pragma GCC diagnostic push
617  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
618 #endif // __GNUC__
619 // IPGatewayConfig
620 
621 // optional .goby.middleware.protobuf.AppConfig app = 1;
622 inline bool IPGatewayConfig::_internal_has_app() const {
623  bool value = (_has_bits_[0] & 0x00000002u) != 0;
624  PROTOBUF_ASSUME(!value || app_ != nullptr);
625  return value;
626 }
627 inline bool IPGatewayConfig::has_app() const {
628  return _internal_has_app();
629 }
630 inline const ::goby::middleware::protobuf::AppConfig& IPGatewayConfig::_internal_app() const {
631  const ::goby::middleware::protobuf::AppConfig* p = app_;
632  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
634 }
635 inline const ::goby::middleware::protobuf::AppConfig& IPGatewayConfig::app() const {
636  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.app)
637  return _internal_app();
638 }
639 inline void IPGatewayConfig::unsafe_arena_set_allocated_app(
640  ::goby::middleware::protobuf::AppConfig* app) {
641  if (GetArena() == nullptr) {
642  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
643  }
644  app_ = app;
645  if (app) {
646  _has_bits_[0] |= 0x00000002u;
647  } else {
648  _has_bits_[0] &= ~0x00000002u;
649  }
650  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.app)
651 }
652 inline ::goby::middleware::protobuf::AppConfig* IPGatewayConfig::release_app() {
653  auto temp = unsafe_arena_release_app();
654  if (GetArena() != nullptr) {
655  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
656  }
657  return temp;
658 }
659 inline ::goby::middleware::protobuf::AppConfig* IPGatewayConfig::unsafe_arena_release_app() {
660  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.app)
661  _has_bits_[0] &= ~0x00000002u;
662  ::goby::middleware::protobuf::AppConfig* temp = app_;
663  app_ = nullptr;
664  return temp;
665 }
666 inline ::goby::middleware::protobuf::AppConfig* IPGatewayConfig::_internal_mutable_app() {
667  _has_bits_[0] |= 0x00000002u;
668  if (app_ == nullptr) {
669  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
670  app_ = p;
671  }
672  return app_;
673 }
674 inline ::goby::middleware::protobuf::AppConfig* IPGatewayConfig::mutable_app() {
675  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.app)
676  return _internal_mutable_app();
677 }
678 inline void IPGatewayConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
679  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
680  if (message_arena == nullptr) {
681  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
682  }
683  if (app) {
684  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
685  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
686  if (message_arena != submessage_arena) {
687  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
688  message_arena, app, submessage_arena);
689  }
690  _has_bits_[0] |= 0x00000002u;
691  } else {
692  _has_bits_[0] &= ~0x00000002u;
693  }
694  app_ = app;
695  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.app)
696 }
697 
698 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
699 inline bool IPGatewayConfig::_internal_has_interprocess() const {
700  bool value = (_has_bits_[0] & 0x00000004u) != 0;
701  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
702  return value;
703 }
704 inline bool IPGatewayConfig::has_interprocess() const {
705  return _internal_has_interprocess();
706 }
707 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& IPGatewayConfig::_internal_interprocess() const {
708  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
709  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
711 }
712 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& IPGatewayConfig::interprocess() const {
713  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.interprocess)
714  return _internal_interprocess();
715 }
716 inline void IPGatewayConfig::unsafe_arena_set_allocated_interprocess(
717  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
718  if (GetArena() == nullptr) {
719  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
720  }
721  interprocess_ = interprocess;
722  if (interprocess) {
723  _has_bits_[0] |= 0x00000004u;
724  } else {
725  _has_bits_[0] &= ~0x00000004u;
726  }
727  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.interprocess)
728 }
729 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* IPGatewayConfig::release_interprocess() {
730  auto temp = unsafe_arena_release_interprocess();
731  if (GetArena() != nullptr) {
732  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
733  }
734  return temp;
735 }
736 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* IPGatewayConfig::unsafe_arena_release_interprocess() {
737  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.interprocess)
738  _has_bits_[0] &= ~0x00000004u;
739  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
740  interprocess_ = nullptr;
741  return temp;
742 }
743 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* IPGatewayConfig::_internal_mutable_interprocess() {
744  _has_bits_[0] |= 0x00000004u;
745  if (interprocess_ == nullptr) {
746  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
747  interprocess_ = p;
748  }
749  return interprocess_;
750 }
751 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* IPGatewayConfig::mutable_interprocess() {
752  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.interprocess)
753  return _internal_mutable_interprocess();
754 }
755 inline void IPGatewayConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
756  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
757  if (message_arena == nullptr) {
758  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
759  }
760  if (interprocess) {
761  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
762  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
763  if (message_arena != submessage_arena) {
764  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
765  message_arena, interprocess, submessage_arena);
766  }
767  _has_bits_[0] |= 0x00000004u;
768  } else {
769  _has_bits_[0] &= ~0x00000004u;
770  }
771  interprocess_ = interprocess;
772  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.interprocess)
773 }
774 
775 // required string local_ipv4_address = 3;
776 inline bool IPGatewayConfig::_internal_has_local_ipv4_address() const {
777  bool value = (_has_bits_[0] & 0x00000001u) != 0;
778  return value;
779 }
780 inline bool IPGatewayConfig::has_local_ipv4_address() const {
781  return _internal_has_local_ipv4_address();
782 }
783 inline void IPGatewayConfig::clear_local_ipv4_address() {
784  local_ipv4_address_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
785  _has_bits_[0] &= ~0x00000001u;
786 }
787 inline const std::string& IPGatewayConfig::local_ipv4_address() const {
788  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
789  return _internal_local_ipv4_address();
790 }
791 inline void IPGatewayConfig::set_local_ipv4_address(const std::string& value) {
792  _internal_set_local_ipv4_address(value);
793  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
794 }
795 inline std::string* IPGatewayConfig::mutable_local_ipv4_address() {
796  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
797  return _internal_mutable_local_ipv4_address();
798 }
799 inline const std::string& IPGatewayConfig::_internal_local_ipv4_address() const {
800  return local_ipv4_address_.Get();
801 }
802 inline void IPGatewayConfig::_internal_set_local_ipv4_address(const std::string& value) {
803  _has_bits_[0] |= 0x00000001u;
804  local_ipv4_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
805 }
806 inline void IPGatewayConfig::set_local_ipv4_address(std::string&& value) {
807  _has_bits_[0] |= 0x00000001u;
808  local_ipv4_address_.Set(
809  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
810  // @@protoc_insertion_point(field_set_rvalue:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
811 }
812 inline void IPGatewayConfig::set_local_ipv4_address(const char* value) {
813  GOOGLE_DCHECK(value != nullptr);
814  _has_bits_[0] |= 0x00000001u;
815  local_ipv4_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
816  GetArena());
817  // @@protoc_insertion_point(field_set_char:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
818 }
819 inline void IPGatewayConfig::set_local_ipv4_address(const char* value,
820  size_t size) {
821  _has_bits_[0] |= 0x00000001u;
822  local_ipv4_address_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
823  reinterpret_cast<const char*>(value), size), GetArena());
824  // @@protoc_insertion_point(field_set_pointer:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
825 }
826 inline std::string* IPGatewayConfig::_internal_mutable_local_ipv4_address() {
827  _has_bits_[0] |= 0x00000001u;
828  return local_ipv4_address_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
829 }
830 inline std::string* IPGatewayConfig::release_local_ipv4_address() {
831  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
832  if (!_internal_has_local_ipv4_address()) {
833  return nullptr;
834  }
835  _has_bits_[0] &= ~0x00000001u;
836  return local_ipv4_address_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
837 }
838 inline void IPGatewayConfig::set_allocated_local_ipv4_address(std::string* local_ipv4_address) {
839  if (local_ipv4_address != nullptr) {
840  _has_bits_[0] |= 0x00000001u;
841  } else {
842  _has_bits_[0] &= ~0x00000001u;
843  }
844  local_ipv4_address_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), local_ipv4_address,
845  GetArena());
846  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
847 }
848 inline std::string* IPGatewayConfig::unsafe_arena_release_local_ipv4_address() {
849  // @@protoc_insertion_point(field_unsafe_arena_release:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
850  GOOGLE_DCHECK(GetArena() != nullptr);
851  _has_bits_[0] &= ~0x00000001u;
852  return local_ipv4_address_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
853  GetArena());
854 }
855 inline void IPGatewayConfig::unsafe_arena_set_allocated_local_ipv4_address(
856  std::string* local_ipv4_address) {
857  GOOGLE_DCHECK(GetArena() != nullptr);
858  if (local_ipv4_address != nullptr) {
859  _has_bits_[0] |= 0x00000001u;
860  } else {
861  _has_bits_[0] &= ~0x00000001u;
862  }
863  local_ipv4_address_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
864  local_ipv4_address, GetArena());
865  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.local_ipv4_address)
866 }
867 
868 // required uint32 cidr_netmask_prefix = 4;
869 inline bool IPGatewayConfig::_internal_has_cidr_netmask_prefix() const {
870  bool value = (_has_bits_[0] & 0x00000020u) != 0;
871  return value;
872 }
873 inline bool IPGatewayConfig::has_cidr_netmask_prefix() const {
874  return _internal_has_cidr_netmask_prefix();
875 }
876 inline void IPGatewayConfig::clear_cidr_netmask_prefix() {
877  cidr_netmask_prefix_ = 0u;
878  _has_bits_[0] &= ~0x00000020u;
879 }
880 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::_internal_cidr_netmask_prefix() const {
881  return cidr_netmask_prefix_;
882 }
883 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::cidr_netmask_prefix() const {
884  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.cidr_netmask_prefix)
885  return _internal_cidr_netmask_prefix();
886 }
887 inline void IPGatewayConfig::_internal_set_cidr_netmask_prefix(::PROTOBUF_NAMESPACE_ID::uint32 value) {
888  _has_bits_[0] |= 0x00000020u;
889  cidr_netmask_prefix_ = value;
890 }
891 inline void IPGatewayConfig::set_cidr_netmask_prefix(::PROTOBUF_NAMESPACE_ID::uint32 value) {
892  _internal_set_cidr_netmask_prefix(value);
893  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.cidr_netmask_prefix)
894 }
895 
896 // optional int32 tun_number = 5;
897 inline bool IPGatewayConfig::_internal_has_tun_number() const {
898  bool value = (_has_bits_[0] & 0x00000040u) != 0;
899  return value;
900 }
901 inline bool IPGatewayConfig::has_tun_number() const {
902  return _internal_has_tun_number();
903 }
904 inline void IPGatewayConfig::clear_tun_number() {
905  tun_number_ = 0;
906  _has_bits_[0] &= ~0x00000040u;
907 }
908 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::_internal_tun_number() const {
909  return tun_number_;
910 }
911 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::tun_number() const {
912  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.tun_number)
913  return _internal_tun_number();
914 }
915 inline void IPGatewayConfig::_internal_set_tun_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
916  _has_bits_[0] |= 0x00000040u;
917  tun_number_ = value;
918 }
919 inline void IPGatewayConfig::set_tun_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
920  _internal_set_tun_number(value);
921  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.tun_number)
922 }
923 
924 // optional bool enable_broadcast_address = 10 [default = true];
925 inline bool IPGatewayConfig::_internal_has_enable_broadcast_address() const {
926  bool value = (_has_bits_[0] & 0x00001000u) != 0;
927  return value;
928 }
929 inline bool IPGatewayConfig::has_enable_broadcast_address() const {
930  return _internal_has_enable_broadcast_address();
931 }
932 inline void IPGatewayConfig::clear_enable_broadcast_address() {
933  enable_broadcast_address_ = true;
934  _has_bits_[0] &= ~0x00001000u;
935 }
936 inline bool IPGatewayConfig::_internal_enable_broadcast_address() const {
937  return enable_broadcast_address_;
938 }
939 inline bool IPGatewayConfig::enable_broadcast_address() const {
940  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.enable_broadcast_address)
941  return _internal_enable_broadcast_address();
942 }
943 inline void IPGatewayConfig::_internal_set_enable_broadcast_address(bool value) {
944  _has_bits_[0] |= 0x00001000u;
945  enable_broadcast_address_ = value;
946 }
947 inline void IPGatewayConfig::set_enable_broadcast_address(bool value) {
948  _internal_set_enable_broadcast_address(value);
949  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.enable_broadcast_address)
950 }
951 
952 // optional uint32 dynamic_address_count = 11 [default = 0];
953 inline bool IPGatewayConfig::_internal_has_dynamic_address_count() const {
954  bool value = (_has_bits_[0] & 0x00000080u) != 0;
955  return value;
956 }
957 inline bool IPGatewayConfig::has_dynamic_address_count() const {
958  return _internal_has_dynamic_address_count();
959 }
960 inline void IPGatewayConfig::clear_dynamic_address_count() {
961  dynamic_address_count_ = 0u;
962  _has_bits_[0] &= ~0x00000080u;
963 }
964 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::_internal_dynamic_address_count() const {
965  return dynamic_address_count_;
966 }
967 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::dynamic_address_count() const {
968  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.dynamic_address_count)
969  return _internal_dynamic_address_count();
970 }
971 inline void IPGatewayConfig::_internal_set_dynamic_address_count(::PROTOBUF_NAMESPACE_ID::uint32 value) {
972  _has_bits_[0] |= 0x00000080u;
973  dynamic_address_count_ = value;
974 }
975 inline void IPGatewayConfig::set_dynamic_address_count(::PROTOBUF_NAMESPACE_ID::uint32 value) {
976  _internal_set_dynamic_address_count(value);
977  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.dynamic_address_count)
978 }
979 
980 // optional .goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.ModelType model_type = 12 [default = UNIFORM];
981 inline bool IPGatewayConfig::_internal_has_model_type() const {
982  bool value = (_has_bits_[0] & 0x00002000u) != 0;
983  return value;
984 }
985 inline bool IPGatewayConfig::has_model_type() const {
986  return _internal_has_model_type();
987 }
988 inline void IPGatewayConfig::clear_model_type() {
989  model_type_ = 1;
990  _has_bits_[0] &= ~0x00002000u;
991 }
992 inline ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType IPGatewayConfig::_internal_model_type() const {
993  return static_cast< ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType >(model_type_);
994 }
996  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.model_type)
997  return _internal_model_type();
998 }
999 inline void IPGatewayConfig::_internal_set_model_type(::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType value) {
1001  _has_bits_[0] |= 0x00002000u;
1002  model_type_ = value;
1003 }
1004 inline void IPGatewayConfig::set_model_type(::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType value) {
1005  _internal_set_model_type(value);
1006  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.model_type)
1007 }
1008 
1009 // optional double gamma_autonomy = 13 [default = 0.75];
1010 inline bool IPGatewayConfig::_internal_has_gamma_autonomy() const {
1011  bool value = (_has_bits_[0] & 0x00004000u) != 0;
1012  return value;
1013 }
1014 inline bool IPGatewayConfig::has_gamma_autonomy() const {
1015  return _internal_has_gamma_autonomy();
1016 }
1017 inline void IPGatewayConfig::clear_gamma_autonomy() {
1018  gamma_autonomy_ = 0.75;
1019  _has_bits_[0] &= ~0x00004000u;
1020 }
1021 inline double IPGatewayConfig::_internal_gamma_autonomy() const {
1022  return gamma_autonomy_;
1023 }
1024 inline double IPGatewayConfig::gamma_autonomy() const {
1025  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.gamma_autonomy)
1026  return _internal_gamma_autonomy();
1027 }
1028 inline void IPGatewayConfig::_internal_set_gamma_autonomy(double value) {
1029  _has_bits_[0] |= 0x00004000u;
1030  gamma_autonomy_ = value;
1031 }
1032 inline void IPGatewayConfig::set_gamma_autonomy(double value) {
1033  _internal_set_gamma_autonomy(value);
1034  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.gamma_autonomy)
1035 }
1036 
1037 // optional double gamma_collaboration = 14 [default = 0.25];
1038 inline bool IPGatewayConfig::_internal_has_gamma_collaboration() const {
1039  bool value = (_has_bits_[0] & 0x00008000u) != 0;
1040  return value;
1041 }
1042 inline bool IPGatewayConfig::has_gamma_collaboration() const {
1043  return _internal_has_gamma_collaboration();
1044 }
1045 inline void IPGatewayConfig::clear_gamma_collaboration() {
1046  gamma_collaboration_ = 0.25;
1047  _has_bits_[0] &= ~0x00008000u;
1048 }
1049 inline double IPGatewayConfig::_internal_gamma_collaboration() const {
1050  return gamma_collaboration_;
1051 }
1052 inline double IPGatewayConfig::gamma_collaboration() const {
1053  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.gamma_collaboration)
1054  return _internal_gamma_collaboration();
1055 }
1056 inline void IPGatewayConfig::_internal_set_gamma_collaboration(double value) {
1057  _has_bits_[0] |= 0x00008000u;
1058  gamma_collaboration_ = value;
1059 }
1060 inline void IPGatewayConfig::set_gamma_collaboration(double value) {
1061  _internal_set_gamma_collaboration(value);
1062  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.gamma_collaboration)
1063 }
1064 
1065 // optional int32 gateway_id = 15 [default = 1];
1066 inline bool IPGatewayConfig::_internal_has_gateway_id() const {
1067  bool value = (_has_bits_[0] & 0x00010000u) != 0;
1068  return value;
1069 }
1070 inline bool IPGatewayConfig::has_gateway_id() const {
1071  return _internal_has_gateway_id();
1072 }
1073 inline void IPGatewayConfig::clear_gateway_id() {
1074  gateway_id_ = 1;
1075  _has_bits_[0] &= ~0x00010000u;
1076 }
1077 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::_internal_gateway_id() const {
1078  return gateway_id_;
1079 }
1080 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::gateway_id() const {
1081  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.gateway_id)
1082  return _internal_gateway_id();
1083 }
1084 inline void IPGatewayConfig::_internal_set_gateway_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1085  _has_bits_[0] |= 0x00010000u;
1086  gateway_id_ = value;
1087 }
1088 inline void IPGatewayConfig::set_gateway_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1089  _internal_set_gateway_id(value);
1090  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.gateway_id)
1091 }
1092 
1093 // optional int32 total_ports = 20 [default = 1];
1094 inline bool IPGatewayConfig::_internal_has_total_ports() const {
1095  bool value = (_has_bits_[0] & 0x00020000u) != 0;
1096  return value;
1097 }
1098 inline bool IPGatewayConfig::has_total_ports() const {
1099  return _internal_has_total_ports();
1100 }
1101 inline void IPGatewayConfig::clear_total_ports() {
1102  total_ports_ = 1;
1103  _has_bits_[0] &= ~0x00020000u;
1104 }
1105 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::_internal_total_ports() const {
1106  return total_ports_;
1107 }
1108 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::total_ports() const {
1109  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.total_ports)
1110  return _internal_total_ports();
1111 }
1112 inline void IPGatewayConfig::_internal_set_total_ports(::PROTOBUF_NAMESPACE_ID::int32 value) {
1113  _has_bits_[0] |= 0x00020000u;
1114  total_ports_ = value;
1115 }
1116 inline void IPGatewayConfig::set_total_ports(::PROTOBUF_NAMESPACE_ID::int32 value) {
1117  _internal_set_total_ports(value);
1118  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.total_ports)
1119 }
1120 
1121 // repeated uint32 static_udp_port = 21;
1122 inline int IPGatewayConfig::_internal_static_udp_port_size() const {
1123  return static_udp_port_.size();
1124 }
1125 inline int IPGatewayConfig::static_udp_port_size() const {
1126  return _internal_static_udp_port_size();
1127 }
1128 inline void IPGatewayConfig::clear_static_udp_port() {
1129  static_udp_port_.Clear();
1130 }
1131 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::_internal_static_udp_port(int index) const {
1132  return static_udp_port_.Get(index);
1133 }
1134 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::static_udp_port(int index) const {
1135  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.static_udp_port)
1136  return _internal_static_udp_port(index);
1137 }
1138 inline void IPGatewayConfig::set_static_udp_port(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
1139  static_udp_port_.Set(index, value);
1140  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.static_udp_port)
1141 }
1142 inline void IPGatewayConfig::_internal_add_static_udp_port(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1143  static_udp_port_.Add(value);
1144 }
1145 inline void IPGatewayConfig::add_static_udp_port(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1146  _internal_add_static_udp_port(value);
1147  // @@protoc_insertion_point(field_add:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.static_udp_port)
1148 }
1149 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1150 IPGatewayConfig::_internal_static_udp_port() const {
1151  return static_udp_port_;
1152 }
1153 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1154 IPGatewayConfig::static_udp_port() const {
1155  // @@protoc_insertion_point(field_list:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.static_udp_port)
1156  return _internal_static_udp_port();
1157 }
1158 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1159 IPGatewayConfig::_internal_mutable_static_udp_port() {
1160  return &static_udp_port_;
1161 }
1162 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1163 IPGatewayConfig::mutable_static_udp_port() {
1164  // @@protoc_insertion_point(field_mutable_list:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.static_udp_port)
1165  return _internal_mutable_static_udp_port();
1166 }
1167 
1168 // optional .goby.acomms.protobuf.MACConfig mac_cfg = 30;
1169 inline bool IPGatewayConfig::_internal_has_mac_cfg() const {
1170  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1171  PROTOBUF_ASSUME(!value || mac_cfg_ != nullptr);
1172  return value;
1173 }
1174 inline bool IPGatewayConfig::has_mac_cfg() const {
1175  return _internal_has_mac_cfg();
1176 }
1177 inline const ::goby::acomms::protobuf::MACConfig& IPGatewayConfig::_internal_mac_cfg() const {
1178  const ::goby::acomms::protobuf::MACConfig* p = mac_cfg_;
1179  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::MACConfig*>(
1181 }
1182 inline const ::goby::acomms::protobuf::MACConfig& IPGatewayConfig::mac_cfg() const {
1183  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mac_cfg)
1184  return _internal_mac_cfg();
1185 }
1186 inline void IPGatewayConfig::unsafe_arena_set_allocated_mac_cfg(
1187  ::goby::acomms::protobuf::MACConfig* mac_cfg) {
1188  if (GetArena() == nullptr) {
1189  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mac_cfg_);
1190  }
1191  mac_cfg_ = mac_cfg;
1192  if (mac_cfg) {
1193  _has_bits_[0] |= 0x00000008u;
1194  } else {
1195  _has_bits_[0] &= ~0x00000008u;
1196  }
1197  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mac_cfg)
1198 }
1199 inline ::goby::acomms::protobuf::MACConfig* IPGatewayConfig::release_mac_cfg() {
1200  auto temp = unsafe_arena_release_mac_cfg();
1201  if (GetArena() != nullptr) {
1202  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1203  }
1204  return temp;
1205 }
1206 inline ::goby::acomms::protobuf::MACConfig* IPGatewayConfig::unsafe_arena_release_mac_cfg() {
1207  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mac_cfg)
1208  _has_bits_[0] &= ~0x00000008u;
1209  ::goby::acomms::protobuf::MACConfig* temp = mac_cfg_;
1210  mac_cfg_ = nullptr;
1211  return temp;
1212 }
1213 inline ::goby::acomms::protobuf::MACConfig* IPGatewayConfig::_internal_mutable_mac_cfg() {
1214  _has_bits_[0] |= 0x00000008u;
1215  if (mac_cfg_ == nullptr) {
1216  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::MACConfig>(GetArena());
1217  mac_cfg_ = p;
1218  }
1219  return mac_cfg_;
1220 }
1221 inline ::goby::acomms::protobuf::MACConfig* IPGatewayConfig::mutable_mac_cfg() {
1222  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mac_cfg)
1223  return _internal_mutable_mac_cfg();
1224 }
1225 inline void IPGatewayConfig::set_allocated_mac_cfg(::goby::acomms::protobuf::MACConfig* mac_cfg) {
1226  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1227  if (message_arena == nullptr) {
1228  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(mac_cfg_);
1229  }
1230  if (mac_cfg) {
1231  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1232  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mac_cfg)->GetArena();
1233  if (message_arena != submessage_arena) {
1234  mac_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1235  message_arena, mac_cfg, submessage_arena);
1236  }
1237  _has_bits_[0] |= 0x00000008u;
1238  } else {
1239  _has_bits_[0] &= ~0x00000008u;
1240  }
1241  mac_cfg_ = mac_cfg;
1242  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mac_cfg)
1243 }
1244 
1245 // required uint32 mtu = 31;
1246 inline bool IPGatewayConfig::_internal_has_mtu() const {
1247  bool value = (_has_bits_[0] & 0x00000100u) != 0;
1248  return value;
1249 }
1250 inline bool IPGatewayConfig::has_mtu() const {
1251  return _internal_has_mtu();
1252 }
1253 inline void IPGatewayConfig::clear_mtu() {
1254  mtu_ = 0u;
1255  _has_bits_[0] &= ~0x00000100u;
1256 }
1257 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::_internal_mtu() const {
1258  return mtu_;
1259 }
1260 inline ::PROTOBUF_NAMESPACE_ID::uint32 IPGatewayConfig::mtu() const {
1261  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mtu)
1262  return _internal_mtu();
1263 }
1264 inline void IPGatewayConfig::_internal_set_mtu(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1265  _has_bits_[0] |= 0x00000100u;
1266  mtu_ = value;
1267 }
1268 inline void IPGatewayConfig::set_mtu(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1269  _internal_set_mtu(value);
1270  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.mtu)
1271 }
1272 
1273 // optional bool bypass_mac = 32 [default = false];
1274 inline bool IPGatewayConfig::_internal_has_bypass_mac() const {
1275  bool value = (_has_bits_[0] & 0x00000200u) != 0;
1276  return value;
1277 }
1278 inline bool IPGatewayConfig::has_bypass_mac() const {
1279  return _internal_has_bypass_mac();
1280 }
1281 inline void IPGatewayConfig::clear_bypass_mac() {
1282  bypass_mac_ = false;
1283  _has_bits_[0] &= ~0x00000200u;
1284 }
1285 inline bool IPGatewayConfig::_internal_bypass_mac() const {
1286  return bypass_mac_;
1287 }
1288 inline bool IPGatewayConfig::bypass_mac() const {
1289  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac)
1290  return _internal_bypass_mac();
1291 }
1292 inline void IPGatewayConfig::_internal_set_bypass_mac(bool value) {
1293  _has_bits_[0] |= 0x00000200u;
1294  bypass_mac_ = value;
1295 }
1296 inline void IPGatewayConfig::set_bypass_mac(bool value) {
1297  _internal_set_bypass_mac(value);
1298  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac)
1299 }
1300 
1301 // optional .goby.acomms.protobuf.ModemTransmission bypass_mac_slot = 33;
1302 inline bool IPGatewayConfig::_internal_has_bypass_mac_slot() const {
1303  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1304  PROTOBUF_ASSUME(!value || bypass_mac_slot_ != nullptr);
1305  return value;
1306 }
1307 inline bool IPGatewayConfig::has_bypass_mac_slot() const {
1308  return _internal_has_bypass_mac_slot();
1309 }
1310 inline const ::goby::acomms::protobuf::ModemTransmission& IPGatewayConfig::_internal_bypass_mac_slot() const {
1311  const ::goby::acomms::protobuf::ModemTransmission* p = bypass_mac_slot_;
1312  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::ModemTransmission*>(
1314 }
1315 inline const ::goby::acomms::protobuf::ModemTransmission& IPGatewayConfig::bypass_mac_slot() const {
1316  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac_slot)
1317  return _internal_bypass_mac_slot();
1318 }
1319 inline void IPGatewayConfig::unsafe_arena_set_allocated_bypass_mac_slot(
1320  ::goby::acomms::protobuf::ModemTransmission* bypass_mac_slot) {
1321  if (GetArena() == nullptr) {
1322  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bypass_mac_slot_);
1323  }
1324  bypass_mac_slot_ = bypass_mac_slot;
1325  if (bypass_mac_slot) {
1326  _has_bits_[0] |= 0x00000010u;
1327  } else {
1328  _has_bits_[0] &= ~0x00000010u;
1329  }
1330  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac_slot)
1331 }
1332 inline ::goby::acomms::protobuf::ModemTransmission* IPGatewayConfig::release_bypass_mac_slot() {
1333  auto temp = unsafe_arena_release_bypass_mac_slot();
1334  if (GetArena() != nullptr) {
1335  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1336  }
1337  return temp;
1338 }
1339 inline ::goby::acomms::protobuf::ModemTransmission* IPGatewayConfig::unsafe_arena_release_bypass_mac_slot() {
1340  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac_slot)
1341  _has_bits_[0] &= ~0x00000010u;
1342  ::goby::acomms::protobuf::ModemTransmission* temp = bypass_mac_slot_;
1343  bypass_mac_slot_ = nullptr;
1344  return temp;
1345 }
1346 inline ::goby::acomms::protobuf::ModemTransmission* IPGatewayConfig::_internal_mutable_bypass_mac_slot() {
1347  _has_bits_[0] |= 0x00000010u;
1348  if (bypass_mac_slot_ == nullptr) {
1349  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::ModemTransmission>(GetArena());
1350  bypass_mac_slot_ = p;
1351  }
1352  return bypass_mac_slot_;
1353 }
1354 inline ::goby::acomms::protobuf::ModemTransmission* IPGatewayConfig::mutable_bypass_mac_slot() {
1355  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac_slot)
1356  return _internal_mutable_bypass_mac_slot();
1357 }
1358 inline void IPGatewayConfig::set_allocated_bypass_mac_slot(::goby::acomms::protobuf::ModemTransmission* bypass_mac_slot) {
1359  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1360  if (message_arena == nullptr) {
1361  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(bypass_mac_slot_);
1362  }
1363  if (bypass_mac_slot) {
1364  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1365  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bypass_mac_slot)->GetArena();
1366  if (message_arena != submessage_arena) {
1367  bypass_mac_slot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1368  message_arena, bypass_mac_slot, submessage_arena);
1369  }
1370  _has_bits_[0] |= 0x00000010u;
1371  } else {
1372  _has_bits_[0] &= ~0x00000010u;
1373  }
1374  bypass_mac_slot_ = bypass_mac_slot;
1375  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.bypass_mac_slot)
1376 }
1377 
1378 // optional int32 queue_size = 40 [default = 100];
1379 inline bool IPGatewayConfig::_internal_has_queue_size() const {
1380  bool value = (_has_bits_[0] & 0x00000800u) != 0;
1381  return value;
1382 }
1383 inline bool IPGatewayConfig::has_queue_size() const {
1384  return _internal_has_queue_size();
1385 }
1386 inline void IPGatewayConfig::clear_queue_size() {
1387  queue_size_ = 100;
1388  _has_bits_[0] &= ~0x00000800u;
1389 }
1390 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::_internal_queue_size() const {
1391  return queue_size_;
1392 }
1393 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::queue_size() const {
1394  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.queue_size)
1395  return _internal_queue_size();
1396 }
1397 inline void IPGatewayConfig::_internal_set_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
1398  _has_bits_[0] |= 0x00000800u;
1399  queue_size_ = value;
1400 }
1401 inline void IPGatewayConfig::set_queue_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
1402  _internal_set_queue_size(value);
1403  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.queue_size)
1404 }
1405 
1406 // optional int32 only_rate = 50;
1407 inline bool IPGatewayConfig::_internal_has_only_rate() const {
1408  bool value = (_has_bits_[0] & 0x00000400u) != 0;
1409  return value;
1410 }
1411 inline bool IPGatewayConfig::has_only_rate() const {
1412  return _internal_has_only_rate();
1413 }
1414 inline void IPGatewayConfig::clear_only_rate() {
1415  only_rate_ = 0;
1416  _has_bits_[0] &= ~0x00000400u;
1417 }
1418 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::_internal_only_rate() const {
1419  return only_rate_;
1420 }
1421 inline ::PROTOBUF_NAMESPACE_ID::int32 IPGatewayConfig::only_rate() const {
1422  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.only_rate)
1423  return _internal_only_rate();
1424 }
1425 inline void IPGatewayConfig::_internal_set_only_rate(::PROTOBUF_NAMESPACE_ID::int32 value) {
1426  _has_bits_[0] |= 0x00000400u;
1427  only_rate_ = value;
1428 }
1429 inline void IPGatewayConfig::set_only_rate(::PROTOBUF_NAMESPACE_ID::int32 value) {
1430  _internal_set_only_rate(value);
1431  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.IPGatewayConfig.only_rate)
1432 }
1433 
1434 #ifdef __GNUC__
1435  #pragma GCC diagnostic pop
1436 #endif // __GNUC__
1437 
1438 // @@protoc_insertion_point(namespace_scope)
1439 
1440 } // namespace protobuf
1441 } // namespace acomms
1442 } // namespace zeromq
1443 } // namespace apps
1444 } // namespace goby
1445 
1446 PROTOBUF_NAMESPACE_OPEN
1447 
1448 template <> struct is_proto_enum< ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType> : ::std::true_type {};
1449 template <>
1450 inline const EnumDescriptor* GetEnumDescriptor< ::goby::apps::zeromq::acomms::protobuf::IPGatewayConfig_ModelType>() {
1452 }
1453 
1454 PROTOBUF_NAMESPACE_CLOSE
1455 
1456 // @@protoc_insertion_point(global_scope)
1457 
1458 #include <google/protobuf/port_undef.inc>
1459 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_2eproto
void set_local_ipv4_address(const char *value, size_t size)
static const std::string & ModelType_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ModelType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
IPGatewayConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const IPGatewayConfig & default_instance()
void set_static_udp_port(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > * mutable_static_udp_port()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_local_ipv4_address(const std::string &value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::uint32 static_udp_port(int index) const
void MergeFrom(const IPGatewayConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void add_static_udp_port(::PROTOBUF_NAMESPACE_ID::uint32 value)
void CopyFrom(const IPGatewayConfig &from)
friend void swap(IPGatewayConfig &a, IPGatewayConfig &b)
static bool ModelType_Parse(const std::string &name, ModelType *value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_local_ipv4_address(std::string *local_ipv4_address)
static const IPGatewayConfig * internal_default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
IPGatewayConfig & operator=(IPGatewayConfig &&from) noexcept
IPGatewayConfig & operator=(const IPGatewayConfig &from)
IPGatewayConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > & static_udp_port() const
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fip_5fgateway_5fconfig_2eproto
@ value
the parser finished reading a JSON value
MACConfigDefaultTypeInternal _MACConfig_default_instance_
ModemTransmissionDefaultTypeInternal _ModemTransmission_default_instance_
bool IPGatewayConfig_ModelType_Parse(const std::string &name, IPGatewayConfig_ModelType *value)
constexpr IPGatewayConfig_ModelType IPGatewayConfig_ModelType_ModelType_MIN
const std::string & IPGatewayConfig_ModelType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * IPGatewayConfig_ModelType_descriptor()
bool IPGatewayConfig_ModelType_IsValid(int value)
constexpr IPGatewayConfig_ModelType IPGatewayConfig_ModelType_ModelType_MAX
IPGatewayConfigDefaultTypeInternal _IPGatewayConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
#define ByteSizeLong
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[]