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/queue1/test.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto
5 #define PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue1_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_2fqueue1_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_2fqueue1_2ftest_2eproto
53 namespace goby {
54 namespace test {
55 namespace acomms {
56 namespace protobuf {
57 class TestMsg;
58 class TestMsgDefaultTypeInternal;
59 extern TestMsgDefaultTypeInternal _TestMsg_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::TestMsg* Arena::CreateMaybeMessage<::goby::test::acomms::protobuf::TestMsg>(Arena*);
67 } // namespace protobuf
68 } // namespace google
69 namespace goby {
70 namespace test {
71 namespace acomms {
72 namespace protobuf {
73 
74 // ===================================================================
75 
76 class TestMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.test.acomms.protobuf.TestMsg) */ {
77  public:
78  TestMsg();
79  virtual ~TestMsg();
80 
81  TestMsg(const TestMsg& from);
82 
83  inline TestMsg& operator=(const TestMsg& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
88  TestMsg(TestMsg&& from) noexcept
89  : TestMsg() {
90  *this = ::std::move(from);
91  }
92 
93  inline TestMsg& operator=(TestMsg&& 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 TestMsg& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  static inline const TestMsg* internal_default_instance() {
114  return reinterpret_cast<const TestMsg*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(TestMsg* other);
121  friend void swap(TestMsg& a, TestMsg& b) {
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline TestMsg* New() const final {
128  return CreateMaybeMessage<TestMsg>(NULL);
129  }
130 
131  TestMsg* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<TestMsg>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const TestMsg& from);
137  void MergeFrom(const TestMsg& 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(TestMsg* 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  // optional double double_default_optional = 1 [(.dccl.field) = {
171  bool has_double_default_optional() const;
173  static const int kDoubleDefaultOptionalFieldNumber = 1;
174  double double_default_optional() const;
175  void set_double_default_optional(double value);
176 
177  // optional float float_default_optional = 2 [(.dccl.field) = {
178  bool has_float_default_optional() const;
180  static const int kFloatDefaultOptionalFieldNumber = 2;
181  float float_default_optional() const;
182  void set_float_default_optional(float value);
183 
185  // @@protoc_insertion_point(class_scope:goby.test.acomms.protobuf.TestMsg)
186  private:
187  void set_has_double_default_optional();
188  void clear_has_double_default_optional();
189  void set_has_float_default_optional();
190  void clear_has_float_default_optional();
191 
192  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
193  ::google::protobuf::internal::HasBits<1> _has_bits_;
194  mutable ::google::protobuf::internal::CachedSize _cached_size_;
195  double double_default_optional_;
196  float float_default_optional_;
197  friend struct ::protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct;
198 };
199 // ===================================================================
200 
201 
202 // ===================================================================
203 
204 #ifdef __GNUC__
205  #pragma GCC diagnostic push
206  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
207 #endif // __GNUC__
208 // TestMsg
209 
210 // optional double double_default_optional = 1 [(.dccl.field) = {
211 inline bool TestMsg::has_double_default_optional() const {
212  return (_has_bits_[0] & 0x00000001u) != 0;
213 }
214 inline void TestMsg::set_has_double_default_optional() {
215  _has_bits_[0] |= 0x00000001u;
216 }
217 inline void TestMsg::clear_has_double_default_optional() {
218  _has_bits_[0] &= ~0x00000001u;
219 }
221  double_default_optional_ = 0;
222  clear_has_double_default_optional();
223 }
224 inline double TestMsg::double_default_optional() const {
225  // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.double_default_optional)
226  return double_default_optional_;
227 }
228 inline void TestMsg::set_double_default_optional(double value) {
229  set_has_double_default_optional();
230  double_default_optional_ = value;
231  // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.double_default_optional)
232 }
233 
234 // optional float float_default_optional = 2 [(.dccl.field) = {
235 inline bool TestMsg::has_float_default_optional() const {
236  return (_has_bits_[0] & 0x00000002u) != 0;
237 }
238 inline void TestMsg::set_has_float_default_optional() {
239  _has_bits_[0] |= 0x00000002u;
240 }
241 inline void TestMsg::clear_has_float_default_optional() {
242  _has_bits_[0] &= ~0x00000002u;
243 }
245  float_default_optional_ = 0;
246  clear_has_float_default_optional();
247 }
248 inline float TestMsg::float_default_optional() const {
249  // @@protoc_insertion_point(field_get:goby.test.acomms.protobuf.TestMsg.float_default_optional)
250  return float_default_optional_;
251 }
252 inline void TestMsg::set_float_default_optional(float value) {
253  set_has_float_default_optional();
254  float_default_optional_ = value;
255  // @@protoc_insertion_point(field_set:goby.test.acomms.protobuf.TestMsg.float_default_optional)
256 }
257 
258 #ifdef __GNUC__
259  #pragma GCC diagnostic pop
260 #endif // __GNUC__
261 
262 // @@protoc_insertion_point(namespace_scope)
263 
264 } // namespace protobuf
265 } // namespace acomms
266 } // namespace test
267 } // namespace goby
268 
269 // @@protoc_insertion_point(global_scope)
270 
271 #endif // PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto
goby::test::acomms::protobuf::TestMsg::New
TestMsg * New(::google::protobuf::Arena *arena) const final
Definition: test.pb.h:131
goby::test::acomms::protobuf::TestMsg::GetCachedSize
int GetCachedSize() const final
Definition: test.pb.h:448
goby::test::acomms::protobuf::TestMsg::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::test::acomms::protobuf::TestMsg::clear_double_default_optional
void clear_double_default_optional()
Definition: test.pb.h:1329
goby::test::acomms::protobuf::TestMsg::default_instance
static const TestMsg & default_instance()
goby::test::acomms::protobuf::TestMsg::kFloatDefaultOptionalFieldNumber
static const int kFloatDefaultOptionalFieldNumber
Definition: test.pb.h:786
goby::test::acomms::protobuf::TestMsg::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::test::acomms::protobuf::TestMsg::Clear
void Clear() final
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: test.pb.h:49
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::test::acomms::protobuf::TestMsg::set_float_default_optional
void set_float_default_optional(float value)
Definition: test.pb.h:1361
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: test.pb.h:44
goby::test::acomms::protobuf::TestMsg::Swap
void Swap(TestMsg *other)
goby::test::acomms::protobuf::TestMsg::DCCL_ID
@ DCCL_ID
Definition: test.pb.h:972
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto
Definition: test.pb.h:41
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: test.pb.h:45
goby::test::acomms::protobuf::TestMsg::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: test.pb.h:102
goby::test::acomms::protobuf::TestMsg::~TestMsg
virtual ~TestMsg()
detail::parse_event_t::value
@ value
the parser finished reading a JSON value
goby::test::acomms::protobuf::TestMsg::has_double_default_optional
bool has_double_default_optional() const
Definition: test.pb.h:1320
google::protobuf::Arena
Definition: arena.h:244
goby::test::acomms::protobuf::TestMsg::New
TestMsg * New() const final
Definition: test.pb.h:127
goby::test::acomms::protobuf::TestMsg::operator=
TestMsg & operator=(const TestMsg &from)
Definition: test.pb.h:83
goby::test::acomms::protobuf::TestMsg::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: test.pb.h:105
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: test.pb.h:48
goby::test::acomms::protobuf::_TestMsg_default_instance_
TestMsgDefaultTypeInternal _TestMsg_default_instance_
Definition: test.pb.h:58
goby::test::acomms::protobuf::TestMsg
Definition: test.pb.h:376
message.h
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct
Definition: test.pb.h:43
goby::test::acomms::protobuf::TestMsg::clear_float_default_optional
void clear_float_default_optional()
Definition: test.pb.h:1353
goby::test::acomms::protobuf::TestMsg::internal_default_instance
static const TestMsg * internal_default_instance()
Definition: test.pb.h:113
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::test::acomms::protobuf::TestMsg::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::test::acomms::protobuf::TestMsg::DCCL_MAX_BYTES
@ DCCL_MAX_BYTES
Definition: test.pb.h:972
goby::test::acomms::protobuf::TestMsg::IsInitialized
bool IsInitialized() const final
goby::test::acomms::protobuf::TestMsg::float_default_optional
float float_default_optional() const
Definition: test.pb.h:1357
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::AddDescriptors
void AddDescriptors()
goby::test::acomms::protobuf::TestMsg::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
google::protobuf::Metadata
Definition: message.h:174
google::protobuf::Message
Definition: message.h:189
goby::test::acomms::protobuf::TestMsg::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::test::acomms::protobuf::TestMsg::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
goby::test::acomms::protobuf::TestMsg::ByteSizeLong
size_t ByteSizeLong() const final
arena.h
goby::test::acomms::protobuf::TestMsg::DCCLParameters
DCCLParameters
Definition: test.pb.h:972
goby::test::acomms::protobuf::TestMsg::set_double_default_optional
void set_double_default_optional(double value)
Definition: test.pb.h:1337
goby::test::acomms::protobuf::TestMsg::descriptor
static const ::google::protobuf::Descriptor * descriptor()
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: test.pb.h:47
goby::test::acomms::protobuf::TestMsg::double_default_optional
double double_default_optional() const
Definition: test.pb.h:1333
protobuf_goby_2ftest_2facomms_2fqueue1_2ftest_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: test.pb.h:46
goby::test::acomms::protobuf::TestMsg::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: test.pb.h:417
goby::test::acomms::protobuf::TestMsg::has_float_default_optional
bool has_float_default_optional() const
Definition: test.pb.h:1344
goby::test::acomms::protobuf::TestMsg::TestMsg
TestMsg()
goby::test::acomms::protobuf::TestMsg::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
google
Definition: dccl.h:57
goby::test::acomms::protobuf::TestMsg::swap
friend void swap(TestMsg &a, TestMsg &b)
Definition: test.pb.h:121
goby::test::acomms::protobuf::TestMsg::kDoubleDefaultOptionalFieldNumber
static const int kDoubleDefaultOptionalFieldNumber
Definition: test.pb.h:779