Goby v2
network_header.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/network_header.proto
3 
4 #ifndef PROTOBUF_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto__INCLUDED
5 #define PROTOBUF_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 2006000
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 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/generated_message_util.h>
23 #include <google/protobuf/message.h>
24 #include <google/protobuf/repeated_field.h>
25 #include <google/protobuf/extension_set.h>
26 #include <google/protobuf/generated_enum_reflection.h>
27 #include <google/protobuf/unknown_field_set.h>
28 #include "dccl/option_extensions.pb.h"
29 #include "dccl/arithmetic/protobuf/arithmetic_extensions.pb.h"
30 #include <boost/units/quantity.hpp>
31 #include <boost/units/absolute.hpp>
32 #include <boost/units/dimensionless_type.hpp>
33 #include <boost/units/make_scaled_unit.hpp>
34 // @@protoc_insertion_point(includes)
35 
36 namespace goby {
37 namespace acomms {
38 namespace protobuf {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
42 void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
43 void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
44 
45 class NetworkHeader;
46 class NetworkHeader_UDPHeader;
47 class NetworkHeader_ICMPHeader;
48 class NetworkHeader_SCTPHeader;
49 class IPv4Header;
50 class IPv4Header_FlagsFragOffset;
51 class UDPHeader;
52 class ICMPHeader;
53 class IPGatewayICMPControl;
54 class IPGatewayICMPControl_QueueReport;
55 class IPGatewayICMPControl_QueueReport_SubQueue;
56 
57 enum NetworkHeader_Protocol {
58  NetworkHeader_Protocol_ICMP = 1,
59  NetworkHeader_Protocol_UDP = 17,
60  NetworkHeader_Protocol_SCTP = 132
61 };
62 bool NetworkHeader_Protocol_IsValid(int value);
63 const NetworkHeader_Protocol NetworkHeader_Protocol_Protocol_MIN = NetworkHeader_Protocol_ICMP;
64 const NetworkHeader_Protocol NetworkHeader_Protocol_Protocol_MAX = NetworkHeader_Protocol_SCTP;
65 const int NetworkHeader_Protocol_Protocol_ARRAYSIZE = NetworkHeader_Protocol_Protocol_MAX + 1;
66 
67 const ::google::protobuf::EnumDescriptor* NetworkHeader_Protocol_descriptor();
68 inline const ::std::string& NetworkHeader_Protocol_Name(NetworkHeader_Protocol value) {
69  return ::google::protobuf::internal::NameOfEnum(
70  NetworkHeader_Protocol_descriptor(), value);
71 }
72 inline bool NetworkHeader_Protocol_Parse(
73  const ::std::string& name, NetworkHeader_Protocol* value) {
74  return ::google::protobuf::internal::ParseNamedEnum<NetworkHeader_Protocol>(
75  NetworkHeader_Protocol_descriptor(), name, value);
76 }
77 enum IPGatewayICMPControl_MessageType {
78  IPGatewayICMPControl_MessageType_QUEUE_REPORT = 1
79 };
80 bool IPGatewayICMPControl_MessageType_IsValid(int value);
81 const IPGatewayICMPControl_MessageType IPGatewayICMPControl_MessageType_MessageType_MIN = IPGatewayICMPControl_MessageType_QUEUE_REPORT;
82 const IPGatewayICMPControl_MessageType IPGatewayICMPControl_MessageType_MessageType_MAX = IPGatewayICMPControl_MessageType_QUEUE_REPORT;
83 const int IPGatewayICMPControl_MessageType_MessageType_ARRAYSIZE = IPGatewayICMPControl_MessageType_MessageType_MAX + 1;
84 
85 const ::google::protobuf::EnumDescriptor* IPGatewayICMPControl_MessageType_descriptor();
86 inline const ::std::string& IPGatewayICMPControl_MessageType_Name(IPGatewayICMPControl_MessageType value) {
87  return ::google::protobuf::internal::NameOfEnum(
88  IPGatewayICMPControl_MessageType_descriptor(), value);
89 }
90 inline bool IPGatewayICMPControl_MessageType_Parse(
91  const ::std::string& name, IPGatewayICMPControl_MessageType* value) {
92  return ::google::protobuf::internal::ParseNamedEnum<IPGatewayICMPControl_MessageType>(
93  IPGatewayICMPControl_MessageType_descriptor(), name, value);
94 }
95 // ===================================================================
96 
97 class NetworkHeader_UDPHeader : public ::google::protobuf::Message {
98  public:
100  virtual ~NetworkHeader_UDPHeader();
101 
103 
104  inline NetworkHeader_UDPHeader& operator=(const NetworkHeader_UDPHeader& from) {
105  CopyFrom(from);
106  return *this;
107  }
108 
109  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
110  return _unknown_fields_;
111  }
112 
113  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
114  return &_unknown_fields_;
115  }
116 
117  static const ::google::protobuf::Descriptor* descriptor();
118  static const NetworkHeader_UDPHeader& default_instance();
119 
120  void Swap(NetworkHeader_UDPHeader* other);
121 
122  // implements Message ----------------------------------------------
123 
124  NetworkHeader_UDPHeader* New() const;
125  void CopyFrom(const ::google::protobuf::Message& from);
126  void MergeFrom(const ::google::protobuf::Message& from);
127  void CopyFrom(const NetworkHeader_UDPHeader& from);
128  void MergeFrom(const NetworkHeader_UDPHeader& from);
129  void Clear();
130  bool IsInitialized() const;
131 
132  int ByteSize() const;
133  bool MergePartialFromCodedStream(
134  ::google::protobuf::io::CodedInputStream* input);
135  void SerializeWithCachedSizes(
136  ::google::protobuf::io::CodedOutputStream* output) const;
137  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
138  int GetCachedSize() const { return _cached_size_; }
139  private:
140  void SharedCtor();
141  void SharedDtor();
142  void SetCachedSize(int size) const;
143  public:
144  ::google::protobuf::Metadata GetMetadata() const;
145 
146  // nested types ----------------------------------------------------
147 
148  // accessors -------------------------------------------------------
149 
150  // repeated uint32 srcdest_port = 1;
151  inline int srcdest_port_size() const;
152  inline void clear_srcdest_port();
153  static const int kSrcdestPortFieldNumber = 1;
154  inline ::google::protobuf::uint32 srcdest_port(int index) const;
155  inline void set_srcdest_port(int index, ::google::protobuf::uint32 value);
156  inline void add_srcdest_port(::google::protobuf::uint32 value);
157  inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
158  srcdest_port() const;
159  inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
160  mutable_srcdest_port();
161 
162  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader.UDPHeader)
163  private:
164 
165  ::google::protobuf::UnknownFieldSet _unknown_fields_;
166 
167  ::google::protobuf::uint32 _has_bits_[1];
168  mutable int _cached_size_;
169  ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > srcdest_port_;
170  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
171  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
172  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
173 
174  void InitAsDefaultInstance();
175  static NetworkHeader_UDPHeader* default_instance_;
176 };
177 // -------------------------------------------------------------------
178 
179 class NetworkHeader_ICMPHeader : public ::google::protobuf::Message {
180  public:
182  virtual ~NetworkHeader_ICMPHeader();
183 
185 
186  inline NetworkHeader_ICMPHeader& operator=(const NetworkHeader_ICMPHeader& from) {
187  CopyFrom(from);
188  return *this;
189  }
190 
191  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
192  return _unknown_fields_;
193  }
194 
195  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
196  return &_unknown_fields_;
197  }
198 
199  static const ::google::protobuf::Descriptor* descriptor();
200  static const NetworkHeader_ICMPHeader& default_instance();
201 
202  void Swap(NetworkHeader_ICMPHeader* other);
203 
204  // implements Message ----------------------------------------------
205 
206  NetworkHeader_ICMPHeader* New() const;
207  void CopyFrom(const ::google::protobuf::Message& from);
208  void MergeFrom(const ::google::protobuf::Message& from);
209  void CopyFrom(const NetworkHeader_ICMPHeader& from);
210  void MergeFrom(const NetworkHeader_ICMPHeader& from);
211  void Clear();
212  bool IsInitialized() const;
213 
214  int ByteSize() const;
215  bool MergePartialFromCodedStream(
216  ::google::protobuf::io::CodedInputStream* input);
217  void SerializeWithCachedSizes(
218  ::google::protobuf::io::CodedOutputStream* output) const;
219  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
220  int GetCachedSize() const { return _cached_size_; }
221  private:
222  void SharedCtor();
223  void SharedDtor();
224  void SetCachedSize(int size) const;
225  public:
226  ::google::protobuf::Metadata GetMetadata() const;
227 
228  // nested types ----------------------------------------------------
229 
230  // accessors -------------------------------------------------------
231 
232  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader.ICMPHeader)
233  private:
234 
235  ::google::protobuf::UnknownFieldSet _unknown_fields_;
236 
237  ::google::protobuf::uint32 _has_bits_[1];
238  mutable int _cached_size_;
239  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
240  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
241  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
242 
243  void InitAsDefaultInstance();
244  static NetworkHeader_ICMPHeader* default_instance_;
245 };
246 // -------------------------------------------------------------------
247 
248 class NetworkHeader_SCTPHeader : public ::google::protobuf::Message {
249  public:
251  virtual ~NetworkHeader_SCTPHeader();
252 
254 
255  inline NetworkHeader_SCTPHeader& operator=(const NetworkHeader_SCTPHeader& from) {
256  CopyFrom(from);
257  return *this;
258  }
259 
260  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
261  return _unknown_fields_;
262  }
263 
264  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
265  return &_unknown_fields_;
266  }
267 
268  static const ::google::protobuf::Descriptor* descriptor();
269  static const NetworkHeader_SCTPHeader& default_instance();
270 
271  void Swap(NetworkHeader_SCTPHeader* other);
272 
273  // implements Message ----------------------------------------------
274 
275  NetworkHeader_SCTPHeader* New() const;
276  void CopyFrom(const ::google::protobuf::Message& from);
277  void MergeFrom(const ::google::protobuf::Message& from);
278  void CopyFrom(const NetworkHeader_SCTPHeader& from);
279  void MergeFrom(const NetworkHeader_SCTPHeader& from);
280  void Clear();
281  bool IsInitialized() const;
282 
283  int ByteSize() const;
284  bool MergePartialFromCodedStream(
285  ::google::protobuf::io::CodedInputStream* input);
286  void SerializeWithCachedSizes(
287  ::google::protobuf::io::CodedOutputStream* output) const;
288  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
289  int GetCachedSize() const { return _cached_size_; }
290  private:
291  void SharedCtor();
292  void SharedDtor();
293  void SetCachedSize(int size) const;
294  public:
295  ::google::protobuf::Metadata GetMetadata() const;
296 
297  // nested types ----------------------------------------------------
298 
299  // accessors -------------------------------------------------------
300 
301  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader.SCTPHeader)
302  private:
303 
304  ::google::protobuf::UnknownFieldSet _unknown_fields_;
305 
306  ::google::protobuf::uint32 _has_bits_[1];
307  mutable int _cached_size_;
308  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
309  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
310  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
311 
312  void InitAsDefaultInstance();
313  static NetworkHeader_SCTPHeader* default_instance_;
314 };
315 // -------------------------------------------------------------------
316 
317 class NetworkHeader : public ::google::protobuf::Message {
318  public:
319  NetworkHeader();
320  virtual ~NetworkHeader();
321 
322  NetworkHeader(const NetworkHeader& from);
323 
324  inline NetworkHeader& operator=(const NetworkHeader& from) {
325  CopyFrom(from);
326  return *this;
327  }
328 
329  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
330  return _unknown_fields_;
331  }
332 
333  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
334  return &_unknown_fields_;
335  }
336 
337  static const ::google::protobuf::Descriptor* descriptor();
338  static const NetworkHeader& default_instance();
339 
340  void Swap(NetworkHeader* other);
341 
342  // implements Message ----------------------------------------------
343 
344  NetworkHeader* New() const;
345  void CopyFrom(const ::google::protobuf::Message& from);
346  void MergeFrom(const ::google::protobuf::Message& from);
347  void CopyFrom(const NetworkHeader& from);
348  void MergeFrom(const NetworkHeader& from);
349  void Clear();
350  bool IsInitialized() const;
351 
352  int ByteSize() const;
353  bool MergePartialFromCodedStream(
354  ::google::protobuf::io::CodedInputStream* input);
355  void SerializeWithCachedSizes(
356  ::google::protobuf::io::CodedOutputStream* output) const;
357  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
358  int GetCachedSize() const { return _cached_size_; }
359  private:
360  void SharedCtor();
361  void SharedDtor();
362  void SetCachedSize(int size) const;
363  public:
364  ::google::protobuf::Metadata GetMetadata() const;
365 
366  // nested types ----------------------------------------------------
367 
371 
372  typedef NetworkHeader_Protocol Protocol;
373  static const Protocol ICMP = NetworkHeader_Protocol_ICMP;
374  static const Protocol UDP = NetworkHeader_Protocol_UDP;
375  static const Protocol SCTP = NetworkHeader_Protocol_SCTP;
376  static inline bool Protocol_IsValid(int value) {
377  return NetworkHeader_Protocol_IsValid(value);
378  }
379  static const Protocol Protocol_MIN =
380  NetworkHeader_Protocol_Protocol_MIN;
381  static const Protocol Protocol_MAX =
382  NetworkHeader_Protocol_Protocol_MAX;
383  static const int Protocol_ARRAYSIZE =
384  NetworkHeader_Protocol_Protocol_ARRAYSIZE;
385  static inline const ::google::protobuf::EnumDescriptor*
386  Protocol_descriptor() {
387  return NetworkHeader_Protocol_descriptor();
388  }
389  static inline const ::std::string& Protocol_Name(Protocol value) {
390  return NetworkHeader_Protocol_Name(value);
391  }
392  static inline bool Protocol_Parse(const ::std::string& name,
393  Protocol* value) {
394  return NetworkHeader_Protocol_Parse(name, value);
395  }
396 
397  // accessors -------------------------------------------------------
398 
399  // required .goby.acomms.protobuf.NetworkHeader.Protocol protocol = 1;
400  inline bool has_protocol() const;
401  inline void clear_protocol();
402  static const int kProtocolFieldNumber = 1;
403  inline ::goby::acomms::protobuf::NetworkHeader_Protocol protocol() const;
404  inline void set_protocol(::goby::acomms::protobuf::NetworkHeader_Protocol value);
405 
406  // required uint32 srcdest_addr = 10;
407  inline bool has_srcdest_addr() const;
408  inline void clear_srcdest_addr();
409  static const int kSrcdestAddrFieldNumber = 10;
410  inline ::google::protobuf::uint32 srcdest_addr() const;
411  inline void set_srcdest_addr(::google::protobuf::uint32 value);
412 
413  // required .goby.acomms.protobuf.NetworkHeader.UDPHeader udp = 20;
414  inline bool has_udp() const;
415  inline void clear_udp();
416  static const int kUdpFieldNumber = 20;
417  inline const ::goby::acomms::protobuf::NetworkHeader_UDPHeader& udp() const;
418  inline ::goby::acomms::protobuf::NetworkHeader_UDPHeader* mutable_udp();
419  inline ::goby::acomms::protobuf::NetworkHeader_UDPHeader* release_udp();
420  inline void set_allocated_udp(::goby::acomms::protobuf::NetworkHeader_UDPHeader* udp);
421 
422  enum DCCLParameters { DCCL_ID = 61440, DCCL_MAX_BYTES = 8 };
423  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.NetworkHeader)
424  private:
425  inline void set_has_protocol();
426  inline void clear_has_protocol();
427  inline void set_has_srcdest_addr();
428  inline void clear_has_srcdest_addr();
429  inline void set_has_udp();
430  inline void clear_has_udp();
431 
432  ::google::protobuf::UnknownFieldSet _unknown_fields_;
433 
434  ::google::protobuf::uint32 _has_bits_[1];
435  mutable int _cached_size_;
436  int protocol_;
437  ::google::protobuf::uint32 srcdest_addr_;
439  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
440  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
441  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
442 
443  void InitAsDefaultInstance();
444  static NetworkHeader* default_instance_;
445 };
446 // -------------------------------------------------------------------
447 
448 class IPv4Header_FlagsFragOffset : public ::google::protobuf::Message {
449  public:
451  virtual ~IPv4Header_FlagsFragOffset();
452 
454 
455  inline IPv4Header_FlagsFragOffset& operator=(const IPv4Header_FlagsFragOffset& from) {
456  CopyFrom(from);
457  return *this;
458  }
459 
460  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
461  return _unknown_fields_;
462  }
463 
464  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
465  return &_unknown_fields_;
466  }
467 
468  static const ::google::protobuf::Descriptor* descriptor();
469  static const IPv4Header_FlagsFragOffset& default_instance();
470 
471  void Swap(IPv4Header_FlagsFragOffset* other);
472 
473  // implements Message ----------------------------------------------
474 
475  IPv4Header_FlagsFragOffset* New() const;
476  void CopyFrom(const ::google::protobuf::Message& from);
477  void MergeFrom(const ::google::protobuf::Message& from);
478  void CopyFrom(const IPv4Header_FlagsFragOffset& from);
479  void MergeFrom(const IPv4Header_FlagsFragOffset& from);
480  void Clear();
481  bool IsInitialized() const;
482 
483  int ByteSize() const;
484  bool MergePartialFromCodedStream(
485  ::google::protobuf::io::CodedInputStream* input);
486  void SerializeWithCachedSizes(
487  ::google::protobuf::io::CodedOutputStream* output) const;
488  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
489  int GetCachedSize() const { return _cached_size_; }
490  private:
491  void SharedCtor();
492  void SharedDtor();
493  void SetCachedSize(int size) const;
494  public:
495  ::google::protobuf::Metadata GetMetadata() const;
496 
497  // nested types ----------------------------------------------------
498 
499  // accessors -------------------------------------------------------
500 
501  // required bool dont_fragment = 1;
502  inline bool has_dont_fragment() const;
503  inline void clear_dont_fragment();
504  static const int kDontFragmentFieldNumber = 1;
505  inline bool dont_fragment() const;
506  inline void set_dont_fragment(bool value);
507 
508  // required bool more_fragments = 2;
509  inline bool has_more_fragments() const;
510  inline void clear_more_fragments();
511  static const int kMoreFragmentsFieldNumber = 2;
512  inline bool more_fragments() const;
513  inline void set_more_fragments(bool value);
514 
515  // required uint32 fragment_offset = 3;
516  inline bool has_fragment_offset() const;
517  inline void clear_fragment_offset();
518  static const int kFragmentOffsetFieldNumber = 3;
519  inline ::google::protobuf::uint32 fragment_offset() const;
520  inline void set_fragment_offset(::google::protobuf::uint32 value);
521 
522  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPv4Header.FlagsFragOffset)
523  private:
524  inline void set_has_dont_fragment();
525  inline void clear_has_dont_fragment();
526  inline void set_has_more_fragments();
527  inline void clear_has_more_fragments();
528  inline void set_has_fragment_offset();
529  inline void clear_has_fragment_offset();
530 
531  ::google::protobuf::UnknownFieldSet _unknown_fields_;
532 
533  ::google::protobuf::uint32 _has_bits_[1];
534  mutable int _cached_size_;
535  bool dont_fragment_;
536  bool more_fragments_;
537  ::google::protobuf::uint32 fragment_offset_;
538  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
539  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
540  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
541 
542  void InitAsDefaultInstance();
543  static IPv4Header_FlagsFragOffset* default_instance_;
544 };
545 // -------------------------------------------------------------------
546 
547 class IPv4Header : public ::google::protobuf::Message {
548  public:
549  IPv4Header();
550  virtual ~IPv4Header();
551 
552  IPv4Header(const IPv4Header& from);
553 
554  inline IPv4Header& operator=(const IPv4Header& from) {
555  CopyFrom(from);
556  return *this;
557  }
558 
559  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
560  return _unknown_fields_;
561  }
562 
563  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
564  return &_unknown_fields_;
565  }
566 
567  static const ::google::protobuf::Descriptor* descriptor();
568  static const IPv4Header& default_instance();
569 
570  void Swap(IPv4Header* other);
571 
572  // implements Message ----------------------------------------------
573 
574  IPv4Header* New() const;
575  void CopyFrom(const ::google::protobuf::Message& from);
576  void MergeFrom(const ::google::protobuf::Message& from);
577  void CopyFrom(const IPv4Header& from);
578  void MergeFrom(const IPv4Header& from);
579  void Clear();
580  bool IsInitialized() const;
581 
582  int ByteSize() const;
583  bool MergePartialFromCodedStream(
584  ::google::protobuf::io::CodedInputStream* input);
585  void SerializeWithCachedSizes(
586  ::google::protobuf::io::CodedOutputStream* output) const;
587  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
588  int GetCachedSize() const { return _cached_size_; }
589  private:
590  void SharedCtor();
591  void SharedDtor();
592  void SetCachedSize(int size) const;
593  public:
594  ::google::protobuf::Metadata GetMetadata() const;
595 
596  // nested types ----------------------------------------------------
597 
599 
600  // accessors -------------------------------------------------------
601 
602  // required uint32 ihl = 2;
603  inline bool has_ihl() const;
604  inline void clear_ihl();
605  static const int kIhlFieldNumber = 2;
606  inline ::google::protobuf::uint32 ihl() const;
607  inline void set_ihl(::google::protobuf::uint32 value);
608 
609  // required uint32 version = 1;
610  inline bool has_version() const;
611  inline void clear_version();
612  static const int kVersionFieldNumber = 1;
613  inline ::google::protobuf::uint32 version() const;
614  inline void set_version(::google::protobuf::uint32 value);
615 
616  // required uint32 ecn = 4;
617  inline bool has_ecn() const;
618  inline void clear_ecn();
619  static const int kEcnFieldNumber = 4;
620  inline ::google::protobuf::uint32 ecn() const;
621  inline void set_ecn(::google::protobuf::uint32 value);
622 
623  // required uint32 dscp = 3;
624  inline bool has_dscp() const;
625  inline void clear_dscp();
626  static const int kDscpFieldNumber = 3;
627  inline ::google::protobuf::uint32 dscp() const;
628  inline void set_dscp(::google::protobuf::uint32 value);
629 
630  // required uint32 total_length = 5;
631  inline bool has_total_length() const;
632  inline void clear_total_length();
633  static const int kTotalLengthFieldNumber = 5;
634  inline ::google::protobuf::uint32 total_length() const;
635  inline void set_total_length(::google::protobuf::uint32 value);
636 
637  // required uint32 identification = 6;
638  inline bool has_identification() const;
639  inline void clear_identification();
640  static const int kIdentificationFieldNumber = 6;
641  inline ::google::protobuf::uint32 identification() const;
642  inline void set_identification(::google::protobuf::uint32 value);
643 
644  // required .goby.acomms.protobuf.IPv4Header.FlagsFragOffset flags_frag_offset = 7;
645  inline bool has_flags_frag_offset() const;
646  inline void clear_flags_frag_offset();
647  static const int kFlagsFragOffsetFieldNumber = 7;
648  inline const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset& flags_frag_offset() const;
649  inline ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* mutable_flags_frag_offset();
650  inline ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* release_flags_frag_offset();
651  inline void set_allocated_flags_frag_offset(::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* flags_frag_offset);
652 
653  // required uint32 ttl = 8;
654  inline bool has_ttl() const;
655  inline void clear_ttl();
656  static const int kTtlFieldNumber = 8;
657  inline ::google::protobuf::uint32 ttl() const;
658  inline void set_ttl(::google::protobuf::uint32 value);
659 
660  // required uint32 protocol = 9;
661  inline bool has_protocol() const;
662  inline void clear_protocol();
663  static const int kProtocolFieldNumber = 9;
664  inline ::google::protobuf::uint32 protocol() const;
665  inline void set_protocol(::google::protobuf::uint32 value);
666 
667  // required uint32 header_checksum = 10;
668  inline bool has_header_checksum() const;
669  inline void clear_header_checksum();
670  static const int kHeaderChecksumFieldNumber = 10;
671  inline ::google::protobuf::uint32 header_checksum() const;
672  inline void set_header_checksum(::google::protobuf::uint32 value);
673 
674  // required string source_ip_address = 11;
675  inline bool has_source_ip_address() const;
676  inline void clear_source_ip_address();
677  static const int kSourceIpAddressFieldNumber = 11;
678  inline const ::std::string& source_ip_address() const;
679  inline void set_source_ip_address(const ::std::string& value);
680  inline void set_source_ip_address(const char* value);
681  inline void set_source_ip_address(const char* value, size_t size);
682  inline ::std::string* mutable_source_ip_address();
683  inline ::std::string* release_source_ip_address();
684  inline void set_allocated_source_ip_address(::std::string* source_ip_address);
685 
686  // required string dest_ip_address = 12;
687  inline bool has_dest_ip_address() const;
688  inline void clear_dest_ip_address();
689  static const int kDestIpAddressFieldNumber = 12;
690  inline const ::std::string& dest_ip_address() const;
691  inline void set_dest_ip_address(const ::std::string& value);
692  inline void set_dest_ip_address(const char* value);
693  inline void set_dest_ip_address(const char* value, size_t size);
694  inline ::std::string* mutable_dest_ip_address();
695  inline ::std::string* release_dest_ip_address();
696  inline void set_allocated_dest_ip_address(::std::string* dest_ip_address);
697 
698  enum DCCLParameters { DCCL_ID = 61441, DCCL_MAX_BYTES = 60 };
699  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPv4Header)
700  private:
701  inline void set_has_ihl();
702  inline void clear_has_ihl();
703  inline void set_has_version();
704  inline void clear_has_version();
705  inline void set_has_ecn();
706  inline void clear_has_ecn();
707  inline void set_has_dscp();
708  inline void clear_has_dscp();
709  inline void set_has_total_length();
710  inline void clear_has_total_length();
711  inline void set_has_identification();
712  inline void clear_has_identification();
713  inline void set_has_flags_frag_offset();
714  inline void clear_has_flags_frag_offset();
715  inline void set_has_ttl();
716  inline void clear_has_ttl();
717  inline void set_has_protocol();
718  inline void clear_has_protocol();
719  inline void set_has_header_checksum();
720  inline void clear_has_header_checksum();
721  inline void set_has_source_ip_address();
722  inline void clear_has_source_ip_address();
723  inline void set_has_dest_ip_address();
724  inline void clear_has_dest_ip_address();
725 
726  ::google::protobuf::UnknownFieldSet _unknown_fields_;
727 
728  ::google::protobuf::uint32 _has_bits_[1];
729  mutable int _cached_size_;
730  ::google::protobuf::uint32 ihl_;
731  ::google::protobuf::uint32 version_;
732  ::google::protobuf::uint32 ecn_;
733  ::google::protobuf::uint32 dscp_;
734  ::google::protobuf::uint32 total_length_;
735  ::google::protobuf::uint32 identification_;
737  ::google::protobuf::uint32 ttl_;
738  ::google::protobuf::uint32 protocol_;
739  ::std::string* source_ip_address_;
740  ::std::string* dest_ip_address_;
741  ::google::protobuf::uint32 header_checksum_;
742  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
743  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
744  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
745 
746  void InitAsDefaultInstance();
747  static IPv4Header* default_instance_;
748 };
749 // -------------------------------------------------------------------
750 
751 class UDPHeader : public ::google::protobuf::Message {
752  public:
753  UDPHeader();
754  virtual ~UDPHeader();
755 
756  UDPHeader(const UDPHeader& from);
757 
758  inline UDPHeader& operator=(const UDPHeader& from) {
759  CopyFrom(from);
760  return *this;
761  }
762 
763  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
764  return _unknown_fields_;
765  }
766 
767  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
768  return &_unknown_fields_;
769  }
770 
771  static const ::google::protobuf::Descriptor* descriptor();
772  static const UDPHeader& default_instance();
773 
774  void Swap(UDPHeader* other);
775 
776  // implements Message ----------------------------------------------
777 
778  UDPHeader* New() const;
779  void CopyFrom(const ::google::protobuf::Message& from);
780  void MergeFrom(const ::google::protobuf::Message& from);
781  void CopyFrom(const UDPHeader& from);
782  void MergeFrom(const UDPHeader& from);
783  void Clear();
784  bool IsInitialized() const;
785 
786  int ByteSize() const;
787  bool MergePartialFromCodedStream(
788  ::google::protobuf::io::CodedInputStream* input);
789  void SerializeWithCachedSizes(
790  ::google::protobuf::io::CodedOutputStream* output) const;
791  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
792  int GetCachedSize() const { return _cached_size_; }
793  private:
794  void SharedCtor();
795  void SharedDtor();
796  void SetCachedSize(int size) const;
797  public:
798  ::google::protobuf::Metadata GetMetadata() const;
799 
800  // nested types ----------------------------------------------------
801 
802  // accessors -------------------------------------------------------
803 
804  // required uint32 source_port = 1;
805  inline bool has_source_port() const;
806  inline void clear_source_port();
807  static const int kSourcePortFieldNumber = 1;
808  inline ::google::protobuf::uint32 source_port() const;
809  inline void set_source_port(::google::protobuf::uint32 value);
810 
811  // required uint32 dest_port = 2;
812  inline bool has_dest_port() const;
813  inline void clear_dest_port();
814  static const int kDestPortFieldNumber = 2;
815  inline ::google::protobuf::uint32 dest_port() const;
816  inline void set_dest_port(::google::protobuf::uint32 value);
817 
818  // required uint32 length = 3;
819  inline bool has_length() const;
820  inline void clear_length();
821  static const int kLengthFieldNumber = 3;
822  inline ::google::protobuf::uint32 length() const;
823  inline void set_length(::google::protobuf::uint32 value);
824 
825  // required uint32 checksum = 4;
826  inline bool has_checksum() const;
827  inline void clear_checksum();
828  static const int kChecksumFieldNumber = 4;
829  inline ::google::protobuf::uint32 checksum() const;
830  inline void set_checksum(::google::protobuf::uint32 value);
831 
832  enum DCCLParameters { DCCL_ID = 61442, DCCL_MAX_BYTES = 8 };
833  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.UDPHeader)
834  private:
835  inline void set_has_source_port();
836  inline void clear_has_source_port();
837  inline void set_has_dest_port();
838  inline void clear_has_dest_port();
839  inline void set_has_length();
840  inline void clear_has_length();
841  inline void set_has_checksum();
842  inline void clear_has_checksum();
843 
844  ::google::protobuf::UnknownFieldSet _unknown_fields_;
845 
846  ::google::protobuf::uint32 _has_bits_[1];
847  mutable int _cached_size_;
848  ::google::protobuf::uint32 source_port_;
849  ::google::protobuf::uint32 dest_port_;
850  ::google::protobuf::uint32 length_;
851  ::google::protobuf::uint32 checksum_;
852  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
853  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
854  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
855 
856  void InitAsDefaultInstance();
857  static UDPHeader* default_instance_;
858 };
859 // -------------------------------------------------------------------
860 
861 class ICMPHeader : public ::google::protobuf::Message {
862  public:
863  ICMPHeader();
864  virtual ~ICMPHeader();
865 
866  ICMPHeader(const ICMPHeader& from);
867 
868  inline ICMPHeader& operator=(const ICMPHeader& from) {
869  CopyFrom(from);
870  return *this;
871  }
872 
873  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
874  return _unknown_fields_;
875  }
876 
877  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
878  return &_unknown_fields_;
879  }
880 
881  static const ::google::protobuf::Descriptor* descriptor();
882  static const ICMPHeader& default_instance();
883 
884  void Swap(ICMPHeader* other);
885 
886  // implements Message ----------------------------------------------
887 
888  ICMPHeader* New() const;
889  void CopyFrom(const ::google::protobuf::Message& from);
890  void MergeFrom(const ::google::protobuf::Message& from);
891  void CopyFrom(const ICMPHeader& from);
892  void MergeFrom(const ICMPHeader& from);
893  void Clear();
894  bool IsInitialized() const;
895 
896  int ByteSize() const;
897  bool MergePartialFromCodedStream(
898  ::google::protobuf::io::CodedInputStream* input);
899  void SerializeWithCachedSizes(
900  ::google::protobuf::io::CodedOutputStream* output) const;
901  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
902  int GetCachedSize() const { return _cached_size_; }
903  private:
904  void SharedCtor();
905  void SharedDtor();
906  void SetCachedSize(int size) const;
907  public:
908  ::google::protobuf::Metadata GetMetadata() const;
909 
910  // nested types ----------------------------------------------------
911 
912  // accessors -------------------------------------------------------
913 
914  // required uint32 type = 1;
915  inline bool has_type() const;
916  inline void clear_type();
917  static const int kTypeFieldNumber = 1;
918  inline ::google::protobuf::uint32 type() const;
919  inline void set_type(::google::protobuf::uint32 value);
920 
921  // required uint32 code = 2;
922  inline bool has_code() const;
923  inline void clear_code();
924  static const int kCodeFieldNumber = 2;
925  inline ::google::protobuf::uint32 code() const;
926  inline void set_code(::google::protobuf::uint32 value);
927 
928  // required uint32 checksum = 3;
929  inline bool has_checksum() const;
930  inline void clear_checksum();
931  static const int kChecksumFieldNumber = 3;
932  inline ::google::protobuf::uint32 checksum() const;
933  inline void set_checksum(::google::protobuf::uint32 value);
934 
935  // required uint32 short1 = 4;
936  inline bool has_short1() const;
937  inline void clear_short1();
938  static const int kShort1FieldNumber = 4;
939  inline ::google::protobuf::uint32 short1() const;
940  inline void set_short1(::google::protobuf::uint32 value);
941 
942  // required uint32 short2 = 5;
943  inline bool has_short2() const;
944  inline void clear_short2();
945  static const int kShort2FieldNumber = 5;
946  inline ::google::protobuf::uint32 short2() const;
947  inline void set_short2(::google::protobuf::uint32 value);
948 
949  enum DCCLParameters { DCCL_ID = 61443, DCCL_MAX_BYTES = 8 };
950  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.ICMPHeader)
951  private:
952  inline void set_has_type();
953  inline void clear_has_type();
954  inline void set_has_code();
955  inline void clear_has_code();
956  inline void set_has_checksum();
957  inline void clear_has_checksum();
958  inline void set_has_short1();
959  inline void clear_has_short1();
960  inline void set_has_short2();
961  inline void clear_has_short2();
962 
963  ::google::protobuf::UnknownFieldSet _unknown_fields_;
964 
965  ::google::protobuf::uint32 _has_bits_[1];
966  mutable int _cached_size_;
967  ::google::protobuf::uint32 type_;
968  ::google::protobuf::uint32 code_;
969  ::google::protobuf::uint32 checksum_;
970  ::google::protobuf::uint32 short1_;
971  ::google::protobuf::uint32 short2_;
972  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
973  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
974  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
975 
976  void InitAsDefaultInstance();
977  static ICMPHeader* default_instance_;
978 };
979 // -------------------------------------------------------------------
980 
981 class IPGatewayICMPControl_QueueReport_SubQueue : public ::google::protobuf::Message {
982  public:
985 
987 
989  CopyFrom(from);
990  return *this;
991  }
992 
993  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
994  return _unknown_fields_;
995  }
996 
997  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
998  return &_unknown_fields_;
999  }
1000 
1001  static const ::google::protobuf::Descriptor* descriptor();
1002  static const IPGatewayICMPControl_QueueReport_SubQueue& default_instance();
1003 
1005 
1006  // implements Message ----------------------------------------------
1007 
1009  void CopyFrom(const ::google::protobuf::Message& from);
1010  void MergeFrom(const ::google::protobuf::Message& from);
1011  void CopyFrom(const IPGatewayICMPControl_QueueReport_SubQueue& from);
1012  void MergeFrom(const IPGatewayICMPControl_QueueReport_SubQueue& from);
1013  void Clear();
1014  bool IsInitialized() const;
1015 
1016  int ByteSize() const;
1017  bool MergePartialFromCodedStream(
1018  ::google::protobuf::io::CodedInputStream* input);
1019  void SerializeWithCachedSizes(
1020  ::google::protobuf::io::CodedOutputStream* output) const;
1021  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1022  int GetCachedSize() const { return _cached_size_; }
1023  private:
1024  void SharedCtor();
1025  void SharedDtor();
1026  void SetCachedSize(int size) const;
1027  public:
1028  ::google::protobuf::Metadata GetMetadata() const;
1029 
1030  // nested types ----------------------------------------------------
1031 
1032  // accessors -------------------------------------------------------
1033 
1034  // required int32 dest = 1;
1035  inline bool has_dest() const;
1036  inline void clear_dest();
1037  static const int kDestFieldNumber = 1;
1038  inline ::google::protobuf::int32 dest() const;
1039  inline void set_dest(::google::protobuf::int32 value);
1040 
1041  // required int32 size = 2;
1042  inline bool has_size() const;
1043  inline void clear_size();
1044  static const int kSizeFieldNumber = 2;
1045  inline ::google::protobuf::int32 size() const;
1046  inline void set_size(::google::protobuf::int32 value);
1047 
1048  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue)
1049  private:
1050  inline void set_has_dest();
1051  inline void clear_has_dest();
1052  inline void set_has_size();
1053  inline void clear_has_size();
1054 
1055  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1056 
1057  ::google::protobuf::uint32 _has_bits_[1];
1058  mutable int _cached_size_;
1059  ::google::protobuf::int32 dest_;
1060  ::google::protobuf::int32 size_;
1061  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1062  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1063  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1064 
1065  void InitAsDefaultInstance();
1066  static IPGatewayICMPControl_QueueReport_SubQueue* default_instance_;
1067 };
1068 // -------------------------------------------------------------------
1069 
1070 class IPGatewayICMPControl_QueueReport : public ::google::protobuf::Message {
1071  public:
1074 
1076 
1078  CopyFrom(from);
1079  return *this;
1080  }
1081 
1082  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1083  return _unknown_fields_;
1084  }
1085 
1086  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1087  return &_unknown_fields_;
1088  }
1089 
1090  static const ::google::protobuf::Descriptor* descriptor();
1091  static const IPGatewayICMPControl_QueueReport& default_instance();
1092 
1093  void Swap(IPGatewayICMPControl_QueueReport* other);
1094 
1095  // implements Message ----------------------------------------------
1096 
1097  IPGatewayICMPControl_QueueReport* New() const;
1098  void CopyFrom(const ::google::protobuf::Message& from);
1099  void MergeFrom(const ::google::protobuf::Message& from);
1100  void CopyFrom(const IPGatewayICMPControl_QueueReport& from);
1101  void MergeFrom(const IPGatewayICMPControl_QueueReport& from);
1102  void Clear();
1103  bool IsInitialized() const;
1104 
1105  int ByteSize() const;
1106  bool MergePartialFromCodedStream(
1107  ::google::protobuf::io::CodedInputStream* input);
1108  void SerializeWithCachedSizes(
1109  ::google::protobuf::io::CodedOutputStream* output) const;
1110  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1111  int GetCachedSize() const { return _cached_size_; }
1112  private:
1113  void SharedCtor();
1114  void SharedDtor();
1115  void SetCachedSize(int size) const;
1116  public:
1117  ::google::protobuf::Metadata GetMetadata() const;
1118 
1119  // nested types ----------------------------------------------------
1120 
1122 
1123  // accessors -------------------------------------------------------
1124 
1125  // repeated .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue queue = 1;
1126  inline int queue_size() const;
1127  inline void clear_queue();
1128  static const int kQueueFieldNumber = 1;
1129  inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue& queue(int index) const;
1130  inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* mutable_queue(int index);
1131  inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* add_queue();
1132  inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >&
1133  queue() const;
1134  inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >*
1135  mutable_queue();
1136 
1137  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport)
1138  private:
1139 
1140  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1141 
1142  ::google::protobuf::uint32 _has_bits_[1];
1143  mutable int _cached_size_;
1144  ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue > queue_;
1145  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1146  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1147  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1148 
1149  void InitAsDefaultInstance();
1150  static IPGatewayICMPControl_QueueReport* default_instance_;
1151 };
1152 // -------------------------------------------------------------------
1153 
1154 class IPGatewayICMPControl : public ::google::protobuf::Message {
1155  public:
1157  virtual ~IPGatewayICMPControl();
1158 
1160 
1161  inline IPGatewayICMPControl& operator=(const IPGatewayICMPControl& from) {
1162  CopyFrom(from);
1163  return *this;
1164  }
1165 
1166  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1167  return _unknown_fields_;
1168  }
1169 
1170  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1171  return &_unknown_fields_;
1172  }
1173 
1174  static const ::google::protobuf::Descriptor* descriptor();
1175  static const IPGatewayICMPControl& default_instance();
1176 
1177  void Swap(IPGatewayICMPControl* other);
1178 
1179  // implements Message ----------------------------------------------
1180 
1181  IPGatewayICMPControl* New() const;
1182  void CopyFrom(const ::google::protobuf::Message& from);
1183  void MergeFrom(const ::google::protobuf::Message& from);
1184  void CopyFrom(const IPGatewayICMPControl& from);
1185  void MergeFrom(const IPGatewayICMPControl& from);
1186  void Clear();
1187  bool IsInitialized() const;
1188 
1189  int ByteSize() const;
1190  bool MergePartialFromCodedStream(
1191  ::google::protobuf::io::CodedInputStream* input);
1192  void SerializeWithCachedSizes(
1193  ::google::protobuf::io::CodedOutputStream* output) const;
1194  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
1195  int GetCachedSize() const { return _cached_size_; }
1196  private:
1197  void SharedCtor();
1198  void SharedDtor();
1199  void SetCachedSize(int size) const;
1200  public:
1201  ::google::protobuf::Metadata GetMetadata() const;
1202 
1203  // nested types ----------------------------------------------------
1204 
1206 
1207  typedef IPGatewayICMPControl_MessageType MessageType;
1208  static const MessageType QUEUE_REPORT = IPGatewayICMPControl_MessageType_QUEUE_REPORT;
1209  static inline bool MessageType_IsValid(int value) {
1210  return IPGatewayICMPControl_MessageType_IsValid(value);
1211  }
1212  static const MessageType MessageType_MIN =
1213  IPGatewayICMPControl_MessageType_MessageType_MIN;
1214  static const MessageType MessageType_MAX =
1215  IPGatewayICMPControl_MessageType_MessageType_MAX;
1216  static const int MessageType_ARRAYSIZE =
1217  IPGatewayICMPControl_MessageType_MessageType_ARRAYSIZE;
1218  static inline const ::google::protobuf::EnumDescriptor*
1219  MessageType_descriptor() {
1220  return IPGatewayICMPControl_MessageType_descriptor();
1221  }
1222  static inline const ::std::string& MessageType_Name(MessageType value) {
1223  return IPGatewayICMPControl_MessageType_Name(value);
1224  }
1225  static inline bool MessageType_Parse(const ::std::string& name,
1226  MessageType* value) {
1227  return IPGatewayICMPControl_MessageType_Parse(name, value);
1228  }
1229 
1230  // accessors -------------------------------------------------------
1231 
1232  // required .goby.acomms.protobuf.IPGatewayICMPControl.MessageType type = 1;
1233  inline bool has_type() const;
1234  inline void clear_type();
1235  static const int kTypeFieldNumber = 1;
1236  inline ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType type() const;
1237  inline void set_type(::goby::acomms::protobuf::IPGatewayICMPControl_MessageType value);
1238 
1239  // required string address = 2;
1240  inline bool has_address() const;
1241  inline void clear_address();
1242  static const int kAddressFieldNumber = 2;
1243  inline const ::std::string& address() const;
1244  inline void set_address(const ::std::string& value);
1245  inline void set_address(const char* value);
1246  inline void set_address(const char* value, size_t size);
1247  inline ::std::string* mutable_address();
1248  inline ::std::string* release_address();
1249  inline void set_allocated_address(::std::string* address);
1250 
1251  // optional .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport queue_report = 3;
1252  inline bool has_queue_report() const;
1253  inline void clear_queue_report();
1254  static const int kQueueReportFieldNumber = 3;
1255  inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport& queue_report() const;
1256  inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* mutable_queue_report();
1257  inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* release_queue_report();
1258  inline void set_allocated_queue_report(::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* queue_report);
1259 
1260  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.IPGatewayICMPControl)
1261  private:
1262  inline void set_has_type();
1263  inline void clear_has_type();
1264  inline void set_has_address();
1265  inline void clear_has_address();
1266  inline void set_has_queue_report();
1267  inline void clear_has_queue_report();
1268 
1269  ::google::protobuf::UnknownFieldSet _unknown_fields_;
1270 
1271  ::google::protobuf::uint32 _has_bits_[1];
1272  mutable int _cached_size_;
1273  ::std::string* address_;
1275  int type_;
1276  friend void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1277  friend void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1278  friend void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto();
1279 
1280  void InitAsDefaultInstance();
1281  static IPGatewayICMPControl* default_instance_;
1282 };
1283 // ===================================================================
1284 
1285 
1286 // ===================================================================
1287 
1288 // NetworkHeader_UDPHeader
1289 
1290 // repeated uint32 srcdest_port = 1;
1291 inline int NetworkHeader_UDPHeader::srcdest_port_size() const {
1292  return srcdest_port_.size();
1293 }
1294 inline void NetworkHeader_UDPHeader::clear_srcdest_port() {
1295  srcdest_port_.Clear();
1296 }
1297 inline ::google::protobuf::uint32 NetworkHeader_UDPHeader::srcdest_port(int index) const {
1298  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1299  return srcdest_port_.Get(index);
1300 }
1301 inline void NetworkHeader_UDPHeader::set_srcdest_port(int index, ::google::protobuf::uint32 value) {
1302  srcdest_port_.Set(index, value);
1303  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1304 }
1305 inline void NetworkHeader_UDPHeader::add_srcdest_port(::google::protobuf::uint32 value) {
1306  srcdest_port_.Add(value);
1307  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1308 }
1309 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1310 NetworkHeader_UDPHeader::srcdest_port() const {
1311  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1312  return srcdest_port_;
1313 }
1314 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1315 NetworkHeader_UDPHeader::mutable_srcdest_port() {
1316  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.NetworkHeader.UDPHeader.srcdest_port)
1317  return &srcdest_port_;
1318 }
1319 
1320 // -------------------------------------------------------------------
1321 
1322 // NetworkHeader_ICMPHeader
1323 
1324 // -------------------------------------------------------------------
1325 
1326 // NetworkHeader_SCTPHeader
1327 
1328 // -------------------------------------------------------------------
1329 
1330 // NetworkHeader
1331 
1332 // required .goby.acomms.protobuf.NetworkHeader.Protocol protocol = 1;
1333 inline bool NetworkHeader::has_protocol() const {
1334  return (_has_bits_[0] & 0x00000001u) != 0;
1335 }
1336 inline void NetworkHeader::set_has_protocol() {
1337  _has_bits_[0] |= 0x00000001u;
1338 }
1339 inline void NetworkHeader::clear_has_protocol() {
1340  _has_bits_[0] &= ~0x00000001u;
1341 }
1342 inline void NetworkHeader::clear_protocol() {
1343  protocol_ = 1;
1344  clear_has_protocol();
1345 }
1346 inline ::goby::acomms::protobuf::NetworkHeader_Protocol NetworkHeader::protocol() const {
1347  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.protocol)
1348  return static_cast< ::goby::acomms::protobuf::NetworkHeader_Protocol >(protocol_);
1349 }
1350 inline void NetworkHeader::set_protocol(::goby::acomms::protobuf::NetworkHeader_Protocol value) {
1351  assert(::goby::acomms::protobuf::NetworkHeader_Protocol_IsValid(value));
1352  set_has_protocol();
1353  protocol_ = value;
1354  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.NetworkHeader.protocol)
1355 }
1356 
1357 // required uint32 srcdest_addr = 10;
1358 inline bool NetworkHeader::has_srcdest_addr() const {
1359  return (_has_bits_[0] & 0x00000002u) != 0;
1360 }
1361 inline void NetworkHeader::set_has_srcdest_addr() {
1362  _has_bits_[0] |= 0x00000002u;
1363 }
1364 inline void NetworkHeader::clear_has_srcdest_addr() {
1365  _has_bits_[0] &= ~0x00000002u;
1366 }
1367 inline void NetworkHeader::clear_srcdest_addr() {
1368  srcdest_addr_ = 0u;
1369  clear_has_srcdest_addr();
1370 }
1371 inline ::google::protobuf::uint32 NetworkHeader::srcdest_addr() const {
1372  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.srcdest_addr)
1373  return srcdest_addr_;
1374 }
1375 inline void NetworkHeader::set_srcdest_addr(::google::protobuf::uint32 value) {
1376  set_has_srcdest_addr();
1377  srcdest_addr_ = value;
1378  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.NetworkHeader.srcdest_addr)
1379 }
1380 
1381 // required .goby.acomms.protobuf.NetworkHeader.UDPHeader udp = 20;
1382 inline bool NetworkHeader::has_udp() const {
1383  return (_has_bits_[0] & 0x00000004u) != 0;
1384 }
1385 inline void NetworkHeader::set_has_udp() {
1386  _has_bits_[0] |= 0x00000004u;
1387 }
1388 inline void NetworkHeader::clear_has_udp() {
1389  _has_bits_[0] &= ~0x00000004u;
1390 }
1391 inline void NetworkHeader::clear_udp() {
1392  if (udp_ != NULL) udp_->::goby::acomms::protobuf::NetworkHeader_UDPHeader::Clear();
1393  clear_has_udp();
1394 }
1395 inline const ::goby::acomms::protobuf::NetworkHeader_UDPHeader& NetworkHeader::udp() const {
1396  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.NetworkHeader.udp)
1397  return udp_ != NULL ? *udp_ : *default_instance_->udp_;
1398 }
1399 inline ::goby::acomms::protobuf::NetworkHeader_UDPHeader* NetworkHeader::mutable_udp() {
1400  set_has_udp();
1401  if (udp_ == NULL) udp_ = new ::goby::acomms::protobuf::NetworkHeader_UDPHeader;
1402  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.NetworkHeader.udp)
1403  return udp_;
1404 }
1405 inline ::goby::acomms::protobuf::NetworkHeader_UDPHeader* NetworkHeader::release_udp() {
1406  clear_has_udp();
1408  udp_ = NULL;
1409  return temp;
1410 }
1411 inline void NetworkHeader::set_allocated_udp(::goby::acomms::protobuf::NetworkHeader_UDPHeader* udp) {
1412  delete udp_;
1413  udp_ = udp;
1414  if (udp) {
1415  set_has_udp();
1416  } else {
1417  clear_has_udp();
1418  }
1419  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.NetworkHeader.udp)
1420 }
1421 
1422 // -------------------------------------------------------------------
1423 
1424 // IPv4Header_FlagsFragOffset
1425 
1426 // required bool dont_fragment = 1;
1427 inline bool IPv4Header_FlagsFragOffset::has_dont_fragment() const {
1428  return (_has_bits_[0] & 0x00000001u) != 0;
1429 }
1430 inline void IPv4Header_FlagsFragOffset::set_has_dont_fragment() {
1431  _has_bits_[0] |= 0x00000001u;
1432 }
1433 inline void IPv4Header_FlagsFragOffset::clear_has_dont_fragment() {
1434  _has_bits_[0] &= ~0x00000001u;
1435 }
1436 inline void IPv4Header_FlagsFragOffset::clear_dont_fragment() {
1437  dont_fragment_ = false;
1438  clear_has_dont_fragment();
1439 }
1440 inline bool IPv4Header_FlagsFragOffset::dont_fragment() const {
1441  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.dont_fragment)
1442  return dont_fragment_;
1443 }
1444 inline void IPv4Header_FlagsFragOffset::set_dont_fragment(bool value) {
1445  set_has_dont_fragment();
1446  dont_fragment_ = value;
1447  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.dont_fragment)
1448 }
1449 
1450 // required bool more_fragments = 2;
1451 inline bool IPv4Header_FlagsFragOffset::has_more_fragments() const {
1452  return (_has_bits_[0] & 0x00000002u) != 0;
1453 }
1454 inline void IPv4Header_FlagsFragOffset::set_has_more_fragments() {
1455  _has_bits_[0] |= 0x00000002u;
1456 }
1457 inline void IPv4Header_FlagsFragOffset::clear_has_more_fragments() {
1458  _has_bits_[0] &= ~0x00000002u;
1459 }
1460 inline void IPv4Header_FlagsFragOffset::clear_more_fragments() {
1461  more_fragments_ = false;
1462  clear_has_more_fragments();
1463 }
1464 inline bool IPv4Header_FlagsFragOffset::more_fragments() const {
1465  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.more_fragments)
1466  return more_fragments_;
1467 }
1468 inline void IPv4Header_FlagsFragOffset::set_more_fragments(bool value) {
1469  set_has_more_fragments();
1470  more_fragments_ = value;
1471  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.more_fragments)
1472 }
1473 
1474 // required uint32 fragment_offset = 3;
1475 inline bool IPv4Header_FlagsFragOffset::has_fragment_offset() const {
1476  return (_has_bits_[0] & 0x00000004u) != 0;
1477 }
1478 inline void IPv4Header_FlagsFragOffset::set_has_fragment_offset() {
1479  _has_bits_[0] |= 0x00000004u;
1480 }
1481 inline void IPv4Header_FlagsFragOffset::clear_has_fragment_offset() {
1482  _has_bits_[0] &= ~0x00000004u;
1483 }
1484 inline void IPv4Header_FlagsFragOffset::clear_fragment_offset() {
1485  fragment_offset_ = 0u;
1486  clear_has_fragment_offset();
1487 }
1488 inline ::google::protobuf::uint32 IPv4Header_FlagsFragOffset::fragment_offset() const {
1489  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.fragment_offset)
1490  return fragment_offset_;
1491 }
1492 inline void IPv4Header_FlagsFragOffset::set_fragment_offset(::google::protobuf::uint32 value) {
1493  set_has_fragment_offset();
1494  fragment_offset_ = value;
1495  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.FlagsFragOffset.fragment_offset)
1496 }
1497 
1498 // -------------------------------------------------------------------
1499 
1500 // IPv4Header
1501 
1502 // required uint32 ihl = 2;
1503 inline bool IPv4Header::has_ihl() const {
1504  return (_has_bits_[0] & 0x00000001u) != 0;
1505 }
1506 inline void IPv4Header::set_has_ihl() {
1507  _has_bits_[0] |= 0x00000001u;
1508 }
1509 inline void IPv4Header::clear_has_ihl() {
1510  _has_bits_[0] &= ~0x00000001u;
1511 }
1512 inline void IPv4Header::clear_ihl() {
1513  ihl_ = 0u;
1514  clear_has_ihl();
1515 }
1516 inline ::google::protobuf::uint32 IPv4Header::ihl() const {
1517  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.ihl)
1518  return ihl_;
1519 }
1520 inline void IPv4Header::set_ihl(::google::protobuf::uint32 value) {
1521  set_has_ihl();
1522  ihl_ = value;
1523  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.ihl)
1524 }
1525 
1526 // required uint32 version = 1;
1527 inline bool IPv4Header::has_version() const {
1528  return (_has_bits_[0] & 0x00000002u) != 0;
1529 }
1530 inline void IPv4Header::set_has_version() {
1531  _has_bits_[0] |= 0x00000002u;
1532 }
1533 inline void IPv4Header::clear_has_version() {
1534  _has_bits_[0] &= ~0x00000002u;
1535 }
1536 inline void IPv4Header::clear_version() {
1537  version_ = 0u;
1538  clear_has_version();
1539 }
1540 inline ::google::protobuf::uint32 IPv4Header::version() const {
1541  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.version)
1542  return version_;
1543 }
1544 inline void IPv4Header::set_version(::google::protobuf::uint32 value) {
1545  set_has_version();
1546  version_ = value;
1547  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.version)
1548 }
1549 
1550 // required uint32 ecn = 4;
1551 inline bool IPv4Header::has_ecn() const {
1552  return (_has_bits_[0] & 0x00000004u) != 0;
1553 }
1554 inline void IPv4Header::set_has_ecn() {
1555  _has_bits_[0] |= 0x00000004u;
1556 }
1557 inline void IPv4Header::clear_has_ecn() {
1558  _has_bits_[0] &= ~0x00000004u;
1559 }
1560 inline void IPv4Header::clear_ecn() {
1561  ecn_ = 0u;
1562  clear_has_ecn();
1563 }
1564 inline ::google::protobuf::uint32 IPv4Header::ecn() const {
1565  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.ecn)
1566  return ecn_;
1567 }
1568 inline void IPv4Header::set_ecn(::google::protobuf::uint32 value) {
1569  set_has_ecn();
1570  ecn_ = value;
1571  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.ecn)
1572 }
1573 
1574 // required uint32 dscp = 3;
1575 inline bool IPv4Header::has_dscp() const {
1576  return (_has_bits_[0] & 0x00000008u) != 0;
1577 }
1578 inline void IPv4Header::set_has_dscp() {
1579  _has_bits_[0] |= 0x00000008u;
1580 }
1581 inline void IPv4Header::clear_has_dscp() {
1582  _has_bits_[0] &= ~0x00000008u;
1583 }
1584 inline void IPv4Header::clear_dscp() {
1585  dscp_ = 0u;
1586  clear_has_dscp();
1587 }
1588 inline ::google::protobuf::uint32 IPv4Header::dscp() const {
1589  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.dscp)
1590  return dscp_;
1591 }
1592 inline void IPv4Header::set_dscp(::google::protobuf::uint32 value) {
1593  set_has_dscp();
1594  dscp_ = value;
1595  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.dscp)
1596 }
1597 
1598 // required uint32 total_length = 5;
1599 inline bool IPv4Header::has_total_length() const {
1600  return (_has_bits_[0] & 0x00000010u) != 0;
1601 }
1602 inline void IPv4Header::set_has_total_length() {
1603  _has_bits_[0] |= 0x00000010u;
1604 }
1605 inline void IPv4Header::clear_has_total_length() {
1606  _has_bits_[0] &= ~0x00000010u;
1607 }
1608 inline void IPv4Header::clear_total_length() {
1609  total_length_ = 0u;
1610  clear_has_total_length();
1611 }
1612 inline ::google::protobuf::uint32 IPv4Header::total_length() const {
1613  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.total_length)
1614  return total_length_;
1615 }
1616 inline void IPv4Header::set_total_length(::google::protobuf::uint32 value) {
1617  set_has_total_length();
1618  total_length_ = value;
1619  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.total_length)
1620 }
1621 
1622 // required uint32 identification = 6;
1623 inline bool IPv4Header::has_identification() const {
1624  return (_has_bits_[0] & 0x00000020u) != 0;
1625 }
1626 inline void IPv4Header::set_has_identification() {
1627  _has_bits_[0] |= 0x00000020u;
1628 }
1629 inline void IPv4Header::clear_has_identification() {
1630  _has_bits_[0] &= ~0x00000020u;
1631 }
1632 inline void IPv4Header::clear_identification() {
1633  identification_ = 0u;
1634  clear_has_identification();
1635 }
1636 inline ::google::protobuf::uint32 IPv4Header::identification() const {
1637  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.identification)
1638  return identification_;
1639 }
1640 inline void IPv4Header::set_identification(::google::protobuf::uint32 value) {
1641  set_has_identification();
1642  identification_ = value;
1643  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.identification)
1644 }
1645 
1646 // required .goby.acomms.protobuf.IPv4Header.FlagsFragOffset flags_frag_offset = 7;
1647 inline bool IPv4Header::has_flags_frag_offset() const {
1648  return (_has_bits_[0] & 0x00000040u) != 0;
1649 }
1650 inline void IPv4Header::set_has_flags_frag_offset() {
1651  _has_bits_[0] |= 0x00000040u;
1652 }
1653 inline void IPv4Header::clear_has_flags_frag_offset() {
1654  _has_bits_[0] &= ~0x00000040u;
1655 }
1656 inline void IPv4Header::clear_flags_frag_offset() {
1657  if (flags_frag_offset_ != NULL) flags_frag_offset_->::goby::acomms::protobuf::IPv4Header_FlagsFragOffset::Clear();
1658  clear_has_flags_frag_offset();
1659 }
1660 inline const ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset& IPv4Header::flags_frag_offset() const {
1661  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
1662  return flags_frag_offset_ != NULL ? *flags_frag_offset_ : *default_instance_->flags_frag_offset_;
1663 }
1664 inline ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* IPv4Header::mutable_flags_frag_offset() {
1665  set_has_flags_frag_offset();
1666  if (flags_frag_offset_ == NULL) flags_frag_offset_ = new ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset;
1667  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
1668  return flags_frag_offset_;
1669 }
1670 inline ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* IPv4Header::release_flags_frag_offset() {
1671  clear_has_flags_frag_offset();
1672  ::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* temp = flags_frag_offset_;
1673  flags_frag_offset_ = NULL;
1674  return temp;
1675 }
1676 inline void IPv4Header::set_allocated_flags_frag_offset(::goby::acomms::protobuf::IPv4Header_FlagsFragOffset* flags_frag_offset) {
1677  delete flags_frag_offset_;
1678  flags_frag_offset_ = flags_frag_offset;
1679  if (flags_frag_offset) {
1680  set_has_flags_frag_offset();
1681  } else {
1682  clear_has_flags_frag_offset();
1683  }
1684  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPv4Header.flags_frag_offset)
1685 }
1686 
1687 // required uint32 ttl = 8;
1688 inline bool IPv4Header::has_ttl() const {
1689  return (_has_bits_[0] & 0x00000080u) != 0;
1690 }
1691 inline void IPv4Header::set_has_ttl() {
1692  _has_bits_[0] |= 0x00000080u;
1693 }
1694 inline void IPv4Header::clear_has_ttl() {
1695  _has_bits_[0] &= ~0x00000080u;
1696 }
1697 inline void IPv4Header::clear_ttl() {
1698  ttl_ = 0u;
1699  clear_has_ttl();
1700 }
1701 inline ::google::protobuf::uint32 IPv4Header::ttl() const {
1702  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.ttl)
1703  return ttl_;
1704 }
1705 inline void IPv4Header::set_ttl(::google::protobuf::uint32 value) {
1706  set_has_ttl();
1707  ttl_ = value;
1708  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.ttl)
1709 }
1710 
1711 // required uint32 protocol = 9;
1712 inline bool IPv4Header::has_protocol() const {
1713  return (_has_bits_[0] & 0x00000100u) != 0;
1714 }
1715 inline void IPv4Header::set_has_protocol() {
1716  _has_bits_[0] |= 0x00000100u;
1717 }
1718 inline void IPv4Header::clear_has_protocol() {
1719  _has_bits_[0] &= ~0x00000100u;
1720 }
1721 inline void IPv4Header::clear_protocol() {
1722  protocol_ = 0u;
1723  clear_has_protocol();
1724 }
1725 inline ::google::protobuf::uint32 IPv4Header::protocol() const {
1726  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.protocol)
1727  return protocol_;
1728 }
1729 inline void IPv4Header::set_protocol(::google::protobuf::uint32 value) {
1730  set_has_protocol();
1731  protocol_ = value;
1732  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.protocol)
1733 }
1734 
1735 // required uint32 header_checksum = 10;
1736 inline bool IPv4Header::has_header_checksum() const {
1737  return (_has_bits_[0] & 0x00000200u) != 0;
1738 }
1739 inline void IPv4Header::set_has_header_checksum() {
1740  _has_bits_[0] |= 0x00000200u;
1741 }
1742 inline void IPv4Header::clear_has_header_checksum() {
1743  _has_bits_[0] &= ~0x00000200u;
1744 }
1745 inline void IPv4Header::clear_header_checksum() {
1746  header_checksum_ = 0u;
1747  clear_has_header_checksum();
1748 }
1749 inline ::google::protobuf::uint32 IPv4Header::header_checksum() const {
1750  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.header_checksum)
1751  return header_checksum_;
1752 }
1753 inline void IPv4Header::set_header_checksum(::google::protobuf::uint32 value) {
1754  set_has_header_checksum();
1755  header_checksum_ = value;
1756  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.header_checksum)
1757 }
1758 
1759 // required string source_ip_address = 11;
1760 inline bool IPv4Header::has_source_ip_address() const {
1761  return (_has_bits_[0] & 0x00000400u) != 0;
1762 }
1763 inline void IPv4Header::set_has_source_ip_address() {
1764  _has_bits_[0] |= 0x00000400u;
1765 }
1766 inline void IPv4Header::clear_has_source_ip_address() {
1767  _has_bits_[0] &= ~0x00000400u;
1768 }
1769 inline void IPv4Header::clear_source_ip_address() {
1770  if (source_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1771  source_ip_address_->clear();
1772  }
1773  clear_has_source_ip_address();
1774 }
1775 inline const ::std::string& IPv4Header::source_ip_address() const {
1776  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.source_ip_address)
1777  return *source_ip_address_;
1778 }
1779 inline void IPv4Header::set_source_ip_address(const ::std::string& value) {
1780  set_has_source_ip_address();
1781  if (source_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1782  source_ip_address_ = new ::std::string;
1783  }
1784  source_ip_address_->assign(value);
1785  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.source_ip_address)
1786 }
1787 inline void IPv4Header::set_source_ip_address(const char* value) {
1788  set_has_source_ip_address();
1789  if (source_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1790  source_ip_address_ = new ::std::string;
1791  }
1792  source_ip_address_->assign(value);
1793  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.IPv4Header.source_ip_address)
1794 }
1795 inline void IPv4Header::set_source_ip_address(const char* value, size_t size) {
1796  set_has_source_ip_address();
1797  if (source_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1798  source_ip_address_ = new ::std::string;
1799  }
1800  source_ip_address_->assign(reinterpret_cast<const char*>(value), size);
1801  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.IPv4Header.source_ip_address)
1802 }
1803 inline ::std::string* IPv4Header::mutable_source_ip_address() {
1804  set_has_source_ip_address();
1805  if (source_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1806  source_ip_address_ = new ::std::string;
1807  }
1808  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPv4Header.source_ip_address)
1809  return source_ip_address_;
1810 }
1811 inline ::std::string* IPv4Header::release_source_ip_address() {
1812  clear_has_source_ip_address();
1813  if (source_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1814  return NULL;
1815  } else {
1816  ::std::string* temp = source_ip_address_;
1817  source_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1818  return temp;
1819  }
1820 }
1821 inline void IPv4Header::set_allocated_source_ip_address(::std::string* source_ip_address) {
1822  if (source_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1823  delete source_ip_address_;
1824  }
1825  if (source_ip_address) {
1826  set_has_source_ip_address();
1827  source_ip_address_ = source_ip_address;
1828  } else {
1829  clear_has_source_ip_address();
1830  source_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1831  }
1832  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPv4Header.source_ip_address)
1833 }
1834 
1835 // required string dest_ip_address = 12;
1836 inline bool IPv4Header::has_dest_ip_address() const {
1837  return (_has_bits_[0] & 0x00000800u) != 0;
1838 }
1839 inline void IPv4Header::set_has_dest_ip_address() {
1840  _has_bits_[0] |= 0x00000800u;
1841 }
1842 inline void IPv4Header::clear_has_dest_ip_address() {
1843  _has_bits_[0] &= ~0x00000800u;
1844 }
1845 inline void IPv4Header::clear_dest_ip_address() {
1846  if (dest_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1847  dest_ip_address_->clear();
1848  }
1849  clear_has_dest_ip_address();
1850 }
1851 inline const ::std::string& IPv4Header::dest_ip_address() const {
1852  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPv4Header.dest_ip_address)
1853  return *dest_ip_address_;
1854 }
1855 inline void IPv4Header::set_dest_ip_address(const ::std::string& value) {
1856  set_has_dest_ip_address();
1857  if (dest_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1858  dest_ip_address_ = new ::std::string;
1859  }
1860  dest_ip_address_->assign(value);
1861  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPv4Header.dest_ip_address)
1862 }
1863 inline void IPv4Header::set_dest_ip_address(const char* value) {
1864  set_has_dest_ip_address();
1865  if (dest_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1866  dest_ip_address_ = new ::std::string;
1867  }
1868  dest_ip_address_->assign(value);
1869  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.IPv4Header.dest_ip_address)
1870 }
1871 inline void IPv4Header::set_dest_ip_address(const char* value, size_t size) {
1872  set_has_dest_ip_address();
1873  if (dest_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1874  dest_ip_address_ = new ::std::string;
1875  }
1876  dest_ip_address_->assign(reinterpret_cast<const char*>(value), size);
1877  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.IPv4Header.dest_ip_address)
1878 }
1879 inline ::std::string* IPv4Header::mutable_dest_ip_address() {
1880  set_has_dest_ip_address();
1881  if (dest_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1882  dest_ip_address_ = new ::std::string;
1883  }
1884  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPv4Header.dest_ip_address)
1885  return dest_ip_address_;
1886 }
1887 inline ::std::string* IPv4Header::release_dest_ip_address() {
1888  clear_has_dest_ip_address();
1889  if (dest_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1890  return NULL;
1891  } else {
1892  ::std::string* temp = dest_ip_address_;
1893  dest_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1894  return temp;
1895  }
1896 }
1897 inline void IPv4Header::set_allocated_dest_ip_address(::std::string* dest_ip_address) {
1898  if (dest_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1899  delete dest_ip_address_;
1900  }
1901  if (dest_ip_address) {
1902  set_has_dest_ip_address();
1903  dest_ip_address_ = dest_ip_address;
1904  } else {
1905  clear_has_dest_ip_address();
1906  dest_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1907  }
1908  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPv4Header.dest_ip_address)
1909 }
1910 
1911 // -------------------------------------------------------------------
1912 
1913 // UDPHeader
1914 
1915 // required uint32 source_port = 1;
1916 inline bool UDPHeader::has_source_port() const {
1917  return (_has_bits_[0] & 0x00000001u) != 0;
1918 }
1919 inline void UDPHeader::set_has_source_port() {
1920  _has_bits_[0] |= 0x00000001u;
1921 }
1922 inline void UDPHeader::clear_has_source_port() {
1923  _has_bits_[0] &= ~0x00000001u;
1924 }
1925 inline void UDPHeader::clear_source_port() {
1926  source_port_ = 0u;
1927  clear_has_source_port();
1928 }
1929 inline ::google::protobuf::uint32 UDPHeader::source_port() const {
1930  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.source_port)
1931  return source_port_;
1932 }
1933 inline void UDPHeader::set_source_port(::google::protobuf::uint32 value) {
1934  set_has_source_port();
1935  source_port_ = value;
1936  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.source_port)
1937 }
1938 
1939 // required uint32 dest_port = 2;
1940 inline bool UDPHeader::has_dest_port() const {
1941  return (_has_bits_[0] & 0x00000002u) != 0;
1942 }
1943 inline void UDPHeader::set_has_dest_port() {
1944  _has_bits_[0] |= 0x00000002u;
1945 }
1946 inline void UDPHeader::clear_has_dest_port() {
1947  _has_bits_[0] &= ~0x00000002u;
1948 }
1949 inline void UDPHeader::clear_dest_port() {
1950  dest_port_ = 0u;
1951  clear_has_dest_port();
1952 }
1953 inline ::google::protobuf::uint32 UDPHeader::dest_port() const {
1954  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.dest_port)
1955  return dest_port_;
1956 }
1957 inline void UDPHeader::set_dest_port(::google::protobuf::uint32 value) {
1958  set_has_dest_port();
1959  dest_port_ = value;
1960  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.dest_port)
1961 }
1962 
1963 // required uint32 length = 3;
1964 inline bool UDPHeader::has_length() const {
1965  return (_has_bits_[0] & 0x00000004u) != 0;
1966 }
1967 inline void UDPHeader::set_has_length() {
1968  _has_bits_[0] |= 0x00000004u;
1969 }
1970 inline void UDPHeader::clear_has_length() {
1971  _has_bits_[0] &= ~0x00000004u;
1972 }
1973 inline void UDPHeader::clear_length() {
1974  length_ = 0u;
1975  clear_has_length();
1976 }
1977 inline ::google::protobuf::uint32 UDPHeader::length() const {
1978  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.length)
1979  return length_;
1980 }
1981 inline void UDPHeader::set_length(::google::protobuf::uint32 value) {
1982  set_has_length();
1983  length_ = value;
1984  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.length)
1985 }
1986 
1987 // required uint32 checksum = 4;
1988 inline bool UDPHeader::has_checksum() const {
1989  return (_has_bits_[0] & 0x00000008u) != 0;
1990 }
1991 inline void UDPHeader::set_has_checksum() {
1992  _has_bits_[0] |= 0x00000008u;
1993 }
1994 inline void UDPHeader::clear_has_checksum() {
1995  _has_bits_[0] &= ~0x00000008u;
1996 }
1997 inline void UDPHeader::clear_checksum() {
1998  checksum_ = 0u;
1999  clear_has_checksum();
2000 }
2001 inline ::google::protobuf::uint32 UDPHeader::checksum() const {
2002  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.UDPHeader.checksum)
2003  return checksum_;
2004 }
2005 inline void UDPHeader::set_checksum(::google::protobuf::uint32 value) {
2006  set_has_checksum();
2007  checksum_ = value;
2008  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.UDPHeader.checksum)
2009 }
2010 
2011 // -------------------------------------------------------------------
2012 
2013 // ICMPHeader
2014 
2015 // required uint32 type = 1;
2016 inline bool ICMPHeader::has_type() const {
2017  return (_has_bits_[0] & 0x00000001u) != 0;
2018 }
2019 inline void ICMPHeader::set_has_type() {
2020  _has_bits_[0] |= 0x00000001u;
2021 }
2022 inline void ICMPHeader::clear_has_type() {
2023  _has_bits_[0] &= ~0x00000001u;
2024 }
2025 inline void ICMPHeader::clear_type() {
2026  type_ = 0u;
2027  clear_has_type();
2028 }
2029 inline ::google::protobuf::uint32 ICMPHeader::type() const {
2030  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.type)
2031  return type_;
2032 }
2033 inline void ICMPHeader::set_type(::google::protobuf::uint32 value) {
2034  set_has_type();
2035  type_ = value;
2036  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.type)
2037 }
2038 
2039 // required uint32 code = 2;
2040 inline bool ICMPHeader::has_code() const {
2041  return (_has_bits_[0] & 0x00000002u) != 0;
2042 }
2043 inline void ICMPHeader::set_has_code() {
2044  _has_bits_[0] |= 0x00000002u;
2045 }
2046 inline void ICMPHeader::clear_has_code() {
2047  _has_bits_[0] &= ~0x00000002u;
2048 }
2049 inline void ICMPHeader::clear_code() {
2050  code_ = 0u;
2051  clear_has_code();
2052 }
2053 inline ::google::protobuf::uint32 ICMPHeader::code() const {
2054  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.code)
2055  return code_;
2056 }
2057 inline void ICMPHeader::set_code(::google::protobuf::uint32 value) {
2058  set_has_code();
2059  code_ = value;
2060  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.code)
2061 }
2062 
2063 // required uint32 checksum = 3;
2064 inline bool ICMPHeader::has_checksum() const {
2065  return (_has_bits_[0] & 0x00000004u) != 0;
2066 }
2067 inline void ICMPHeader::set_has_checksum() {
2068  _has_bits_[0] |= 0x00000004u;
2069 }
2070 inline void ICMPHeader::clear_has_checksum() {
2071  _has_bits_[0] &= ~0x00000004u;
2072 }
2073 inline void ICMPHeader::clear_checksum() {
2074  checksum_ = 0u;
2075  clear_has_checksum();
2076 }
2077 inline ::google::protobuf::uint32 ICMPHeader::checksum() const {
2078  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.checksum)
2079  return checksum_;
2080 }
2081 inline void ICMPHeader::set_checksum(::google::protobuf::uint32 value) {
2082  set_has_checksum();
2083  checksum_ = value;
2084  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.checksum)
2085 }
2086 
2087 // required uint32 short1 = 4;
2088 inline bool ICMPHeader::has_short1() const {
2089  return (_has_bits_[0] & 0x00000008u) != 0;
2090 }
2091 inline void ICMPHeader::set_has_short1() {
2092  _has_bits_[0] |= 0x00000008u;
2093 }
2094 inline void ICMPHeader::clear_has_short1() {
2095  _has_bits_[0] &= ~0x00000008u;
2096 }
2097 inline void ICMPHeader::clear_short1() {
2098  short1_ = 0u;
2099  clear_has_short1();
2100 }
2101 inline ::google::protobuf::uint32 ICMPHeader::short1() const {
2102  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.short1)
2103  return short1_;
2104 }
2105 inline void ICMPHeader::set_short1(::google::protobuf::uint32 value) {
2106  set_has_short1();
2107  short1_ = value;
2108  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.short1)
2109 }
2110 
2111 // required uint32 short2 = 5;
2112 inline bool ICMPHeader::has_short2() const {
2113  return (_has_bits_[0] & 0x00000010u) != 0;
2114 }
2115 inline void ICMPHeader::set_has_short2() {
2116  _has_bits_[0] |= 0x00000010u;
2117 }
2118 inline void ICMPHeader::clear_has_short2() {
2119  _has_bits_[0] &= ~0x00000010u;
2120 }
2121 inline void ICMPHeader::clear_short2() {
2122  short2_ = 0u;
2123  clear_has_short2();
2124 }
2125 inline ::google::protobuf::uint32 ICMPHeader::short2() const {
2126  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ICMPHeader.short2)
2127  return short2_;
2128 }
2129 inline void ICMPHeader::set_short2(::google::protobuf::uint32 value) {
2130  set_has_short2();
2131  short2_ = value;
2132  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ICMPHeader.short2)
2133 }
2134 
2135 // -------------------------------------------------------------------
2136 
2137 // IPGatewayICMPControl_QueueReport_SubQueue
2138 
2139 // required int32 dest = 1;
2140 inline bool IPGatewayICMPControl_QueueReport_SubQueue::has_dest() const {
2141  return (_has_bits_[0] & 0x00000001u) != 0;
2142 }
2143 inline void IPGatewayICMPControl_QueueReport_SubQueue::set_has_dest() {
2144  _has_bits_[0] |= 0x00000001u;
2145 }
2146 inline void IPGatewayICMPControl_QueueReport_SubQueue::clear_has_dest() {
2147  _has_bits_[0] &= ~0x00000001u;
2148 }
2149 inline void IPGatewayICMPControl_QueueReport_SubQueue::clear_dest() {
2150  dest_ = 0;
2151  clear_has_dest();
2152 }
2153 inline ::google::protobuf::int32 IPGatewayICMPControl_QueueReport_SubQueue::dest() const {
2154  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.dest)
2155  return dest_;
2156 }
2157 inline void IPGatewayICMPControl_QueueReport_SubQueue::set_dest(::google::protobuf::int32 value) {
2158  set_has_dest();
2159  dest_ = value;
2160  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.dest)
2161 }
2162 
2163 // required int32 size = 2;
2164 inline bool IPGatewayICMPControl_QueueReport_SubQueue::has_size() const {
2165  return (_has_bits_[0] & 0x00000002u) != 0;
2166 }
2167 inline void IPGatewayICMPControl_QueueReport_SubQueue::set_has_size() {
2168  _has_bits_[0] |= 0x00000002u;
2169 }
2170 inline void IPGatewayICMPControl_QueueReport_SubQueue::clear_has_size() {
2171  _has_bits_[0] &= ~0x00000002u;
2172 }
2173 inline void IPGatewayICMPControl_QueueReport_SubQueue::clear_size() {
2174  size_ = 0;
2175  clear_has_size();
2176 }
2177 inline ::google::protobuf::int32 IPGatewayICMPControl_QueueReport_SubQueue::size() const {
2178  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.size)
2179  return size_;
2180 }
2181 inline void IPGatewayICMPControl_QueueReport_SubQueue::set_size(::google::protobuf::int32 value) {
2182  set_has_size();
2183  size_ = value;
2184  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue.size)
2185 }
2186 
2187 // -------------------------------------------------------------------
2188 
2189 // IPGatewayICMPControl_QueueReport
2190 
2191 // repeated .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.SubQueue queue = 1;
2192 inline int IPGatewayICMPControl_QueueReport::queue_size() const {
2193  return queue_.size();
2194 }
2195 inline void IPGatewayICMPControl_QueueReport::clear_queue() {
2196  queue_.Clear();
2197 }
2198 inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue& IPGatewayICMPControl_QueueReport::queue(int index) const {
2199  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2200  return queue_.Get(index);
2201 }
2202 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* IPGatewayICMPControl_QueueReport::mutable_queue(int index) {
2203  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2204  return queue_.Mutable(index);
2205 }
2206 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue* IPGatewayICMPControl_QueueReport::add_queue() {
2207  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2208  return queue_.Add();
2209 }
2210 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >&
2211 IPGatewayICMPControl_QueueReport::queue() const {
2212  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2213  return queue_;
2214 }
2215 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport_SubQueue >*
2216 IPGatewayICMPControl_QueueReport::mutable_queue() {
2217  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.IPGatewayICMPControl.QueueReport.queue)
2218  return &queue_;
2219 }
2220 
2221 // -------------------------------------------------------------------
2222 
2223 // IPGatewayICMPControl
2224 
2225 // required .goby.acomms.protobuf.IPGatewayICMPControl.MessageType type = 1;
2226 inline bool IPGatewayICMPControl::has_type() const {
2227  return (_has_bits_[0] & 0x00000001u) != 0;
2228 }
2229 inline void IPGatewayICMPControl::set_has_type() {
2230  _has_bits_[0] |= 0x00000001u;
2231 }
2232 inline void IPGatewayICMPControl::clear_has_type() {
2233  _has_bits_[0] &= ~0x00000001u;
2234 }
2235 inline void IPGatewayICMPControl::clear_type() {
2236  type_ = 1;
2237  clear_has_type();
2238 }
2239 inline ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType IPGatewayICMPControl::type() const {
2240  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.type)
2241  return static_cast< ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType >(type_);
2242 }
2243 inline void IPGatewayICMPControl::set_type(::goby::acomms::protobuf::IPGatewayICMPControl_MessageType value) {
2244  assert(::goby::acomms::protobuf::IPGatewayICMPControl_MessageType_IsValid(value));
2245  set_has_type();
2246  type_ = value;
2247  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.type)
2248 }
2249 
2250 // required string address = 2;
2251 inline bool IPGatewayICMPControl::has_address() const {
2252  return (_has_bits_[0] & 0x00000002u) != 0;
2253 }
2254 inline void IPGatewayICMPControl::set_has_address() {
2255  _has_bits_[0] |= 0x00000002u;
2256 }
2257 inline void IPGatewayICMPControl::clear_has_address() {
2258  _has_bits_[0] &= ~0x00000002u;
2259 }
2260 inline void IPGatewayICMPControl::clear_address() {
2261  if (address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2262  address_->clear();
2263  }
2264  clear_has_address();
2265 }
2266 inline const ::std::string& IPGatewayICMPControl::address() const {
2267  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.address)
2268  return *address_;
2269 }
2270 inline void IPGatewayICMPControl::set_address(const ::std::string& value) {
2271  set_has_address();
2272  if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2273  address_ = new ::std::string;
2274  }
2275  address_->assign(value);
2276  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.IPGatewayICMPControl.address)
2277 }
2278 inline void IPGatewayICMPControl::set_address(const char* value) {
2279  set_has_address();
2280  if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2281  address_ = new ::std::string;
2282  }
2283  address_->assign(value);
2284  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.IPGatewayICMPControl.address)
2285 }
2286 inline void IPGatewayICMPControl::set_address(const char* value, size_t size) {
2287  set_has_address();
2288  if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2289  address_ = new ::std::string;
2290  }
2291  address_->assign(reinterpret_cast<const char*>(value), size);
2292  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.IPGatewayICMPControl.address)
2293 }
2294 inline ::std::string* IPGatewayICMPControl::mutable_address() {
2295  set_has_address();
2296  if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2297  address_ = new ::std::string;
2298  }
2299  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPGatewayICMPControl.address)
2300  return address_;
2301 }
2302 inline ::std::string* IPGatewayICMPControl::release_address() {
2303  clear_has_address();
2304  if (address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2305  return NULL;
2306  } else {
2307  ::std::string* temp = address_;
2308  address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2309  return temp;
2310  }
2311 }
2312 inline void IPGatewayICMPControl::set_allocated_address(::std::string* address) {
2313  if (address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2314  delete address_;
2315  }
2316  if (address) {
2317  set_has_address();
2318  address_ = address;
2319  } else {
2320  clear_has_address();
2321  address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2322  }
2323  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPGatewayICMPControl.address)
2324 }
2325 
2326 // optional .goby.acomms.protobuf.IPGatewayICMPControl.QueueReport queue_report = 3;
2327 inline bool IPGatewayICMPControl::has_queue_report() const {
2328  return (_has_bits_[0] & 0x00000004u) != 0;
2329 }
2330 inline void IPGatewayICMPControl::set_has_queue_report() {
2331  _has_bits_[0] |= 0x00000004u;
2332 }
2333 inline void IPGatewayICMPControl::clear_has_queue_report() {
2334  _has_bits_[0] &= ~0x00000004u;
2335 }
2336 inline void IPGatewayICMPControl::clear_queue_report() {
2337  if (queue_report_ != NULL) queue_report_->::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport::Clear();
2338  clear_has_queue_report();
2339 }
2340 inline const ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport& IPGatewayICMPControl::queue_report() const {
2341  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2342  return queue_report_ != NULL ? *queue_report_ : *default_instance_->queue_report_;
2343 }
2344 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* IPGatewayICMPControl::mutable_queue_report() {
2345  set_has_queue_report();
2346  if (queue_report_ == NULL) queue_report_ = new ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport;
2347  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2348  return queue_report_;
2349 }
2350 inline ::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* IPGatewayICMPControl::release_queue_report() {
2351  clear_has_queue_report();
2353  queue_report_ = NULL;
2354  return temp;
2355 }
2356 inline void IPGatewayICMPControl::set_allocated_queue_report(::goby::acomms::protobuf::IPGatewayICMPControl_QueueReport* queue_report) {
2357  delete queue_report_;
2358  queue_report_ = queue_report;
2359  if (queue_report) {
2360  set_has_queue_report();
2361  } else {
2362  clear_has_queue_report();
2363  }
2364  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.IPGatewayICMPControl.queue_report)
2365 }
2366 
2367 
2368 // @@protoc_insertion_point(namespace_scope)
2369 
2370 } // namespace protobuf
2371 } // namespace acomms
2372 } // namespace goby
2373 
2374 #ifndef SWIG
2375 namespace google {
2376 namespace protobuf {
2377 
2378 template <> struct is_proto_enum< ::goby::acomms::protobuf::NetworkHeader_Protocol> : ::google::protobuf::internal::true_type {};
2379 template <>
2380 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::NetworkHeader_Protocol>() {
2381  return ::goby::acomms::protobuf::NetworkHeader_Protocol_descriptor();
2382 }
2383 template <> struct is_proto_enum< ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType> : ::google::protobuf::internal::true_type {};
2384 template <>
2385 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType>() {
2386  return ::goby::acomms::protobuf::IPGatewayICMPControl_MessageType_descriptor();
2387 }
2388 
2389 } // namespace google
2390 } // namespace protobuf
2391 #endif // SWIG
2392 
2393 // @@protoc_insertion_point(global_scope)
2394 
2395 #endif // PROTOBUF_goby_2facomms_2fprotobuf_2fnetwork_5fheader_2eproto__INCLUDED
The global namespace for the Goby project.