Goby v2
moos_gateway_config.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/apps/moos/moos_gateway_g/moos_gateway_config.proto
3 
4 #ifndef PROTOBUF_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_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 "goby/common/protobuf/option_extensions.pb.h"
29 #include "goby/common/protobuf/app_base_config.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 moos {
38 namespace protobuf {
39 
40 // Internal implementation detail -- do not call these.
41 void protobuf_AddDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
42 void protobuf_AssignDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
43 void protobuf_ShutdownFile_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
44 
45 class MOOSGatewayConfig;
46 class MOOSGatewayConfig_ProtobufMOOSBridgePair;
47 
48 enum MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction {
49  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_PB_TO_MOOS = 1,
50  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_MOOS_TO_PB = 2
51 };
52 bool MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_IsValid(int value);
53 const MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MIN = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_PB_TO_MOOS;
54 const MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MAX = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_MOOS_TO_PB;
55 const int MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_ARRAYSIZE = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MAX + 1;
56 
57 const ::google::protobuf::EnumDescriptor* MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor();
58 inline const ::std::string& MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Name(MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction value) {
59  return ::google::protobuf::internal::NameOfEnum(
60  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor(), value);
61 }
62 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Parse(
63  const ::std::string& name, MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction* value) {
64  return ::google::protobuf::internal::ParseNamedEnum<MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction>(
65  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor(), name, value);
66 }
67 // ===================================================================
68 
69 class MOOSGatewayConfig_ProtobufMOOSBridgePair : public ::google::protobuf::Message {
70  public:
73 
75 
77  CopyFrom(from);
78  return *this;
79  }
80 
81  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
82  return _unknown_fields_;
83  }
84 
85  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
86  return &_unknown_fields_;
87  }
88 
89  static const ::google::protobuf::Descriptor* descriptor();
90  static const MOOSGatewayConfig_ProtobufMOOSBridgePair& default_instance();
91 
93 
94  // implements Message ----------------------------------------------
95 
97  void CopyFrom(const ::google::protobuf::Message& from);
98  void MergeFrom(const ::google::protobuf::Message& from);
99  void CopyFrom(const MOOSGatewayConfig_ProtobufMOOSBridgePair& from);
100  void MergeFrom(const MOOSGatewayConfig_ProtobufMOOSBridgePair& from);
101  void Clear();
102  bool IsInitialized() const;
103 
104  int ByteSize() const;
105  bool MergePartialFromCodedStream(
106  ::google::protobuf::io::CodedInputStream* input);
107  void SerializeWithCachedSizes(
108  ::google::protobuf::io::CodedOutputStream* output) const;
109  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
110  int GetCachedSize() const { return _cached_size_; }
111  private:
112  void SharedCtor();
113  void SharedDtor();
114  void SetCachedSize(int size) const;
115  public:
116  ::google::protobuf::Metadata GetMetadata() const;
117 
118  // nested types ----------------------------------------------------
119 
120  typedef MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction Direction;
121  static const Direction PB_TO_MOOS = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_PB_TO_MOOS;
122  static const Direction MOOS_TO_PB = MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_MOOS_TO_PB;
123  static inline bool Direction_IsValid(int value) {
124  return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_IsValid(value);
125  }
126  static const Direction Direction_MIN =
127  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MIN;
128  static const Direction Direction_MAX =
129  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_MAX;
130  static const int Direction_ARRAYSIZE =
131  MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Direction_ARRAYSIZE;
132  static inline const ::google::protobuf::EnumDescriptor*
133  Direction_descriptor() {
134  return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor();
135  }
136  static inline const ::std::string& Direction_Name(Direction value) {
137  return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Name(value);
138  }
139  static inline bool Direction_Parse(const ::std::string& name,
140  Direction* value) {
141  return MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_Parse(name, value);
142  }
143 
144  // accessors -------------------------------------------------------
145 
146  // required string pb_group = 1;
147  inline bool has_pb_group() const;
148  inline void clear_pb_group();
149  static const int kPbGroupFieldNumber = 1;
150  inline const ::std::string& pb_group() const;
151  inline void set_pb_group(const ::std::string& value);
152  inline void set_pb_group(const char* value);
153  inline void set_pb_group(const char* value, size_t size);
154  inline ::std::string* mutable_pb_group();
155  inline ::std::string* release_pb_group();
156  inline void set_allocated_pb_group(::std::string* pb_group);
157 
158  // required string moos_var = 2;
159  inline bool has_moos_var() const;
160  inline void clear_moos_var();
161  static const int kMoosVarFieldNumber = 2;
162  inline const ::std::string& moos_var() const;
163  inline void set_moos_var(const ::std::string& value);
164  inline void set_moos_var(const char* value);
165  inline void set_moos_var(const char* value, size_t size);
166  inline ::std::string* mutable_moos_var();
167  inline ::std::string* release_moos_var();
168  inline void set_allocated_moos_var(::std::string* moos_var);
169 
170  // required .goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.Direction direction = 3;
171  inline bool has_direction() const;
172  inline void clear_direction();
173  static const int kDirectionFieldNumber = 3;
174  inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction direction() const;
175  inline void set_direction(::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction value);
176 
177  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair)
178  private:
179  inline void set_has_pb_group();
180  inline void clear_has_pb_group();
181  inline void set_has_moos_var();
182  inline void clear_has_moos_var();
183  inline void set_has_direction();
184  inline void clear_has_direction();
185 
186  ::google::protobuf::UnknownFieldSet _unknown_fields_;
187 
188  ::google::protobuf::uint32 _has_bits_[1];
189  mutable int _cached_size_;
190  ::std::string* pb_group_;
191  ::std::string* moos_var_;
192  int direction_;
193  friend void protobuf_AddDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
194  friend void protobuf_AssignDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
195  friend void protobuf_ShutdownFile_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
196 
197  void InitAsDefaultInstance();
198  static MOOSGatewayConfig_ProtobufMOOSBridgePair* default_instance_;
199 };
200 // -------------------------------------------------------------------
201 
202 class MOOSGatewayConfig : public ::google::protobuf::Message {
203  public:
205  virtual ~MOOSGatewayConfig();
206 
208 
209  inline MOOSGatewayConfig& operator=(const MOOSGatewayConfig& from) {
210  CopyFrom(from);
211  return *this;
212  }
213 
214  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
215  return _unknown_fields_;
216  }
217 
218  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
219  return &_unknown_fields_;
220  }
221 
222  static const ::google::protobuf::Descriptor* descriptor();
223  static const MOOSGatewayConfig& default_instance();
224 
225  void Swap(MOOSGatewayConfig* other);
226 
227  // implements Message ----------------------------------------------
228 
229  MOOSGatewayConfig* New() const;
230  void CopyFrom(const ::google::protobuf::Message& from);
231  void MergeFrom(const ::google::protobuf::Message& from);
232  void CopyFrom(const MOOSGatewayConfig& from);
233  void MergeFrom(const MOOSGatewayConfig& from);
234  void Clear();
235  bool IsInitialized() const;
236 
237  int ByteSize() const;
238  bool MergePartialFromCodedStream(
239  ::google::protobuf::io::CodedInputStream* input);
240  void SerializeWithCachedSizes(
241  ::google::protobuf::io::CodedOutputStream* output) const;
242  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
243  int GetCachedSize() const { return _cached_size_; }
244  private:
245  void SharedCtor();
246  void SharedDtor();
247  void SetCachedSize(int size) const;
248  public:
249  ::google::protobuf::Metadata GetMetadata() const;
250 
251  // nested types ----------------------------------------------------
252 
254 
255  // accessors -------------------------------------------------------
256 
257  // optional .AppBaseConfig base = 1;
258  inline bool has_base() const;
259  inline void clear_base();
260  static const int kBaseFieldNumber = 1;
261  inline const ::AppBaseConfig& base() const;
262  inline ::AppBaseConfig* mutable_base();
263  inline ::AppBaseConfig* release_base();
264  inline void set_allocated_base(::AppBaseConfig* base);
265 
266  // optional string moos_server_host = 2 [default = "localhost"];
267  inline bool has_moos_server_host() const;
268  inline void clear_moos_server_host();
269  static const int kMoosServerHostFieldNumber = 2;
270  inline const ::std::string& moos_server_host() const;
271  inline void set_moos_server_host(const ::std::string& value);
272  inline void set_moos_server_host(const char* value);
273  inline void set_moos_server_host(const char* value, size_t size);
274  inline ::std::string* mutable_moos_server_host();
275  inline ::std::string* release_moos_server_host();
276  inline void set_allocated_moos_server_host(::std::string* moos_server_host);
277 
278  // optional uint32 moos_server_port = 3 [default = 9000];
279  inline bool has_moos_server_port() const;
280  inline void clear_moos_server_port();
281  static const int kMoosServerPortFieldNumber = 3;
282  inline ::google::protobuf::uint32 moos_server_port() const;
283  inline void set_moos_server_port(::google::protobuf::uint32 value);
284 
285  // optional uint32 moos_comm_tick = 4 [default = 5];
286  inline bool has_moos_comm_tick() const;
287  inline void clear_moos_comm_tick();
288  static const int kMoosCommTickFieldNumber = 4;
289  inline ::google::protobuf::uint32 moos_comm_tick() const;
290  inline void set_moos_comm_tick(::google::protobuf::uint32 value);
291 
292  // repeated string moos_subscribe_filter = 5;
293  inline int moos_subscribe_filter_size() const;
294  inline void clear_moos_subscribe_filter();
295  static const int kMoosSubscribeFilterFieldNumber = 5;
296  inline const ::std::string& moos_subscribe_filter(int index) const;
297  inline ::std::string* mutable_moos_subscribe_filter(int index);
298  inline void set_moos_subscribe_filter(int index, const ::std::string& value);
299  inline void set_moos_subscribe_filter(int index, const char* value);
300  inline void set_moos_subscribe_filter(int index, const char* value, size_t size);
301  inline ::std::string* add_moos_subscribe_filter();
302  inline void add_moos_subscribe_filter(const ::std::string& value);
303  inline void add_moos_subscribe_filter(const char* value);
304  inline void add_moos_subscribe_filter(const char* value, size_t size);
305  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& moos_subscribe_filter() const;
306  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_moos_subscribe_filter();
307 
308  // repeated string goby_subscribe_filter = 6;
309  inline int goby_subscribe_filter_size() const;
310  inline void clear_goby_subscribe_filter();
311  static const int kGobySubscribeFilterFieldNumber = 6;
312  inline const ::std::string& goby_subscribe_filter(int index) const;
313  inline ::std::string* mutable_goby_subscribe_filter(int index);
314  inline void set_goby_subscribe_filter(int index, const ::std::string& value);
315  inline void set_goby_subscribe_filter(int index, const char* value);
316  inline void set_goby_subscribe_filter(int index, const char* value, size_t size);
317  inline ::std::string* add_goby_subscribe_filter();
318  inline void add_goby_subscribe_filter(const ::std::string& value);
319  inline void add_goby_subscribe_filter(const char* value);
320  inline void add_goby_subscribe_filter(const char* value, size_t size);
321  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& goby_subscribe_filter() const;
322  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_goby_subscribe_filter();
323 
324  // repeated string load_shared_library = 10;
325  inline int load_shared_library_size() const;
326  inline void clear_load_shared_library();
327  static const int kLoadSharedLibraryFieldNumber = 10;
328  inline const ::std::string& load_shared_library(int index) const;
329  inline ::std::string* mutable_load_shared_library(int index);
330  inline void set_load_shared_library(int index, const ::std::string& value);
331  inline void set_load_shared_library(int index, const char* value);
332  inline void set_load_shared_library(int index, const char* value, size_t size);
333  inline ::std::string* add_load_shared_library();
334  inline void add_load_shared_library(const ::std::string& value);
335  inline void add_load_shared_library(const char* value);
336  inline void add_load_shared_library(const char* value, size_t size);
337  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_shared_library() const;
338  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_shared_library();
339 
340  // repeated string load_proto_file = 11;
341  inline int load_proto_file_size() const;
342  inline void clear_load_proto_file();
343  static const int kLoadProtoFileFieldNumber = 11;
344  inline const ::std::string& load_proto_file(int index) const;
345  inline ::std::string* mutable_load_proto_file(int index);
346  inline void set_load_proto_file(int index, const ::std::string& value);
347  inline void set_load_proto_file(int index, const char* value);
348  inline void set_load_proto_file(int index, const char* value, size_t size);
349  inline ::std::string* add_load_proto_file();
350  inline void add_load_proto_file(const ::std::string& value);
351  inline void add_load_proto_file(const char* value);
352  inline void add_load_proto_file(const char* value, size_t size);
353  inline const ::google::protobuf::RepeatedPtrField< ::std::string>& load_proto_file() const;
354  inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_load_proto_file();
355 
356  // repeated .goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair pb_pair = 12;
357  inline int pb_pair_size() const;
358  inline void clear_pb_pair();
359  static const int kPbPairFieldNumber = 12;
360  inline const ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair& pb_pair(int index) const;
361  inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* mutable_pb_pair(int index);
362  inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* add_pb_pair();
363  inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >&
364  pb_pair() const;
365  inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >*
366  mutable_pb_pair();
367 
368  // optional bool pb_convert = 13 [default = false];
369  inline bool has_pb_convert() const;
370  inline void clear_pb_convert();
371  static const int kPbConvertFieldNumber = 13;
372  inline bool pb_convert() const;
373  inline void set_pb_convert(bool value);
374 
375  // @@protoc_insertion_point(class_scope:goby.moos.protobuf.MOOSGatewayConfig)
376  private:
377  inline void set_has_base();
378  inline void clear_has_base();
379  inline void set_has_moos_server_host();
380  inline void clear_has_moos_server_host();
381  inline void set_has_moos_server_port();
382  inline void clear_has_moos_server_port();
383  inline void set_has_moos_comm_tick();
384  inline void clear_has_moos_comm_tick();
385  inline void set_has_pb_convert();
386  inline void clear_has_pb_convert();
387 
388  ::google::protobuf::UnknownFieldSet _unknown_fields_;
389 
390  ::google::protobuf::uint32 _has_bits_[1];
391  mutable int _cached_size_;
392  ::AppBaseConfig* base_;
393  static ::std::string* _default_moos_server_host_;
394  ::std::string* moos_server_host_;
395  ::google::protobuf::uint32 moos_server_port_;
396  ::google::protobuf::uint32 moos_comm_tick_;
397  ::google::protobuf::RepeatedPtrField< ::std::string> moos_subscribe_filter_;
398  ::google::protobuf::RepeatedPtrField< ::std::string> goby_subscribe_filter_;
399  ::google::protobuf::RepeatedPtrField< ::std::string> load_shared_library_;
400  ::google::protobuf::RepeatedPtrField< ::std::string> load_proto_file_;
401  ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair > pb_pair_;
402  bool pb_convert_;
403  friend void protobuf_AddDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
404  friend void protobuf_AssignDesc_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
405  friend void protobuf_ShutdownFile_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto();
406 
407  void InitAsDefaultInstance();
408  static MOOSGatewayConfig* default_instance_;
409 };
410 // ===================================================================
411 
412 
413 // ===================================================================
414 
415 // MOOSGatewayConfig_ProtobufMOOSBridgePair
416 
417 // required string pb_group = 1;
418 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair::has_pb_group() const {
419  return (_has_bits_[0] & 0x00000001u) != 0;
420 }
421 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_has_pb_group() {
422  _has_bits_[0] |= 0x00000001u;
423 }
424 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_has_pb_group() {
425  _has_bits_[0] &= ~0x00000001u;
426 }
427 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_pb_group() {
428  if (pb_group_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
429  pb_group_->clear();
430  }
431  clear_has_pb_group();
432 }
433 inline const ::std::string& MOOSGatewayConfig_ProtobufMOOSBridgePair::pb_group() const {
434  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.pb_group)
435  return *pb_group_;
436 }
437 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_pb_group(const ::std::string& value) {
438  set_has_pb_group();
439  if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
440  pb_group_ = new ::std::string;
441  }
442  pb_group_->assign(value);
443  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.pb_group)
444 }
445 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_pb_group(const char* value) {
446  set_has_pb_group();
447  if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
448  pb_group_ = new ::std::string;
449  }
450  pb_group_->assign(value);
451  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.pb_group)
452 }
453 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_pb_group(const char* value, size_t size) {
454  set_has_pb_group();
455  if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
456  pb_group_ = new ::std::string;
457  }
458  pb_group_->assign(reinterpret_cast<const char*>(value), size);
459  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.pb_group)
460 }
461 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::mutable_pb_group() {
462  set_has_pb_group();
463  if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
464  pb_group_ = new ::std::string;
465  }
466  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.pb_group)
467  return pb_group_;
468 }
469 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::release_pb_group() {
470  clear_has_pb_group();
471  if (pb_group_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
472  return NULL;
473  } else {
474  ::std::string* temp = pb_group_;
475  pb_group_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
476  return temp;
477  }
478 }
479 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_allocated_pb_group(::std::string* pb_group) {
480  if (pb_group_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
481  delete pb_group_;
482  }
483  if (pb_group) {
484  set_has_pb_group();
485  pb_group_ = pb_group;
486  } else {
487  clear_has_pb_group();
488  pb_group_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
489  }
490  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.pb_group)
491 }
492 
493 // required string moos_var = 2;
494 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair::has_moos_var() const {
495  return (_has_bits_[0] & 0x00000002u) != 0;
496 }
497 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_has_moos_var() {
498  _has_bits_[0] |= 0x00000002u;
499 }
500 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_has_moos_var() {
501  _has_bits_[0] &= ~0x00000002u;
502 }
503 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_moos_var() {
504  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
505  moos_var_->clear();
506  }
507  clear_has_moos_var();
508 }
509 inline const ::std::string& MOOSGatewayConfig_ProtobufMOOSBridgePair::moos_var() const {
510  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.moos_var)
511  return *moos_var_;
512 }
513 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_moos_var(const ::std::string& value) {
514  set_has_moos_var();
515  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
516  moos_var_ = new ::std::string;
517  }
518  moos_var_->assign(value);
519  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.moos_var)
520 }
521 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_moos_var(const char* value) {
522  set_has_moos_var();
523  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
524  moos_var_ = new ::std::string;
525  }
526  moos_var_->assign(value);
527  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.moos_var)
528 }
529 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_moos_var(const char* value, size_t size) {
530  set_has_moos_var();
531  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
532  moos_var_ = new ::std::string;
533  }
534  moos_var_->assign(reinterpret_cast<const char*>(value), size);
535  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.moos_var)
536 }
537 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::mutable_moos_var() {
538  set_has_moos_var();
539  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
540  moos_var_ = new ::std::string;
541  }
542  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.moos_var)
543  return moos_var_;
544 }
545 inline ::std::string* MOOSGatewayConfig_ProtobufMOOSBridgePair::release_moos_var() {
546  clear_has_moos_var();
547  if (moos_var_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
548  return NULL;
549  } else {
550  ::std::string* temp = moos_var_;
551  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
552  return temp;
553  }
554 }
555 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_allocated_moos_var(::std::string* moos_var) {
556  if (moos_var_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
557  delete moos_var_;
558  }
559  if (moos_var) {
560  set_has_moos_var();
561  moos_var_ = moos_var;
562  } else {
563  clear_has_moos_var();
564  moos_var_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
565  }
566  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.moos_var)
567 }
568 
569 // required .goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.Direction direction = 3;
570 inline bool MOOSGatewayConfig_ProtobufMOOSBridgePair::has_direction() const {
571  return (_has_bits_[0] & 0x00000004u) != 0;
572 }
573 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_has_direction() {
574  _has_bits_[0] |= 0x00000004u;
575 }
576 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_has_direction() {
577  _has_bits_[0] &= ~0x00000004u;
578 }
579 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::clear_direction() {
580  direction_ = 1;
581  clear_has_direction();
582 }
583 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction MOOSGatewayConfig_ProtobufMOOSBridgePair::direction() const {
584  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.direction)
585  return static_cast< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction >(direction_);
586 }
587 inline void MOOSGatewayConfig_ProtobufMOOSBridgePair::set_direction(::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction value) {
588  assert(::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_IsValid(value));
589  set_has_direction();
590  direction_ = value;
591  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair.direction)
592 }
593 
594 // -------------------------------------------------------------------
595 
596 // MOOSGatewayConfig
597 
598 // optional .AppBaseConfig base = 1;
599 inline bool MOOSGatewayConfig::has_base() const {
600  return (_has_bits_[0] & 0x00000001u) != 0;
601 }
602 inline void MOOSGatewayConfig::set_has_base() {
603  _has_bits_[0] |= 0x00000001u;
604 }
605 inline void MOOSGatewayConfig::clear_has_base() {
606  _has_bits_[0] &= ~0x00000001u;
607 }
608 inline void MOOSGatewayConfig::clear_base() {
609  if (base_ != NULL) base_->::AppBaseConfig::Clear();
610  clear_has_base();
611 }
612 inline const ::AppBaseConfig& MOOSGatewayConfig::base() const {
613  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.base)
614  return base_ != NULL ? *base_ : *default_instance_->base_;
615 }
616 inline ::AppBaseConfig* MOOSGatewayConfig::mutable_base() {
617  set_has_base();
618  if (base_ == NULL) base_ = new ::AppBaseConfig;
619  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.base)
620  return base_;
621 }
622 inline ::AppBaseConfig* MOOSGatewayConfig::release_base() {
623  clear_has_base();
624  ::AppBaseConfig* temp = base_;
625  base_ = NULL;
626  return temp;
627 }
628 inline void MOOSGatewayConfig::set_allocated_base(::AppBaseConfig* base) {
629  delete base_;
630  base_ = base;
631  if (base) {
632  set_has_base();
633  } else {
634  clear_has_base();
635  }
636  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.MOOSGatewayConfig.base)
637 }
638 
639 // optional string moos_server_host = 2 [default = "localhost"];
640 inline bool MOOSGatewayConfig::has_moos_server_host() const {
641  return (_has_bits_[0] & 0x00000002u) != 0;
642 }
643 inline void MOOSGatewayConfig::set_has_moos_server_host() {
644  _has_bits_[0] |= 0x00000002u;
645 }
646 inline void MOOSGatewayConfig::clear_has_moos_server_host() {
647  _has_bits_[0] &= ~0x00000002u;
648 }
649 inline void MOOSGatewayConfig::clear_moos_server_host() {
650  if (moos_server_host_ != _default_moos_server_host_) {
651  moos_server_host_->assign(*_default_moos_server_host_);
652  }
653  clear_has_moos_server_host();
654 }
655 inline const ::std::string& MOOSGatewayConfig::moos_server_host() const {
656  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.moos_server_host)
657  return *moos_server_host_;
658 }
659 inline void MOOSGatewayConfig::set_moos_server_host(const ::std::string& value) {
660  set_has_moos_server_host();
661  if (moos_server_host_ == _default_moos_server_host_) {
662  moos_server_host_ = new ::std::string;
663  }
664  moos_server_host_->assign(value);
665  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.moos_server_host)
666 }
667 inline void MOOSGatewayConfig::set_moos_server_host(const char* value) {
668  set_has_moos_server_host();
669  if (moos_server_host_ == _default_moos_server_host_) {
670  moos_server_host_ = new ::std::string;
671  }
672  moos_server_host_->assign(value);
673  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.moos_server_host)
674 }
675 inline void MOOSGatewayConfig::set_moos_server_host(const char* value, size_t size) {
676  set_has_moos_server_host();
677  if (moos_server_host_ == _default_moos_server_host_) {
678  moos_server_host_ = new ::std::string;
679  }
680  moos_server_host_->assign(reinterpret_cast<const char*>(value), size);
681  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.moos_server_host)
682 }
683 inline ::std::string* MOOSGatewayConfig::mutable_moos_server_host() {
684  set_has_moos_server_host();
685  if (moos_server_host_ == _default_moos_server_host_) {
686  moos_server_host_ = new ::std::string(*_default_moos_server_host_);
687  }
688  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.moos_server_host)
689  return moos_server_host_;
690 }
691 inline ::std::string* MOOSGatewayConfig::release_moos_server_host() {
692  clear_has_moos_server_host();
693  if (moos_server_host_ == _default_moos_server_host_) {
694  return NULL;
695  } else {
696  ::std::string* temp = moos_server_host_;
697  moos_server_host_ = const_cast< ::std::string*>(_default_moos_server_host_);
698  return temp;
699  }
700 }
701 inline void MOOSGatewayConfig::set_allocated_moos_server_host(::std::string* moos_server_host) {
702  if (moos_server_host_ != _default_moos_server_host_) {
703  delete moos_server_host_;
704  }
705  if (moos_server_host) {
706  set_has_moos_server_host();
707  moos_server_host_ = moos_server_host;
708  } else {
709  clear_has_moos_server_host();
710  moos_server_host_ = const_cast< ::std::string*>(_default_moos_server_host_);
711  }
712  // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.MOOSGatewayConfig.moos_server_host)
713 }
714 
715 // optional uint32 moos_server_port = 3 [default = 9000];
716 inline bool MOOSGatewayConfig::has_moos_server_port() const {
717  return (_has_bits_[0] & 0x00000004u) != 0;
718 }
719 inline void MOOSGatewayConfig::set_has_moos_server_port() {
720  _has_bits_[0] |= 0x00000004u;
721 }
722 inline void MOOSGatewayConfig::clear_has_moos_server_port() {
723  _has_bits_[0] &= ~0x00000004u;
724 }
725 inline void MOOSGatewayConfig::clear_moos_server_port() {
726  moos_server_port_ = 9000u;
727  clear_has_moos_server_port();
728 }
729 inline ::google::protobuf::uint32 MOOSGatewayConfig::moos_server_port() const {
730  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.moos_server_port)
731  return moos_server_port_;
732 }
733 inline void MOOSGatewayConfig::set_moos_server_port(::google::protobuf::uint32 value) {
734  set_has_moos_server_port();
735  moos_server_port_ = value;
736  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.moos_server_port)
737 }
738 
739 // optional uint32 moos_comm_tick = 4 [default = 5];
740 inline bool MOOSGatewayConfig::has_moos_comm_tick() const {
741  return (_has_bits_[0] & 0x00000008u) != 0;
742 }
743 inline void MOOSGatewayConfig::set_has_moos_comm_tick() {
744  _has_bits_[0] |= 0x00000008u;
745 }
746 inline void MOOSGatewayConfig::clear_has_moos_comm_tick() {
747  _has_bits_[0] &= ~0x00000008u;
748 }
749 inline void MOOSGatewayConfig::clear_moos_comm_tick() {
750  moos_comm_tick_ = 5u;
751  clear_has_moos_comm_tick();
752 }
753 inline ::google::protobuf::uint32 MOOSGatewayConfig::moos_comm_tick() const {
754  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.moos_comm_tick)
755  return moos_comm_tick_;
756 }
757 inline void MOOSGatewayConfig::set_moos_comm_tick(::google::protobuf::uint32 value) {
758  set_has_moos_comm_tick();
759  moos_comm_tick_ = value;
760  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.moos_comm_tick)
761 }
762 
763 // repeated string moos_subscribe_filter = 5;
764 inline int MOOSGatewayConfig::moos_subscribe_filter_size() const {
765  return moos_subscribe_filter_.size();
766 }
767 inline void MOOSGatewayConfig::clear_moos_subscribe_filter() {
768  moos_subscribe_filter_.Clear();
769 }
770 inline const ::std::string& MOOSGatewayConfig::moos_subscribe_filter(int index) const {
771  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
772  return moos_subscribe_filter_.Get(index);
773 }
774 inline ::std::string* MOOSGatewayConfig::mutable_moos_subscribe_filter(int index) {
775  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
776  return moos_subscribe_filter_.Mutable(index);
777 }
778 inline void MOOSGatewayConfig::set_moos_subscribe_filter(int index, const ::std::string& value) {
779  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
780  moos_subscribe_filter_.Mutable(index)->assign(value);
781 }
782 inline void MOOSGatewayConfig::set_moos_subscribe_filter(int index, const char* value) {
783  moos_subscribe_filter_.Mutable(index)->assign(value);
784  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
785 }
786 inline void MOOSGatewayConfig::set_moos_subscribe_filter(int index, const char* value, size_t size) {
787  moos_subscribe_filter_.Mutable(index)->assign(
788  reinterpret_cast<const char*>(value), size);
789  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
790 }
791 inline ::std::string* MOOSGatewayConfig::add_moos_subscribe_filter() {
792  return moos_subscribe_filter_.Add();
793 }
794 inline void MOOSGatewayConfig::add_moos_subscribe_filter(const ::std::string& value) {
795  moos_subscribe_filter_.Add()->assign(value);
796  // @@protoc_insertion_point(field_add:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
797 }
798 inline void MOOSGatewayConfig::add_moos_subscribe_filter(const char* value) {
799  moos_subscribe_filter_.Add()->assign(value);
800  // @@protoc_insertion_point(field_add_char:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
801 }
802 inline void MOOSGatewayConfig::add_moos_subscribe_filter(const char* value, size_t size) {
803  moos_subscribe_filter_.Add()->assign(reinterpret_cast<const char*>(value), size);
804  // @@protoc_insertion_point(field_add_pointer:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
805 }
806 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
807 MOOSGatewayConfig::moos_subscribe_filter() const {
808  // @@protoc_insertion_point(field_list:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
809  return moos_subscribe_filter_;
810 }
811 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
812 MOOSGatewayConfig::mutable_moos_subscribe_filter() {
813  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.MOOSGatewayConfig.moos_subscribe_filter)
814  return &moos_subscribe_filter_;
815 }
816 
817 // repeated string goby_subscribe_filter = 6;
818 inline int MOOSGatewayConfig::goby_subscribe_filter_size() const {
819  return goby_subscribe_filter_.size();
820 }
821 inline void MOOSGatewayConfig::clear_goby_subscribe_filter() {
822  goby_subscribe_filter_.Clear();
823 }
824 inline const ::std::string& MOOSGatewayConfig::goby_subscribe_filter(int index) const {
825  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
826  return goby_subscribe_filter_.Get(index);
827 }
828 inline ::std::string* MOOSGatewayConfig::mutable_goby_subscribe_filter(int index) {
829  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
830  return goby_subscribe_filter_.Mutable(index);
831 }
832 inline void MOOSGatewayConfig::set_goby_subscribe_filter(int index, const ::std::string& value) {
833  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
834  goby_subscribe_filter_.Mutable(index)->assign(value);
835 }
836 inline void MOOSGatewayConfig::set_goby_subscribe_filter(int index, const char* value) {
837  goby_subscribe_filter_.Mutable(index)->assign(value);
838  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
839 }
840 inline void MOOSGatewayConfig::set_goby_subscribe_filter(int index, const char* value, size_t size) {
841  goby_subscribe_filter_.Mutable(index)->assign(
842  reinterpret_cast<const char*>(value), size);
843  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
844 }
845 inline ::std::string* MOOSGatewayConfig::add_goby_subscribe_filter() {
846  return goby_subscribe_filter_.Add();
847 }
848 inline void MOOSGatewayConfig::add_goby_subscribe_filter(const ::std::string& value) {
849  goby_subscribe_filter_.Add()->assign(value);
850  // @@protoc_insertion_point(field_add:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
851 }
852 inline void MOOSGatewayConfig::add_goby_subscribe_filter(const char* value) {
853  goby_subscribe_filter_.Add()->assign(value);
854  // @@protoc_insertion_point(field_add_char:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
855 }
856 inline void MOOSGatewayConfig::add_goby_subscribe_filter(const char* value, size_t size) {
857  goby_subscribe_filter_.Add()->assign(reinterpret_cast<const char*>(value), size);
858  // @@protoc_insertion_point(field_add_pointer:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
859 }
860 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
861 MOOSGatewayConfig::goby_subscribe_filter() const {
862  // @@protoc_insertion_point(field_list:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
863  return goby_subscribe_filter_;
864 }
865 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
866 MOOSGatewayConfig::mutable_goby_subscribe_filter() {
867  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.MOOSGatewayConfig.goby_subscribe_filter)
868  return &goby_subscribe_filter_;
869 }
870 
871 // repeated string load_shared_library = 10;
872 inline int MOOSGatewayConfig::load_shared_library_size() const {
873  return load_shared_library_.size();
874 }
875 inline void MOOSGatewayConfig::clear_load_shared_library() {
876  load_shared_library_.Clear();
877 }
878 inline const ::std::string& MOOSGatewayConfig::load_shared_library(int index) const {
879  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
880  return load_shared_library_.Get(index);
881 }
882 inline ::std::string* MOOSGatewayConfig::mutable_load_shared_library(int index) {
883  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
884  return load_shared_library_.Mutable(index);
885 }
886 inline void MOOSGatewayConfig::set_load_shared_library(int index, const ::std::string& value) {
887  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
888  load_shared_library_.Mutable(index)->assign(value);
889 }
890 inline void MOOSGatewayConfig::set_load_shared_library(int index, const char* value) {
891  load_shared_library_.Mutable(index)->assign(value);
892  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
893 }
894 inline void MOOSGatewayConfig::set_load_shared_library(int index, const char* value, size_t size) {
895  load_shared_library_.Mutable(index)->assign(
896  reinterpret_cast<const char*>(value), size);
897  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
898 }
899 inline ::std::string* MOOSGatewayConfig::add_load_shared_library() {
900  return load_shared_library_.Add();
901 }
902 inline void MOOSGatewayConfig::add_load_shared_library(const ::std::string& value) {
903  load_shared_library_.Add()->assign(value);
904  // @@protoc_insertion_point(field_add:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
905 }
906 inline void MOOSGatewayConfig::add_load_shared_library(const char* value) {
907  load_shared_library_.Add()->assign(value);
908  // @@protoc_insertion_point(field_add_char:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
909 }
910 inline void MOOSGatewayConfig::add_load_shared_library(const char* value, size_t size) {
911  load_shared_library_.Add()->assign(reinterpret_cast<const char*>(value), size);
912  // @@protoc_insertion_point(field_add_pointer:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
913 }
914 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
915 MOOSGatewayConfig::load_shared_library() const {
916  // @@protoc_insertion_point(field_list:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
917  return load_shared_library_;
918 }
919 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
920 MOOSGatewayConfig::mutable_load_shared_library() {
921  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.MOOSGatewayConfig.load_shared_library)
922  return &load_shared_library_;
923 }
924 
925 // repeated string load_proto_file = 11;
926 inline int MOOSGatewayConfig::load_proto_file_size() const {
927  return load_proto_file_.size();
928 }
929 inline void MOOSGatewayConfig::clear_load_proto_file() {
930  load_proto_file_.Clear();
931 }
932 inline const ::std::string& MOOSGatewayConfig::load_proto_file(int index) const {
933  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
934  return load_proto_file_.Get(index);
935 }
936 inline ::std::string* MOOSGatewayConfig::mutable_load_proto_file(int index) {
937  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
938  return load_proto_file_.Mutable(index);
939 }
940 inline void MOOSGatewayConfig::set_load_proto_file(int index, const ::std::string& value) {
941  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
942  load_proto_file_.Mutable(index)->assign(value);
943 }
944 inline void MOOSGatewayConfig::set_load_proto_file(int index, const char* value) {
945  load_proto_file_.Mutable(index)->assign(value);
946  // @@protoc_insertion_point(field_set_char:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
947 }
948 inline void MOOSGatewayConfig::set_load_proto_file(int index, const char* value, size_t size) {
949  load_proto_file_.Mutable(index)->assign(
950  reinterpret_cast<const char*>(value), size);
951  // @@protoc_insertion_point(field_set_pointer:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
952 }
953 inline ::std::string* MOOSGatewayConfig::add_load_proto_file() {
954  return load_proto_file_.Add();
955 }
956 inline void MOOSGatewayConfig::add_load_proto_file(const ::std::string& value) {
957  load_proto_file_.Add()->assign(value);
958  // @@protoc_insertion_point(field_add:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
959 }
960 inline void MOOSGatewayConfig::add_load_proto_file(const char* value) {
961  load_proto_file_.Add()->assign(value);
962  // @@protoc_insertion_point(field_add_char:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
963 }
964 inline void MOOSGatewayConfig::add_load_proto_file(const char* value, size_t size) {
965  load_proto_file_.Add()->assign(reinterpret_cast<const char*>(value), size);
966  // @@protoc_insertion_point(field_add_pointer:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
967 }
968 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
969 MOOSGatewayConfig::load_proto_file() const {
970  // @@protoc_insertion_point(field_list:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
971  return load_proto_file_;
972 }
973 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
974 MOOSGatewayConfig::mutable_load_proto_file() {
975  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.MOOSGatewayConfig.load_proto_file)
976  return &load_proto_file_;
977 }
978 
979 // repeated .goby.moos.protobuf.MOOSGatewayConfig.ProtobufMOOSBridgePair pb_pair = 12;
980 inline int MOOSGatewayConfig::pb_pair_size() const {
981  return pb_pair_.size();
982 }
983 inline void MOOSGatewayConfig::clear_pb_pair() {
984  pb_pair_.Clear();
985 }
986 inline const ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair& MOOSGatewayConfig::pb_pair(int index) const {
987  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.pb_pair)
988  return pb_pair_.Get(index);
989 }
990 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* MOOSGatewayConfig::mutable_pb_pair(int index) {
991  // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.MOOSGatewayConfig.pb_pair)
992  return pb_pair_.Mutable(index);
993 }
994 inline ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair* MOOSGatewayConfig::add_pb_pair() {
995  // @@protoc_insertion_point(field_add:goby.moos.protobuf.MOOSGatewayConfig.pb_pair)
996  return pb_pair_.Add();
997 }
998 inline const ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >&
999 MOOSGatewayConfig::pb_pair() const {
1000  // @@protoc_insertion_point(field_list:goby.moos.protobuf.MOOSGatewayConfig.pb_pair)
1001  return pb_pair_;
1002 }
1003 inline ::google::protobuf::RepeatedPtrField< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair >*
1004 MOOSGatewayConfig::mutable_pb_pair() {
1005  // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.MOOSGatewayConfig.pb_pair)
1006  return &pb_pair_;
1007 }
1008 
1009 // optional bool pb_convert = 13 [default = false];
1010 inline bool MOOSGatewayConfig::has_pb_convert() const {
1011  return (_has_bits_[0] & 0x00000200u) != 0;
1012 }
1013 inline void MOOSGatewayConfig::set_has_pb_convert() {
1014  _has_bits_[0] |= 0x00000200u;
1015 }
1016 inline void MOOSGatewayConfig::clear_has_pb_convert() {
1017  _has_bits_[0] &= ~0x00000200u;
1018 }
1019 inline void MOOSGatewayConfig::clear_pb_convert() {
1020  pb_convert_ = false;
1021  clear_has_pb_convert();
1022 }
1023 inline bool MOOSGatewayConfig::pb_convert() const {
1024  // @@protoc_insertion_point(field_get:goby.moos.protobuf.MOOSGatewayConfig.pb_convert)
1025  return pb_convert_;
1026 }
1027 inline void MOOSGatewayConfig::set_pb_convert(bool value) {
1028  set_has_pb_convert();
1029  pb_convert_ = value;
1030  // @@protoc_insertion_point(field_set:goby.moos.protobuf.MOOSGatewayConfig.pb_convert)
1031 }
1032 
1033 
1034 // @@protoc_insertion_point(namespace_scope)
1035 
1036 } // namespace protobuf
1037 } // namespace moos
1038 } // namespace goby
1039 
1040 #ifndef SWIG
1041 namespace google {
1042 namespace protobuf {
1043 
1044 template <> struct is_proto_enum< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction> : ::google::protobuf::internal::true_type {};
1045 template <>
1046 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction>() {
1047  return ::goby::moos::protobuf::MOOSGatewayConfig_ProtobufMOOSBridgePair_Direction_descriptor();
1048 }
1049 
1050 } // namespace google
1051 } // namespace protobuf
1052 #endif // SWIG
1053 
1054 // @@protoc_insertion_point(global_scope)
1055 
1056 #endif // PROTOBUF_goby_2fapps_2fmoos_2fmoos_5fgateway_5fg_2fmoos_5fgateway_5fconfig_2eproto__INCLUDED
The global namespace for the Goby project.