Goby3  3.1.5
2024.05.14
test.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/zeromq/middleware_regex/test.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
40 // @@protoc_insertion_point(includes)
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto
43 PROTOBUF_NAMESPACE_OPEN
44 namespace internal {
45 class AnyMetadata;
46 } // namespace internal
47 PROTOBUF_NAMESPACE_CLOSE
48 
49 // Internal implementation detail -- do not use these members.
51  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
58  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
60 };
61 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
62 namespace goby {
63 namespace test {
64 namespace zeromq {
65 namespace protobuf {
66 class Sample;
67 class SampleDefaultTypeInternal;
68 extern SampleDefaultTypeInternal _Sample_default_instance_;
69 class Widget;
70 class WidgetDefaultTypeInternal;
71 extern WidgetDefaultTypeInternal _Widget_default_instance_;
72 } // namespace protobuf
73 } // namespace zeromq
74 } // namespace test
75 } // namespace goby
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::goby::test::zeromq::protobuf::Sample* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Sample>(Arena*);
78 template<> ::goby::test::zeromq::protobuf::Widget* Arena::CreateMaybeMessage<::goby::test::zeromq::protobuf::Widget>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace goby {
81 namespace test {
82 namespace zeromq {
83 namespace protobuf {
84 
85 // ===================================================================
86 
87 class Sample PROTOBUF_FINAL :
88  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Sample) */ {
89  public:
90  inline Sample() : Sample(nullptr) {};
91  virtual ~Sample();
92 
93  Sample(const Sample& from);
94  Sample(Sample&& from) noexcept
95  : Sample() {
96  *this = ::std::move(from);
97  }
98 
99  inline Sample& operator=(const Sample& from) {
100  CopyFrom(from);
101  return *this;
102  }
103  inline Sample& operator=(Sample&& from) noexcept {
104  if (GetArena() == from.GetArena()) {
105  if (this != &from) InternalSwap(&from);
106  } else {
107  CopyFrom(from);
108  }
109  return *this;
110  }
111 
112  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
113  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
114  }
115  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
116  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
117  }
118 
119  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
120  return GetDescriptor();
121  }
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
123  return GetMetadataStatic().descriptor;
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
126  return GetMetadataStatic().reflection;
127  }
128  static const Sample& default_instance();
129 
130  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
131  static inline const Sample* internal_default_instance() {
132  return reinterpret_cast<const Sample*>(
134  }
135  static constexpr int kIndexInFileMessages =
136  0;
137 
138  friend void swap(Sample& a, Sample& b) {
139  a.Swap(&b);
140  }
141  inline void Swap(Sample* other) {
142  if (other == this) return;
143  if (GetArena() == other->GetArena()) {
144  InternalSwap(other);
145  } else {
146  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147  }
148  }
149  void UnsafeArenaSwap(Sample* other) {
150  if (other == this) return;
151  GOOGLE_DCHECK(GetArena() == other->GetArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  inline Sample* New() const final {
158  return CreateMaybeMessage<Sample>(nullptr);
159  }
160 
161  Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
162  return CreateMaybeMessage<Sample>(arena);
163  }
164  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
165  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
166  void CopyFrom(const Sample& from);
167  void MergeFrom(const Sample& from);
168  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
169  bool IsInitialized() const final;
170 
171  size_t ByteSizeLong() const final;
172  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
173  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
174  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175  int GetCachedSize() const final { return _cached_size_.Get(); }
176 
177  private:
178  inline void SharedCtor();
179  inline void SharedDtor();
180  void SetCachedSize(int size) const final;
181  void InternalSwap(Sample* other);
182  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184  return "goby.test.zeromq.protobuf.Sample";
185  }
186  protected:
187  explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena);
188  private:
189  static void ArenaDtor(void* object);
190  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191  public:
192 
193  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
194  private:
195  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto);
198  }
199 
200  public:
201 
202  // nested types ----------------------------------------------------
203 
204  // accessors -------------------------------------------------------
205 
206  enum : int {
207  kGroupFieldNumber = 2,
208  kAFieldNumber = 1,
209  };
210  // optional string group = 2;
211  bool has_group() const;
212  private:
213  bool _internal_has_group() const;
214  public:
215  void clear_group();
216  const std::string& group() const;
217  void set_group(const std::string& value);
218  void set_group(std::string&& value);
219  void set_group(const char* value);
220  void set_group(const char* value, size_t size);
221  std::string* mutable_group();
222  std::string* release_group();
223  void set_allocated_group(std::string* group);
224  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
225  " string fields are deprecated and will be removed in a"
226  " future release.")
227  std::string* unsafe_arena_release_group();
228  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
229  " string fields are deprecated and will be removed in a"
230  " future release.")
231  void unsafe_arena_set_allocated_group(
232  std::string* group);
233  private:
234  const std::string& _internal_group() const;
235  void _internal_set_group(const std::string& value);
236  std::string* _internal_mutable_group();
237  public:
238 
239  // optional int32 a = 1;
240  bool has_a() const;
241  private:
242  bool _internal_has_a() const;
243  public:
244  void clear_a();
245  ::PROTOBUF_NAMESPACE_ID::int32 a() const;
246  void set_a(::PROTOBUF_NAMESPACE_ID::int32 value);
247  private:
248  ::PROTOBUF_NAMESPACE_ID::int32 _internal_a() const;
249  void _internal_set_a(::PROTOBUF_NAMESPACE_ID::int32 value);
250  public:
251 
252  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Sample)
253  private:
254  class _Internal;
255 
256  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
257  typedef void InternalArenaConstructable_;
258  typedef void DestructorSkippable_;
259  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
260  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
262  ::PROTOBUF_NAMESPACE_ID::int32 a_;
264 };
265 // -------------------------------------------------------------------
266 
267 class Widget PROTOBUF_FINAL :
268  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.zeromq.protobuf.Widget) */ {
269  public:
270  inline Widget() : Widget(nullptr) {};
271  virtual ~Widget();
272 
273  Widget(const Widget& from);
274  Widget(Widget&& from) noexcept
275  : Widget() {
276  *this = ::std::move(from);
277  }
278 
279  inline Widget& operator=(const Widget& from) {
280  CopyFrom(from);
281  return *this;
282  }
283  inline Widget& operator=(Widget&& from) noexcept {
284  if (GetArena() == from.GetArena()) {
285  if (this != &from) InternalSwap(&from);
286  } else {
287  CopyFrom(from);
288  }
289  return *this;
290  }
291 
292  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
293  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
294  }
295  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
296  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
297  }
298 
299  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
300  return GetDescriptor();
301  }
302  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
303  return GetMetadataStatic().descriptor;
304  }
305  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
306  return GetMetadataStatic().reflection;
307  }
308  static const Widget& default_instance();
309 
310  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
311  static inline const Widget* internal_default_instance() {
312  return reinterpret_cast<const Widget*>(
314  }
315  static constexpr int kIndexInFileMessages =
316  1;
317 
318  friend void swap(Widget& a, Widget& b) {
319  a.Swap(&b);
320  }
321  inline void Swap(Widget* other) {
322  if (other == this) return;
323  if (GetArena() == other->GetArena()) {
324  InternalSwap(other);
325  } else {
326  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
327  }
328  }
329  void UnsafeArenaSwap(Widget* other) {
330  if (other == this) return;
331  GOOGLE_DCHECK(GetArena() == other->GetArena());
332  InternalSwap(other);
333  }
334 
335  // implements Message ----------------------------------------------
336 
337  inline Widget* New() const final {
338  return CreateMaybeMessage<Widget>(nullptr);
339  }
340 
341  Widget* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
342  return CreateMaybeMessage<Widget>(arena);
343  }
344  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
345  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
346  void CopyFrom(const Widget& from);
347  void MergeFrom(const Widget& from);
348  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
349  bool IsInitialized() const final;
350 
351  size_t ByteSizeLong() const final;
352  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
353  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
354  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
355  int GetCachedSize() const final { return _cached_size_.Get(); }
356 
357  private:
358  inline void SharedCtor();
359  inline void SharedDtor();
360  void SetCachedSize(int size) const final;
361  void InternalSwap(Widget* other);
362  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
363  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
364  return "goby.test.zeromq.protobuf.Widget";
365  }
366  protected:
367  explicit Widget(::PROTOBUF_NAMESPACE_ID::Arena* arena);
368  private:
369  static void ArenaDtor(void* object);
370  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
371  public:
372 
373  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
374  private:
375  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
376  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto);
378  }
379 
380  public:
381 
382  // nested types ----------------------------------------------------
383 
384  // accessors -------------------------------------------------------
385 
386  enum : int {
387  kBFieldNumber = 1,
388  };
389  // optional int32 b = 1;
390  bool has_b() const;
391  private:
392  bool _internal_has_b() const;
393  public:
394  void clear_b();
397  private:
398  ::PROTOBUF_NAMESPACE_ID::int32 _internal_b() const;
399  void _internal_set_b(::PROTOBUF_NAMESPACE_ID::int32 value);
400  public:
401 
402  // @@protoc_insertion_point(class_scope:goby.test.zeromq.protobuf.Widget)
403  private:
404  class _Internal;
405 
406  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
407  typedef void InternalArenaConstructable_;
408  typedef void DestructorSkippable_;
409  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
410  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
412  friend struct ::TableStruct_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto;
413 };
414 // ===================================================================
415 
416 
417 // ===================================================================
418 
419 #ifdef __GNUC__
420  #pragma GCC diagnostic push
421  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
422 #endif // __GNUC__
423 // Sample
424 
425 // optional int32 a = 1;
426 inline bool Sample::_internal_has_a() const {
427  bool value = (_has_bits_[0] & 0x00000002u) != 0;
428  return value;
429 }
430 inline bool Sample::has_a() const {
431  return _internal_has_a();
432 }
433 inline void Sample::clear_a() {
434  a_ = 0;
435  _has_bits_[0] &= ~0x00000002u;
436 }
437 inline ::PROTOBUF_NAMESPACE_ID::int32 Sample::_internal_a() const {
438  return a_;
439 }
440 inline ::PROTOBUF_NAMESPACE_ID::int32 Sample::a() const {
441  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Sample.a)
442  return _internal_a();
443 }
444 inline void Sample::_internal_set_a(::PROTOBUF_NAMESPACE_ID::int32 value) {
445  _has_bits_[0] |= 0x00000002u;
446  a_ = value;
447 }
448 inline void Sample::set_a(::PROTOBUF_NAMESPACE_ID::int32 value) {
449  _internal_set_a(value);
450  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Sample.a)
451 }
452 
453 // optional string group = 2;
454 inline bool Sample::_internal_has_group() const {
455  bool value = (_has_bits_[0] & 0x00000001u) != 0;
456  return value;
457 }
458 inline bool Sample::has_group() const {
459  return _internal_has_group();
460 }
461 inline void Sample::clear_group() {
462  group_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
463  _has_bits_[0] &= ~0x00000001u;
464 }
465 inline const std::string& Sample::group() const {
466  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Sample.group)
467  return _internal_group();
468 }
469 inline void Sample::set_group(const std::string& value) {
470  _internal_set_group(value);
471  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Sample.group)
472 }
473 inline std::string* Sample::mutable_group() {
474  // @@protoc_insertion_point(field_mutable:goby.test.zeromq.protobuf.Sample.group)
475  return _internal_mutable_group();
476 }
477 inline const std::string& Sample::_internal_group() const {
478  return group_.Get();
479 }
480 inline void Sample::_internal_set_group(const std::string& value) {
481  _has_bits_[0] |= 0x00000001u;
482  group_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
483 }
484 inline void Sample::set_group(std::string&& value) {
485  _has_bits_[0] |= 0x00000001u;
486  group_.Set(
487  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
488  // @@protoc_insertion_point(field_set_rvalue:goby.test.zeromq.protobuf.Sample.group)
489 }
490 inline void Sample::set_group(const char* value) {
491  GOOGLE_DCHECK(value != nullptr);
492  _has_bits_[0] |= 0x00000001u;
493  group_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
494  GetArena());
495  // @@protoc_insertion_point(field_set_char:goby.test.zeromq.protobuf.Sample.group)
496 }
497 inline void Sample::set_group(const char* value,
498  size_t size) {
499  _has_bits_[0] |= 0x00000001u;
501  reinterpret_cast<const char*>(value), size), GetArena());
502  // @@protoc_insertion_point(field_set_pointer:goby.test.zeromq.protobuf.Sample.group)
503 }
504 inline std::string* Sample::_internal_mutable_group() {
505  _has_bits_[0] |= 0x00000001u;
506  return group_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
507 }
508 inline std::string* Sample::release_group() {
509  // @@protoc_insertion_point(field_release:goby.test.zeromq.protobuf.Sample.group)
510  if (!_internal_has_group()) {
511  return nullptr;
512  }
513  _has_bits_[0] &= ~0x00000001u;
514  return group_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
515 }
516 inline void Sample::set_allocated_group(std::string* group) {
517  if (group != nullptr) {
518  _has_bits_[0] |= 0x00000001u;
519  } else {
520  _has_bits_[0] &= ~0x00000001u;
521  }
523  GetArena());
524  // @@protoc_insertion_point(field_set_allocated:goby.test.zeromq.protobuf.Sample.group)
525 }
526 inline std::string* Sample::unsafe_arena_release_group() {
527  // @@protoc_insertion_point(field_unsafe_arena_release:goby.test.zeromq.protobuf.Sample.group)
528  GOOGLE_DCHECK(GetArena() != nullptr);
529  _has_bits_[0] &= ~0x00000001u;
530  return group_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
531  GetArena());
532 }
533 inline void Sample::unsafe_arena_set_allocated_group(
534  std::string* group) {
535  GOOGLE_DCHECK(GetArena() != nullptr);
536  if (group != nullptr) {
537  _has_bits_[0] |= 0x00000001u;
538  } else {
539  _has_bits_[0] &= ~0x00000001u;
540  }
541  group_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
542  group, GetArena());
543  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.zeromq.protobuf.Sample.group)
544 }
545 
546 // -------------------------------------------------------------------
547 
548 // Widget
549 
550 // optional int32 b = 1;
551 inline bool Widget::_internal_has_b() const {
552  bool value = (_has_bits_[0] & 0x00000001u) != 0;
553  return value;
554 }
555 inline bool Widget::has_b() const {
556  return _internal_has_b();
557 }
558 inline void Widget::clear_b() {
559  b_ = 0;
560  _has_bits_[0] &= ~0x00000001u;
561 }
562 inline ::PROTOBUF_NAMESPACE_ID::int32 Widget::_internal_b() const {
563  return b_;
564 }
565 inline ::PROTOBUF_NAMESPACE_ID::int32 Widget::b() const {
566  // @@protoc_insertion_point(field_get:goby.test.zeromq.protobuf.Widget.b)
567  return _internal_b();
568 }
569 inline void Widget::_internal_set_b(::PROTOBUF_NAMESPACE_ID::int32 value) {
570  _has_bits_[0] |= 0x00000001u;
571  b_ = value;
572 }
573 inline void Widget::set_b(::PROTOBUF_NAMESPACE_ID::int32 value) {
574  _internal_set_b(value);
575  // @@protoc_insertion_point(field_set:goby.test.zeromq.protobuf.Widget.b)
576 }
577 
578 #ifdef __GNUC__
579  #pragma GCC diagnostic pop
580 #endif // __GNUC__
581 // -------------------------------------------------------------------
582 
583 
584 // @@protoc_insertion_point(namespace_scope)
585 
586 } // namespace protobuf
587 } // namespace zeromq
588 } // namespace test
589 } // namespace goby
590 
591 // @@protoc_insertion_point(global_scope)
592 
593 #include <google/protobuf/port_undef.inc>
594 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto
void set_group(const char *value, size_t size)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:112
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const Sample * internal_default_instance()
Definition: test.pb.h:131
friend void swap(Sample &a, Sample &b)
Definition: test.pb.h:138
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: test.pb.h:125
Widget * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: test.pb.h:341
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_b(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: test.pb.h:122
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:115
Widget(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const Widget * internal_default_instance()
Definition: test.pb.h:311
friend void swap(Widget &a, Widget &b)
Definition: test.pb.h:318
Sample & operator=(Sample &&from) noexcept
Definition: test.pb.h:103
void set_allocated_group(std::string *group)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: test.pb.h:119
::PROTOBUF_NAMESPACE_ID::int32 b() const
Widget & operator=(const Widget &from)
Definition: test.pb.h:279
Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: test.pb.h:161
Sample & operator=(const Sample &from)
Definition: test.pb.h:99
Sample(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Widget & operator=(Widget &&from) noexcept
Definition: test.pb.h:283
void set_group(const std::string &value)
goby::util::logger::GroupSetter group(std::string n)
@ value
the parser finished reading a JSON value
SampleDefaultTypeInternal _Sample_default_instance_
Definition: test.pb.h:67
WidgetDefaultTypeInternal _Widget_default_instance_
Definition: test.pb.h:70
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: test.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: test.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2fzeromq_2fmiddleware_5fregex_2ftest_2eproto