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/acomms/queue6/test.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < 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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "dccl/option_extensions.pb.h"
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
38 // @@protoc_insertion_point(includes)
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
40 
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct {
44  static const ::google::protobuf::internal::ParseTableField entries[];
45  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
46  static const ::google::protobuf::internal::ParseTable schema[1];
47  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
48  static const ::google::protobuf::internal::SerializationTable serialization_table[];
50 };
51 void AddDescriptors();
52 } // namespace protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
53 namespace goby {
54 namespace test {
55 namespace acomms {
56 namespace protobuf {
57 class GobyMessage;
58 class GobyMessageDefaultTypeInternal;
59 extern GobyMessageDefaultTypeInternal _GobyMessage_default_instance_;
60 } // namespace protobuf
61 } // namespace acomms
62 } // namespace test
63 } // namespace goby
64 namespace google {
65 namespace protobuf {
66 template<> ::goby::test::acomms::protobuf::GobyMessage* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::GobyMessage>(Arena*);
67 } // namespace protobuf
68 } // namespace google
69 namespace goby {
70 namespace test {
71 namespace acomms {
72 namespace protobuf {
73 
74 // ===================================================================
75 
76 class GobyMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.GobyMessage) */ {
77  public:
78  GobyMessage();
79  virtual ~GobyMessage();
80 
81  GobyMessage(const GobyMessage& from);
82 
83  inline GobyMessage& operator=(const GobyMessage& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
88  GobyMessage(GobyMessage&& from) noexcept
89  : GobyMessage() {
90  *this = ::std::move(from);
91  }
92 
93  inline GobyMessage& operator=(GobyMessage&& from) noexcept {
94  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95  if (this != &from) InternalSwap(&from);
96  } else {
97  CopyFrom(from);
98  }
99  return *this;
100  }
101  #endif
102  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
103  return _internal_metadata_.unknown_fields();
104  }
105  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
106  return _internal_metadata_.mutable_unknown_fields();
107  }
108 
109  static const ::google::protobuf::Descriptor* descriptor();
110  static const GobyMessage& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  static inline const GobyMessage* internal_default_instance() {
114  return reinterpret_cast<const GobyMessage*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(GobyMessage* other);
121  friend void swap(GobyMessage& a, GobyMessage& b) {
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline GobyMessage* New() const final {
128  return CreateMaybeMessage<GobyMessage>(NULL);
129  }
130 
131  GobyMessage* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<GobyMessage>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const GobyMessage& from);
137  void MergeFrom(const GobyMessage& from);
138  void Clear() final;
139  bool IsInitialized() const final;
140 
141  size_t ByteSizeLong() const final;
143  ::google::protobuf::io::CodedInputStream* input) final;
145  ::google::protobuf::io::CodedOutputStream* output) const final;
147  bool deterministic, ::google::protobuf::uint8* target) const final;
148  int GetCachedSize() const final { return _cached_size_.Get(); }
149 
150  private:
151  void SharedCtor();
152  void SharedDtor();
153  void SetCachedSize(int size) const final;
154  void InternalSwap(GobyMessage* other);
155  private:
156  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
157  return NULL;
158  }
159  inline void* MaybeArenaPtr() const {
160  return NULL;
161  }
162  public:
163 
165 
166  // nested types ----------------------------------------------------
167 
168  // accessors -------------------------------------------------------
169 
170  // required int32 dest = 1 [(.dccl.field) = {
171  bool has_dest() const;
172  void clear_dest();
173  static const int kDestFieldNumber = 1;
174  ::google::protobuf::int32 dest() const;
175  void set_dest(::google::protobuf::int32 value);
176 
177  // required int32 telegram = 2 [(.dccl.field) = {
178  bool has_telegram() const;
179  void clear_telegram();
180  static const int kTelegramFieldNumber = 2;
181  ::google::protobuf::int32 telegram() const;
182  void set_telegram(::google::protobuf::int32 value);
183 
185  // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.GobyMessage)
186  private:
187  void set_has_dest();
188  void clear_has_dest();
189  void set_has_telegram();
190  void clear_has_telegram();
191 
192  // helper for ByteSizeLong()
193  size_t RequiredFieldsByteSizeFallback() const;
194 
195  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
196  ::google::protobuf::internal::HasBits<1> _has_bits_;
197  mutable ::google::protobuf::internal::CachedSize _cached_size_;
199  ::google::protobuf::int32 telegram_;
200  friend struct ::protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct;
201 };
202 // ===================================================================
203 
204 
205 // ===================================================================
206 
207 #ifdef __GNUC__
208  #pragma GCC diagnostic push
209  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
210 #endif // __GNUC__
211 // GobyMessage
212 
213 // required int32 dest = 1 [(.dccl.field) = {
214 inline bool GobyMessage::has_dest() const {
215  return (_has_bits_[0] & 0x00000001u) != 0;
216 }
217 inline void GobyMessage::set_has_dest() {
218  _has_bits_[0] |= 0x00000001u;
219 }
220 inline void GobyMessage::clear_has_dest() {
221  _has_bits_[0] &= ~0x00000001u;
222 }
223 inline void GobyMessage::clear_dest() {
224  dest_ = 0;
225  clear_has_dest();
226 }
228  // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.dest)
229  return dest_;
230 }
232  set_has_dest();
233  dest_ = value;
234  // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.dest)
235 }
236 
237 // required int32 telegram = 2 [(.dccl.field) = {
238 inline bool GobyMessage::has_telegram() const {
239  return (_has_bits_[0] & 0x00000002u) != 0;
240 }
241 inline void GobyMessage::set_has_telegram() {
242  _has_bits_[0] |= 0x00000002u;
243 }
244 inline void GobyMessage::clear_has_telegram() {
245  _has_bits_[0] &= ~0x00000002u;
246 }
247 inline void GobyMessage::clear_telegram() {
248  telegram_ = 0;
249  clear_has_telegram();
250 }
252  // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.telegram)
253  return telegram_;
254 }
256  set_has_telegram();
257  telegram_ = value;
258  // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.telegram)
259 }
260 
261 #ifdef __GNUC__
262  #pragma GCC diagnostic pop
263 #endif // __GNUC__
264 
265 // @@protoc_insertion_point(namespace_scope)
266 
267 } // namespace protobuf
268 } // namespace acomms
269 } // namespace test
270 } // namespace goby
271 
272 // @@protoc_insertion_point(global_scope)
273 
274 #endif // PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
goby::test::acomms::protobuf::GobyMessage::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:105
goby::test::acomms::protobuf::GobyMessage::DCCL_ID
@ DCCL_ID
Definition: test.pb.h:199
goby::test::acomms::protobuf::GobyMessage::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::test::acomms::protobuf::GobyMessage::kTelegramFieldNumber
static const int kTelegramFieldNumber
Definition: test.pb.h:175
goby::test::acomms::protobuf::GobyMessage::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: test.pb.h:119
goby::test::acomms::protobuf::GobyMessage::has_dest
bool has_dest() const
Definition: test.pb.h:214
goby::test::acomms::protobuf::_GobyMessage_default_instance_
GobyMessageDefaultTypeInternal _GobyMessage_default_instance_
Definition: test.pb.h:58
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::test::acomms::protobuf::GobyMessage::clear_dest
void clear_dest()
Definition: test.pb.h:223
goby::test::acomms::protobuf::GobyMessage::New
GobyMessage * New(::google::protobuf::Arena *arena) const final
Definition: test.pb.h:131
goby::test::acomms::protobuf::GobyMessage::IsInitialized
bool IsInitialized() const final
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: test.pb.h:44
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct
Definition: test.pb.h:43
goby::test::acomms::protobuf::GobyMessage::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
detail::parse_event_t::value
@ value
the parser finished reading a JSON value
goby::test::acomms::protobuf::GobyMessage::telegram
const ::std::string & telegram() const
Definition: test.pb.h:242
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: test.pb.h:45
google::protobuf::Arena
Definition: arena.h:244
goby::test::acomms::protobuf::GobyMessage::kDestFieldNumber
static const int kDestFieldNumber
Definition: test.pb.h:173
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: test.pb.h:49
goby::test::acomms::protobuf::GobyMessage
Definition: test.pb.h:78
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto
Definition: test.pb.h:41
goby::test::acomms::protobuf::GobyMessage::GobyMessage
GobyMessage()
goby::test::acomms::protobuf::GobyMessage::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::test::acomms::protobuf::GobyMessage::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
message.h
goby::test::acomms::protobuf::GobyMessage::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::test::acomms::protobuf::GobyMessage::internal_default_instance
static const GobyMessage * internal_default_instance()
Definition: test.pb.h:113
goby::test::acomms::protobuf::GobyMessage::~GobyMessage
virtual ~GobyMessage()
goby::test::acomms::protobuf::GobyMessage::Clear
void Clear() final
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::test::acomms::protobuf::GobyMessage::set_telegram
void set_telegram(const ::std::string &value)
Definition: test.pb.h:246
goby::test::acomms::protobuf::GobyMessage::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
goby::test::acomms::protobuf::GobyMessage::operator=
GobyMessage & operator=(const GobyMessage &from)
Definition: test.pb.h:83
goby::test::acomms::protobuf::GobyMessage::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
google::protobuf::Metadata
Definition: message.h:174
goby::test::acomms::protobuf::GobyMessage::dest
::google::protobuf::int32 dest() const
Definition: test.pb.h:227
goby::test::acomms::protobuf::GobyMessage::has_telegram
bool has_telegram() const
Definition: test.pb.h:229
google::protobuf::Message
Definition: message.h:189
goby::test::acomms::protobuf::GobyMessage::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:102
goby::test::acomms::protobuf::GobyMessage::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::test::acomms::protobuf::GobyMessage::ByteSizeLong
size_t ByteSizeLong() const final
goby::test::acomms::protobuf::GobyMessage::clear_telegram
void clear_telegram()
Definition: test.pb.h:238
goby::test::acomms::protobuf::GobyMessage::New
GobyMessage * New() const final
Definition: test.pb.h:127
goby::test::acomms::protobuf::GobyMessage::GetCachedSize
int GetCachedSize() const final
Definition: test.pb.h:150
goby::test::acomms::protobuf::GobyMessage::set_dest
void set_dest(::google::protobuf::int32 value)
Definition: test.pb.h:231
arena.h
goby::test::acomms::protobuf::GobyMessage::DCCL_MAX_BYTES
@ DCCL_MAX_BYTES
Definition: test.pb.h:199
goby::test::acomms::protobuf::GobyMessage::Swap
void Swap(GobyMessage *other)
goby::test::acomms::protobuf::GobyMessage::default_instance
static const GobyMessage & default_instance()
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::AddDescriptors
void AddDescriptors()
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:47
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: test.pb.h:48
goby::test::acomms::protobuf::GobyMessage::swap
friend void swap(GobyMessage &a, GobyMessage &b)
Definition: test.pb.h:121
goby::test::acomms::protobuf::GobyMessage::DCCLParameters
DCCLParameters
Definition: test.pb.h:199
google
Definition: dccl.h:57
protobuf_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: test.pb.h:46