4 #ifndef PROTOBUF_mir_5fprotobuf_5fwire_2eproto__INCLUDED
5 #define PROTOBUF_mir_5fprotobuf_5fwire_2eproto__INCLUDED
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 2005000
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 2005000 < 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>
56 return _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);
80 ::google::protobuf::io::CodedInputStream* input);
82 ::google::protobuf::io::CodedOutputStream*
output)
const;
88 void SetCachedSize(
int size)
const;
98 inline bool has_id()
const;
101 inline ::google::protobuf::uint32
id()
const;
102 inline void set_id(::google::protobuf::uint32 value);
120 inline const ::std::string&
parameters()
const;
137 inline void set_has_id();
138 inline void clear_has_id();
139 inline void set_has_method_name();
140 inline void clear_has_method_name();
141 inline void set_has_parameters();
142 inline void clear_has_parameters();
143 inline void set_has_protocol_version();
144 inline void clear_has_protocol_version();
146 ::google::protobuf::UnknownFieldSet _unknown_fields_;
148 ::std::string* method_name_;
149 ::google::protobuf::uint32 id_;
150 ::google::protobuf::uint32 protocol_version_;
151 ::std::string* parameters_;
153 mutable int _cached_size_;
154 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
160 void InitAsDefaultInstance();
165 class Result :
public ::google::protobuf::Message {
178 return _unknown_fields_;
182 return &_unknown_fields_;
185 static const ::google::protobuf::Descriptor*
descriptor();
193 void CopyFrom(const ::google::protobuf::Message& from);
194 void MergeFrom(const ::google::protobuf::Message& from);
202 ::google::protobuf::io::CodedInputStream* input);
204 ::google::protobuf::io::CodedOutputStream*
output)
const;
210 void SetCachedSize(
int size)
const;
220 inline bool has_id()
const;
223 inline ::google::protobuf::uint32
id()
const;
224 inline void set_id(::google::protobuf::uint32 value);
230 inline const ::std::string&
response()
const;
242 inline const ::std::string&
events(
int index)
const;
244 inline void set_events(
int index, const ::std::string& value);
245 inline void set_events(
int index,
const char* value);
246 inline void set_events(
int index,
const void* value,
size_t size);
248 inline void add_events(const ::std::string& value);
251 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
events()
const;
252 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_events();
256 inline void set_has_id();
257 inline void clear_has_id();
258 inline void set_has_response();
259 inline void clear_has_response();
261 ::google::protobuf::UnknownFieldSet _unknown_fields_;
263 ::std::string* response_;
264 ::google::protobuf::RepeatedPtrField< ::std::string> events_;
265 ::google::protobuf::uint32 id_;
267 mutable int _cached_size_;
268 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
274 void InitAsDefaultInstance();
275 static Result* default_instance_;
286 return (_has_bits_[0] & 0x00000001u) != 0;
288 inline void Invocation::set_has_id() {
289 _has_bits_[0] |= 0x00000001u;
291 inline void Invocation::clear_has_id() {
292 _has_bits_[0] &= ~0x00000001u;
308 return (_has_bits_[0] & 0x00000002u) != 0;
310 inline void Invocation::set_has_method_name() {
311 _has_bits_[0] |= 0x00000002u;
313 inline void Invocation::clear_has_method_name() {
314 _has_bits_[0] &= ~0x00000002u;
317 if (method_name_ != &::google::protobuf::internal::kEmptyString) {
318 method_name_->clear();
320 clear_has_method_name();
323 return *method_name_;
326 set_has_method_name();
327 if (method_name_ == &::google::protobuf::internal::kEmptyString) {
328 method_name_ = new ::std::string;
330 method_name_->assign(value);
333 set_has_method_name();
334 if (method_name_ == &::google::protobuf::internal::kEmptyString) {
335 method_name_ = new ::std::string;
337 method_name_->assign(value);
340 set_has_method_name();
341 if (method_name_ == &::google::protobuf::internal::kEmptyString) {
342 method_name_ = new ::std::string;
344 method_name_->assign(reinterpret_cast<const char*>(value), size);
347 set_has_method_name();
348 if (method_name_ == &::google::protobuf::internal::kEmptyString) {
349 method_name_ = new ::std::string;
354 clear_has_method_name();
355 if (method_name_ == &::google::protobuf::internal::kEmptyString) {
358 ::std::string* temp = method_name_;
359 method_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
364 if (method_name_ != &::google::protobuf::internal::kEmptyString) {
368 set_has_method_name();
371 clear_has_method_name();
372 method_name_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
378 return (_has_bits_[0] & 0x00000004u) != 0;
380 inline void Invocation::set_has_parameters() {
381 _has_bits_[0] |= 0x00000004u;
383 inline void Invocation::clear_has_parameters() {
384 _has_bits_[0] &= ~0x00000004u;
387 if (parameters_ != &::google::protobuf::internal::kEmptyString) {
388 parameters_->clear();
390 clear_has_parameters();
396 set_has_parameters();
397 if (parameters_ == &::google::protobuf::internal::kEmptyString) {
398 parameters_ = new ::std::string;
400 parameters_->assign(value);
403 set_has_parameters();
404 if (parameters_ == &::google::protobuf::internal::kEmptyString) {
405 parameters_ = new ::std::string;
407 parameters_->assign(value);
410 set_has_parameters();
411 if (parameters_ == &::google::protobuf::internal::kEmptyString) {
412 parameters_ = new ::std::string;
414 parameters_->assign(reinterpret_cast<const char*>(value), size);
417 set_has_parameters();
418 if (parameters_ == &::google::protobuf::internal::kEmptyString) {
419 parameters_ = new ::std::string;
424 clear_has_parameters();
425 if (parameters_ == &::google::protobuf::internal::kEmptyString) {
428 ::std::string* temp = parameters_;
429 parameters_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
434 if (parameters_ != &::google::protobuf::internal::kEmptyString) {
438 set_has_parameters();
441 clear_has_parameters();
442 parameters_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
448 return (_has_bits_[0] & 0x00000008u) != 0;
450 inline void Invocation::set_has_protocol_version() {
451 _has_bits_[0] |= 0x00000008u;
453 inline void Invocation::clear_has_protocol_version() {
454 _has_bits_[0] &= ~0x00000008u;
457 protocol_version_ = 0u;
458 clear_has_protocol_version();
461 return protocol_version_;
464 set_has_protocol_version();
465 protocol_version_ = value;
474 return (_has_bits_[0] & 0x00000001u) != 0;
476 inline void Result::set_has_id() {
477 _has_bits_[0] |= 0x00000001u;
479 inline void Result::clear_has_id() {
480 _has_bits_[0] &= ~0x00000001u;
496 return (_has_bits_[0] & 0x00000002u) != 0;
498 inline void Result::set_has_response() {
499 _has_bits_[0] |= 0x00000002u;
501 inline void Result::clear_has_response() {
502 _has_bits_[0] &= ~0x00000002u;
505 if (response_ != &::google::protobuf::internal::kEmptyString) {
508 clear_has_response();
515 if (response_ == &::google::protobuf::internal::kEmptyString) {
516 response_ = new ::std::string;
518 response_->assign(value);
522 if (response_ == &::google::protobuf::internal::kEmptyString) {
523 response_ = new ::std::string;
525 response_->assign(value);
529 if (response_ == &::google::protobuf::internal::kEmptyString) {
530 response_ = new ::std::string;
532 response_->assign(reinterpret_cast<const char*>(value), size);
536 if (response_ == &::google::protobuf::internal::kEmptyString) {
537 response_ = new ::std::string;
542 clear_has_response();
543 if (response_ == &::google::protobuf::internal::kEmptyString) {
546 ::std::string* temp = response_;
547 response_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
552 if (response_ != &::google::protobuf::internal::kEmptyString) {
559 clear_has_response();
560 response_ =
const_cast< ::std::string*
>(&::google::protobuf::internal::kEmptyString);
566 return events_.size();
572 return events_.Get(index);
575 return events_.Mutable(index);
578 events_.Mutable(index)->assign(value);
581 events_.Mutable(index)->assign(value);
584 events_.Mutable(index)->assign(
585 reinterpret_cast<const char*>(value), size);
588 return events_.Add();
591 events_.Add()->assign(value);
594 events_.Add()->assign(value);
597 events_.Add()->assign(reinterpret_cast<const char*>(value), size);
599 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
603 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
626 #endif // PROTOBUF_mir_5fprotobuf_5fwire_2eproto__INCLUDED
static const int kEventsFieldNumber
Definition: mir_protobuf_wire.pb.h:241
void set_allocated_response(::std::string *response)
Definition: mir_protobuf_wire.pb.h:551
static const int kProtocolVersionFieldNumber
Definition: mir_protobuf_wire.pb.h:131
All things Mir.
Definition: aging_buffer.h:24
void clear_id()
Definition: mir_protobuf_wire.pb.h:294
Definition: mir_protobuf_wire.pb.h:43
void protobuf_AssignDesc_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:35
void clear_parameters()
Definition: mir_protobuf_wire.pb.h:386
friend void protobuf_ShutdownFile_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:96
static const int kIdFieldNumber
Definition: mir_protobuf_wire.pb.h:222
inline::std::string * release_method_name()
Definition: mir_protobuf_wire.pb.h:353
Invocation()
Definition: mir_protobuf_wire.pb.cc:140
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
Definition: mir_protobuf_wire.pb.cc:561
void set_allocated_parameters(::std::string *parameters)
Definition: mir_protobuf_wire.pb.h:433
static const ::google::protobuf::Descriptor * descriptor()
Definition: mir_protobuf_wire.pb.cc:183
static const int kParametersFieldNumber
Definition: mir_protobuf_wire.pb.h:119
void set_parameters(const ::std::string &value)
Definition: mir_protobuf_wire.pb.h:395
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: mir_protobuf_wire.pb.h:177
void clear_protocol_version()
Definition: mir_protobuf_wire.pb.h:456
friend void protobuf_AssignDesc_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:35
inline::std::string * release_parameters()
Definition: mir_protobuf_wire.pb.h:423
void CopyFrom(const ::google::protobuf::Message &from)
Definition: mir_protobuf_wire.pb.cc:742
static const Result & default_instance()
Definition: mir_protobuf_wire.pb.cc:536
static const ::google::protobuf::Descriptor * descriptor()
Definition: mir_protobuf_wire.pb.cc:531
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
Definition: mir_protobuf_wire.pb.cc:302
inline::std::string * mutable_parameters()
Definition: mir_protobuf_wire.pb.h:416
const ::std::string & response() const
Definition: mir_protobuf_wire.pb.h:510
void MergeFrom(const ::google::protobuf::Message &from)
Definition: mir_protobuf_wire.pb.cc:415
bool IsInitialized() const
Definition: mir_protobuf_wire.pb.cc:754
int ByteSize() const
Definition: mir_protobuf_wire.pb.cc:679
::google::protobuf::Metadata GetMetadata() const
Definition: mir_protobuf_wire.pb.cc:476
void clear_events()
Definition: mir_protobuf_wire.pb.h:568
friend void protobuf_AddDesc_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:103
int GetCachedSize() const
Definition: mir_protobuf_wire.pb.h:84
bool IsInitialized() const
Definition: mir_protobuf_wire.pb.cc:458
Invocation * New() const
Definition: mir_protobuf_wire.pb.cc:195
inline::google::protobuf::uint32 protocol_version() const
Definition: mir_protobuf_wire.pb.h:460
int ByteSize() const
Definition: mir_protobuf_wire.pb.cc:371
bool has_protocol_version() const
Definition: mir_protobuf_wire.pb.h:447
void Swap(Invocation *other)
Definition: mir_protobuf_wire.pb.cc:464
bool has_method_name() const
Definition: mir_protobuf_wire.pb.h:307
int GetCachedSize() const
Definition: mir_protobuf_wire.pb.h:206
const ::google::protobuf::RepeatedPtrField< ::std::string > & events() const
Definition: mir_protobuf_wire.pb.h:600
static const int kIdFieldNumber
Definition: mir_protobuf_wire.pb.h:100
const ::std::string & parameters() const
Definition: mir_protobuf_wire.pb.h:392
bool has_parameters() const
Definition: mir_protobuf_wire.pb.h:377
bool has_id() const
Definition: mir_protobuf_wire.pb.h:473
inline::std::string * mutable_method_name()
Definition: mir_protobuf_wire.pb.h:346
void set_protocol_version(::google::protobuf::uint32 value)
Definition: mir_protobuf_wire.pb.h:463
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: mir_protobuf_wire.pb.cc:335
void CopyFrom(const ::google::protobuf::Message &from)
Definition: mir_protobuf_wire.pb.cc:446
void set_id(::google::protobuf::uint32 value)
Definition: mir_protobuf_wire.pb.h:301
void clear_method_name()
Definition: mir_protobuf_wire.pb.h:316
static const Invocation & default_instance()
Definition: mir_protobuf_wire.pb.cc:188
inline::std::string * mutable_response()
Definition: mir_protobuf_wire.pb.h:534
friend void protobuf_AddDesc_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:103
void clear_response()
Definition: mir_protobuf_wire.pb.h:504
inline::std::string * add_events()
Definition: mir_protobuf_wire.pb.h:587
virtual ~Result()
Definition: mir_protobuf_wire.pb.cc:514
virtual ~Invocation()
Definition: mir_protobuf_wire.pb.cc:163
static const int kMethodNameFieldNumber
Definition: mir_protobuf_wire.pb.h:107
int events_size() const
Definition: mir_protobuf_wire.pb.h:565
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: mir_protobuf_wire.pb.cc:652
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const
Definition: mir_protobuf_wire.pb.cc:627
void Clear()
Definition: mir_protobuf_wire.pb.cc:199
void MergeFrom(const ::google::protobuf::Message &from)
Definition: mir_protobuf_wire.pb.cc:716
Result * New() const
Definition: mir_protobuf_wire.pb.cc:543
void protobuf_ShutdownFile_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:96
inline::std::string * release_response()
Definition: mir_protobuf_wire.pb.h:541
bool has_response() const
Definition: mir_protobuf_wire.pb.h:495
void Clear()
Definition: mir_protobuf_wire.pb.cc:547
inline::google::protobuf::RepeatedPtrField< ::std::string > * mutable_events()
Definition: mir_protobuf_wire.pb.h:604
void set_id(::google::protobuf::uint32 value)
Definition: mir_protobuf_wire.pb.h:489
Definition: mir_protobuf_wire.pb.h:165
::google::protobuf::Metadata GetMetadata() const
Definition: mir_protobuf_wire.pb.cc:770
static const int kResponseFieldNumber
Definition: mir_protobuf_wire.pb.h:229
bool has_id() const
Definition: mir_protobuf_wire.pb.h:285
void clear_id()
Definition: mir_protobuf_wire.pb.h:482
void set_response(const ::std::string &value)
Definition: mir_protobuf_wire.pb.h:513
void set_method_name(const ::std::string &value)
Definition: mir_protobuf_wire.pb.h:325
friend void protobuf_ShutdownFile_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:96
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: mir_protobuf_wire.pb.h:55
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: mir_protobuf_wire.pb.h:181
Definition: connection_configuration.h:24
inline::google::protobuf::uint32 id() const
Definition: mir_protobuf_wire.pb.h:298
void protobuf_AddDesc_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:103
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: mir_protobuf_wire.pb.h:59
void set_allocated_method_name(::std::string *method_name)
Definition: mir_protobuf_wire.pb.h:363
Invocation & operator=(const Invocation &from)
Definition: mir_protobuf_wire.pb.h:50
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input)
Definition: mir_protobuf_wire.pb.cc:218
friend void protobuf_AssignDesc_mir_5fprotobuf_5fwire_2eproto()
Definition: mir_protobuf_wire.pb.cc:35
inline::google::protobuf::uint32 id() const
Definition: mir_protobuf_wire.pb.h:486
int const size
Definition: make_socket_rpc_channel.cpp:51
Result & operator=(const Result &from)
Definition: mir_protobuf_wire.pb.h:172
void Swap(Result *other)
Definition: mir_protobuf_wire.pb.cc:759
void set_events(int index, const ::std::string &value)
Definition: mir_protobuf_wire.pb.h:577
Result()
Definition: mir_protobuf_wire.pb.cc:493
const ::std::string & method_name() const
Definition: mir_protobuf_wire.pb.h:322