4 #ifndef PROTOBUF_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto__INCLUDED 5 #define PROTOBUF_goby_2ftest_2facomms_2fqueue6_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 <boost/units/quantity.hpp> 29 #include <boost/units/absolute.hpp> 30 #include <boost/units/dimensionless_type.hpp> 31 #include <boost/units/make_scaled_unit.hpp> 35 void protobuf_AddDesc_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto();
36 void protobuf_AssignDesc_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto();
37 void protobuf_ShutdownFile_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto();
43 class GobyMessage :
public ::google::protobuf::Message {
55 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
56 return _unknown_fields_;
59 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
60 return &_unknown_fields_;
63 static const ::google::protobuf::Descriptor* descriptor();
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
76 bool IsInitialized()
const;
79 bool MergePartialFromCodedStream(
80 ::google::protobuf::io::CodedInputStream* input);
81 void SerializeWithCachedSizes(
82 ::google::protobuf::io::CodedOutputStream* output)
const;
83 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
84 int GetCachedSize()
const {
return _cached_size_; }
88 void SetCachedSize(
int size)
const;
90 ::google::protobuf::Metadata GetMetadata()
const;
97 inline bool has_dest()
const;
98 inline void clear_dest();
99 static const int kDestFieldNumber = 1;
100 inline ::google::protobuf::int32 dest()
const;
101 inline void set_dest(::google::protobuf::int32 value);
104 inline bool has_telegram()
const;
105 inline void clear_telegram();
106 static const int kTelegramFieldNumber = 2;
107 inline ::google::protobuf::int32 telegram()
const;
108 inline void set_telegram(::google::protobuf::int32 value);
110 enum DCCLParameters { DCCL_ID = 4, DCCL_MAX_BYTES = 32 };
113 inline void set_has_dest();
114 inline void clear_has_dest();
115 inline void set_has_telegram();
116 inline void clear_has_telegram();
118 ::google::protobuf::UnknownFieldSet _unknown_fields_;
120 ::google::protobuf::uint32 _has_bits_[1];
121 mutable int _cached_size_;
122 ::google::protobuf::int32 dest_;
123 ::google::protobuf::int32 telegram_;
124 friend void protobuf_AddDesc_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto();
125 friend void protobuf_AssignDesc_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto();
126 friend void protobuf_ShutdownFile_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto();
128 void InitAsDefaultInstance();
139 inline bool GobyMessage::has_dest()
const {
140 return (_has_bits_[0] & 0x00000001u) != 0;
142 inline void GobyMessage::set_has_dest() {
143 _has_bits_[0] |= 0x00000001u;
145 inline void GobyMessage::clear_has_dest() {
146 _has_bits_[0] &= ~0x00000001u;
148 inline void GobyMessage::clear_dest() {
152 inline ::google::protobuf::int32 GobyMessage::dest()
const {
156 inline void GobyMessage::set_dest(::google::protobuf::int32 value) {
163 inline bool GobyMessage::has_telegram()
const {
164 return (_has_bits_[0] & 0x00000002u) != 0;
166 inline void GobyMessage::set_has_telegram() {
167 _has_bits_[0] |= 0x00000002u;
169 inline void GobyMessage::clear_has_telegram() {
170 _has_bits_[0] &= ~0x00000002u;
172 inline void GobyMessage::clear_telegram() {
174 clear_has_telegram();
176 inline ::google::protobuf::int32 GobyMessage::telegram()
const {
180 inline void GobyMessage::set_telegram(::google::protobuf::int32 value) {
200 #endif // PROTOBUF_goby_2ftest_2facomms_2fqueue6_2ftest_2eproto__INCLUDED