4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto__INCLUDED 5 #define PROTOBUF_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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/unknown_field_set.h> 27 #include "dccl/option_extensions.pb.h" 28 #include "goby/test/acomms/dccl3/header.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> 36 void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
37 void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
38 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
46 class GobyMessage1 :
public ::google::protobuf::Message {
58 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
59 return _unknown_fields_;
62 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
63 return &_unknown_fields_;
66 static const ::google::protobuf::Descriptor* descriptor();
74 void CopyFrom(const ::google::protobuf::Message& from);
75 void MergeFrom(const ::google::protobuf::Message& from);
79 bool IsInitialized()
const;
82 bool MergePartialFromCodedStream(
83 ::google::protobuf::io::CodedInputStream* input);
84 void SerializeWithCachedSizes(
85 ::google::protobuf::io::CodedOutputStream* output)
const;
86 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
87 int GetCachedSize()
const {
return _cached_size_; }
91 void SetCachedSize(
int size)
const;
93 ::google::protobuf::Metadata GetMetadata()
const;
100 inline bool has_int32_val()
const;
101 inline void clear_int32_val();
102 static const int kInt32ValFieldNumber = 1;
103 inline ::google::protobuf::int32 int32_val()
const;
104 inline void set_int32_val(::google::protobuf::int32 value);
106 enum DCCLParameters { DCCL_ID = 4, DCCL_MAX_BYTES = 32 };
109 inline void set_has_int32_val();
110 inline void clear_has_int32_val();
112 ::google::protobuf::UnknownFieldSet _unknown_fields_;
114 ::google::protobuf::uint32 _has_bits_[1];
115 mutable int _cached_size_;
116 ::google::protobuf::int32 int32_val_;
117 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
118 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
119 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
121 void InitAsDefaultInstance();
126 class GobyMessage2 :
public ::google::protobuf::Message {
138 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
139 return _unknown_fields_;
142 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
143 return &_unknown_fields_;
146 static const ::google::protobuf::Descriptor* descriptor();
154 void CopyFrom(const ::google::protobuf::Message& from);
155 void MergeFrom(const ::google::protobuf::Message& from);
159 bool IsInitialized()
const;
161 int ByteSize()
const;
162 bool MergePartialFromCodedStream(
163 ::google::protobuf::io::CodedInputStream* input);
164 void SerializeWithCachedSizes(
165 ::google::protobuf::io::CodedOutputStream* output)
const;
166 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
167 int GetCachedSize()
const {
return _cached_size_; }
171 void SetCachedSize(
int size)
const;
173 ::google::protobuf::Metadata GetMetadata()
const;
180 inline bool has_bool_val()
const;
181 inline void clear_bool_val();
182 static const int kBoolValFieldNumber = 1;
183 inline bool bool_val()
const;
184 inline void set_bool_val(
bool value);
186 enum DCCLParameters { DCCL_ID = 5, DCCL_MAX_BYTES = 32 };
189 inline void set_has_bool_val();
190 inline void clear_has_bool_val();
192 ::google::protobuf::UnknownFieldSet _unknown_fields_;
194 ::google::protobuf::uint32 _has_bits_[1];
195 mutable int _cached_size_;
197 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
198 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
199 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
201 void InitAsDefaultInstance();
206 class GobyMessage3 :
public ::google::protobuf::Message {
218 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
219 return _unknown_fields_;
222 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
223 return &_unknown_fields_;
226 static const ::google::protobuf::Descriptor* descriptor();
234 void CopyFrom(const ::google::protobuf::Message& from);
235 void MergeFrom(const ::google::protobuf::Message& from);
239 bool IsInitialized()
const;
241 int ByteSize()
const;
242 bool MergePartialFromCodedStream(
243 ::google::protobuf::io::CodedInputStream* input);
244 void SerializeWithCachedSizes(
245 ::google::protobuf::io::CodedOutputStream* output)
const;
246 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
247 int GetCachedSize()
const {
return _cached_size_; }
251 void SetCachedSize(
int size)
const;
253 ::google::protobuf::Metadata GetMetadata()
const;
260 inline bool has_string_val()
const;
261 inline void clear_string_val();
262 static const int kStringValFieldNumber = 1;
263 inline const ::std::string& string_val()
const;
264 inline void set_string_val(const ::std::string& value);
265 inline void set_string_val(
const char* value);
266 inline void set_string_val(
const char* value,
size_t size);
267 inline ::std::string* mutable_string_val();
268 inline ::std::string* release_string_val();
269 inline void set_allocated_string_val(::std::string* string_val);
271 enum DCCLParameters { DCCL_ID = 6, DCCL_MAX_BYTES = 32 };
274 inline void set_has_string_val();
275 inline void clear_has_string_val();
277 ::google::protobuf::UnknownFieldSet _unknown_fields_;
279 ::google::protobuf::uint32 _has_bits_[1];
280 mutable int _cached_size_;
281 ::std::string* string_val_;
282 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
283 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
284 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto();
286 void InitAsDefaultInstance();
297 inline bool GobyMessage1::has_int32_val()
const {
298 return (_has_bits_[0] & 0x00000001u) != 0;
300 inline void GobyMessage1::set_has_int32_val() {
301 _has_bits_[0] |= 0x00000001u;
303 inline void GobyMessage1::clear_has_int32_val() {
304 _has_bits_[0] &= ~0x00000001u;
306 inline void GobyMessage1::clear_int32_val() {
308 clear_has_int32_val();
310 inline ::google::protobuf::int32 GobyMessage1::int32_val()
const {
314 inline void GobyMessage1::set_int32_val(::google::protobuf::int32 value) {
325 inline bool GobyMessage2::has_bool_val()
const {
326 return (_has_bits_[0] & 0x00000001u) != 0;
328 inline void GobyMessage2::set_has_bool_val() {
329 _has_bits_[0] |= 0x00000001u;
331 inline void GobyMessage2::clear_has_bool_val() {
332 _has_bits_[0] &= ~0x00000001u;
334 inline void GobyMessage2::clear_bool_val() {
336 clear_has_bool_val();
338 inline bool GobyMessage2::bool_val()
const {
342 inline void GobyMessage2::set_bool_val(
bool value) {
353 inline bool GobyMessage3::has_string_val()
const {
354 return (_has_bits_[0] & 0x00000001u) != 0;
356 inline void GobyMessage3::set_has_string_val() {
357 _has_bits_[0] |= 0x00000001u;
359 inline void GobyMessage3::clear_has_string_val() {
360 _has_bits_[0] &= ~0x00000001u;
362 inline void GobyMessage3::clear_string_val() {
363 if (string_val_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
364 string_val_->clear();
366 clear_has_string_val();
368 inline const ::std::string& GobyMessage3::string_val()
const {
372 inline void GobyMessage3::set_string_val(const ::std::string& value) {
373 set_has_string_val();
374 if (string_val_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
375 string_val_ = new ::std::string;
377 string_val_->assign(value);
380 inline void GobyMessage3::set_string_val(
const char* value) {
381 set_has_string_val();
382 if (string_val_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
383 string_val_ = new ::std::string;
385 string_val_->assign(value);
388 inline void GobyMessage3::set_string_val(
const char* value,
size_t size) {
389 set_has_string_val();
390 if (string_val_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
391 string_val_ = new ::std::string;
393 string_val_->assign(reinterpret_cast<const char*>(value), size);
396 inline ::std::string* GobyMessage3::mutable_string_val() {
397 set_has_string_val();
398 if (string_val_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
399 string_val_ = new ::std::string;
404 inline ::std::string* GobyMessage3::release_string_val() {
405 clear_has_string_val();
406 if (string_val_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
409 ::std::string* temp = string_val_;
410 string_val_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
414 inline void GobyMessage3::set_allocated_string_val(::std::string* string_val) {
415 if (string_val_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
419 set_has_string_val();
420 string_val_ = string_val;
422 clear_has_string_val();
423 string_val_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
442 #endif // PROTOBUF_goby_2ftest_2facomms_2fdccl8_2ftest_2eproto__INCLUDED