4 #ifndef PROTOBUF_message_2eproto__INCLUDED
5 #define PROTOBUF_message_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>
33 void protobuf_AddDesc_message_2eproto();
34 void protobuf_AssignDesc_message_2eproto();
35 void protobuf_ShutdownFile_message_2eproto();
43 class warning :
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();
64 static const warning& default_instance();
71 void CopyFrom(const ::google::protobuf::Message& from);
72 void MergeFrom(const ::google::protobuf::Message& from);
73 void CopyFrom(
const warning& from);
74 void MergeFrom(
const warning& 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_id()
const;
98 inline void clear_id();
99 static const int kIdFieldNumber = 1;
100 inline ::google::protobuf::int32 id()
const;
101 inline void set_id(::google::protobuf::int32 value);
105 inline void set_has_id();
106 inline void clear_has_id();
108 ::google::protobuf::UnknownFieldSet _unknown_fields_;
110 ::google::protobuf::uint32 _has_bits_[1];
111 mutable int _cached_size_;
112 ::google::protobuf::int32 id_;
113 friend void protobuf_AddDesc_message_2eproto();
114 friend void protobuf_AssignDesc_message_2eproto();
115 friend void protobuf_ShutdownFile_message_2eproto();
117 void InitAsDefaultInstance();
118 static warning* default_instance_;
122 class ack :
public ::google::protobuf::Message {
129 inline ack& operator=(
const ack& from) {
134 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
135 return _unknown_fields_;
138 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
139 return &_unknown_fields_;
142 static const ::google::protobuf::Descriptor* descriptor();
143 static const ack& default_instance();
145 void Swap(
ack* other);
150 void CopyFrom(const ::google::protobuf::Message& from);
151 void MergeFrom(const ::google::protobuf::Message& from);
152 void CopyFrom(
const ack& from);
153 void MergeFrom(
const ack& from);
155 bool IsInitialized()
const;
157 int ByteSize()
const;
158 bool MergePartialFromCodedStream(
159 ::google::protobuf::io::CodedInputStream* input);
160 void SerializeWithCachedSizes(
161 ::google::protobuf::io::CodedOutputStream* output)
const;
162 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
163 int GetCachedSize()
const {
return _cached_size_; }
167 void SetCachedSize(
int size)
const;
169 ::google::protobuf::Metadata GetMetadata()
const;
176 inline bool has_id()
const;
177 inline void clear_id();
178 static const int kIdFieldNumber = 1;
179 inline ::google::protobuf::int32 id()
const;
180 inline void set_id(::google::protobuf::int32 value);
184 inline void set_has_id();
185 inline void clear_has_id();
187 ::google::protobuf::UnknownFieldSet _unknown_fields_;
189 ::google::protobuf::uint32 _has_bits_[1];
190 mutable int _cached_size_;
191 ::google::protobuf::int32 id_;
192 friend void protobuf_AddDesc_message_2eproto();
193 friend void protobuf_AssignDesc_message_2eproto();
194 friend void protobuf_ShutdownFile_message_2eproto();
196 void InitAsDefaultInstance();
197 static ack* default_instance_;
213 inline const ::google::protobuf::UnknownFieldSet& unknown_fields()
const {
214 return _unknown_fields_;
217 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
218 return &_unknown_fields_;
221 static const ::google::protobuf::Descriptor* descriptor();
222 static const WarnOrAck& default_instance();
229 void CopyFrom(const ::google::protobuf::Message& from);
230 void MergeFrom(const ::google::protobuf::Message& from);
234 bool IsInitialized()
const;
236 int ByteSize()
const;
237 bool MergePartialFromCodedStream(
238 ::google::protobuf::io::CodedInputStream* input);
239 void SerializeWithCachedSizes(
240 ::google::protobuf::io::CodedOutputStream* output)
const;
241 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output)
const;
242 int GetCachedSize()
const {
return _cached_size_; }
246 void SetCachedSize(
int size)
const;
248 ::google::protobuf::Metadata GetMetadata()
const;
255 inline bool has_warn()
const;
256 inline void clear_warn();
257 static const int kWarnFieldNumber = 1;
258 inline const ::org::libcppa::warning& warn()
const;
259 inline ::org::libcppa::warning* mutable_warn();
260 inline ::org::libcppa::warning* release_warn();
264 inline bool has_ack()
const;
265 inline void clear_ack();
266 static const int kAckFieldNumber = 2;
267 inline const ::org::libcppa::ack&
ack()
const;
268 inline ::org::libcppa::ack* mutable_ack();
269 inline ::org::libcppa::ack* release_ack();
274 inline void set_has_warn();
275 inline void clear_has_warn();
276 inline void set_has_ack();
277 inline void clear_has_ack();
279 ::google::protobuf::UnknownFieldSet _unknown_fields_;
281 ::google::protobuf::uint32 _has_bits_[1];
282 mutable int _cached_size_;
285 friend void protobuf_AddDesc_message_2eproto();
286 friend void protobuf_AssignDesc_message_2eproto();
287 friend void protobuf_ShutdownFile_message_2eproto();
289 void InitAsDefaultInstance();
300 inline bool warning::has_id()
const {
301 return (_has_bits_[0] & 0x00000001u) != 0;
303 inline void warning::set_has_id() {
304 _has_bits_[0] |= 0x00000001u;
306 inline void warning::clear_has_id() {
307 _has_bits_[0] &= ~0x00000001u;
309 inline void warning::clear_id() {
313 inline ::google::protobuf::int32 warning::id()
const {
317 inline void warning::set_id(::google::protobuf::int32 value) {
328 inline bool ack::has_id()
const {
329 return (_has_bits_[0] & 0x00000001u) != 0;
331 inline void ack::set_has_id() {
332 _has_bits_[0] |= 0x00000001u;
334 inline void ack::clear_has_id() {
335 _has_bits_[0] &= ~0x00000001u;
337 inline void ack::clear_id() {
341 inline ::google::protobuf::int32 ack::id()
const {
345 inline void ack::set_id(::google::protobuf::int32 value) {
356 inline bool WarnOrAck::has_warn()
const {
357 return (_has_bits_[0] & 0x00000001u) != 0;
359 inline void WarnOrAck::set_has_warn() {
360 _has_bits_[0] |= 0x00000001u;
362 inline void WarnOrAck::clear_has_warn() {
363 _has_bits_[0] &= ~0x00000001u;
365 inline void WarnOrAck::clear_warn() {
366 if (warn_ != NULL) warn_->::org::libcppa::warning::Clear();
369 inline const ::org::libcppa::warning& WarnOrAck::warn()
const {
371 return warn_ != NULL ? *warn_ : *default_instance_->warn_;
373 inline ::org::libcppa::warning* WarnOrAck::mutable_warn() {
375 if (warn_ == NULL) warn_ = new ::org::libcppa::warning;
379 inline ::org::libcppa::warning* WarnOrAck::release_warn() {
397 inline bool WarnOrAck::has_ack()
const {
398 return (_has_bits_[0] & 0x00000002u) != 0;
400 inline void WarnOrAck::set_has_ack() {
401 _has_bits_[0] |= 0x00000002u;
403 inline void WarnOrAck::clear_has_ack() {
404 _has_bits_[0] &= ~0x00000002u;
406 inline void WarnOrAck::clear_ack() {
407 if (ack_ != NULL) ack_->::org::libcppa::ack::Clear();
410 inline const ::org::libcppa::ack& WarnOrAck::ack()
const {
412 return ack_ != NULL ? *ack_ : *default_instance_->ack_;
414 inline ::org::libcppa::ack* WarnOrAck::mutable_ack() {
416 if (ack_ == NULL) ack_ = new ::org::libcppa::ack;
420 inline ::org::libcppa::ack* WarnOrAck::release_ack() {
454 #endif // PROTOBUF_message_2eproto__INCLUDED
Definition: message.pb.h:201
Definition: message.pb.h:43
Definition: message.pb.h:122