Message-Queues beta 1.1
A Message-Queues based Cpp
 
载入中...
搜索中...
未找到
msg.pb.h
浏览该文件的文档.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: msg.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_msg_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_msg_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.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/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
34// @@protoc_insertion_point(includes)
35#include <google/protobuf/port_def.inc>
36#define PROTOBUF_INTERNAL_EXPORT_msg_2eproto
37PROTOBUF_NAMESPACE_OPEN
38namespace internal {
39class AnyMetadata;
40} // namespace internal
41PROTOBUF_NAMESPACE_CLOSE
42
43// Internal implementation detail -- do not use these members.
45 static const uint32_t offsets[];
46};
47extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_msg_2eproto;
48namespace XuMQ {
49class BasicProperties;
50struct BasicPropertiesDefaultTypeInternal;
51extern BasicPropertiesDefaultTypeInternal _BasicProperties_default_instance_;
52class Message;
53struct MessageDefaultTypeInternal;
54extern MessageDefaultTypeInternal _Message_default_instance_;
55class Message_Payload;
56struct Message_PayloadDefaultTypeInternal;
57extern Message_PayloadDefaultTypeInternal _Message_Payload_default_instance_;
58} // namespace XuMQ
59PROTOBUF_NAMESPACE_OPEN
60template<> ::XuMQ::BasicProperties* Arena::CreateMaybeMessage<::XuMQ::BasicProperties>(Arena*);
61template<> ::XuMQ::Message* Arena::CreateMaybeMessage<::XuMQ::Message>(Arena*);
62template<> ::XuMQ::Message_Payload* Arena::CreateMaybeMessage<::XuMQ::Message_Payload>(Arena*);
63PROTOBUF_NAMESPACE_CLOSE
64namespace XuMQ {
65
66enum ExchangeType : int {
68 DIRECT = 1,
69 FANOUT = 2,
70 TOPIC = 3,
71 ExchangeType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
72 ExchangeType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
73};
74bool ExchangeType_IsValid(int value);
78
79const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ExchangeType_descriptor();
80template<typename T>
81inline const std::string& ExchangeType_Name(T enum_t_value) {
82 static_assert(::std::is_same<T, ExchangeType>::value ||
83 ::std::is_integral<T>::value,
84 "Incorrect type passed to function ExchangeType_Name.");
85 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
86 ExchangeType_descriptor(), enum_t_value);
87}
89 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExchangeType* value) {
90 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ExchangeType>(
91 ExchangeType_descriptor(), name, value);
92}
93enum DeliveryMode : int {
97 DeliveryMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
98 DeliveryMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
99};
100bool DeliveryMode_IsValid(int value);
104
105const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DeliveryMode_descriptor();
106template<typename T>
107inline const std::string& DeliveryMode_Name(T enum_t_value) {
108 static_assert(::std::is_same<T, DeliveryMode>::value ||
109 ::std::is_integral<T>::value,
110 "Incorrect type passed to function DeliveryMode_Name.");
111 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
112 DeliveryMode_descriptor(), enum_t_value);
113}
115 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeliveryMode* value) {
116 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DeliveryMode>(
117 DeliveryMode_descriptor(), name, value);
118}
119// ===================================================================
120
121class BasicProperties final :
122 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:XuMQ.BasicProperties) */ {
123 public:
124 inline BasicProperties() : BasicProperties(nullptr) {}
125 ~BasicProperties() override;
126 explicit PROTOBUF_CONSTEXPR BasicProperties(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
127
128 BasicProperties(const BasicProperties& from);
130 : BasicProperties() {
131 *this = ::std::move(from);
132 }
133
135 CopyFrom(from);
136 return *this;
137 }
138 inline BasicProperties& operator=(BasicProperties&& from) noexcept {
139 if (this == &from) return *this;
140 if (GetOwningArena() == from.GetOwningArena()
141 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
142 && GetOwningArena() != nullptr
143 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
144 ) {
145 InternalSwap(&from);
146 } else {
147 CopyFrom(from);
148 }
149 return *this;
150 }
151
152 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
153 return GetDescriptor();
154 }
155 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
156 return default_instance().GetMetadata().descriptor;
157 }
158 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
159 return default_instance().GetMetadata().reflection;
160 }
163 }
165 return reinterpret_cast<const BasicProperties*>(
167 }
168 static constexpr int kIndexInFileMessages =
169 0;
170
172 a.Swap(&b);
173 }
174 inline void Swap(BasicProperties* other) {
175 if (other == this) return;
176 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
177 if (GetOwningArena() != nullptr &&
178 GetOwningArena() == other->GetOwningArena()) {
179 #else // PROTOBUF_FORCE_COPY_IN_SWAP
180 if (GetOwningArena() == other->GetOwningArena()) {
181 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
182 InternalSwap(other);
183 } else {
184 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
185 }
186 }
188 if (other == this) return;
189 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
190 InternalSwap(other);
191 }
192
193 // implements Message ----------------------------------------------
194
195 BasicProperties* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
196 return CreateMaybeMessage<BasicProperties>(arena);
197 }
198 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
199 void CopyFrom(const BasicProperties& from);
200 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
201 void MergeFrom( const BasicProperties& from) {
202 BasicProperties::MergeImpl(*this, from);
203 }
204 private:
205 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
206 public:
207 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
208 bool IsInitialized() const final;
209
210 size_t ByteSizeLong() const final;
211 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
212 uint8_t* _InternalSerialize(
213 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
214 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
215
216 private:
217 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
218 void SharedDtor();
219 void SetCachedSize(int size) const final;
220 void InternalSwap(BasicProperties* other);
221
222 private:
223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
225 return "XuMQ.BasicProperties";
226 }
227 protected:
228 explicit BasicProperties(::PROTOBUF_NAMESPACE_ID::Arena* arena,
229 bool is_message_owned = false);
230 public:
231
232 static const ClassData _class_data_;
233 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
234
235 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
236
237 // nested types ----------------------------------------------------
238
239 // accessors -------------------------------------------------------
240
241 enum : int {
245 };
246 // string id = 1;
247 void clear_id();
248 const std::string& id() const;
249 template <typename ArgT0 = const std::string&, typename... ArgT>
250 void set_id(ArgT0&& arg0, ArgT... args);
251 std::string* mutable_id();
252 PROTOBUF_NODISCARD std::string* release_id();
253 void set_allocated_id(std::string* id);
254 private:
255 const std::string& _internal_id() const;
256 inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
257 std::string* _internal_mutable_id();
258 public:
259
260 // string routing_key = 3;
261 void clear_routing_key();
262 const std::string& routing_key() const;
263 template <typename ArgT0 = const std::string&, typename... ArgT>
264 void set_routing_key(ArgT0&& arg0, ArgT... args);
265 std::string* mutable_routing_key();
266 PROTOBUF_NODISCARD std::string* release_routing_key();
267 void set_allocated_routing_key(std::string* routing_key);
268 private:
269 const std::string& _internal_routing_key() const;
270 inline PROTOBUF_ALWAYS_INLINE void _internal_set_routing_key(const std::string& value);
271 std::string* _internal_mutable_routing_key();
272 public:
273
274 // .XuMQ.DeliveryMode delivery_mode = 2;
275 void clear_delivery_mode();
278 private:
281 public:
282
283 // @@protoc_insertion_point(class_scope:XuMQ.BasicProperties)
284 private:
285 class _Internal;
286
287 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 struct Impl_ {
291 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_;
292 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routing_key_;
294 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
295 };
296 union { Impl_ _impl_; };
297 friend struct ::TableStruct_msg_2eproto;
298};
299// -------------------------------------------------------------------
300
301class Message_Payload final :
302 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:XuMQ.Message.Payload) */ {
303 public:
304 inline Message_Payload() : Message_Payload(nullptr) {}
305 ~Message_Payload() override;
306 explicit PROTOBUF_CONSTEXPR Message_Payload(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
307
308 Message_Payload(const Message_Payload& from);
310 : Message_Payload() {
311 *this = ::std::move(from);
312 }
313
315 CopyFrom(from);
316 return *this;
317 }
318 inline Message_Payload& operator=(Message_Payload&& from) noexcept {
319 if (this == &from) return *this;
320 if (GetOwningArena() == from.GetOwningArena()
321 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
322 && GetOwningArena() != nullptr
323 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
324 ) {
325 InternalSwap(&from);
326 } else {
327 CopyFrom(from);
328 }
329 return *this;
330 }
331
332 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
333 return GetDescriptor();
334 }
335 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
336 return default_instance().GetMetadata().descriptor;
337 }
338 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
339 return default_instance().GetMetadata().reflection;
340 }
342 return *internal_default_instance();
343 }
345 return reinterpret_cast<const Message_Payload*>(
347 }
348 static constexpr int kIndexInFileMessages =
349 1;
350
352 a.Swap(&b);
353 }
354 inline void Swap(Message_Payload* other) {
355 if (other == this) return;
356 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
357 if (GetOwningArena() != nullptr &&
358 GetOwningArena() == other->GetOwningArena()) {
359 #else // PROTOBUF_FORCE_COPY_IN_SWAP
360 if (GetOwningArena() == other->GetOwningArena()) {
361 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
362 InternalSwap(other);
363 } else {
364 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
365 }
366 }
368 if (other == this) return;
369 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
370 InternalSwap(other);
371 }
372
373 // implements Message ----------------------------------------------
374
375 Message_Payload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
376 return CreateMaybeMessage<Message_Payload>(arena);
377 }
378 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
379 void CopyFrom(const Message_Payload& from);
380 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
381 void MergeFrom( const Message_Payload& from) {
382 Message_Payload::MergeImpl(*this, from);
383 }
384 private:
385 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
386 public:
387 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
388 bool IsInitialized() const final;
389
390 size_t ByteSizeLong() const final;
391 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
392 uint8_t* _InternalSerialize(
393 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
394 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
395
396 private:
397 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
398 void SharedDtor();
399 void SetCachedSize(int size) const final;
400 void InternalSwap(Message_Payload* other);
401
402 private:
403 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
404 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
405 return "XuMQ.Message.Payload";
406 }
407 protected:
408 explicit Message_Payload(::PROTOBUF_NAMESPACE_ID::Arena* arena,
409 bool is_message_owned = false);
410 public:
411
412 static const ClassData _class_data_;
413 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
414
415 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
416
417 // nested types ----------------------------------------------------
418
419 // accessors -------------------------------------------------------
420
421 enum : int {
422 kBodyFieldNumber = 2,
423 kValidFieldNumber = 3,
424 kPropertiesFieldNumber = 1,
425 };
426 // string body = 2;
427 void clear_body();
428 const std::string& body() const;
429 template <typename ArgT0 = const std::string&, typename... ArgT>
430 void set_body(ArgT0&& arg0, ArgT... args);
431 std::string* mutable_body();
432 PROTOBUF_NODISCARD std::string* release_body();
433 void set_allocated_body(std::string* body);
434 private:
435 const std::string& _internal_body() const;
436 inline PROTOBUF_ALWAYS_INLINE void _internal_set_body(const std::string& value);
437 std::string* _internal_mutable_body();
438 public:
439
440 // string valid = 3;
441 void clear_valid();
442 const std::string& valid() const;
443 template <typename ArgT0 = const std::string&, typename... ArgT>
444 void set_valid(ArgT0&& arg0, ArgT... args);
445 std::string* mutable_valid();
446 PROTOBUF_NODISCARD std::string* release_valid();
447 void set_allocated_valid(std::string* valid);
448 private:
449 const std::string& _internal_valid() const;
450 inline PROTOBUF_ALWAYS_INLINE void _internal_set_valid(const std::string& value);
451 std::string* _internal_mutable_valid();
452 public:
453
454 // .XuMQ.BasicProperties properties = 1;
455 bool has_properties() const;
456 private:
457 bool _internal_has_properties() const;
458 public:
459 void clear_properties();
460 const ::XuMQ::BasicProperties& properties() const;
461 PROTOBUF_NODISCARD ::XuMQ::BasicProperties* release_properties();
462 ::XuMQ::BasicProperties* mutable_properties();
463 void set_allocated_properties(::XuMQ::BasicProperties* properties);
464 private:
465 const ::XuMQ::BasicProperties& _internal_properties() const;
466 ::XuMQ::BasicProperties* _internal_mutable_properties();
467 public:
468 void unsafe_arena_set_allocated_properties(
469 ::XuMQ::BasicProperties* properties);
470 ::XuMQ::BasicProperties* unsafe_arena_release_properties();
471
472 // @@protoc_insertion_point(class_scope:XuMQ.Message.Payload)
473 private:
474 class _Internal;
475
476 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
479 struct Impl_ {
480 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_;
481 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr valid_;
483 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
484 };
485 union { Impl_ _impl_; };
486 friend struct ::TableStruct_msg_2eproto;
487};
488// -------------------------------------------------------------------
489
490class Message final :
491 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:XuMQ.Message) */ {
492 public:
493 inline Message() : Message(nullptr) {}
494 ~Message() override;
495 explicit PROTOBUF_CONSTEXPR Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
496
497 Message(const Message& from);
498 Message(Message&& from) noexcept
499 : Message() {
500 *this = ::std::move(from);
501 }
502
503 inline Message& operator=(const Message& from) {
504 CopyFrom(from);
505 return *this;
506 }
507 inline Message& operator=(Message&& from) noexcept {
508 if (this == &from) return *this;
509 if (GetOwningArena() == from.GetOwningArena()
510 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
511 && GetOwningArena() != nullptr
512 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
513 ) {
514 InternalSwap(&from);
515 } else {
516 CopyFrom(from);
517 }
518 return *this;
519 }
520
521 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
522 return GetDescriptor();
523 }
524 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
525 return default_instance().GetMetadata().descriptor;
526 }
527 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
528 return default_instance().GetMetadata().reflection;
529 }
530 static const Message& default_instance() {
531 return *internal_default_instance();
532 }
533 static inline const Message* internal_default_instance() {
534 return reinterpret_cast<const Message*>(
536 }
537 static constexpr int kIndexInFileMessages =
538 2;
539
540 friend void swap(Message& a, Message& b) {
541 a.Swap(&b);
542 }
543 inline void Swap(Message* other) {
544 if (other == this) return;
545 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
546 if (GetOwningArena() != nullptr &&
547 GetOwningArena() == other->GetOwningArena()) {
548 #else // PROTOBUF_FORCE_COPY_IN_SWAP
549 if (GetOwningArena() == other->GetOwningArena()) {
550 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
551 InternalSwap(other);
552 } else {
553 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
554 }
555 }
557 if (other == this) return;
558 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
559 InternalSwap(other);
560 }
561
562 // implements Message ----------------------------------------------
563
564 Message* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
565 return CreateMaybeMessage<Message>(arena);
566 }
567 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
568 void CopyFrom(const Message& from);
569 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
570 void MergeFrom( const Message& from) {
571 Message::MergeImpl(*this, from);
572 }
573 private:
574 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
575 public:
576 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
577 bool IsInitialized() const final;
578
579 size_t ByteSizeLong() const final;
580 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
581 uint8_t* _InternalSerialize(
582 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
583 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
584
585 private:
586 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
587 void SharedDtor();
588 void SetCachedSize(int size) const final;
589 void InternalSwap(Message* other);
590
591 private:
592 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
593 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
594 return "XuMQ.Message";
595 }
596 protected:
597 explicit Message(::PROTOBUF_NAMESPACE_ID::Arena* arena,
598 bool is_message_owned = false);
599 public:
600
601 static const ClassData _class_data_;
602 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
603
604 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
605
606 // nested types ----------------------------------------------------
607
609
610 // accessors -------------------------------------------------------
611
612 enum : int {
613 kPayloadFieldNumber = 1,
614 kOffsetFieldNumber = 2,
615 kLengthFieldNumber = 3,
616 };
617 // .XuMQ.Message.Payload payload = 1;
618 bool has_payload() const;
619 private:
620 bool _internal_has_payload() const;
621 public:
622 void clear_payload();
623 const ::XuMQ::Message_Payload& payload() const;
624 PROTOBUF_NODISCARD ::XuMQ::Message_Payload* release_payload();
625 ::XuMQ::Message_Payload* mutable_payload();
626 void set_allocated_payload(::XuMQ::Message_Payload* payload);
627 private:
628 const ::XuMQ::Message_Payload& _internal_payload() const;
629 ::XuMQ::Message_Payload* _internal_mutable_payload();
630 public:
631 void unsafe_arena_set_allocated_payload(
632 ::XuMQ::Message_Payload* payload);
633 ::XuMQ::Message_Payload* unsafe_arena_release_payload();
634
635 // uint32 offset = 2;
636 void clear_offset();
637 uint32_t offset() const;
638 void set_offset(uint32_t value);
639 private:
640 uint32_t _internal_offset() const;
641 void _internal_set_offset(uint32_t value);
642 public:
643
644 // uint32 length = 3;
645 void clear_length();
646 uint32_t length() const;
647 void set_length(uint32_t value);
648 private:
649 uint32_t _internal_length() const;
650 void _internal_set_length(uint32_t value);
651 public:
652
653 // @@protoc_insertion_point(class_scope:XuMQ.Message)
654 private:
655 class _Internal;
656
657 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
660 struct Impl_ {
662 uint32_t offset_;
663 uint32_t length_;
664 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
665 };
666 union { Impl_ _impl_; };
667 friend struct ::TableStruct_msg_2eproto;
668};
669// ===================================================================
670
671
672// ===================================================================
673
674#ifdef __GNUC__
675 #pragma GCC diagnostic push
676 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
677#endif // __GNUC__
678// BasicProperties
679
680// string id = 1;
681inline void BasicProperties::clear_id() {
682 _impl_.id_.ClearToEmpty();
683}
684inline const std::string& BasicProperties::id() const {
685 // @@protoc_insertion_point(field_get:XuMQ.BasicProperties.id)
686 return _internal_id();
687}
688template <typename ArgT0, typename... ArgT>
689inline PROTOBUF_ALWAYS_INLINE
690void BasicProperties::set_id(ArgT0&& arg0, ArgT... args) {
691
692 _impl_.id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
693 // @@protoc_insertion_point(field_set:XuMQ.BasicProperties.id)
694}
695inline std::string* BasicProperties::mutable_id() {
696 std::string* _s = _internal_mutable_id();
697 // @@protoc_insertion_point(field_mutable:XuMQ.BasicProperties.id)
698 return _s;
699}
700inline const std::string& BasicProperties::_internal_id() const {
701 return _impl_.id_.Get();
702}
703inline void BasicProperties::_internal_set_id(const std::string& value) {
704
705 _impl_.id_.Set(value, GetArenaForAllocation());
706}
707inline std::string* BasicProperties::_internal_mutable_id() {
708
709 return _impl_.id_.Mutable(GetArenaForAllocation());
710}
711inline std::string* BasicProperties::release_id() {
712 // @@protoc_insertion_point(field_release:XuMQ.BasicProperties.id)
713 return _impl_.id_.Release();
714}
715inline void BasicProperties::set_allocated_id(std::string* id) {
716 if (id != nullptr) {
717
718 } else {
719
720 }
721 _impl_.id_.SetAllocated(id, GetArenaForAllocation());
722#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
723 if (_impl_.id_.IsDefault()) {
724 _impl_.id_.Set("", GetArenaForAllocation());
725 }
726#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
727 // @@protoc_insertion_point(field_set_allocated:XuMQ.BasicProperties.id)
728}
729
730// .XuMQ.DeliveryMode delivery_mode = 2;
731inline void BasicProperties::clear_delivery_mode() {
732 _impl_.delivery_mode_ = 0;
733}
734inline ::XuMQ::DeliveryMode BasicProperties::_internal_delivery_mode() const {
735 return static_cast< ::XuMQ::DeliveryMode >(_impl_.delivery_mode_);
736}
737inline ::XuMQ::DeliveryMode BasicProperties::delivery_mode() const {
738 // @@protoc_insertion_point(field_get:XuMQ.BasicProperties.delivery_mode)
739 return _internal_delivery_mode();
740}
741inline void BasicProperties::_internal_set_delivery_mode(::XuMQ::DeliveryMode value) {
742
743 _impl_.delivery_mode_ = value;
744}
745inline void BasicProperties::set_delivery_mode(::XuMQ::DeliveryMode value) {
746 _internal_set_delivery_mode(value);
747 // @@protoc_insertion_point(field_set:XuMQ.BasicProperties.delivery_mode)
748}
749
750// string routing_key = 3;
751inline void BasicProperties::clear_routing_key() {
752 _impl_.routing_key_.ClearToEmpty();
753}
754inline const std::string& BasicProperties::routing_key() const {
755 // @@protoc_insertion_point(field_get:XuMQ.BasicProperties.routing_key)
756 return _internal_routing_key();
757}
758template <typename ArgT0, typename... ArgT>
759inline PROTOBUF_ALWAYS_INLINE
760void BasicProperties::set_routing_key(ArgT0&& arg0, ArgT... args) {
761
762 _impl_.routing_key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
763 // @@protoc_insertion_point(field_set:XuMQ.BasicProperties.routing_key)
764}
765inline std::string* BasicProperties::mutable_routing_key() {
766 std::string* _s = _internal_mutable_routing_key();
767 // @@protoc_insertion_point(field_mutable:XuMQ.BasicProperties.routing_key)
768 return _s;
769}
770inline const std::string& BasicProperties::_internal_routing_key() const {
771 return _impl_.routing_key_.Get();
772}
773inline void BasicProperties::_internal_set_routing_key(const std::string& value) {
774
775 _impl_.routing_key_.Set(value, GetArenaForAllocation());
776}
777inline std::string* BasicProperties::_internal_mutable_routing_key() {
778
779 return _impl_.routing_key_.Mutable(GetArenaForAllocation());
780}
781inline std::string* BasicProperties::release_routing_key() {
782 // @@protoc_insertion_point(field_release:XuMQ.BasicProperties.routing_key)
783 return _impl_.routing_key_.Release();
784}
785inline void BasicProperties::set_allocated_routing_key(std::string* routing_key) {
786 if (routing_key != nullptr) {
787
788 } else {
789
790 }
791 _impl_.routing_key_.SetAllocated(routing_key, GetArenaForAllocation());
792#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
793 if (_impl_.routing_key_.IsDefault()) {
794 _impl_.routing_key_.Set("", GetArenaForAllocation());
795 }
796#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
797 // @@protoc_insertion_point(field_set_allocated:XuMQ.BasicProperties.routing_key)
798}
799
800// -------------------------------------------------------------------
801
802// Message_Payload
803
804// .XuMQ.BasicProperties properties = 1;
805inline bool Message_Payload::_internal_has_properties() const {
806 return this != internal_default_instance() && _impl_.properties_ != nullptr;
807}
808inline bool Message_Payload::has_properties() const {
809 return _internal_has_properties();
810}
811inline void Message_Payload::clear_properties() {
812 if (GetArenaForAllocation() == nullptr && _impl_.properties_ != nullptr) {
813 delete _impl_.properties_;
814 }
815 _impl_.properties_ = nullptr;
816}
817inline const ::XuMQ::BasicProperties& Message_Payload::_internal_properties() const {
818 const ::XuMQ::BasicProperties* p = _impl_.properties_;
819 return p != nullptr ? *p : reinterpret_cast<const ::XuMQ::BasicProperties&>(
821}
822inline const ::XuMQ::BasicProperties& Message_Payload::properties() const {
823 // @@protoc_insertion_point(field_get:XuMQ.Message.Payload.properties)
824 return _internal_properties();
825}
826inline void Message_Payload::unsafe_arena_set_allocated_properties(
827 ::XuMQ::BasicProperties* properties) {
828 if (GetArenaForAllocation() == nullptr) {
829 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.properties_);
830 }
831 _impl_.properties_ = properties;
832 if (properties) {
833
834 } else {
835
836 }
837 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:XuMQ.Message.Payload.properties)
838}
839inline ::XuMQ::BasicProperties* Message_Payload::release_properties() {
840
841 ::XuMQ::BasicProperties* temp = _impl_.properties_;
842 _impl_.properties_ = nullptr;
843#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
844 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
845 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
846 if (GetArenaForAllocation() == nullptr) { delete old; }
847#else // PROTOBUF_FORCE_COPY_IN_RELEASE
848 if (GetArenaForAllocation() != nullptr) {
849 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
850 }
851#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
852 return temp;
853}
854inline ::XuMQ::BasicProperties* Message_Payload::unsafe_arena_release_properties() {
855 // @@protoc_insertion_point(field_release:XuMQ.Message.Payload.properties)
856
857 ::XuMQ::BasicProperties* temp = _impl_.properties_;
858 _impl_.properties_ = nullptr;
859 return temp;
860}
861inline ::XuMQ::BasicProperties* Message_Payload::_internal_mutable_properties() {
862
863 if (_impl_.properties_ == nullptr) {
864 auto* p = CreateMaybeMessage<::XuMQ::BasicProperties>(GetArenaForAllocation());
865 _impl_.properties_ = p;
866 }
867 return _impl_.properties_;
868}
869inline ::XuMQ::BasicProperties* Message_Payload::mutable_properties() {
870 ::XuMQ::BasicProperties* _msg = _internal_mutable_properties();
871 // @@protoc_insertion_point(field_mutable:XuMQ.Message.Payload.properties)
872 return _msg;
873}
874inline void Message_Payload::set_allocated_properties(::XuMQ::BasicProperties* properties) {
875 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
876 if (message_arena == nullptr) {
877 delete _impl_.properties_;
878 }
879 if (properties) {
880 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
881 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(properties);
882 if (message_arena != submessage_arena) {
883 properties = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
884 message_arena, properties, submessage_arena);
885 }
886
887 } else {
888
889 }
890 _impl_.properties_ = properties;
891 // @@protoc_insertion_point(field_set_allocated:XuMQ.Message.Payload.properties)
892}
893
894// string body = 2;
895inline void Message_Payload::clear_body() {
896 _impl_.body_.ClearToEmpty();
897}
898inline const std::string& Message_Payload::body() const {
899 // @@protoc_insertion_point(field_get:XuMQ.Message.Payload.body)
900 return _internal_body();
901}
902template <typename ArgT0, typename... ArgT>
903inline PROTOBUF_ALWAYS_INLINE
904void Message_Payload::set_body(ArgT0&& arg0, ArgT... args) {
905
906 _impl_.body_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
907 // @@protoc_insertion_point(field_set:XuMQ.Message.Payload.body)
908}
909inline std::string* Message_Payload::mutable_body() {
910 std::string* _s = _internal_mutable_body();
911 // @@protoc_insertion_point(field_mutable:XuMQ.Message.Payload.body)
912 return _s;
913}
914inline const std::string& Message_Payload::_internal_body() const {
915 return _impl_.body_.Get();
916}
917inline void Message_Payload::_internal_set_body(const std::string& value) {
918
919 _impl_.body_.Set(value, GetArenaForAllocation());
920}
921inline std::string* Message_Payload::_internal_mutable_body() {
922
923 return _impl_.body_.Mutable(GetArenaForAllocation());
924}
925inline std::string* Message_Payload::release_body() {
926 // @@protoc_insertion_point(field_release:XuMQ.Message.Payload.body)
927 return _impl_.body_.Release();
928}
929inline void Message_Payload::set_allocated_body(std::string* body) {
930 if (body != nullptr) {
931
932 } else {
933
934 }
935 _impl_.body_.SetAllocated(body, GetArenaForAllocation());
936#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
937 if (_impl_.body_.IsDefault()) {
938 _impl_.body_.Set("", GetArenaForAllocation());
939 }
940#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
941 // @@protoc_insertion_point(field_set_allocated:XuMQ.Message.Payload.body)
942}
943
944// string valid = 3;
945inline void Message_Payload::clear_valid() {
946 _impl_.valid_.ClearToEmpty();
947}
948inline const std::string& Message_Payload::valid() const {
949 // @@protoc_insertion_point(field_get:XuMQ.Message.Payload.valid)
950 return _internal_valid();
951}
952template <typename ArgT0, typename... ArgT>
953inline PROTOBUF_ALWAYS_INLINE
954void Message_Payload::set_valid(ArgT0&& arg0, ArgT... args) {
955
956 _impl_.valid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
957 // @@protoc_insertion_point(field_set:XuMQ.Message.Payload.valid)
958}
959inline std::string* Message_Payload::mutable_valid() {
960 std::string* _s = _internal_mutable_valid();
961 // @@protoc_insertion_point(field_mutable:XuMQ.Message.Payload.valid)
962 return _s;
963}
964inline const std::string& Message_Payload::_internal_valid() const {
965 return _impl_.valid_.Get();
966}
967inline void Message_Payload::_internal_set_valid(const std::string& value) {
968
969 _impl_.valid_.Set(value, GetArenaForAllocation());
970}
971inline std::string* Message_Payload::_internal_mutable_valid() {
972
973 return _impl_.valid_.Mutable(GetArenaForAllocation());
974}
975inline std::string* Message_Payload::release_valid() {
976 // @@protoc_insertion_point(field_release:XuMQ.Message.Payload.valid)
977 return _impl_.valid_.Release();
978}
979inline void Message_Payload::set_allocated_valid(std::string* valid) {
980 if (valid != nullptr) {
981
982 } else {
983
984 }
985 _impl_.valid_.SetAllocated(valid, GetArenaForAllocation());
986#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
987 if (_impl_.valid_.IsDefault()) {
988 _impl_.valid_.Set("", GetArenaForAllocation());
989 }
990#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
991 // @@protoc_insertion_point(field_set_allocated:XuMQ.Message.Payload.valid)
992}
993
994// -------------------------------------------------------------------
995
996// Message
997
998// .XuMQ.Message.Payload payload = 1;
999inline bool Message::_internal_has_payload() const {
1000 return this != internal_default_instance() && _impl_.payload_ != nullptr;
1001}
1002inline bool Message::has_payload() const {
1003 return _internal_has_payload();
1004}
1005inline void Message::clear_payload() {
1006 if (GetArenaForAllocation() == nullptr && _impl_.payload_ != nullptr) {
1007 delete _impl_.payload_;
1008 }
1009 _impl_.payload_ = nullptr;
1010}
1011inline const ::XuMQ::Message_Payload& Message::_internal_payload() const {
1012 const ::XuMQ::Message_Payload* p = _impl_.payload_;
1013 return p != nullptr ? *p : reinterpret_cast<const ::XuMQ::Message_Payload&>(
1015}
1016inline const ::XuMQ::Message_Payload& Message::payload() const {
1017 // @@protoc_insertion_point(field_get:XuMQ.Message.payload)
1018 return _internal_payload();
1019}
1020inline void Message::unsafe_arena_set_allocated_payload(
1021 ::XuMQ::Message_Payload* payload) {
1022 if (GetArenaForAllocation() == nullptr) {
1023 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.payload_);
1024 }
1025 _impl_.payload_ = payload;
1026 if (payload) {
1027
1028 } else {
1029
1030 }
1031 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:XuMQ.Message.payload)
1032}
1033inline ::XuMQ::Message_Payload* Message::release_payload() {
1034
1035 ::XuMQ::Message_Payload* temp = _impl_.payload_;
1036 _impl_.payload_ = nullptr;
1037#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1038 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1039 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1040 if (GetArenaForAllocation() == nullptr) { delete old; }
1041#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1042 if (GetArenaForAllocation() != nullptr) {
1043 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1044 }
1045#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1046 return temp;
1047}
1048inline ::XuMQ::Message_Payload* Message::unsafe_arena_release_payload() {
1049 // @@protoc_insertion_point(field_release:XuMQ.Message.payload)
1050
1051 ::XuMQ::Message_Payload* temp = _impl_.payload_;
1052 _impl_.payload_ = nullptr;
1053 return temp;
1054}
1055inline ::XuMQ::Message_Payload* Message::_internal_mutable_payload() {
1056
1057 if (_impl_.payload_ == nullptr) {
1058 auto* p = CreateMaybeMessage<::XuMQ::Message_Payload>(GetArenaForAllocation());
1059 _impl_.payload_ = p;
1060 }
1061 return _impl_.payload_;
1062}
1063inline ::XuMQ::Message_Payload* Message::mutable_payload() {
1064 ::XuMQ::Message_Payload* _msg = _internal_mutable_payload();
1065 // @@protoc_insertion_point(field_mutable:XuMQ.Message.payload)
1066 return _msg;
1067}
1068inline void Message::set_allocated_payload(::XuMQ::Message_Payload* payload) {
1069 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1070 if (message_arena == nullptr) {
1071 delete _impl_.payload_;
1072 }
1073 if (payload) {
1074 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1075 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(payload);
1076 if (message_arena != submessage_arena) {
1077 payload = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1078 message_arena, payload, submessage_arena);
1079 }
1080
1081 } else {
1082
1083 }
1084 _impl_.payload_ = payload;
1085 // @@protoc_insertion_point(field_set_allocated:XuMQ.Message.payload)
1086}
1087
1088// uint32 offset = 2;
1089inline void Message::clear_offset() {
1090 _impl_.offset_ = 0u;
1091}
1092inline uint32_t Message::_internal_offset() const {
1093 return _impl_.offset_;
1094}
1095inline uint32_t Message::offset() const {
1096 // @@protoc_insertion_point(field_get:XuMQ.Message.offset)
1097 return _internal_offset();
1098}
1099inline void Message::_internal_set_offset(uint32_t value) {
1100
1101 _impl_.offset_ = value;
1102}
1103inline void Message::set_offset(uint32_t value) {
1104 _internal_set_offset(value);
1105 // @@protoc_insertion_point(field_set:XuMQ.Message.offset)
1106}
1107
1108// uint32 length = 3;
1109inline void Message::clear_length() {
1110 _impl_.length_ = 0u;
1111}
1112inline uint32_t Message::_internal_length() const {
1113 return _impl_.length_;
1114}
1115inline uint32_t Message::length() const {
1116 // @@protoc_insertion_point(field_get:XuMQ.Message.length)
1117 return _internal_length();
1118}
1119inline void Message::_internal_set_length(uint32_t value) {
1120
1121 _impl_.length_ = value;
1122}
1123inline void Message::set_length(uint32_t value) {
1124 _internal_set_length(value);
1125 // @@protoc_insertion_point(field_set:XuMQ.Message.length)
1126}
1127
1128#ifdef __GNUC__
1129 #pragma GCC diagnostic pop
1130#endif // __GNUC__
1131// -------------------------------------------------------------------
1132
1133// -------------------------------------------------------------------
1134
1135
1136// @@protoc_insertion_point(namespace_scope)
1137
1138} // namespace XuMQ
1139
1140PROTOBUF_NAMESPACE_OPEN
1141
1142template <> struct is_proto_enum< ::XuMQ::ExchangeType> : ::std::true_type {};
1143template <>
1144inline const EnumDescriptor* GetEnumDescriptor< ::XuMQ::ExchangeType>() {
1145 return ::XuMQ::ExchangeType_descriptor();
1146}
1147template <> struct is_proto_enum< ::XuMQ::DeliveryMode> : ::std::true_type {};
1148template <>
1149inline const EnumDescriptor* GetEnumDescriptor< ::XuMQ::DeliveryMode>() {
1150 return ::XuMQ::DeliveryMode_descriptor();
1151}
1152
1153PROTOBUF_NAMESPACE_CLOSE
1154
1155// @@protoc_insertion_point(global_scope)
1156
1157#include <google/protobuf/port_undef.inc>
1158#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_msg_2eproto
Definition msg.pb.cc:178
Definition msg.pb.h:122
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition msg.pb.h:155
void clear_routing_key()
Definition msg.pb.h:751
PROTOBUF_NODISCARD std::string * release_routing_key()
Definition msg.pb.h:781
bool IsInitialized() const final
Definition msg.pb.cc:433
static const ClassData _class_data_
Definition msg.pb.h:232
void MergeFrom(const BasicProperties &from)
Definition msg.pb.h:201
void InternalSwap(BasicProperties *other)
Definition msg.pb.cc:437
void _internal_set_delivery_mode(::XuMQ::DeliveryMode value)
Definition msg.pb.h:741
void set_routing_key(ArgT0 &&arg0, ArgT... args)
static const BasicProperties * internal_default_instance()
Definition msg.pb.h:164
BasicProperties & operator=(const BasicProperties &from)
Definition msg.pb.h:134
BasicProperties & operator=(BasicProperties &&from) noexcept
Definition msg.pb.h:138
void UnsafeArenaSwap(BasicProperties *other)
Definition msg.pb.h:187
BasicProperties(BasicProperties &&from) noexcept
Definition msg.pb.h:129
void set_id(ArgT0 &&arg0, ArgT... args)
std::string * _internal_mutable_routing_key()
Definition msg.pb.h:777
BasicProperties()
Definition msg.pb.h:124
::XuMQ::DeliveryMode _internal_delivery_mode() const
Definition msg.pb.h:734
void InternalArenaConstructable_
Definition msg.pb.h:288
std::string * mutable_routing_key()
Definition msg.pb.h:765
static const BasicProperties & default_instance()
Definition msg.pb.h:161
void set_allocated_routing_key(std::string *routing_key)
Definition msg.pb.h:785
PROTOBUF_ALWAYS_INLINE void _internal_set_routing_key(const std::string &value)
Definition msg.pb.h:773
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition msg.pb.cc:269
PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string &value)
Definition msg.pb.h:703
const std::string & _internal_routing_key() const
Definition msg.pb.h:770
::XuMQ::DeliveryMode delivery_mode() const
Definition msg.pb.h:737
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition msg.pb.h:158
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message &to_msg, const ::PROTOBUF_NAMESPACE_ID::Message &from_msg)
Definition msg.pb.cc:406
size_t ByteSizeLong() const final
Definition msg.pb.cc:368
std::string * _internal_mutable_id()
Definition msg.pb.h:707
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition msg.pb.cc:453
const std::string & id() const
Definition msg.pb.h:684
const std::string & routing_key() const
Definition msg.pb.h:754
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition msg.pb.cc:403
@ kDeliveryModeFieldNumber
Definition msg.pb.h:244
@ kIdFieldNumber
Definition msg.pb.h:242
@ kRoutingKeyFieldNumber
Definition msg.pb.h:243
BasicProperties * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition msg.pb.h:195
void set_delivery_mode(::XuMQ::DeliveryMode value)
Definition msg.pb.h:745
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition msg.pb.cc:327
void clear_id()
Definition msg.pb.h:681
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition msg.pb.cc:257
void set_allocated_id(std::string *id)
Definition msg.pb.h:715
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition msg.pb.h:224
void SetCachedSize(int size) const final
Definition msg.pb.cc:253
static constexpr int kIndexInFileMessages
Definition msg.pb.h:168
PROTOBUF_CONSTEXPR BasicProperties(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
std::string * mutable_id()
Definition msg.pb.h:695
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition msg.pb.h:152
void clear_delivery_mode()
Definition msg.pb.h:731
PROTOBUF_NODISCARD std::string * release_id()
Definition msg.pb.h:711
void SharedDtor()
Definition msg.pb.cc:247
friend void swap(BasicProperties &a, BasicProperties &b)
Definition msg.pb.h:171
void Swap(BasicProperties *other)
Definition msg.pb.h:174
void CopyFrom(const BasicProperties &from)
Definition msg.pb.cc:426
~BasicProperties() override
Definition msg.pb.cc:238
int GetCachedSize() const final
Definition msg.pb.h:214
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
Definition msg.pb.cc:218
void DestructorSkippable_
Definition msg.pb.h:289
const std::string & _internal_id() const
Definition msg.pb.h:700
Impl_ _impl_
Definition msg.pb.h:296
Definition msg.pb.cc:461
Definition msg.pb.h:302
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition msg.pb.h:338
static const Message_Payload & default_instance()
Definition msg.pb.h:341
Message_Payload()
Definition msg.pb.h:304
Impl_ _impl_
Definition msg.pb.h:485
static const Message_Payload * internal_default_instance()
Definition msg.pb.h:344
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition msg.pb.h:335
Message_Payload(Message_Payload &&from) noexcept
Definition msg.pb.h:309
void UnsafeArenaSwap(Message_Payload *other)
Definition msg.pb.h:367
void set_body(ArgT0 &&arg0, ArgT... args)
void Swap(Message_Payload *other)
Definition msg.pb.h:354
void MergeFrom(const Message_Payload &from)
Definition msg.pb.h:381
static const ClassData _class_data_
Definition msg.pb.h:412
PROTOBUF_CONSTEXPR Message_Payload(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_valid(ArgT0 &&arg0, ArgT... args)
void DestructorSkippable_
Definition msg.pb.h:478
friend void swap(Message_Payload &a, Message_Payload &b)
Definition msg.pb.h:351
Message_Payload * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition msg.pb.h:375
Message_Payload & operator=(Message_Payload &&from) noexcept
Definition msg.pb.h:318
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition msg.pb.h:332
Message_Payload & operator=(const Message_Payload &from)
Definition msg.pb.h:314
void InternalArenaConstructable_
Definition msg.pb.h:477
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition msg.pb.h:404
Definition msg.pb.h:491
void MergeFrom(const Message &from)
Definition msg.pb.h:570
Impl_ _impl_
Definition msg.pb.h:666
void UnsafeArenaSwap(Message *other)
Definition msg.pb.h:556
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition msg.pb.h:524
Message * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition msg.pb.h:564
Message()
Definition msg.pb.h:493
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition msg.pb.h:527
static const Message & default_instance()
Definition msg.pb.h:530
friend void swap(Message &a, Message &b)
Definition msg.pb.h:540
static const Message * internal_default_instance()
Definition msg.pb.h:533
void InternalArenaConstructable_
Definition msg.pb.h:658
PROTOBUF_CONSTEXPR Message(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ClassData _class_data_
Definition msg.pb.h:601
void DestructorSkippable_
Definition msg.pb.h:659
Message & operator=(const Message &from)
Definition msg.pb.h:503
Message & operator=(Message &&from) noexcept
Definition msg.pb.h:507
Message(Message &&from) noexcept
Definition msg.pb.h:498
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition msg.pb.h:521
void Swap(Message *other)
Definition msg.pb.h:543
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition msg.pb.h:593
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_msg_2eproto
Definition msg.pb.cc:129
const EnumDescriptor * GetEnumDescriptor< ::XuMQ::ExchangeType >()
Definition msg.pb.h:1144
PROTOBUF_NAMESPACE_OPEN ::XuMQ::BasicProperties * Arena::CreateMaybeMessage<::XuMQ::BasicProperties >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::XuMQ::DeliveryMode >()
Definition msg.pb.h:1149
::XuMQ::Message_Payload * Arena::CreateMaybeMessage<::XuMQ::Message_Payload >(Arena *)
Definition channel.hpp:22
constexpr DeliveryMode DeliveryMode_MIN
Definition msg.pb.h:101
DeliveryMode
Definition msg.pb.h:93
@ UNDURABLE
Definition msg.pb.h:95
@ UNKNOWMODE
Definition msg.pb.h:94
@ DURABLE
Definition msg.pb.h:96
@ DeliveryMode_INT_MIN_SENTINEL_DO_NOT_USE_
Definition msg.pb.h:97
@ DeliveryMode_INT_MAX_SENTINEL_DO_NOT_USE_
Definition msg.pb.h:98
const std::string & ExchangeType_Name(T enum_t_value)
Definition msg.pb.h:81
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ExchangeType_descriptor()
Definition msg.pb.cc:144
bool ExchangeType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExchangeType *value)
Definition msg.pb.h:88
constexpr DeliveryMode DeliveryMode_MAX
Definition msg.pb.h:102
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BasicPropertiesDefaultTypeInternal _BasicProperties_default_instance_
Definition msg.pb.cc:38
ExchangeType
Definition msg.pb.h:66
@ ExchangeType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition msg.pb.h:72
@ UNKNOWTYPE
Definition msg.pb.h:67
@ DIRECT
Definition msg.pb.h:68
@ TOPIC
Definition msg.pb.h:70
@ ExchangeType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition msg.pb.h:71
@ FANOUT
Definition msg.pb.h:69
constexpr int ExchangeType_ARRAYSIZE
Definition msg.pb.h:77
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Message_PayloadDefaultTypeInternal _Message_Payload_default_instance_
Definition msg.pb.cc:53
bool DeliveryMode_IsValid(int value)
Definition msg.pb.cc:164
bool ExchangeType_IsValid(int value)
Definition msg.pb.cc:148
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DeliveryMode_descriptor()
Definition msg.pb.cc:160
constexpr ExchangeType ExchangeType_MAX
Definition msg.pb.h:76
const std::string & DeliveryMode_Name(T enum_t_value)
Definition msg.pb.h:107
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDefaultTypeInternal _Message_default_instance_
Definition msg.pb.cc:68
bool DeliveryMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeliveryMode *value)
Definition msg.pb.h:114
constexpr ExchangeType ExchangeType_MIN
Definition msg.pb.h:75
constexpr int DeliveryMode_ARRAYSIZE
Definition msg.pb.h:103
Definition msg.pb.h:38
Definition msg.pb.h:44
static const uint32_t offsets[]
Definition msg.pb.h:45
Definition msg.pb.h:290
mutable::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition msg.pb.h:294
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr routing_key_
Definition msg.pb.h:292
int delivery_mode_
Definition msg.pb.h:293
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr id_
Definition msg.pb.h:291
Definition msg.pb.h:660
uint32_t length_
Definition msg.pb.h:663
mutable::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition msg.pb.h:664
::XuMQ::Message_Payload * payload_
Definition msg.pb.h:661
uint32_t offset_
Definition msg.pb.h:662
Definition msg.pb.h:479
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr body_
Definition msg.pb.h:480
mutable::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition msg.pb.h:483
::XuMQ::BasicProperties * properties_
Definition msg.pb.h:482
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr valid_
Definition msg.pb.h:481