|
|
@ -44,7 +44,7 @@ static void InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_Api_google_2fprotobuf_2fapi_2eproto = |
|
|
|
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_Api_google_2fprotobuf_2fapi_2eproto = |
|
|
|
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto}, { |
|
|
|
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto}, { |
|
|
|
&scc_info_Method_google_2fprotobuf_2fapi_2eproto.base, |
|
|
|
&scc_info_Method_google_2fprotobuf_2fapi_2eproto.base, |
|
|
|
&scc_info_Option_google_2fprotobuf_2ftype_2eproto.base, |
|
|
|
&scc_info_Option_google_2fprotobuf_2ftype_2eproto.base, |
|
|
|
&scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base, |
|
|
|
&scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base, |
|
|
@ -62,7 +62,7 @@ static void InitDefaultsscc_info_Method_google_2fprotobuf_2fapi_2eproto() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Method_google_2fprotobuf_2fapi_2eproto = |
|
|
|
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Method_google_2fprotobuf_2fapi_2eproto = |
|
|
|
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_Method_google_2fprotobuf_2fapi_2eproto}, { |
|
|
|
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Method_google_2fprotobuf_2fapi_2eproto}, { |
|
|
|
&scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,}}; |
|
|
|
&scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,}}; |
|
|
|
|
|
|
|
|
|
|
|
static void InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto() { |
|
|
|
static void InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto() { |
|
|
@ -77,7 +77,7 @@ static void InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Mixin_google_2fprotobuf_2fapi_2eproto = |
|
|
|
PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Mixin_google_2fprotobuf_2fapi_2eproto = |
|
|
|
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto}, {}}; |
|
|
|
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto}, {}}; |
|
|
|
|
|
|
|
|
|
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fapi_2eproto[3]; |
|
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fapi_2eproto[3]; |
|
|
|
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr; |
|
|
|
static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr; |
|
|
@ -208,11 +208,11 @@ Api::Api(const Api& from) |
|
|
|
mixins_(from.mixins_) { |
|
|
|
mixins_(from.mixins_) { |
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_); |
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_); |
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.name().empty()) { |
|
|
|
if (!from._internal_name().empty()) { |
|
|
|
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); |
|
|
|
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); |
|
|
|
} |
|
|
|
} |
|
|
|
version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.version().empty()) { |
|
|
|
if (!from._internal_version().empty()) { |
|
|
|
version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.version_); |
|
|
|
version_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.version_); |
|
|
|
} |
|
|
|
} |
|
|
|
if (from.has_source_context()) { |
|
|
|
if (from.has_source_context()) { |
|
|
@ -283,7 +283,7 @@ const char* Api::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern |
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
case 1: |
|
|
|
case 1: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_name(), ptr, ctx, "google.protobuf.Api.name"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_name(), ptr, ctx, "google.protobuf.Api.name"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -296,7 +296,7 @@ const char* Api::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern |
|
|
|
ptr = ctx->ParseMessage(add_methods(), ptr); |
|
|
|
ptr = ctx->ParseMessage(add_methods(), ptr); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 18); |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
@ -308,13 +308,13 @@ const char* Api::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern |
|
|
|
ptr = ctx->ParseMessage(add_options(), ptr); |
|
|
|
ptr = ctx->ParseMessage(add_options(), ptr); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 26); |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// string version = 4;
|
|
|
|
// string version = 4;
|
|
|
|
case 4: |
|
|
|
case 4: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_version(), ptr, ctx, "google.protobuf.Api.version"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_version(), ptr, ctx, "google.protobuf.Api.version"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -334,7 +334,7 @@ const char* Api::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::intern |
|
|
|
ptr = ctx->ParseMessage(add_mixins(), ptr); |
|
|
|
ptr = ctx->ParseMessage(add_mixins(), ptr); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 50); |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// .google.protobuf.Syntax syntax = 7;
|
|
|
|
// .google.protobuf.Syntax syntax = 7;
|
|
|
@ -379,9 +379,9 @@ bool Api::MergePartialFromCodedStream( |
|
|
|
case 1: { |
|
|
|
case 1: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->_internal_mutable_name())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), static_cast<int>(this->name().length()), |
|
|
|
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Api.name")); |
|
|
|
"google.protobuf.Api.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -416,9 +416,9 @@ bool Api::MergePartialFromCodedStream( |
|
|
|
case 4: { |
|
|
|
case 4: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_version())); |
|
|
|
input, this->_internal_mutable_version())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->version().data(), static_cast<int>(this->version().length()), |
|
|
|
this->_internal_version().data(), static_cast<int>(this->_internal_version().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Api.version")); |
|
|
|
"google.protobuf.Api.version")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -493,24 +493,24 @@ failure: |
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), static_cast<int>(this->name().length()), |
|
|
|
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Api.name"); |
|
|
|
"google.protobuf.Api.name"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
1, this->name(), target); |
|
|
|
1, this->_internal_name(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Method methods = 2;
|
|
|
|
// repeated .google.protobuf.Method methods = 2;
|
|
|
|
for (auto it = this->methods().pointer_begin(), |
|
|
|
for (auto it = this->methods_.pointer_begin(), |
|
|
|
end = this->methods().pointer_end(); it < end; ++it) { |
|
|
|
end = this->methods_.pointer_end(); it < end; ++it) { |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
InternalWriteMessageToArray(2, **it, target, stream); |
|
|
|
InternalWriteMessageToArray(2, **it, target, stream); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
for (auto it = this->options().pointer_begin(), |
|
|
|
for (auto it = this->options_.pointer_begin(), |
|
|
|
end = this->options().pointer_end(); it < end; ++it) { |
|
|
|
end = this->options_.pointer_end(); it < end; ++it) { |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
InternalWriteMessageToArray(3, **it, target, stream); |
|
|
|
InternalWriteMessageToArray(3, **it, target, stream); |
|
|
@ -519,11 +519,11 @@ failure: |
|
|
|
// string version = 4;
|
|
|
|
// string version = 4;
|
|
|
|
if (this->version().size() > 0) { |
|
|
|
if (this->version().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->version().data(), static_cast<int>(this->version().length()), |
|
|
|
this->_internal_version().data(), static_cast<int>(this->_internal_version().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Api.version"); |
|
|
|
"google.protobuf.Api.version"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
4, this->version(), target); |
|
|
|
4, this->_internal_version(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// .google.protobuf.SourceContext source_context = 5;
|
|
|
|
// .google.protobuf.SourceContext source_context = 5;
|
|
|
@ -535,8 +535,8 @@ failure: |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Mixin mixins = 6;
|
|
|
|
// repeated .google.protobuf.Mixin mixins = 6;
|
|
|
|
for (auto it = this->mixins().pointer_begin(), |
|
|
|
for (auto it = this->mixins_.pointer_begin(), |
|
|
|
end = this->mixins().pointer_end(); it < end; ++it) { |
|
|
|
end = this->mixins_.pointer_end(); it < end; ++it) { |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
InternalWriteMessageToArray(6, **it, target, stream); |
|
|
|
InternalWriteMessageToArray(6, **it, target, stream); |
|
|
@ -566,50 +566,38 @@ size_t Api::ByteSizeLong() const { |
|
|
|
(void) cached_has_bits; |
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Method methods = 2;
|
|
|
|
// repeated .google.protobuf.Method methods = 2;
|
|
|
|
{ |
|
|
|
total_size += 1UL * this->methods_size(); |
|
|
|
unsigned int count = static_cast<unsigned int>(this->methods_size()); |
|
|
|
for (const auto& msg : this->methods_) { |
|
|
|
total_size += 1UL * count; |
|
|
|
total_size += |
|
|
|
for (unsigned int i = 0; i < count; i++) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
total_size += |
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
|
|
|
|
|
|
|
this->methods(static_cast<int>(i))); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
{ |
|
|
|
total_size += 1UL * this->options_size(); |
|
|
|
unsigned int count = static_cast<unsigned int>(this->options_size()); |
|
|
|
for (const auto& msg : this->options_) { |
|
|
|
total_size += 1UL * count; |
|
|
|
total_size += |
|
|
|
for (unsigned int i = 0; i < count; i++) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
total_size += |
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
|
|
|
|
|
|
|
this->options(static_cast<int>(i))); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Mixin mixins = 6;
|
|
|
|
// repeated .google.protobuf.Mixin mixins = 6;
|
|
|
|
{ |
|
|
|
total_size += 1UL * this->mixins_size(); |
|
|
|
unsigned int count = static_cast<unsigned int>(this->mixins_size()); |
|
|
|
for (const auto& msg : this->mixins_) { |
|
|
|
total_size += 1UL * count; |
|
|
|
total_size += |
|
|
|
for (unsigned int i = 0; i < count; i++) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
total_size += |
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
|
|
|
|
|
|
|
this->mixins(static_cast<int>(i))); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->name()); |
|
|
|
this->_internal_name()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string version = 4;
|
|
|
|
// string version = 4;
|
|
|
|
if (this->version().size() > 0) { |
|
|
|
if (this->version().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->version()); |
|
|
|
this->_internal_version()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// .google.protobuf.SourceContext source_context = 5;
|
|
|
|
// .google.protobuf.SourceContext source_context = 5;
|
|
|
@ -696,9 +684,9 @@ bool Api::IsInitialized() const { |
|
|
|
void Api::InternalSwap(Api* other) { |
|
|
|
void Api::InternalSwap(Api* other) { |
|
|
|
using std::swap; |
|
|
|
using std::swap; |
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_); |
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_); |
|
|
|
CastToBase(&methods_)->InternalSwap(CastToBase(&other->methods_)); |
|
|
|
methods_.InternalSwap(&other->methods_); |
|
|
|
CastToBase(&options_)->InternalSwap(CastToBase(&other->options_)); |
|
|
|
options_.InternalSwap(&other->options_); |
|
|
|
CastToBase(&mixins_)->InternalSwap(CastToBase(&other->mixins_)); |
|
|
|
mixins_.InternalSwap(&other->mixins_); |
|
|
|
name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
|
name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
|
GetArenaNoVirtual()); |
|
|
|
GetArenaNoVirtual()); |
|
|
|
version_.Swap(&other->version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
|
version_.Swap(&other->version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
@ -734,15 +722,15 @@ Method::Method(const Method& from) |
|
|
|
options_(from.options_) { |
|
|
|
options_(from.options_) { |
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_); |
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_); |
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.name().empty()) { |
|
|
|
if (!from._internal_name().empty()) { |
|
|
|
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); |
|
|
|
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); |
|
|
|
} |
|
|
|
} |
|
|
|
request_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
request_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.request_type_url().empty()) { |
|
|
|
if (!from._internal_request_type_url().empty()) { |
|
|
|
request_type_url_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.request_type_url_); |
|
|
|
request_type_url_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.request_type_url_); |
|
|
|
} |
|
|
|
} |
|
|
|
response_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
response_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.response_type_url().empty()) { |
|
|
|
if (!from._internal_response_type_url().empty()) { |
|
|
|
response_type_url_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.response_type_url_); |
|
|
|
response_type_url_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.response_type_url_); |
|
|
|
} |
|
|
|
} |
|
|
|
::memcpy(&request_streaming_, &from.request_streaming_, |
|
|
|
::memcpy(&request_streaming_, &from.request_streaming_, |
|
|
@ -808,14 +796,14 @@ const char* Method::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int |
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
case 1: |
|
|
|
case 1: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_name(), ptr, ctx, "google.protobuf.Method.name"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_name(), ptr, ctx, "google.protobuf.Method.name"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// string request_type_url = 2;
|
|
|
|
// string request_type_url = 2;
|
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_request_type_url(), ptr, ctx, "google.protobuf.Method.request_type_url"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_request_type_url(), ptr, ctx, "google.protobuf.Method.request_type_url"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -829,7 +817,7 @@ const char* Method::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int |
|
|
|
// string response_type_url = 4;
|
|
|
|
// string response_type_url = 4;
|
|
|
|
case 4: |
|
|
|
case 4: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_response_type_url(), ptr, ctx, "google.protobuf.Method.response_type_url"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_response_type_url(), ptr, ctx, "google.protobuf.Method.response_type_url"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -849,7 +837,7 @@ const char* Method::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::int |
|
|
|
ptr = ctx->ParseMessage(add_options(), ptr); |
|
|
|
ptr = ctx->ParseMessage(add_options(), ptr); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 50); |
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// .google.protobuf.Syntax syntax = 7;
|
|
|
|
// .google.protobuf.Syntax syntax = 7;
|
|
|
@ -894,9 +882,9 @@ bool Method::MergePartialFromCodedStream( |
|
|
|
case 1: { |
|
|
|
case 1: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->_internal_mutable_name())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), static_cast<int>(this->name().length()), |
|
|
|
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Method.name")); |
|
|
|
"google.protobuf.Method.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -909,9 +897,9 @@ bool Method::MergePartialFromCodedStream( |
|
|
|
case 2: { |
|
|
|
case 2: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_request_type_url())); |
|
|
|
input, this->_internal_mutable_request_type_url())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->request_type_url().data(), static_cast<int>(this->request_type_url().length()), |
|
|
|
this->_internal_request_type_url().data(), static_cast<int>(this->_internal_request_type_url().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Method.request_type_url")); |
|
|
|
"google.protobuf.Method.request_type_url")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -937,9 +925,9 @@ bool Method::MergePartialFromCodedStream( |
|
|
|
case 4: { |
|
|
|
case 4: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_response_type_url())); |
|
|
|
input, this->_internal_mutable_response_type_url())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->response_type_url().data(), static_cast<int>(this->response_type_url().length()), |
|
|
|
this->_internal_response_type_url().data(), static_cast<int>(this->_internal_response_type_url().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Method.response_type_url")); |
|
|
|
"google.protobuf.Method.response_type_url")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1016,21 +1004,21 @@ failure: |
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), static_cast<int>(this->name().length()), |
|
|
|
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Method.name"); |
|
|
|
"google.protobuf.Method.name"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
1, this->name(), target); |
|
|
|
1, this->_internal_name(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string request_type_url = 2;
|
|
|
|
// string request_type_url = 2;
|
|
|
|
if (this->request_type_url().size() > 0) { |
|
|
|
if (this->request_type_url().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->request_type_url().data(), static_cast<int>(this->request_type_url().length()), |
|
|
|
this->_internal_request_type_url().data(), static_cast<int>(this->_internal_request_type_url().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Method.request_type_url"); |
|
|
|
"google.protobuf.Method.request_type_url"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
2, this->request_type_url(), target); |
|
|
|
2, this->_internal_request_type_url(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// bool request_streaming = 3;
|
|
|
|
// bool request_streaming = 3;
|
|
|
@ -1042,11 +1030,11 @@ failure: |
|
|
|
// string response_type_url = 4;
|
|
|
|
// string response_type_url = 4;
|
|
|
|
if (this->response_type_url().size() > 0) { |
|
|
|
if (this->response_type_url().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->response_type_url().data(), static_cast<int>(this->response_type_url().length()), |
|
|
|
this->_internal_response_type_url().data(), static_cast<int>(this->_internal_response_type_url().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Method.response_type_url"); |
|
|
|
"google.protobuf.Method.response_type_url"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
4, this->response_type_url(), target); |
|
|
|
4, this->_internal_response_type_url(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// bool response_streaming = 5;
|
|
|
|
// bool response_streaming = 5;
|
|
|
@ -1056,8 +1044,8 @@ failure: |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Option options = 6;
|
|
|
|
// repeated .google.protobuf.Option options = 6;
|
|
|
|
for (auto it = this->options().pointer_begin(), |
|
|
|
for (auto it = this->options_.pointer_begin(), |
|
|
|
end = this->options().pointer_end(); it < end; ++it) { |
|
|
|
end = this->options_.pointer_end(); it < end; ++it) { |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
stream->EnsureSpace(&target); |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
InternalWriteMessageToArray(6, **it, target, stream); |
|
|
|
InternalWriteMessageToArray(6, **it, target, stream); |
|
|
@ -1087,35 +1075,31 @@ size_t Method::ByteSizeLong() const { |
|
|
|
(void) cached_has_bits; |
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Option options = 6;
|
|
|
|
// repeated .google.protobuf.Option options = 6;
|
|
|
|
{ |
|
|
|
total_size += 1UL * this->options_size(); |
|
|
|
unsigned int count = static_cast<unsigned int>(this->options_size()); |
|
|
|
for (const auto& msg : this->options_) { |
|
|
|
total_size += 1UL * count; |
|
|
|
total_size += |
|
|
|
for (unsigned int i = 0; i < count; i++) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
total_size += |
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
|
|
|
|
|
|
|
this->options(static_cast<int>(i))); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->name()); |
|
|
|
this->_internal_name()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string request_type_url = 2;
|
|
|
|
// string request_type_url = 2;
|
|
|
|
if (this->request_type_url().size() > 0) { |
|
|
|
if (this->request_type_url().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->request_type_url()); |
|
|
|
this->_internal_request_type_url()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string response_type_url = 4;
|
|
|
|
// string response_type_url = 4;
|
|
|
|
if (this->response_type_url().size() > 0) { |
|
|
|
if (this->response_type_url().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->response_type_url()); |
|
|
|
this->_internal_response_type_url()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// bool request_streaming = 3;
|
|
|
|
// bool request_streaming = 3;
|
|
|
@ -1210,7 +1194,7 @@ bool Method::IsInitialized() const { |
|
|
|
void Method::InternalSwap(Method* other) { |
|
|
|
void Method::InternalSwap(Method* other) { |
|
|
|
using std::swap; |
|
|
|
using std::swap; |
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_); |
|
|
|
_internal_metadata_.Swap(&other->_internal_metadata_); |
|
|
|
CastToBase(&options_)->InternalSwap(CastToBase(&other->options_)); |
|
|
|
options_.InternalSwap(&other->options_); |
|
|
|
name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
|
name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
|
GetArenaNoVirtual()); |
|
|
|
GetArenaNoVirtual()); |
|
|
|
request_type_url_.Swap(&other->request_type_url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
|
request_type_url_.Swap(&other->request_type_url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
|
|
@ -1245,11 +1229,11 @@ Mixin::Mixin(const Mixin& from) |
|
|
|
_internal_metadata_(nullptr) { |
|
|
|
_internal_metadata_(nullptr) { |
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_); |
|
|
|
_internal_metadata_.MergeFrom(from._internal_metadata_); |
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.name().empty()) { |
|
|
|
if (!from._internal_name().empty()) { |
|
|
|
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); |
|
|
|
name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.name_); |
|
|
|
} |
|
|
|
} |
|
|
|
root_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
root_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
|
|
|
if (!from.root().empty()) { |
|
|
|
if (!from._internal_root().empty()) { |
|
|
|
root_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.root_); |
|
|
|
root_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.root_); |
|
|
|
} |
|
|
|
} |
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin)
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin)
|
|
|
@ -1302,14 +1286,14 @@ const char* Mixin::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::inte |
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
case 1: |
|
|
|
case 1: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_name(), ptr, ctx, "google.protobuf.Mixin.name"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_name(), ptr, ctx, "google.protobuf.Mixin.name"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
// string root = 2;
|
|
|
|
// string root = 2;
|
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_root(), ptr, ctx, "google.protobuf.Mixin.root"); |
|
|
|
ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_root(), ptr, ctx, "google.protobuf.Mixin.root"); |
|
|
|
CHK_(ptr); |
|
|
|
CHK_(ptr); |
|
|
|
} else goto handle_unusual; |
|
|
|
} else goto handle_unusual; |
|
|
|
continue; |
|
|
|
continue; |
|
|
@ -1347,9 +1331,9 @@ bool Mixin::MergePartialFromCodedStream( |
|
|
|
case 1: { |
|
|
|
case 1: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_name())); |
|
|
|
input, this->_internal_mutable_name())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), static_cast<int>(this->name().length()), |
|
|
|
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Mixin.name")); |
|
|
|
"google.protobuf.Mixin.name")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1362,9 +1346,9 @@ bool Mixin::MergePartialFromCodedStream( |
|
|
|
case 2: { |
|
|
|
case 2: { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { |
|
|
|
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( |
|
|
|
input, this->mutable_root())); |
|
|
|
input, this->_internal_mutable_root())); |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->root().data(), static_cast<int>(this->root().length()), |
|
|
|
this->_internal_root().data(), static_cast<int>(this->_internal_root().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, |
|
|
|
"google.protobuf.Mixin.root")); |
|
|
|
"google.protobuf.Mixin.root")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1403,21 +1387,21 @@ failure: |
|
|
|
// string name = 1;
|
|
|
|
// string name = 1;
|
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->name().data(), static_cast<int>(this->name().length()), |
|
|
|
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Mixin.name"); |
|
|
|
"google.protobuf.Mixin.name"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
1, this->name(), target); |
|
|
|
1, this->_internal_name(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string root = 2;
|
|
|
|
// string root = 2;
|
|
|
|
if (this->root().size() > 0) { |
|
|
|
if (this->root().size() > 0) { |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
this->root().data(), static_cast<int>(this->root().length()), |
|
|
|
this->_internal_root().data(), static_cast<int>(this->_internal_root().length()), |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, |
|
|
|
"google.protobuf.Mixin.root"); |
|
|
|
"google.protobuf.Mixin.root"); |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
target = stream->WriteStringMaybeAliased( |
|
|
|
2, this->root(), target); |
|
|
|
2, this->_internal_root(), target); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
@ -1440,14 +1424,14 @@ size_t Mixin::ByteSizeLong() const { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
if (this->name().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->name()); |
|
|
|
this->_internal_name()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// string root = 2;
|
|
|
|
// string root = 2;
|
|
|
|
if (this->root().size() > 0) { |
|
|
|
if (this->root().size() > 0) { |
|
|
|
total_size += 1 + |
|
|
|
total_size += 1 + |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
this->root()); |
|
|
|
this->_internal_root()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
|