Goby v2
interprocess_notification.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/pb/protobuf/interprocess_notification.proto
3 
4 #ifndef PROTOBUF_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto__INCLUDED
5 #define PROTOBUF_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_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 "google/protobuf/descriptor.pb.h"
29 #include <boost/units/quantity.hpp>
30 #include <boost/units/absolute.hpp>
31 #include <boost/units/dimensionless_type.hpp>
32 #include <boost/units/make_scaled_unit.hpp>
33 // @@protoc_insertion_point(includes)
34 
35 namespace goby {
36 namespace common {
37 namespace protobuf {
38 
39 // Internal implementation detail -- do not call these.
40 void protobuf_AddDesc_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
41 void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
42 void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
43 
44 class Filter;
45 class EmbeddedMessage;
46 
47 enum Filter_Operation {
48  Filter_Operation_EQUAL = 1,
49  Filter_Operation_NOT_EQUAL = 2
50 };
51 bool Filter_Operation_IsValid(int value);
52 const Filter_Operation Filter_Operation_Operation_MIN = Filter_Operation_EQUAL;
53 const Filter_Operation Filter_Operation_Operation_MAX = Filter_Operation_NOT_EQUAL;
54 const int Filter_Operation_Operation_ARRAYSIZE = Filter_Operation_Operation_MAX + 1;
55 
56 const ::google::protobuf::EnumDescriptor* Filter_Operation_descriptor();
57 inline const ::std::string& Filter_Operation_Name(Filter_Operation value) {
58  return ::google::protobuf::internal::NameOfEnum(
59  Filter_Operation_descriptor(), value);
60 }
61 inline bool Filter_Operation_Parse(
62  const ::std::string& name, Filter_Operation* value) {
63  return ::google::protobuf::internal::ParseNamedEnum<Filter_Operation>(
64  Filter_Operation_descriptor(), name, value);
65 }
66 // ===================================================================
67 
68 class Filter : public ::google::protobuf::Message {
69  public:
70  Filter();
71  virtual ~Filter();
72 
73  Filter(const Filter& from);
74 
75  inline Filter& operator=(const Filter& from) {
76  CopyFrom(from);
77  return *this;
78  }
79 
80  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
81  return _unknown_fields_;
82  }
83 
84  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
85  return &_unknown_fields_;
86  }
87 
88  static const ::google::protobuf::Descriptor* descriptor();
89  static const Filter& default_instance();
90 
91  void Swap(Filter* other);
92 
93  // implements Message ----------------------------------------------
94 
95  Filter* New() const;
96  void CopyFrom(const ::google::protobuf::Message& from);
97  void MergeFrom(const ::google::protobuf::Message& from);
98  void CopyFrom(const Filter& from);
99  void MergeFrom(const Filter& from);
100  void Clear();
101  bool IsInitialized() const;
102 
103  int ByteSize() const;
104  bool MergePartialFromCodedStream(
105  ::google::protobuf::io::CodedInputStream* input);
106  void SerializeWithCachedSizes(
107  ::google::protobuf::io::CodedOutputStream* output) const;
108  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
109  int GetCachedSize() const { return _cached_size_; }
110  private:
111  void SharedCtor();
112  void SharedDtor();
113  void SetCachedSize(int size) const;
114  public:
115  ::google::protobuf::Metadata GetMetadata() const;
116 
117  // nested types ----------------------------------------------------
118 
119  typedef Filter_Operation Operation;
120  static const Operation EQUAL = Filter_Operation_EQUAL;
121  static const Operation NOT_EQUAL = Filter_Operation_NOT_EQUAL;
122  static inline bool Operation_IsValid(int value) {
123  return Filter_Operation_IsValid(value);
124  }
125  static const Operation Operation_MIN =
126  Filter_Operation_Operation_MIN;
127  static const Operation Operation_MAX =
128  Filter_Operation_Operation_MAX;
129  static const int Operation_ARRAYSIZE =
130  Filter_Operation_Operation_ARRAYSIZE;
131  static inline const ::google::protobuf::EnumDescriptor*
132  Operation_descriptor() {
133  return Filter_Operation_descriptor();
134  }
135  static inline const ::std::string& Operation_Name(Operation value) {
136  return Filter_Operation_Name(value);
137  }
138  static inline bool Operation_Parse(const ::std::string& name,
139  Operation* value) {
140  return Filter_Operation_Parse(name, value);
141  }
142 
143  // accessors -------------------------------------------------------
144 
145  // required string key = 1;
146  inline bool has_key() const;
147  inline void clear_key();
148  static const int kKeyFieldNumber = 1;
149  inline const ::std::string& key() const;
150  inline void set_key(const ::std::string& value);
151  inline void set_key(const char* value);
152  inline void set_key(const char* value, size_t size);
153  inline ::std::string* mutable_key();
154  inline ::std::string* release_key();
155  inline void set_allocated_key(::std::string* key);
156 
157  // required .goby.common.protobuf.Filter.Operation operation = 2;
158  inline bool has_operation() const;
159  inline void clear_operation();
160  static const int kOperationFieldNumber = 2;
161  inline ::goby::common::protobuf::Filter_Operation operation() const;
162  inline void set_operation(::goby::common::protobuf::Filter_Operation value);
163 
164  // required string value = 3;
165  inline bool has_value() const;
166  inline void clear_value();
167  static const int kValueFieldNumber = 3;
168  inline const ::std::string& value() const;
169  inline void set_value(const ::std::string& value);
170  inline void set_value(const char* value);
171  inline void set_value(const char* value, size_t size);
172  inline ::std::string* mutable_value();
173  inline ::std::string* release_value();
174  inline void set_allocated_value(::std::string* value);
175 
176  // @@protoc_insertion_point(class_scope:goby.common.protobuf.Filter)
177  private:
178  inline void set_has_key();
179  inline void clear_has_key();
180  inline void set_has_operation();
181  inline void clear_has_operation();
182  inline void set_has_value();
183  inline void clear_has_value();
184 
185  ::google::protobuf::UnknownFieldSet _unknown_fields_;
186 
187  ::google::protobuf::uint32 _has_bits_[1];
188  mutable int _cached_size_;
189  ::std::string* key_;
190  ::std::string* value_;
191  int operation_;
192  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
193  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
194  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
195 
196  void InitAsDefaultInstance();
197  static Filter* default_instance_;
198 };
199 // -------------------------------------------------------------------
200 
201 class EmbeddedMessage : public ::google::protobuf::Message {
202  public:
203  EmbeddedMessage();
204  virtual ~EmbeddedMessage();
205 
206  EmbeddedMessage(const EmbeddedMessage& from);
207 
208  inline EmbeddedMessage& operator=(const EmbeddedMessage& from) {
209  CopyFrom(from);
210  return *this;
211  }
212 
213  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
214  return _unknown_fields_;
215  }
216 
217  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
218  return &_unknown_fields_;
219  }
220 
221  static const ::google::protobuf::Descriptor* descriptor();
222  static const EmbeddedMessage& default_instance();
223 
224  void Swap(EmbeddedMessage* other);
225 
226  // implements Message ----------------------------------------------
227 
228  EmbeddedMessage* New() const;
229  void CopyFrom(const ::google::protobuf::Message& from);
230  void MergeFrom(const ::google::protobuf::Message& from);
231  void CopyFrom(const EmbeddedMessage& from);
232  void MergeFrom(const EmbeddedMessage& from);
233  void Clear();
234  bool IsInitialized() const;
235 
236  int ByteSize() const;
237  bool MergePartialFromCodedStream(
238  ::google::protobuf::io::CodedInputStream* input);
239  void SerializeWithCachedSizes(
240  ::google::protobuf::io::CodedOutputStream* output) const;
241  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
242  int GetCachedSize() const { return _cached_size_; }
243  private:
244  void SharedCtor();
245  void SharedDtor();
246  void SetCachedSize(int size) const;
247  public:
248  ::google::protobuf::Metadata GetMetadata() const;
249 
250  // nested types ----------------------------------------------------
251 
252  // accessors -------------------------------------------------------
253 
254  // optional bytes body = 1;
255  inline bool has_body() const;
256  inline void clear_body();
257  static const int kBodyFieldNumber = 1;
258  inline const ::std::string& body() const;
259  inline void set_body(const ::std::string& value);
260  inline void set_body(const char* value);
261  inline void set_body(const void* value, size_t size);
262  inline ::std::string* mutable_body();
263  inline ::std::string* release_body();
264  inline void set_allocated_body(::std::string* body);
265 
266  // required string type = 2;
267  inline bool has_type() const;
268  inline void clear_type();
269  static const int kTypeFieldNumber = 2;
270  inline const ::std::string& type() const;
271  inline void set_type(const ::std::string& value);
272  inline void set_type(const char* value);
273  inline void set_type(const char* value, size_t size);
274  inline ::std::string* mutable_type();
275  inline ::std::string* release_type();
276  inline void set_allocated_type(::std::string* type);
277 
278  // optional .goby.common.protobuf.Filter filter = 3;
279  inline bool has_filter() const;
280  inline void clear_filter();
281  static const int kFilterFieldNumber = 3;
282  inline const ::goby::common::protobuf::Filter& filter() const;
283  inline ::goby::common::protobuf::Filter* mutable_filter();
284  inline ::goby::common::protobuf::Filter* release_filter();
285  inline void set_allocated_filter(::goby::common::protobuf::Filter* filter);
286 
287  // @@protoc_insertion_point(class_scope:goby.common.protobuf.EmbeddedMessage)
288  private:
289  inline void set_has_body();
290  inline void clear_has_body();
291  inline void set_has_type();
292  inline void clear_has_type();
293  inline void set_has_filter();
294  inline void clear_has_filter();
295 
296  ::google::protobuf::UnknownFieldSet _unknown_fields_;
297 
298  ::google::protobuf::uint32 _has_bits_[1];
299  mutable int _cached_size_;
300  ::std::string* body_;
301  ::std::string* type_;
303  friend void protobuf_AddDesc_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
304  friend void protobuf_AssignDesc_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
305  friend void protobuf_ShutdownFile_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto();
306 
307  void InitAsDefaultInstance();
308  static EmbeddedMessage* default_instance_;
309 };
310 // ===================================================================
311 
312 
313 // ===================================================================
314 
315 // Filter
316 
317 // required string key = 1;
318 inline bool Filter::has_key() const {
319  return (_has_bits_[0] & 0x00000001u) != 0;
320 }
321 inline void Filter::set_has_key() {
322  _has_bits_[0] |= 0x00000001u;
323 }
324 inline void Filter::clear_has_key() {
325  _has_bits_[0] &= ~0x00000001u;
326 }
327 inline void Filter::clear_key() {
328  if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
329  key_->clear();
330  }
331  clear_has_key();
332 }
333 inline const ::std::string& Filter::key() const {
334  // @@protoc_insertion_point(field_get:goby.common.protobuf.Filter.key)
335  return *key_;
336 }
337 inline void Filter::set_key(const ::std::string& value) {
338  set_has_key();
339  if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
340  key_ = new ::std::string;
341  }
342  key_->assign(value);
343  // @@protoc_insertion_point(field_set:goby.common.protobuf.Filter.key)
344 }
345 inline void Filter::set_key(const char* value) {
346  set_has_key();
347  if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
348  key_ = new ::std::string;
349  }
350  key_->assign(value);
351  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.Filter.key)
352 }
353 inline void Filter::set_key(const char* value, size_t size) {
354  set_has_key();
355  if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
356  key_ = new ::std::string;
357  }
358  key_->assign(reinterpret_cast<const char*>(value), size);
359  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.Filter.key)
360 }
361 inline ::std::string* Filter::mutable_key() {
362  set_has_key();
363  if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364  key_ = new ::std::string;
365  }
366  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.Filter.key)
367  return key_;
368 }
369 inline ::std::string* Filter::release_key() {
370  clear_has_key();
371  if (key_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
372  return NULL;
373  } else {
374  ::std::string* temp = key_;
375  key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
376  return temp;
377  }
378 }
379 inline void Filter::set_allocated_key(::std::string* key) {
380  if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
381  delete key_;
382  }
383  if (key) {
384  set_has_key();
385  key_ = key;
386  } else {
387  clear_has_key();
388  key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
389  }
390  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.Filter.key)
391 }
392 
393 // required .goby.common.protobuf.Filter.Operation operation = 2;
394 inline bool Filter::has_operation() const {
395  return (_has_bits_[0] & 0x00000002u) != 0;
396 }
397 inline void Filter::set_has_operation() {
398  _has_bits_[0] |= 0x00000002u;
399 }
400 inline void Filter::clear_has_operation() {
401  _has_bits_[0] &= ~0x00000002u;
402 }
403 inline void Filter::clear_operation() {
404  operation_ = 1;
405  clear_has_operation();
406 }
407 inline ::goby::common::protobuf::Filter_Operation Filter::operation() const {
408  // @@protoc_insertion_point(field_get:goby.common.protobuf.Filter.operation)
409  return static_cast< ::goby::common::protobuf::Filter_Operation >(operation_);
410 }
411 inline void Filter::set_operation(::goby::common::protobuf::Filter_Operation value) {
412  assert(::goby::common::protobuf::Filter_Operation_IsValid(value));
413  set_has_operation();
414  operation_ = value;
415  // @@protoc_insertion_point(field_set:goby.common.protobuf.Filter.operation)
416 }
417 
418 // required string value = 3;
419 inline bool Filter::has_value() const {
420  return (_has_bits_[0] & 0x00000004u) != 0;
421 }
422 inline void Filter::set_has_value() {
423  _has_bits_[0] |= 0x00000004u;
424 }
425 inline void Filter::clear_has_value() {
426  _has_bits_[0] &= ~0x00000004u;
427 }
428 inline void Filter::clear_value() {
429  if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
430  value_->clear();
431  }
432  clear_has_value();
433 }
434 inline const ::std::string& Filter::value() const {
435  // @@protoc_insertion_point(field_get:goby.common.protobuf.Filter.value)
436  return *value_;
437 }
438 inline void Filter::set_value(const ::std::string& value) {
439  set_has_value();
440  if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
441  value_ = new ::std::string;
442  }
443  value_->assign(value);
444  // @@protoc_insertion_point(field_set:goby.common.protobuf.Filter.value)
445 }
446 inline void Filter::set_value(const char* value) {
447  set_has_value();
448  if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
449  value_ = new ::std::string;
450  }
451  value_->assign(value);
452  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.Filter.value)
453 }
454 inline void Filter::set_value(const char* value, size_t size) {
455  set_has_value();
456  if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
457  value_ = new ::std::string;
458  }
459  value_->assign(reinterpret_cast<const char*>(value), size);
460  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.Filter.value)
461 }
462 inline ::std::string* Filter::mutable_value() {
463  set_has_value();
464  if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
465  value_ = new ::std::string;
466  }
467  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.Filter.value)
468  return value_;
469 }
470 inline ::std::string* Filter::release_value() {
471  clear_has_value();
472  if (value_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
473  return NULL;
474  } else {
475  ::std::string* temp = value_;
476  value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
477  return temp;
478  }
479 }
480 inline void Filter::set_allocated_value(::std::string* value) {
481  if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
482  delete value_;
483  }
484  if (value) {
485  set_has_value();
486  value_ = value;
487  } else {
488  clear_has_value();
489  value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
490  }
491  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.Filter.value)
492 }
493 
494 // -------------------------------------------------------------------
495 
496 // EmbeddedMessage
497 
498 // optional bytes body = 1;
499 inline bool EmbeddedMessage::has_body() const {
500  return (_has_bits_[0] & 0x00000001u) != 0;
501 }
502 inline void EmbeddedMessage::set_has_body() {
503  _has_bits_[0] |= 0x00000001u;
504 }
505 inline void EmbeddedMessage::clear_has_body() {
506  _has_bits_[0] &= ~0x00000001u;
507 }
508 inline void EmbeddedMessage::clear_body() {
509  if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
510  body_->clear();
511  }
512  clear_has_body();
513 }
514 inline const ::std::string& EmbeddedMessage::body() const {
515  // @@protoc_insertion_point(field_get:goby.common.protobuf.EmbeddedMessage.body)
516  return *body_;
517 }
518 inline void EmbeddedMessage::set_body(const ::std::string& value) {
519  set_has_body();
520  if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
521  body_ = new ::std::string;
522  }
523  body_->assign(value);
524  // @@protoc_insertion_point(field_set:goby.common.protobuf.EmbeddedMessage.body)
525 }
526 inline void EmbeddedMessage::set_body(const char* value) {
527  set_has_body();
528  if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
529  body_ = new ::std::string;
530  }
531  body_->assign(value);
532  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.EmbeddedMessage.body)
533 }
534 inline void EmbeddedMessage::set_body(const void* value, size_t size) {
535  set_has_body();
536  if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
537  body_ = new ::std::string;
538  }
539  body_->assign(reinterpret_cast<const char*>(value), size);
540  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.EmbeddedMessage.body)
541 }
542 inline ::std::string* EmbeddedMessage::mutable_body() {
543  set_has_body();
544  if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
545  body_ = new ::std::string;
546  }
547  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.EmbeddedMessage.body)
548  return body_;
549 }
550 inline ::std::string* EmbeddedMessage::release_body() {
551  clear_has_body();
552  if (body_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
553  return NULL;
554  } else {
555  ::std::string* temp = body_;
556  body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
557  return temp;
558  }
559 }
560 inline void EmbeddedMessage::set_allocated_body(::std::string* body) {
561  if (body_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
562  delete body_;
563  }
564  if (body) {
565  set_has_body();
566  body_ = body;
567  } else {
568  clear_has_body();
569  body_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
570  }
571  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.EmbeddedMessage.body)
572 }
573 
574 // required string type = 2;
575 inline bool EmbeddedMessage::has_type() const {
576  return (_has_bits_[0] & 0x00000002u) != 0;
577 }
578 inline void EmbeddedMessage::set_has_type() {
579  _has_bits_[0] |= 0x00000002u;
580 }
581 inline void EmbeddedMessage::clear_has_type() {
582  _has_bits_[0] &= ~0x00000002u;
583 }
584 inline void EmbeddedMessage::clear_type() {
585  if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
586  type_->clear();
587  }
588  clear_has_type();
589 }
590 inline const ::std::string& EmbeddedMessage::type() const {
591  // @@protoc_insertion_point(field_get:goby.common.protobuf.EmbeddedMessage.type)
592  return *type_;
593 }
594 inline void EmbeddedMessage::set_type(const ::std::string& value) {
595  set_has_type();
596  if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
597  type_ = new ::std::string;
598  }
599  type_->assign(value);
600  // @@protoc_insertion_point(field_set:goby.common.protobuf.EmbeddedMessage.type)
601 }
602 inline void EmbeddedMessage::set_type(const char* value) {
603  set_has_type();
604  if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
605  type_ = new ::std::string;
606  }
607  type_->assign(value);
608  // @@protoc_insertion_point(field_set_char:goby.common.protobuf.EmbeddedMessage.type)
609 }
610 inline void EmbeddedMessage::set_type(const char* value, size_t size) {
611  set_has_type();
612  if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
613  type_ = new ::std::string;
614  }
615  type_->assign(reinterpret_cast<const char*>(value), size);
616  // @@protoc_insertion_point(field_set_pointer:goby.common.protobuf.EmbeddedMessage.type)
617 }
618 inline ::std::string* EmbeddedMessage::mutable_type() {
619  set_has_type();
620  if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
621  type_ = new ::std::string;
622  }
623  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.EmbeddedMessage.type)
624  return type_;
625 }
626 inline ::std::string* EmbeddedMessage::release_type() {
627  clear_has_type();
628  if (type_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
629  return NULL;
630  } else {
631  ::std::string* temp = type_;
632  type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
633  return temp;
634  }
635 }
636 inline void EmbeddedMessage::set_allocated_type(::std::string* type) {
637  if (type_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
638  delete type_;
639  }
640  if (type) {
641  set_has_type();
642  type_ = type;
643  } else {
644  clear_has_type();
645  type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
646  }
647  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.EmbeddedMessage.type)
648 }
649 
650 // optional .goby.common.protobuf.Filter filter = 3;
651 inline bool EmbeddedMessage::has_filter() const {
652  return (_has_bits_[0] & 0x00000004u) != 0;
653 }
654 inline void EmbeddedMessage::set_has_filter() {
655  _has_bits_[0] |= 0x00000004u;
656 }
657 inline void EmbeddedMessage::clear_has_filter() {
658  _has_bits_[0] &= ~0x00000004u;
659 }
660 inline void EmbeddedMessage::clear_filter() {
661  if (filter_ != NULL) filter_->::goby::common::protobuf::Filter::Clear();
662  clear_has_filter();
663 }
664 inline const ::goby::common::protobuf::Filter& EmbeddedMessage::filter() const {
665  // @@protoc_insertion_point(field_get:goby.common.protobuf.EmbeddedMessage.filter)
666  return filter_ != NULL ? *filter_ : *default_instance_->filter_;
667 }
668 inline ::goby::common::protobuf::Filter* EmbeddedMessage::mutable_filter() {
669  set_has_filter();
670  if (filter_ == NULL) filter_ = new ::goby::common::protobuf::Filter;
671  // @@protoc_insertion_point(field_mutable:goby.common.protobuf.EmbeddedMessage.filter)
672  return filter_;
673 }
674 inline ::goby::common::protobuf::Filter* EmbeddedMessage::release_filter() {
675  clear_has_filter();
676  ::goby::common::protobuf::Filter* temp = filter_;
677  filter_ = NULL;
678  return temp;
679 }
680 inline void EmbeddedMessage::set_allocated_filter(::goby::common::protobuf::Filter* filter) {
681  delete filter_;
682  filter_ = filter;
683  if (filter) {
684  set_has_filter();
685  } else {
686  clear_has_filter();
687  }
688  // @@protoc_insertion_point(field_set_allocated:goby.common.protobuf.EmbeddedMessage.filter)
689 }
690 
691 
692 // @@protoc_insertion_point(namespace_scope)
693 
694 } // namespace protobuf
695 } // namespace common
696 } // namespace goby
697 
698 #ifndef SWIG
699 namespace google {
700 namespace protobuf {
701 
702 template <> struct is_proto_enum< ::goby::common::protobuf::Filter_Operation> : ::google::protobuf::internal::true_type {};
703 template <>
704 inline const EnumDescriptor* GetEnumDescriptor< ::goby::common::protobuf::Filter_Operation>() {
705  return ::goby::common::protobuf::Filter_Operation_descriptor();
706 }
707 
708 } // namespace google
709 } // namespace protobuf
710 #endif // SWIG
711 
712 // @@protoc_insertion_point(global_scope)
713 
714 #endif // PROTOBUF_goby_2fpb_2fprotobuf_2finterprocess_5fnotification_2eproto__INCLUDED
The global namespace for the Goby project.