8 #include <google/protobuf/stubs/common.h> 9 #include <google/protobuf/stubs/port.h> 10 #include <google/protobuf/stubs/once.h> 11 #include <google/protobuf/io/coded_stream.h> 12 #include <google/protobuf/wire_format_lite_inl.h> 13 #include <google/protobuf/descriptor.h> 14 #include <google/protobuf/generated_message_reflection.h> 15 #include <google/protobuf/reflection_ops.h> 16 #include <google/protobuf/wire_format.h> 18 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 19 #include "third_party/protobuf/version.h" 23 namespace stupidbeauty {
27 ::google::protobuf::internal::ExplicitlyConstructed<ServicePublishMessage>
32 ::google::protobuf::internal::ExplicitlyConstructed<ServiceProbeMessage>
37 ::google::protobuf::internal::ExplicitlyConstructed<ExistMessage>
45 GOOGLE_PROTOBUF_VERIFY_VERSION;
47 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 48 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
50 ::google::protobuf::internal::InitProtobufDefaults();
51 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 55 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
61 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
66 GOOGLE_PROTOBUF_VERIFY_VERSION;
68 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 69 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
71 ::google::protobuf::internal::InitProtobufDefaults();
72 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 76 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
82 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
87 GOOGLE_PROTOBUF_VERIFY_VERSION;
89 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 90 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
92 ::google::protobuf::internal::InitProtobufDefaults();
93 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS 99 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
105 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
150 ::google::protobuf::MessageFactory* factory = NULL;
152 "ExistMessage.proto", schemas, file_default_instances, TableStruct::offsets, factory,
153 file_level_metadata, file_level_enum_descriptors, NULL);
157 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
164 ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 3);
170 "\n\022ExistMessage.proto\022\026com.stupidbeauty.e" 171 "xist\"\323\001\n\025ServicePublishMessage\022\014\n\004name\030\001" 172 " \001(\t\022\014\n\004port\030\002 \001(\005\022W\n\014protocolType\030\003 \001(\016" 173 "2A.com.stupidbeauty.exist.ServicePublish" 174 "Message.ServiceProtocolType\"E\n\023ServicePr" 175 "otocolType\022\010\n\004HTTP\020\000\022\007\n\003UDP\020\001\022\010\n\004MQTT\020\002\022" 176 "\007\n\003TCP\020\003\022\010\n\004GRPC\020\004\"#\n\023ServiceProbeMessag" 177 "e\022\014\n\004port\030\001 \001(\005\"\242\002\n\014ExistMessage\022E\n\013mess" 178 "ageType\030\001 \001(\01620.com.stupidbeauty.exist.E" 179 "xistMessage.MessageType\022L\n\025servicePublis" 180 "hMessage\030\002 \001(\0132-.com.stupidbeauty.exist." 181 "ServicePublishMessage\022H\n\023serviceProbeMes" 182 "sage\030\003 \001(\0132+.com.stupidbeauty.exist.Serv" 183 "iceProbeMessage\"3\n\013MessageType\022\022\n\016SERVIC" 184 "EPUBLISH\020\000\022\020\n\014SERVICEPROBE\020\001B/\n\026com.stup" 185 "idbeauty.existB\025ExistMessageContainerb\006p" 188 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
190 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
195 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
206 namespace stupidbeauty {
225 #if !defined(_MSC_VER) || _MSC_VER >= 1900 234 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 249 #if !defined(_MSC_VER) || _MSC_VER >= 1900 255 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 261 #if !defined(_MSC_VER) || _MSC_VER >= 1900 265 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 268 : ::
google::protobuf::Message(), _internal_metadata_(NULL) {
276 : ::
google::protobuf::Message(),
277 _internal_metadata_(NULL),
279 _internal_metadata_.MergeFrom(from._internal_metadata_);
280 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
281 if (from.
name().size() > 0) {
282 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
284 ::memcpy(&port_, &from.port_,
285 static_cast<size_t>(reinterpret_cast<char*>(&protocoltype_) -
286 reinterpret_cast<char*>(&port_)) +
sizeof(protocoltype_));
290 void ServicePublishMessage::SharedCtor() {
291 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
292 ::memset(&port_, 0, static_cast<size_t>(
293 reinterpret_cast<char*>(&protocoltype_) -
294 reinterpret_cast<char*>(&port_)) +
sizeof(protocoltype_));
303 void ServicePublishMessage::SharedDtor() {
304 name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
307 void ServicePublishMessage::SetCachedSize(
int size)
const {
308 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
309 _cached_size_ = size;
310 GOOGLE_SAFE_CONCURRENT_WRITES_END();
332 ::google::protobuf::uint32 cached_has_bits = 0;
334 (void) cached_has_bits;
336 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
337 ::memset(&port_, 0, static_cast<size_t>(
338 reinterpret_cast<char*>(&protocoltype_) -
339 reinterpret_cast<char*>(&port_)) +
sizeof(protocoltype_));
340 _internal_metadata_.Clear();
344 ::google::protobuf::io::CodedInputStream* input) {
345 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure 346 ::google::protobuf::uint32 tag;
349 ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
351 if (!p.second)
goto handle_unusual;
352 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
355 if (static_cast< ::google::protobuf::uint8>(tag) ==
356 static_cast< ::google::protobuf::uint8>(10u )) {
357 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
359 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
360 this->
name().data(), static_cast<int>(this->
name().length()),
361 ::google::protobuf::internal::WireFormatLite::PARSE,
362 "com.stupidbeauty.exist.ServicePublishMessage.name"));
371 if (static_cast< ::google::protobuf::uint8>(tag) ==
372 static_cast< ::google::protobuf::uint8>(16u )) {
374 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
375 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
385 if (static_cast< ::google::protobuf::uint8>(tag) ==
386 static_cast< ::google::protobuf::uint8>(24u )) {
388 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
389 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
391 set_protocoltype(static_cast< ::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType >(value));
403 DO_(::google::protobuf::internal::WireFormat::SkipField(
404 input, tag, _internal_metadata_.mutable_unknown_fields()));
419 ::google::protobuf::io::CodedOutputStream* output)
const {
421 ::google::protobuf::uint32 cached_has_bits = 0;
422 (void) cached_has_bits;
425 if (this->
name().size() > 0) {
426 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
427 this->
name().data(), static_cast<int>(this->
name().length()),
428 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
429 "com.stupidbeauty.exist.ServicePublishMessage.name");
430 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
431 1, this->
name(), output);
435 if (this->
port() != 0) {
436 ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->
port(), output);
441 ::google::protobuf::internal::WireFormatLite::WriteEnum(
445 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
446 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
447 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
453 bool deterministic, ::google::protobuf::uint8* target)
const {
456 ::google::protobuf::uint32 cached_has_bits = 0;
457 (void) cached_has_bits;
460 if (this->
name().size() > 0) {
461 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
462 this->
name().data(), static_cast<int>(this->
name().length()),
463 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
464 "com.stupidbeauty.exist.ServicePublishMessage.name");
466 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
467 1, this->
name(), target);
471 if (this->
port() != 0) {
472 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->
port(), target);
477 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
481 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
482 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
483 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
491 size_t total_size = 0;
493 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
495 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
496 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
499 if (this->
name().size() > 0) {
501 ::google::protobuf::internal::WireFormatLite::StringSize(
506 if (this->
port() != 0) {
508 ::google::protobuf::internal::WireFormatLite::Int32Size(
515 ::google::protobuf::internal::WireFormatLite::EnumSize(this->
protocoltype());
518 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
519 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
520 _cached_size_ = cached_size;
521 GOOGLE_SAFE_CONCURRENT_WRITES_END();
527 GOOGLE_DCHECK_NE(&from,
this);
529 ::google::protobuf::internal::DynamicCastToGenerated<const ServicePublishMessage>(
531 if (source == NULL) {
533 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
542 GOOGLE_DCHECK_NE(&from,
this);
543 _internal_metadata_.MergeFrom(from._internal_metadata_);
544 ::google::protobuf::uint32 cached_has_bits = 0;
545 (void) cached_has_bits;
547 if (from.
name().size() > 0) {
549 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
551 if (from.
port() != 0) {
561 if (&from ==
this)
return;
568 if (&from ==
this)
return;
578 if (other ==
this)
return;
583 name_.Swap(&other->name_);
584 swap(port_, other->port_);
585 swap(protocoltype_, other->protocoltype_);
586 _internal_metadata_.Swap(&other->_internal_metadata_);
587 swap(_cached_size_, other->_cached_size_);
600 #if !defined(_MSC_VER) || _MSC_VER >= 1900 602 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 605 : ::
google::protobuf::Message(), _internal_metadata_(NULL) {
613 : ::
google::protobuf::Message(),
614 _internal_metadata_(NULL),
616 _internal_metadata_.MergeFrom(from._internal_metadata_);
621 void ServiceProbeMessage::SharedCtor() {
631 void ServiceProbeMessage::SharedDtor() {
634 void ServiceProbeMessage::SetCachedSize(
int size)
const {
635 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
636 _cached_size_ = size;
637 GOOGLE_SAFE_CONCURRENT_WRITES_END();
659 ::google::protobuf::uint32 cached_has_bits = 0;
661 (void) cached_has_bits;
664 _internal_metadata_.Clear();
668 ::google::protobuf::io::CodedInputStream* input) {
669 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure 670 ::google::protobuf::uint32 tag;
673 ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
675 if (!p.second)
goto handle_unusual;
676 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
679 if (static_cast< ::google::protobuf::uint8>(tag) ==
680 static_cast< ::google::protobuf::uint8>(8u )) {
682 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
683 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
696 DO_(::google::protobuf::internal::WireFormat::SkipField(
697 input, tag, _internal_metadata_.mutable_unknown_fields()));
712 ::google::protobuf::io::CodedOutputStream* output)
const {
714 ::google::protobuf::uint32 cached_has_bits = 0;
715 (void) cached_has_bits;
718 if (this->
port() != 0) {
719 ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->
port(), output);
722 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
723 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
724 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
730 bool deterministic, ::google::protobuf::uint8* target)
const {
733 ::google::protobuf::uint32 cached_has_bits = 0;
734 (void) cached_has_bits;
737 if (this->
port() != 0) {
738 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->
port(), target);
741 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
742 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
743 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
751 size_t total_size = 0;
753 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
755 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
756 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
759 if (this->
port() != 0) {
761 ::google::protobuf::internal::WireFormatLite::Int32Size(
765 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
766 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
767 _cached_size_ = cached_size;
768 GOOGLE_SAFE_CONCURRENT_WRITES_END();
774 GOOGLE_DCHECK_NE(&from,
this);
776 ::google::protobuf::internal::DynamicCastToGenerated<const ServiceProbeMessage>(
778 if (source == NULL) {
780 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
789 GOOGLE_DCHECK_NE(&from,
this);
790 _internal_metadata_.MergeFrom(from._internal_metadata_);
791 ::google::protobuf::uint32 cached_has_bits = 0;
792 (void) cached_has_bits;
794 if (from.
port() != 0) {
801 if (&from ==
this)
return;
808 if (&from ==
this)
return;
818 if (other ==
this)
return;
823 swap(port_, other->port_);
824 _internal_metadata_.Swap(&other->_internal_metadata_);
825 swap(_cached_size_, other->_cached_size_);
842 #if !defined(_MSC_VER) || _MSC_VER >= 1900 846 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 849 : ::
google::protobuf::Message(), _internal_metadata_(NULL) {
857 : ::
google::protobuf::Message(),
858 _internal_metadata_(NULL),
860 _internal_metadata_.MergeFrom(from._internal_metadata_);
862 servicepublishmessage_ = new ::com::stupidbeauty::exist::ServicePublishMessage(*from.servicepublishmessage_);
864 servicepublishmessage_ = NULL;
867 serviceprobemessage_ = new ::com::stupidbeauty::exist::ServiceProbeMessage(*from.serviceprobemessage_);
869 serviceprobemessage_ = NULL;
871 messagetype_ = from.messagetype_;
875 void ExistMessage::SharedCtor() {
876 ::memset(&servicepublishmessage_, 0, static_cast<size_t>(
877 reinterpret_cast<char*>(&messagetype_) -
878 reinterpret_cast<char*>(&servicepublishmessage_)) +
sizeof(messagetype_));
887 void ExistMessage::SharedDtor() {
892 void ExistMessage::SetCachedSize(
int size)
const {
893 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
894 _cached_size_ = size;
895 GOOGLE_SAFE_CONCURRENT_WRITES_END();
917 ::google::protobuf::uint32 cached_has_bits = 0;
919 (void) cached_has_bits;
921 if (GetArenaNoVirtual() == NULL && servicepublishmessage_ != NULL) {
922 delete servicepublishmessage_;
924 servicepublishmessage_ = NULL;
925 if (GetArenaNoVirtual() == NULL && serviceprobemessage_ != NULL) {
926 delete serviceprobemessage_;
928 serviceprobemessage_ = NULL;
930 _internal_metadata_.Clear();
934 ::google::protobuf::io::CodedInputStream* input) {
935 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure 936 ::google::protobuf::uint32 tag;
939 ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
941 if (!p.second)
goto handle_unusual;
942 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
945 if (static_cast< ::google::protobuf::uint8>(tag) ==
946 static_cast< ::google::protobuf::uint8>(8u )) {
948 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
949 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
951 set_messagetype(static_cast< ::com::stupidbeauty::exist::ExistMessage_MessageType >(value));
960 if (static_cast< ::google::protobuf::uint8>(tag) ==
961 static_cast< ::google::protobuf::uint8>(18u )) {
962 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
972 if (static_cast< ::google::protobuf::uint8>(tag) ==
973 static_cast< ::google::protobuf::uint8>(26u )) {
974 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
987 DO_(::google::protobuf::internal::WireFormat::SkipField(
988 input, tag, _internal_metadata_.mutable_unknown_fields()));
1003 ::google::protobuf::io::CodedOutputStream* output)
const {
1005 ::google::protobuf::uint32 cached_has_bits = 0;
1006 (void) cached_has_bits;
1010 ::google::protobuf::internal::WireFormatLite::WriteEnum(
1016 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1017 2, *this->servicepublishmessage_, output);
1022 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1023 3, *this->serviceprobemessage_, output);
1026 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1027 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1028 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);
1034 bool deterministic, ::google::protobuf::uint8* target)
const {
1035 (void)deterministic;
1037 ::google::protobuf::uint32 cached_has_bits = 0;
1038 (void) cached_has_bits;
1042 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1048 target = ::google::protobuf::internal::WireFormatLite::
1049 InternalWriteMessageToArray(
1050 2, *this->servicepublishmessage_, deterministic, target);
1055 target = ::google::protobuf::internal::WireFormatLite::
1056 InternalWriteMessageToArray(
1057 3, *this->serviceprobemessage_, deterministic, target);
1060 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1061 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1062 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);
1070 size_t total_size = 0;
1072 if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1074 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1075 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));
1080 ::google::protobuf::internal::WireFormatLite::MessageSize(
1081 *this->servicepublishmessage_);
1087 ::google::protobuf::internal::WireFormatLite::MessageSize(
1088 *this->serviceprobemessage_);
1094 ::google::protobuf::internal::WireFormatLite::EnumSize(this->
messagetype());
1097 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1098 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1099 _cached_size_ = cached_size;
1100 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1106 GOOGLE_DCHECK_NE(&from,
this);
1108 ::google::protobuf::internal::DynamicCastToGenerated<const ExistMessage>(
1110 if (source == NULL) {
1112 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
1121 GOOGLE_DCHECK_NE(&from,
this);
1122 _internal_metadata_.MergeFrom(from._internal_metadata_);
1123 ::google::protobuf::uint32 cached_has_bits = 0;
1124 (void) cached_has_bits;
1139 if (&from ==
this)
return;
1146 if (&from ==
this)
return;
1156 if (other ==
this)
return;
1157 InternalSwap(other);
1161 swap(servicepublishmessage_, other->servicepublishmessage_);
1162 swap(serviceprobemessage_, other->serviceprobemessage_);
1163 swap(messagetype_, other->messagetype_);
1164 _internal_metadata_.Swap(&other->_internal_metadata_);
1165 swap(_cached_size_, other->_cached_size_);
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
void AddDescriptorsImpl()
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
virtual ~ServiceProbeMessage()
size_t ByteSizeLong() const PROTOBUF_FINAL
static void InitAsDefaultInstance()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
void InitDefaultsServiceProbeMessage()
const ::google::protobuf::EnumDescriptor * ExistMessage_MessageType_descriptor()
class com::stupidbeauty::exist::ExistMessageDefaultTypeInternal _ExistMessage_default_instance_
bool ExistMessage_MessageType_IsValid(int value)
void InitDefaultsServicePublishMessage()
ServiceProbeMessage * New() const PROTOBUF_FINAL
static const int kServicePublishMessageFieldNumber
const ::google::protobuf::EnumDescriptor * file_level_enum_descriptors[2]
void InitDefaultsServiceProbeMessageImpl()
static const ::google::protobuf::Descriptor * descriptor()
struct protobuf_ExistMessage_2eproto::StaticDescriptorInitializer static_descriptor_initializer
static void InitAsDefaultInstance()
static const ExistMessage & default_instance()
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const PROTOBUF_FINAL
static const int kProtocolTypeFieldNumber
const ::google::protobuf::uint32 TableStruct::offsets [] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static const ServicePublishMessage & default_instance()
class com::stupidbeauty::exist::ServiceProbeMessageDefaultTypeInternal _ServiceProbeMessage_default_instance_
::google::protobuf::int32 port() const
::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType protocoltype() const
const ::std::string & name() const
void set_protocoltype(::com::stupidbeauty::exist::ServicePublishMessage_ServiceProtocolType value)
static const ServiceProtocolType UDP
class com::stupidbeauty::exist::ServicePublishMessageDefaultTypeInternal _ServicePublishMessage_default_instance_
void Swap(ServicePublishMessage *other)
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
bool IsInitialized() const PROTOBUF_FINAL
size_t ByteSizeLong() const PROTOBUF_FINAL
static const ServiceProbeMessage & default_instance()
const ::google::protobuf::EnumDescriptor * ServicePublishMessage_ServiceProtocolType_descriptor()
void protobuf_AssignDescriptorsOnce()
::google::protobuf::internal::ExplicitlyConstructed< ServiceProbeMessage > _instance
static const int kMessageTypeFieldNumber
static const int kPortFieldNumber
ExistMessage * New() const PROTOBUF_FINAL
static const MessageType MessageType_MIN
static const ServiceProtocolType GRPC
static void InitAsDefaultInstance()
ServicePublishMessage_ServiceProtocolType
::com::stupidbeauty::exist::ExistMessage_MessageType messagetype() const
void set_port(::google::protobuf::int32 value)
friend void swap(ServiceProbeMessage &a, ServiceProbeMessage &b)
friend void swap(ServicePublishMessage &a, ServicePublishMessage &b)
void Clear() PROTOBUF_FINAL
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
::google::protobuf::int32 port() const
static const ExistMessage * internal_default_instance()
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void InitDefaultsServicePublishMessageImpl()
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void InitDefaultsExistMessage()
static const ::google::protobuf::Descriptor * descriptor()
static const MessageType MessageType_MAX
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void set_port(::google::protobuf::int32 value)
::com::stupidbeauty::exist::ServicePublishMessage * mutable_servicepublishmessage()
static const ServiceProtocolType ServiceProtocolType_MIN
bool has_serviceprobemessage() const
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
virtual ~ServicePublishMessage()
::std::string * mutable_name()
void Clear() PROTOBUF_FINAL
friend void swap(ExistMessage &a, ExistMessage &b)
bool ServicePublishMessage_ServiceProtocolType_IsValid(int value)
const ::com::stupidbeauty::exist::ServicePublishMessage & servicepublishmessage() const
void Swap(ServiceProbeMessage *other)
const ::com::stupidbeauty::exist::ServiceProbeMessage & serviceprobemessage() const
ServicePublishMessage * New() const PROTOBUF_FINAL
StaticDescriptorInitializer()
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
bool has_servicepublishmessage() const
static const ServiceProtocolType HTTP
static const ServiceProtocolType MQTT
static const ServiceProbeMessage * internal_default_instance()
static const int kNameFieldNumber
static const int kServiceProbeMessageFieldNumber
bool IsInitialized() const PROTOBUF_FINAL
static const int kPortFieldNumber
size_t ByteSizeLong() const PROTOBUF_FINAL
void InitDefaultsExistMessageImpl()
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
static const ServiceProtocolType TCP
static const ::google::protobuf::Descriptor * descriptor()
void Clear() PROTOBUF_FINAL
void protobuf_AssignDescriptors()
static const ServiceProtocolType ServiceProtocolType_MAX
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const PROTOBUF_FINAL
void set_messagetype(::com::stupidbeauty::exist::ExistMessage_MessageType value)
::google::protobuf::Metadata file_level_metadata[3]
static const ServicePublishMessage * internal_default_instance()
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
static const int ServiceProtocolType_ARRAYSIZE
static const MessageType SERVICEPROBE
::google::protobuf::internal::ExplicitlyConstructed< ServicePublishMessage > _instance
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
static const MessageType SERVICEPUBLISH
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const PROTOBUF_FINAL
void protobuf_RegisterTypes(const ::std::string &) GOOGLE_PROTOBUF_ATTRIBUTE_COLD
::google::protobuf::Message const *const file_default_instances[]
static const int MessageType_ARRAYSIZE
::com::stupidbeauty::exist::ServiceProbeMessage * mutable_serviceprobemessage()
void Swap(ExistMessage *other)
bool IsInitialized() const PROTOBUF_FINAL
::google::protobuf::internal::ExplicitlyConstructed< ExistMessage > _instance