ExistCpp
ExistMessage.pb.h
浏览该文件的文档.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ExistMessage.proto
3 
4 #ifndef PROTOBUF_ExistMessage_2eproto__INCLUDED
5 #define PROTOBUF_ExistMessage_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3005000
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 3005001 < 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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata.h>
28 #include <google/protobuf/message.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 #include <google/protobuf/generated_enum_reflection.h>
32 #include <google/protobuf/unknown_field_set.h>
33 // @@protoc_insertion_point(includes)
34 
36 // Internal implementation detail -- do not use these members.
37 struct TableStruct {
38  static const ::google::protobuf::internal::ParseTableField entries[];
39  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
40  static const ::google::protobuf::internal::ParseTable schema[3];
41  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
42  static const ::google::protobuf::internal::SerializationTable serialization_table[];
43  static const ::google::protobuf::uint32 offsets[];
44 };
45 void AddDescriptors();
52 inline void InitDefaults() {
56 }
57 } // namespace protobuf_ExistMessage_2eproto
58 namespace com {
59 namespace stupidbeauty {
60 namespace exist {
61 class ExistMessage;
70 } // namespace exist
71 } // namespace stupidbeauty
72 } // namespace com
73 namespace com {
74 namespace stupidbeauty {
75 namespace exist {
76 
85 };
89 const int ServicePublishMessage_ServiceProtocolType_ServiceProtocolType_ARRAYSIZE = ServicePublishMessage_ServiceProtocolType_ServiceProtocolType_MAX + 1;
90 
91 const ::google::protobuf::EnumDescriptor* ServicePublishMessage_ServiceProtocolType_descriptor();
93  return ::google::protobuf::internal::NameOfEnum(
95 }
97  const ::std::string& name, ServicePublishMessage_ServiceProtocolType* value) {
98  return ::google::protobuf::internal::ParseNamedEnum<ServicePublishMessage_ServiceProtocolType>(
100 }
106 };
107 bool ExistMessage_MessageType_IsValid(int value);
110 const int ExistMessage_MessageType_MessageType_ARRAYSIZE = ExistMessage_MessageType_MessageType_MAX + 1;
111 
112 const ::google::protobuf::EnumDescriptor* ExistMessage_MessageType_descriptor();
113 inline const ::std::string& ExistMessage_MessageType_Name(ExistMessage_MessageType value) {
114  return ::google::protobuf::internal::NameOfEnum(
116 }
118  const ::std::string& name, ExistMessage_MessageType* value) {
119  return ::google::protobuf::internal::ParseNamedEnum<ExistMessage_MessageType>(
120  ExistMessage_MessageType_descriptor(), name, value);
121 }
122 // ===================================================================
123 
124 class ServicePublishMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:com.stupidbeauty.exist.ServicePublishMessage) */ {
125  public:
127  virtual ~ServicePublishMessage();
128 
130 
132  CopyFrom(from);
133  return *this;
134  }
135  #if LANG_CXX11
138  *this = ::std::move(from);
139  }
140 
141  inline ServicePublishMessage& operator=(ServicePublishMessage&& from) noexcept {
142  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
143  if (this != &from) InternalSwap(&from);
144  } else {
145  CopyFrom(from);
146  }
147  return *this;
148  }
149  #endif
150  static const ::google::protobuf::Descriptor* descriptor();
151  static const ServicePublishMessage& default_instance();
152 
153  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
155  return reinterpret_cast<const ServicePublishMessage*>(
157  }
158  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
159  0;
160 
161  void Swap(ServicePublishMessage* other);
163  a.Swap(&b);
164  }
165 
166  // implements Message ----------------------------------------------
167 
168  inline ServicePublishMessage* New() const PROTOBUF_FINAL { return New(NULL); }
169 
170  ServicePublishMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
171  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
172  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
173  void CopyFrom(const ServicePublishMessage& from);
174  void MergeFrom(const ServicePublishMessage& from);
175  void Clear() PROTOBUF_FINAL;
176  bool IsInitialized() const PROTOBUF_FINAL;
177 
178  size_t ByteSizeLong() const PROTOBUF_FINAL;
179  bool MergePartialFromCodedStream(
180  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
181  void SerializeWithCachedSizes(
182  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
183  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
184  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
185  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
186  private:
187  void SharedCtor();
188  void SharedDtor();
189  void SetCachedSize(int size) const PROTOBUF_FINAL;
190  void InternalSwap(ServicePublishMessage* other);
191  private:
192  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
193  return NULL;
194  }
195  inline void* MaybeArenaPtr() const {
196  return NULL;
197  }
198  public:
199 
200  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
201 
202  // nested types ----------------------------------------------------
203 
205  static const ServiceProtocolType HTTP =
207  static const ServiceProtocolType UDP =
209  static const ServiceProtocolType MQTT =
211  static const ServiceProtocolType TCP =
213  static const ServiceProtocolType GRPC =
215  static inline bool ServiceProtocolType_IsValid(int value) {
217  }
218  static const ServiceProtocolType ServiceProtocolType_MIN =
220  static const ServiceProtocolType ServiceProtocolType_MAX =
222  static const int ServiceProtocolType_ARRAYSIZE =
224  static inline const ::google::protobuf::EnumDescriptor*
227  }
228  static inline const ::std::string& ServiceProtocolType_Name(ServiceProtocolType value) {
230  }
231  static inline bool ServiceProtocolType_Parse(const ::std::string& name,
232  ServiceProtocolType* value) {
234  }
235 
236  // accessors -------------------------------------------------------
237 
238  // string name = 1;
239  void clear_name();
240  static const int kNameFieldNumber = 1;
241  const ::std::string& name() const;
242  void set_name(const ::std::string& value);
243  #if LANG_CXX11
244  void set_name(::std::string&& value);
245  #endif
246  void set_name(const char* value);
247  void set_name(const char* value, size_t size);
248  ::std::string* mutable_name();
249  ::std::string* release_name();
250  void set_allocated_name(::std::string* name);
251 
252  // int32 port = 2;
253  void clear_port();
254  static const int kPortFieldNumber = 2;
255  ::google::protobuf::int32 port() const;
256  void set_port(::google::protobuf::int32 value);
257 
258  // .com.stupidbeauty.exist.ServicePublishMessage.ServiceProtocolType protocolType = 3;
259  void clear_protocoltype();
260  static const int kProtocolTypeFieldNumber = 3;
263 
264  // @@protoc_insertion_point(class_scope:com.stupidbeauty.exist.ServicePublishMessage)
265  private:
266 
267  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
268  ::google::protobuf::internal::ArenaStringPtr name_;
269  ::google::protobuf::int32 port_;
270  int protocoltype_;
271  mutable int _cached_size_;
272  friend struct ::protobuf_ExistMessage_2eproto::TableStruct;
274 };
275 // -------------------------------------------------------------------
276 
277 class ServiceProbeMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:com.stupidbeauty.exist.ServiceProbeMessage) */ {
278  public:
280  virtual ~ServiceProbeMessage();
281 
283 
285  CopyFrom(from);
286  return *this;
287  }
288  #if LANG_CXX11
290  : ServiceProbeMessage() {
291  *this = ::std::move(from);
292  }
293 
294  inline ServiceProbeMessage& operator=(ServiceProbeMessage&& from) noexcept {
295  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
296  if (this != &from) InternalSwap(&from);
297  } else {
298  CopyFrom(from);
299  }
300  return *this;
301  }
302  #endif
303  static const ::google::protobuf::Descriptor* descriptor();
304  static const ServiceProbeMessage& default_instance();
305 
306  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
308  return reinterpret_cast<const ServiceProbeMessage*>(
310  }
311  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
312  1;
313 
314  void Swap(ServiceProbeMessage* other);
316  a.Swap(&b);
317  }
318 
319  // implements Message ----------------------------------------------
320 
321  inline ServiceProbeMessage* New() const PROTOBUF_FINAL { return New(NULL); }
322 
323  ServiceProbeMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
324  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
325  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
326  void CopyFrom(const ServiceProbeMessage& from);
327  void MergeFrom(const ServiceProbeMessage& from);
328  void Clear() PROTOBUF_FINAL;
329  bool IsInitialized() const PROTOBUF_FINAL;
330 
331  size_t ByteSizeLong() const PROTOBUF_FINAL;
332  bool MergePartialFromCodedStream(
333  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
334  void SerializeWithCachedSizes(
335  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
336  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
337  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
338  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
339  private:
340  void SharedCtor();
341  void SharedDtor();
342  void SetCachedSize(int size) const PROTOBUF_FINAL;
343  void InternalSwap(ServiceProbeMessage* other);
344  private:
345  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
346  return NULL;
347  }
348  inline void* MaybeArenaPtr() const {
349  return NULL;
350  }
351  public:
352 
353  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
354 
355  // nested types ----------------------------------------------------
356 
357  // accessors -------------------------------------------------------
358 
359  // int32 port = 1;
360  void clear_port();
361  static const int kPortFieldNumber = 1;
362  ::google::protobuf::int32 port() const;
363  void set_port(::google::protobuf::int32 value);
364 
365  // @@protoc_insertion_point(class_scope:com.stupidbeauty.exist.ServiceProbeMessage)
366  private:
367 
368  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
369  ::google::protobuf::int32 port_;
370  mutable int _cached_size_;
371  friend struct ::protobuf_ExistMessage_2eproto::TableStruct;
373 };
374 // -------------------------------------------------------------------
375 
376 class ExistMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:com.stupidbeauty.exist.ExistMessage) */ {
377  public:
378  ExistMessage();
379  virtual ~ExistMessage();
380 
381  ExistMessage(const ExistMessage& from);
382 
383  inline ExistMessage& operator=(const ExistMessage& from) {
384  CopyFrom(from);
385  return *this;
386  }
387  #if LANG_CXX11
388  ExistMessage(ExistMessage&& from) noexcept
389  : ExistMessage() {
390  *this = ::std::move(from);
391  }
392 
393  inline ExistMessage& operator=(ExistMessage&& from) noexcept {
394  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
395  if (this != &from) InternalSwap(&from);
396  } else {
397  CopyFrom(from);
398  }
399  return *this;
400  }
401  #endif
402  static const ::google::protobuf::Descriptor* descriptor();
403  static const ExistMessage& default_instance();
404 
405  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
406  static inline const ExistMessage* internal_default_instance() {
407  return reinterpret_cast<const ExistMessage*>(
409  }
410  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
411  2;
412 
413  void Swap(ExistMessage* other);
414  friend void swap(ExistMessage& a, ExistMessage& b) {
415  a.Swap(&b);
416  }
417 
418  // implements Message ----------------------------------------------
419 
420  inline ExistMessage* New() const PROTOBUF_FINAL { return New(NULL); }
421 
422  ExistMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
423  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
424  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
425  void CopyFrom(const ExistMessage& from);
426  void MergeFrom(const ExistMessage& from);
427  void Clear() PROTOBUF_FINAL;
428  bool IsInitialized() const PROTOBUF_FINAL;
429 
430  size_t ByteSizeLong() const PROTOBUF_FINAL;
431  bool MergePartialFromCodedStream(
432  ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
433  void SerializeWithCachedSizes(
434  ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
435  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
436  bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
437  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
438  private:
439  void SharedCtor();
440  void SharedDtor();
441  void SetCachedSize(int size) const PROTOBUF_FINAL;
442  void InternalSwap(ExistMessage* other);
443  private:
444  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
445  return NULL;
446  }
447  inline void* MaybeArenaPtr() const {
448  return NULL;
449  }
450  public:
451 
452  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
453 
454  // nested types ----------------------------------------------------
455 
457  static const MessageType SERVICEPUBLISH =
459  static const MessageType SERVICEPROBE =
461  static inline bool MessageType_IsValid(int value) {
462  return ExistMessage_MessageType_IsValid(value);
463  }
464  static const MessageType MessageType_MIN =
466  static const MessageType MessageType_MAX =
468  static const int MessageType_ARRAYSIZE =
470  static inline const ::google::protobuf::EnumDescriptor*
473  }
474  static inline const ::std::string& MessageType_Name(MessageType value) {
475  return ExistMessage_MessageType_Name(value);
476  }
477  static inline bool MessageType_Parse(const ::std::string& name,
478  MessageType* value) {
479  return ExistMessage_MessageType_Parse(name, value);
480  }
481 
482  // accessors -------------------------------------------------------
483 
484  // .com.stupidbeauty.exist.ServicePublishMessage servicePublishMessage = 2;
485  bool has_servicepublishmessage() const;
486  void clear_servicepublishmessage();
487  static const int kServicePublishMessageFieldNumber = 2;
488  const ::com::stupidbeauty::exist::ServicePublishMessage& servicepublishmessage() const;
489  ::com::stupidbeauty::exist::ServicePublishMessage* release_servicepublishmessage();
490  ::com::stupidbeauty::exist::ServicePublishMessage* mutable_servicepublishmessage();
491  void set_allocated_servicepublishmessage(::com::stupidbeauty::exist::ServicePublishMessage* servicepublishmessage);
492 
493  // .com.stupidbeauty.exist.ServiceProbeMessage serviceProbeMessage = 3;
494  bool has_serviceprobemessage() const;
495  void clear_serviceprobemessage();
496  static const int kServiceProbeMessageFieldNumber = 3;
497  const ::com::stupidbeauty::exist::ServiceProbeMessage& serviceprobemessage() const;
498  ::com::stupidbeauty::exist::ServiceProbeMessage* release_serviceprobemessage();
499  ::com::stupidbeauty::exist::ServiceProbeMessage* mutable_serviceprobemessage();
500  void set_allocated_serviceprobemessage(::com::stupidbeauty::exist::ServiceProbeMessage* serviceprobemessage);
501 
502  // .com.stupidbeauty.exist.ExistMessage.MessageType messageType = 1;
503  void clear_messagetype();
504  static const int kMessageTypeFieldNumber = 1;
506  void set_messagetype(::com::stupidbeauty::exist::ExistMessage_MessageType value);
507 
508  // @@protoc_insertion_point(class_scope:com.stupidbeauty.exist.ExistMessage)
509  private:
510 
511  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
514  int messagetype_;
515  mutable int _cached_size_;
516  friend struct ::protobuf_ExistMessage_2eproto::TableStruct;
518 };
519 // ===================================================================
520 
521 
522 // ===================================================================
523 
524 #ifdef __GNUC__
525  #pragma GCC diagnostic push
526  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
527 #endif // __GNUC__
528 // ServicePublishMessage
529 
530 // string name = 1;
531 inline void ServicePublishMessage::clear_name() {
532  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
533 }
534 inline const ::std::string& ServicePublishMessage::name() const {
535  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ServicePublishMessage.name)
536  return name_.GetNoArena();
537 }
538 inline void ServicePublishMessage::set_name(const ::std::string& value) {
539 
540  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
541  // @@protoc_insertion_point(field_set:com.stupidbeauty.exist.ServicePublishMessage.name)
542 }
543 #if LANG_CXX11
544 inline void ServicePublishMessage::set_name(::std::string&& value) {
545 
546  name_.SetNoArena(
547  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
548  // @@protoc_insertion_point(field_set_rvalue:com.stupidbeauty.exist.ServicePublishMessage.name)
549 }
550 #endif
551 inline void ServicePublishMessage::set_name(const char* value) {
552  GOOGLE_DCHECK(value != NULL);
553 
554  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
555  // @@protoc_insertion_point(field_set_char:com.stupidbeauty.exist.ServicePublishMessage.name)
556 }
557 inline void ServicePublishMessage::set_name(const char* value, size_t size) {
558 
559  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
560  ::std::string(reinterpret_cast<const char*>(value), size));
561  // @@protoc_insertion_point(field_set_pointer:com.stupidbeauty.exist.ServicePublishMessage.name)
562 }
563 inline ::std::string* ServicePublishMessage::mutable_name() {
564 
565  // @@protoc_insertion_point(field_mutable:com.stupidbeauty.exist.ServicePublishMessage.name)
566  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
567 }
568 inline ::std::string* ServicePublishMessage::release_name() {
569  // @@protoc_insertion_point(field_release:com.stupidbeauty.exist.ServicePublishMessage.name)
570 
571  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
572 }
573 inline void ServicePublishMessage::set_allocated_name(::std::string* name) {
574  if (name != NULL) {
575 
576  } else {
577 
578  }
579  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
580  // @@protoc_insertion_point(field_set_allocated:com.stupidbeauty.exist.ServicePublishMessage.name)
581 }
582 
583 // int32 port = 2;
584 inline void ServicePublishMessage::clear_port() {
585  port_ = 0;
586 }
587 inline ::google::protobuf::int32 ServicePublishMessage::port() const {
588  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ServicePublishMessage.port)
589  return port_;
590 }
591 inline void ServicePublishMessage::set_port(::google::protobuf::int32 value) {
592 
593  port_ = value;
594  // @@protoc_insertion_point(field_set:com.stupidbeauty.exist.ServicePublishMessage.port)
595 }
596 
597 // .com.stupidbeauty.exist.ServicePublishMessage.ServiceProtocolType protocolType = 3;
598 inline void ServicePublishMessage::clear_protocoltype() {
599  protocoltype_ = 0;
600 }
602  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ServicePublishMessage.protocolType)
603  return static_cast< ::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType >(protocoltype_);
604 }
605 inline void ServicePublishMessage::set_protocoltype(::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType value) {
606 
607  protocoltype_ = value;
608  // @@protoc_insertion_point(field_set:com.stupidbeauty.exist.ServicePublishMessage.protocolType)
609 }
610 
611 // -------------------------------------------------------------------
612 
613 // ServiceProbeMessage
614 
615 // int32 port = 1;
616 inline void ServiceProbeMessage::clear_port() {
617  port_ = 0;
618 }
619 inline ::google::protobuf::int32 ServiceProbeMessage::port() const {
620  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ServiceProbeMessage.port)
621  return port_;
622 }
623 inline void ServiceProbeMessage::set_port(::google::protobuf::int32 value) {
624 
625  port_ = value;
626  // @@protoc_insertion_point(field_set:com.stupidbeauty.exist.ServiceProbeMessage.port)
627 }
628 
629 // -------------------------------------------------------------------
630 
631 // ExistMessage
632 
633 // .com.stupidbeauty.exist.ExistMessage.MessageType messageType = 1;
634 inline void ExistMessage::clear_messagetype() {
635  messagetype_ = 0;
636 }
638  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ExistMessage.messageType)
639  return static_cast< ::com::stupidbeauty::exist::ExistMessage_MessageType >(messagetype_);
640 }
641 inline void ExistMessage::set_messagetype(::com::stupidbeauty::exist::ExistMessage_MessageType value) {
642 
643  messagetype_ = value;
644  // @@protoc_insertion_point(field_set:com.stupidbeauty.exist.ExistMessage.messageType)
645 }
646 
647 // .com.stupidbeauty.exist.ServicePublishMessage servicePublishMessage = 2;
648 inline bool ExistMessage::has_servicepublishmessage() const {
649  return this != internal_default_instance() && servicepublishmessage_ != NULL;
650 }
651 inline void ExistMessage::clear_servicepublishmessage() {
652  if (GetArenaNoVirtual() == NULL && servicepublishmessage_ != NULL) {
653  delete servicepublishmessage_;
654  }
655  servicepublishmessage_ = NULL;
656 }
657 inline const ::com::stupidbeauty::exist::ServicePublishMessage& ExistMessage::servicepublishmessage() const {
658  const ::com::stupidbeauty::exist::ServicePublishMessage* p = servicepublishmessage_;
659  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ExistMessage.servicePublishMessage)
660  return p != NULL ? *p : *reinterpret_cast<const ::com::stupidbeauty::exist::ServicePublishMessage*>(
662 }
663 inline ::com::stupidbeauty::exist::ServicePublishMessage* ExistMessage::release_servicepublishmessage() {
664  // @@protoc_insertion_point(field_release:com.stupidbeauty.exist.ExistMessage.servicePublishMessage)
665 
666  ::com::stupidbeauty::exist::ServicePublishMessage* temp = servicepublishmessage_;
667  servicepublishmessage_ = NULL;
668  return temp;
669 }
670 inline ::com::stupidbeauty::exist::ServicePublishMessage* ExistMessage::mutable_servicepublishmessage() {
671 
672  if (servicepublishmessage_ == NULL) {
673  servicepublishmessage_ = new ::com::stupidbeauty::exist::ServicePublishMessage;
674  }
675  // @@protoc_insertion_point(field_mutable:com.stupidbeauty.exist.ExistMessage.servicePublishMessage)
676  return servicepublishmessage_;
677 }
678 inline void ExistMessage::set_allocated_servicepublishmessage(::com::stupidbeauty::exist::ServicePublishMessage* servicepublishmessage) {
679  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
680  if (message_arena == NULL) {
681  delete servicepublishmessage_;
682  }
683  if (servicepublishmessage) {
684  ::google::protobuf::Arena* submessage_arena = NULL;
685  if (message_arena != submessage_arena) {
686  servicepublishmessage = ::google::protobuf::internal::GetOwnedMessage(
687  message_arena, servicepublishmessage, submessage_arena);
688  }
689 
690  } else {
691 
692  }
693  servicepublishmessage_ = servicepublishmessage;
694  // @@protoc_insertion_point(field_set_allocated:com.stupidbeauty.exist.ExistMessage.servicePublishMessage)
695 }
696 
697 // .com.stupidbeauty.exist.ServiceProbeMessage serviceProbeMessage = 3;
698 inline bool ExistMessage::has_serviceprobemessage() const {
699  return this != internal_default_instance() && serviceprobemessage_ != NULL;
700 }
701 inline void ExistMessage::clear_serviceprobemessage() {
702  if (GetArenaNoVirtual() == NULL && serviceprobemessage_ != NULL) {
703  delete serviceprobemessage_;
704  }
705  serviceprobemessage_ = NULL;
706 }
707 inline const ::com::stupidbeauty::exist::ServiceProbeMessage& ExistMessage::serviceprobemessage() const {
708  const ::com::stupidbeauty::exist::ServiceProbeMessage* p = serviceprobemessage_;
709  // @@protoc_insertion_point(field_get:com.stupidbeauty.exist.ExistMessage.serviceProbeMessage)
710  return p != NULL ? *p : *reinterpret_cast<const ::com::stupidbeauty::exist::ServiceProbeMessage*>(
712 }
713 inline ::com::stupidbeauty::exist::ServiceProbeMessage* ExistMessage::release_serviceprobemessage() {
714  // @@protoc_insertion_point(field_release:com.stupidbeauty.exist.ExistMessage.serviceProbeMessage)
715 
716  ::com::stupidbeauty::exist::ServiceProbeMessage* temp = serviceprobemessage_;
717  serviceprobemessage_ = NULL;
718  return temp;
719 }
720 inline ::com::stupidbeauty::exist::ServiceProbeMessage* ExistMessage::mutable_serviceprobemessage() {
721 
722  if (serviceprobemessage_ == NULL) {
723  serviceprobemessage_ = new ::com::stupidbeauty::exist::ServiceProbeMessage;
724  }
725  // @@protoc_insertion_point(field_mutable:com.stupidbeauty.exist.ExistMessage.serviceProbeMessage)
726  return serviceprobemessage_;
727 }
728 inline void ExistMessage::set_allocated_serviceprobemessage(::com::stupidbeauty::exist::ServiceProbeMessage* serviceprobemessage) {
729  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
730  if (message_arena == NULL) {
731  delete serviceprobemessage_;
732  }
733  if (serviceprobemessage) {
734  ::google::protobuf::Arena* submessage_arena = NULL;
735  if (message_arena != submessage_arena) {
736  serviceprobemessage = ::google::protobuf::internal::GetOwnedMessage(
737  message_arena, serviceprobemessage, submessage_arena);
738  }
739 
740  } else {
741 
742  }
743  serviceprobemessage_ = serviceprobemessage;
744  // @@protoc_insertion_point(field_set_allocated:com.stupidbeauty.exist.ExistMessage.serviceProbeMessage)
745 }
746 
747 #ifdef __GNUC__
748  #pragma GCC diagnostic pop
749 #endif // __GNUC__
750 // -------------------------------------------------------------------
751 
752 // -------------------------------------------------------------------
753 
754 
755 // @@protoc_insertion_point(namespace_scope)
756 
757 } // namespace exist
758 } // namespace stupidbeauty
759 } // namespace com
760 
761 namespace google {
762 namespace protobuf {
763 
764 template <> struct is_proto_enum< ::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType> : ::google::protobuf::internal::true_type {};
765 template <>
766 inline const EnumDescriptor* GetEnumDescriptor< ::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType>() {
768 }
769 template <> struct is_proto_enum< ::com::stupidbeauty::exist::ExistMessage_MessageType> : ::google::protobuf::internal::true_type {};
770 template <>
771 inline const EnumDescriptor* GetEnumDescriptor< ::com::stupidbeauty::exist::ExistMessage_MessageType>() {
773 }
774 
775 } // namespace protobuf
776 } // namespace google
777 
778 // @@protoc_insertion_point(global_scope)
779 
780 #endif // PROTOBUF_ExistMessage_2eproto__INCLUDED
static const ::google::protobuf::internal::SerializationTable serialization_table[]
bool ExistMessage_MessageType_Parse(const ::std::string &name, ExistMessage_MessageType *value)
const ::google::protobuf::EnumDescriptor * ExistMessage_MessageType_descriptor()
class com::stupidbeauty::exist::ExistMessageDefaultTypeInternal _ExistMessage_default_instance_
bool ExistMessage_MessageType_IsValid(int value)
static const ::google::protobuf::EnumDescriptor * ServiceProtocolType_descriptor()
bool ServicePublishMessage_ServiceProtocolType_Parse(const ::std::string &name, ServicePublishMessage_ServiceProtocolType *value)
ServiceProbeMessage * New() const PROTOBUF_FINAL
ServicePublishMessage & operator=(const ServicePublishMessage &from)
static bool MessageType_Parse(const ::std::string &name, MessageType *value)
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
static const ::google::protobuf::EnumDescriptor * MessageType_descriptor()
static const ::google::protobuf::internal::ParseTableField entries[]
class com::stupidbeauty::exist::ServiceProbeMessageDefaultTypeInternal _ServiceProbeMessage_default_instance_
class com::stupidbeauty::exist::ServicePublishMessageDefaultTypeInternal _ServicePublishMessage_default_instance_
void Swap(ServicePublishMessage *other)
static const ::google::protobuf::uint32 offsets[]
const ::google::protobuf::EnumDescriptor * ServicePublishMessage_ServiceProtocolType_descriptor()
const ServicePublishMessage_ServiceProtocolType ServicePublishMessage_ServiceProtocolType_ServiceProtocolType_MIN
ExistMessage * New() const PROTOBUF_FINAL
ExistMessage & operator=(const ExistMessage &from)
static const ::google::protobuf::internal::ParseTable schema[3]
const int ServicePublishMessage_ServiceProtocolType_ServiceProtocolType_ARRAYSIZE
friend void swap(ServiceProbeMessage &a, ServiceProbeMessage &b)
friend void swap(ServicePublishMessage &a, ServicePublishMessage &b)
static const ExistMessage * internal_default_instance()
const ExistMessage_MessageType ExistMessage_MessageType_MessageType_MAX
ServicePublishMessage_ServiceProtocolType ServiceProtocolType
static bool ServiceProtocolType_Parse(const ::std::string &name, ServiceProtocolType *value)
static const ::std::string & ServiceProtocolType_Name(ServiceProtocolType value)
friend void swap(ExistMessage &a, ExistMessage &b)
bool ServicePublishMessage_ServiceProtocolType_IsValid(int value)
void Swap(ServiceProbeMessage *other)
ServiceProbeMessage & operator=(const ServiceProbeMessage &from)
const ExistMessage_MessageType ExistMessage_MessageType_MessageType_MIN
ServicePublishMessage * New() const PROTOBUF_FINAL
static const ServiceProbeMessage * internal_default_instance()
const ServicePublishMessage_ServiceProtocolType ServicePublishMessage_ServiceProtocolType_ServiceProtocolType_MAX
static bool MessageType_IsValid(int value)
int GetCachedSize() const PROTOBUF_FINAL
const int ExistMessage_MessageType_MessageType_ARRAYSIZE
static const ServicePublishMessage * internal_default_instance()
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
ExistMessage_MessageType MessageType
static const ::std::string & MessageType_Name(MessageType value)
const ::std::string & ServicePublishMessage_ServiceProtocolType_Name(ServicePublishMessage_ServiceProtocolType value)
const ::std::string & ExistMessage_MessageType_Name(ExistMessage_MessageType value)