Goby3  3.1.5a
2024.05.23
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/queue5/test.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue5_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_2fqueue5_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_2fqueue5_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 telegram = 1 [(.dccl.field) = {
171  bool has_telegram() const;
172  void clear_telegram();
173  static const int kTelegramFieldNumber = 1;
174  ::google::protobuf::int32 telegram() const;
175  void set_telegram(::google::protobuf::int32 value);
176 
178  // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.GobyMessage)
179  private:
180  void set_has_telegram();
181  void clear_has_telegram();
182 
183  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
184  ::google::protobuf::internal::HasBits<1> _has_bits_;
185  mutable ::google::protobuf::internal::CachedSize _cached_size_;
186  ::google::protobuf::int32 telegram_;
187  friend struct ::protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::TableStruct;
188 };
189 // ===================================================================
190 
191 
192 // ===================================================================
193 
194 #ifdef __GNUC__
195  #pragma GCC diagnostic push
196  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
197 #endif // __GNUC__
198 // GobyMessage
199 
200 // required int32 telegram = 1 [(.dccl.field) = {
201 inline bool GobyMessage::has_telegram() const {
202  return (_has_bits_[0] & 0x00000001u) != 0;
203 }
204 inline void GobyMessage::set_has_telegram() {
205  _has_bits_[0] |= 0x00000001u;
206 }
207 inline void GobyMessage::clear_has_telegram() {
208  _has_bits_[0] &= ~0x00000001u;
209 }
210 inline void GobyMessage::clear_telegram() {
211  telegram_ = 0;
212  clear_has_telegram();
213 }
215  // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.GobyMessage.telegram)
216  return telegram_;
217 }
219  set_has_telegram();
220  telegram_ = value;
221  // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.GobyMessage.telegram)
222 }
223 
224 #ifdef __GNUC__
225  #pragma GCC diagnostic pop
226 #endif // __GNUC__
227 
228 // @@protoc_insertion_point(namespace_scope)
229 
230 } // namespace protobuf
231 } // namespace acomms
232 } // namespace test
233 } // namespace goby
234 
235 // @@protoc_insertion_point(global_scope)
236 
237 #endif // PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue5_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_default_instance_
GobyMessageDefaultTypeInternal _GobyMessage_default_instance_
Definition: test.pb.h:58
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:47
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_2fqueue5_2ftest_2eproto::TableStruct
Definition: test.pb.h:43
goby::test::acomms::protobuf::GobyMessage::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::test::acomms::protobuf::GobyMessage::telegram
const ::std::string & telegram() const
Definition: test.pb.h:242
google::protobuf::Arena
Definition: arena.h:244
goby::test::acomms::protobuf::GobyMessage
Definition: test.pb.h:78
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
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto
Definition: test.pb.h:41
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: test.pb.h:44
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
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: test.pb.h:48
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::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
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: test.pb.h:46
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
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_2fqueue5_2ftest_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: test.pb.h:45
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: test.pb.h:49
protobuf_goby_2ftest_2facomms_2fqueue5_2ftest_2eproto::AddDescriptors
void AddDescriptors()
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