|
|
|
@ -16,9 +16,10 @@ |
|
|
|
|
// Must be included last.
|
|
|
|
|
#include "google/protobuf/port_def.inc" |
|
|
|
|
PROTOBUF_PRAGMA_INIT_SEG |
|
|
|
|
namespace _pb = ::PROTOBUF_NAMESPACE_ID; |
|
|
|
|
namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal; |
|
|
|
|
PROTOBUF_NAMESPACE_OPEN |
|
|
|
|
namespace _pb = ::google::protobuf; |
|
|
|
|
namespace _pbi = ::google::protobuf::internal; |
|
|
|
|
namespace google { |
|
|
|
|
namespace protobuf { |
|
|
|
|
PROTOBUF_CONSTEXPR Api::Api( |
|
|
|
|
::_pbi::ConstantInitialized): _impl_{ |
|
|
|
|
/*decltype(_impl_._has_bits_)*/{} |
|
|
|
@ -100,7 +101,8 @@ struct MixinDefaultTypeInternal { |
|
|
|
|
|
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
|
|
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MixinDefaultTypeInternal _Mixin_default_instance_; |
|
|
|
|
PROTOBUF_NAMESPACE_CLOSE |
|
|
|
|
} // namespace protobuf
|
|
|
|
|
} // namespace google
|
|
|
|
|
static ::_pb::Metadata file_level_metadata_google_2fprotobuf_2fapi_2eproto[3]; |
|
|
|
|
static constexpr const ::_pb::EnumDescriptor** |
|
|
|
|
file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr; |
|
|
|
@ -108,21 +110,21 @@ static constexpr const ::_pb::ServiceDescriptor** |
|
|
|
|
file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr; |
|
|
|
|
const ::uint32_t TableStruct_google_2fprotobuf_2fapi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( |
|
|
|
|
protodesc_cold) = { |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_._has_bits_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _internal_metadata_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_._has_bits_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _internal_metadata_), |
|
|
|
|
~0u, // no _extensions_
|
|
|
|
|
~0u, // no _oneof_case_
|
|
|
|
|
~0u, // no _weak_field_map_
|
|
|
|
|
~0u, // no _inlined_string_donated_
|
|
|
|
|
~0u, // no _split_
|
|
|
|
|
~0u, // no sizeof(Split)
|
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.name_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.methods_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.options_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.version_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.source_context_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.mixins_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Api, _impl_.syntax_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.name_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.methods_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.options_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.version_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.source_context_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.mixins_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Api, _impl_.syntax_), |
|
|
|
|
~0u, |
|
|
|
|
~0u, |
|
|
|
|
~0u, |
|
|
|
@ -131,43 +133,43 @@ const ::uint32_t TableStruct_google_2fprotobuf_2fapi_2eproto::offsets[] PROTOBUF |
|
|
|
|
~0u, |
|
|
|
|
~0u, |
|
|
|
|
~0u, // no _has_bits_
|
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _internal_metadata_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _internal_metadata_), |
|
|
|
|
~0u, // no _extensions_
|
|
|
|
|
~0u, // no _oneof_case_
|
|
|
|
|
~0u, // no _weak_field_map_
|
|
|
|
|
~0u, // no _inlined_string_donated_
|
|
|
|
|
~0u, // no _split_
|
|
|
|
|
~0u, // no sizeof(Split)
|
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.name_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.request_type_url_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.request_streaming_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.response_type_url_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.response_streaming_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.options_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Method, _impl_.syntax_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.name_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.request_type_url_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.request_streaming_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.response_type_url_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.response_streaming_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.options_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Method, _impl_.syntax_), |
|
|
|
|
~0u, // no _has_bits_
|
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Mixin, _internal_metadata_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Mixin, _internal_metadata_), |
|
|
|
|
~0u, // no _extensions_
|
|
|
|
|
~0u, // no _oneof_case_
|
|
|
|
|
~0u, // no _weak_field_map_
|
|
|
|
|
~0u, // no _inlined_string_donated_
|
|
|
|
|
~0u, // no _split_
|
|
|
|
|
~0u, // no sizeof(Split)
|
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Mixin, _impl_.name_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Mixin, _impl_.root_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Mixin, _impl_.name_), |
|
|
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Mixin, _impl_.root_), |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const ::_pbi::MigrationSchema |
|
|
|
|
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
|
|
|
|
{ 0, 15, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Api)}, |
|
|
|
|
{ 22, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Method)}, |
|
|
|
|
{ 37, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Mixin)}, |
|
|
|
|
{ 0, 15, -1, sizeof(::google::protobuf::Api)}, |
|
|
|
|
{ 22, -1, -1, sizeof(::google::protobuf::Method)}, |
|
|
|
|
{ 37, -1, -1, sizeof(::google::protobuf::Mixin)}, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const ::_pb::Message* const file_default_instances[] = { |
|
|
|
|
&::PROTOBUF_NAMESPACE_ID::_Api_default_instance_._instance, |
|
|
|
|
&::PROTOBUF_NAMESPACE_ID::_Method_default_instance_._instance, |
|
|
|
|
&::PROTOBUF_NAMESPACE_ID::_Mixin_default_instance_._instance, |
|
|
|
|
&::google::protobuf::_Api_default_instance_._instance, |
|
|
|
|
&::google::protobuf::_Method_default_instance_._instance, |
|
|
|
|
&::google::protobuf::_Mixin_default_instance_._instance, |
|
|
|
|
}; |
|
|
|
|
const char descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
|
|
|
|
"\n\031google/protobuf/api.proto\022\017google.prot" |
|
|
|
@ -231,7 +233,8 @@ PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2 |
|
|
|
|
// Force running AddDescriptors() at dynamic initialization time.
|
|
|
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 |
|
|
|
|
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fapi_2eproto(&descriptor_table_google_2fprotobuf_2fapi_2eproto); |
|
|
|
|
PROTOBUF_NAMESPACE_OPEN |
|
|
|
|
namespace google { |
|
|
|
|
namespace protobuf { |
|
|
|
|
// ===================================================================
|
|
|
|
|
|
|
|
|
|
class Api::_Internal { |
|
|
|
@ -239,13 +242,13 @@ class Api::_Internal { |
|
|
|
|
using HasBits = decltype(std::declval<Api>()._impl_._has_bits_); |
|
|
|
|
static constexpr ::int32_t kHasBitsOffset = |
|
|
|
|
8 * PROTOBUF_FIELD_OFFSET(Api, _impl_._has_bits_); |
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::SourceContext& source_context(const Api* msg); |
|
|
|
|
static const ::google::protobuf::SourceContext& source_context(const Api* msg); |
|
|
|
|
static void set_has_source_context(HasBits* has_bits) { |
|
|
|
|
(*has_bits)[0] |= 1u; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::SourceContext& Api::_Internal::source_context(const Api* msg) { |
|
|
|
|
const ::google::protobuf::SourceContext& Api::_Internal::source_context(const Api* msg) { |
|
|
|
|
return *msg->_impl_.source_context_; |
|
|
|
|
} |
|
|
|
|
void Api::clear_options() { |
|
|
|
@ -255,13 +258,13 @@ void Api::clear_source_context() { |
|
|
|
|
if (_impl_.source_context_ != nullptr) _impl_.source_context_->Clear(); |
|
|
|
|
_impl_._has_bits_[0] &= ~0x00000001u; |
|
|
|
|
} |
|
|
|
|
Api::Api(::PROTOBUF_NAMESPACE_ID::Arena* arena) |
|
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena) { |
|
|
|
|
Api::Api(::google::protobuf::Arena* arena) |
|
|
|
|
: ::google::protobuf::Message(arena) { |
|
|
|
|
SharedCtor(arena); |
|
|
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.Api)
|
|
|
|
|
} |
|
|
|
|
Api::Api(const Api& from) |
|
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message() { |
|
|
|
|
: ::google::protobuf::Message() { |
|
|
|
|
Api* const _this = this; (void)_this; |
|
|
|
|
new (&_impl_) Impl_{ |
|
|
|
|
decltype(_impl_._has_bits_){from._impl_._has_bits_} |
|
|
|
@ -277,7 +280,7 @@ Api::Api(const Api& from) |
|
|
|
|
, decltype(_impl_.syntax_) {} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_impl_.name_.InitDefault(); |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
@ -293,7 +296,7 @@ Api::Api(const Api& from) |
|
|
|
|
_this->_impl_.version_.Set(from._internal_version(), _this->GetArenaForAllocation()); |
|
|
|
|
} |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_impl_.source_context_ = new ::PROTOBUF_NAMESPACE_ID::SourceContext(*from._impl_.source_context_); |
|
|
|
|
_this->_impl_.source_context_ = new ::google::protobuf::SourceContext(*from._impl_.source_context_); |
|
|
|
|
} |
|
|
|
|
_this->_impl_.syntax_ = from._impl_.syntax_; |
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.Api)
|
|
|
|
@ -327,7 +330,7 @@ inline void Api::SharedCtor(::_pb::Arena* arena) { |
|
|
|
|
|
|
|
|
|
Api::~Api() { |
|
|
|
|
// @@protoc_insertion_point(destructor:google.protobuf.Api)
|
|
|
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
|
|
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { |
|
|
|
|
(void)arena; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -366,7 +369,7 @@ PROTOBUF_NOINLINE void Api::Clear() { |
|
|
|
|
} |
|
|
|
|
_impl_.syntax_ = 0; |
|
|
|
|
_impl_._has_bits_.Clear(); |
|
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
|
|
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
@ -396,7 +399,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
ptr = ctx->ParseMessage(_internal_mutable_methods()->Add(), ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); |
|
|
|
|
} while (::google::protobuf::internal::ExpectTag<18>(ptr)); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
@ -410,7 +413,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); |
|
|
|
|
} while (::google::protobuf::internal::ExpectTag<26>(ptr)); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
@ -444,7 +447,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
ptr = ctx->ParseMessage(_internal_mutable_mixins()->Add(), ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); |
|
|
|
|
} while (::google::protobuf::internal::ExpectTag<50>(ptr)); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
@ -452,9 +455,9 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
// .google.protobuf.Syntax syntax = 7;
|
|
|
|
|
case 7: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { |
|
|
|
|
::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
|
|
|
|
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
_internal_set_syntax(static_cast<::PROTOBUF_NAMESPACE_ID::Syntax>(val)); |
|
|
|
|
_internal_set_syntax(static_cast<::google::protobuf::Syntax>(val)); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
@ -470,7 +473,7 @@ const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
} |
|
|
|
|
ptr = UnknownFieldParse( |
|
|
|
|
tag, |
|
|
|
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
|
|
|
|
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(), |
|
|
|
|
ptr, ctx); |
|
|
|
|
CHK_(ptr != nullptr); |
|
|
|
|
} // while
|
|
|
|
@ -484,7 +487,7 @@ failure: |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::uint8_t* Api::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
|
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
@ -492,8 +495,8 @@ failure: |
|
|
|
|
// string name = 1;
|
|
|
|
|
if (!this->_internal_name().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_name(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(1, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -501,7 +504,7 @@ failure: |
|
|
|
|
for (unsigned i = 0, |
|
|
|
|
n = static_cast<unsigned>(this->_internal_methods_size()); i < n; i++) { |
|
|
|
|
const auto& repfield = this->_internal_methods().Get(i); |
|
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
|
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -509,22 +512,22 @@ failure: |
|
|
|
|
for (unsigned i = 0, |
|
|
|
|
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) { |
|
|
|
|
const auto& repfield = this->_internal_options().Get(i); |
|
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
|
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string version = 4;
|
|
|
|
|
if (!this->_internal_version().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_version(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(4, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
cached_has_bits = _impl_._has_bits_[0]; |
|
|
|
|
// .google.protobuf.SourceContext source_context = 5;
|
|
|
|
|
if (cached_has_bits & 0x00000001u) { |
|
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
|
InternalWriteMessage(5, _Internal::source_context(this), |
|
|
|
|
_Internal::source_context(this).GetCachedSize(), target, stream); |
|
|
|
|
} |
|
|
|
@ -533,7 +536,7 @@ failure: |
|
|
|
|
for (unsigned i = 0, |
|
|
|
|
n = static_cast<unsigned>(this->_internal_mixins_size()); i < n; i++) { |
|
|
|
|
const auto& repfield = this->_internal_mixins().Get(i); |
|
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
|
InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -546,7 +549,7 @@ failure: |
|
|
|
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
|
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
|
|
|
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
|
|
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api)
|
|
|
|
|
return target; |
|
|
|
@ -564,32 +567,32 @@ failure: |
|
|
|
|
total_size += 1UL * this->_internal_methods_size(); |
|
|
|
|
for (const auto& msg : this->_internal_methods()) { |
|
|
|
|
total_size += |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Option options = 3;
|
|
|
|
|
total_size += 1UL * this->_internal_options_size(); |
|
|
|
|
for (const auto& msg : this->_internal_options()) { |
|
|
|
|
total_size += |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// repeated .google.protobuf.Mixin mixins = 6;
|
|
|
|
|
total_size += 1UL * this->_internal_mixins_size(); |
|
|
|
|
for (const auto& msg : this->_internal_mixins()) { |
|
|
|
|
total_size += |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string name = 1;
|
|
|
|
|
if (!this->_internal_name().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_name()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string version = 4;
|
|
|
|
|
if (!this->_internal_version().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_version()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -597,7 +600,7 @@ failure: |
|
|
|
|
cached_has_bits = _impl_._has_bits_[0]; |
|
|
|
|
if (cached_has_bits & 0x00000001u) { |
|
|
|
|
total_size += 1 + |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( |
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize( |
|
|
|
|
*_impl_.source_context_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -610,14 +613,14 @@ failure: |
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Api::_class_data_ = { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
|
|
|
|
const ::google::protobuf::Message::ClassData Api::_class_data_ = { |
|
|
|
|
::google::protobuf::Message::CopyWithSourceCheck, |
|
|
|
|
Api::MergeImpl |
|
|
|
|
}; |
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Api::GetClassData() const { return &_class_data_; } |
|
|
|
|
const ::google::protobuf::Message::ClassData*Api::GetClassData() const { return &_class_data_; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Api::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
|
|
|
|
void Api::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { |
|
|
|
|
auto* const _this = static_cast<Api*>(&to_msg); |
|
|
|
|
auto& from = static_cast<const Api&>(from_msg); |
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api)
|
|
|
|
@ -635,13 +638,13 @@ void Api::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_N |
|
|
|
|
_this->_internal_set_version(from._internal_version()); |
|
|
|
|
} |
|
|
|
|
if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { |
|
|
|
|
_this->_internal_mutable_source_context()->::PROTOBUF_NAMESPACE_ID::SourceContext::MergeFrom( |
|
|
|
|
_this->_internal_mutable_source_context()->::google::protobuf::SourceContext::MergeFrom( |
|
|
|
|
from._internal_source_context()); |
|
|
|
|
} |
|
|
|
|
if (from._internal_syntax() != 0) { |
|
|
|
|
_this->_internal_set_syntax(from._internal_syntax()); |
|
|
|
|
} |
|
|
|
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Api::CopyFrom(const Api& from) { |
|
|
|
@ -668,7 +671,7 @@ void Api::InternalSwap(Api* other) { |
|
|
|
|
&other->_impl_.name_, rhs_arena); |
|
|
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, lhs_arena, |
|
|
|
|
&other->_impl_.version_, rhs_arena); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::memswap< |
|
|
|
|
::google::protobuf::internal::memswap< |
|
|
|
|
PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_) |
|
|
|
|
+ sizeof(Api::_impl_.syntax_) |
|
|
|
|
- PROTOBUF_FIELD_OFFSET(Api, _impl_.source_context_)>( |
|
|
|
@ -676,7 +679,7 @@ void Api::InternalSwap(Api* other) { |
|
|
|
|
reinterpret_cast<char*>(&other->_impl_.source_context_)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata Api::GetMetadata() const { |
|
|
|
|
::google::protobuf::Metadata Api::GetMetadata() const { |
|
|
|
|
return ::_pbi::AssignDescriptors( |
|
|
|
|
&descriptor_table_google_2fprotobuf_2fapi_2eproto_getter, &descriptor_table_google_2fprotobuf_2fapi_2eproto_once, |
|
|
|
|
file_level_metadata_google_2fprotobuf_2fapi_2eproto[0]); |
|
|
|
@ -690,13 +693,13 @@ class Method::_Internal { |
|
|
|
|
void Method::clear_options() { |
|
|
|
|
_internal_mutable_options()->Clear(); |
|
|
|
|
} |
|
|
|
|
Method::Method(::PROTOBUF_NAMESPACE_ID::Arena* arena) |
|
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena) { |
|
|
|
|
Method::Method(::google::protobuf::Arena* arena) |
|
|
|
|
: ::google::protobuf::Message(arena) { |
|
|
|
|
SharedCtor(arena); |
|
|
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.Method)
|
|
|
|
|
} |
|
|
|
|
Method::Method(const Method& from) |
|
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message() { |
|
|
|
|
: ::google::protobuf::Message() { |
|
|
|
|
Method* const _this = this; (void)_this; |
|
|
|
|
new (&_impl_) Impl_{ |
|
|
|
|
decltype(_impl_.options_){from._impl_.options_} |
|
|
|
@ -714,7 +717,7 @@ Method::Method(const Method& from) |
|
|
|
|
|
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}}; |
|
|
|
|
|
|
|
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_impl_.name_.InitDefault(); |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
@ -776,7 +779,7 @@ inline void Method::SharedCtor(::_pb::Arena* arena) { |
|
|
|
|
|
|
|
|
|
Method::~Method() { |
|
|
|
|
// @@protoc_insertion_point(destructor:google.protobuf.Method)
|
|
|
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
|
|
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { |
|
|
|
|
(void)arena; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -808,7 +811,7 @@ PROTOBUF_NOINLINE void Method::Clear() { |
|
|
|
|
::memset(&_impl_.request_streaming_, 0, static_cast<::size_t>( |
|
|
|
|
reinterpret_cast<char*>(&_impl_.syntax_) - |
|
|
|
|
reinterpret_cast<char*>(&_impl_.request_streaming_)) + sizeof(_impl_.syntax_)); |
|
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
|
|
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
@ -842,7 +845,7 @@ const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
// bool request_streaming = 3;
|
|
|
|
|
case 3: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) { |
|
|
|
|
_impl_.request_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
|
|
|
|
_impl_.request_streaming_ = ::google::protobuf::internal::ReadVarint64(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -862,7 +865,7 @@ const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
// bool response_streaming = 5;
|
|
|
|
|
case 5: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) { |
|
|
|
|
_impl_.response_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
|
|
|
|
_impl_.response_streaming_ = ::google::protobuf::internal::ReadVarint64(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -877,7 +880,7 @@ const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
if (!ctx->DataAvailable(ptr)) break; |
|
|
|
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); |
|
|
|
|
} while (::google::protobuf::internal::ExpectTag<50>(ptr)); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
@ -885,9 +888,9 @@ const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
// .google.protobuf.Syntax syntax = 7;
|
|
|
|
|
case 7: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) { |
|
|
|
|
::int32_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
|
|
|
|
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
_internal_set_syntax(static_cast<::PROTOBUF_NAMESPACE_ID::Syntax>(val)); |
|
|
|
|
_internal_set_syntax(static_cast<::google::protobuf::Syntax>(val)); |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
@ -903,7 +906,7 @@ const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
} |
|
|
|
|
ptr = UnknownFieldParse( |
|
|
|
|
tag, |
|
|
|
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
|
|
|
|
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(), |
|
|
|
|
ptr, ctx); |
|
|
|
|
CHK_(ptr != nullptr); |
|
|
|
|
} // while
|
|
|
|
@ -916,7 +919,7 @@ failure: |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::uint8_t* Method::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
|
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
@ -924,16 +927,16 @@ failure: |
|
|
|
|
// string name = 1;
|
|
|
|
|
if (!this->_internal_name().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_name(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(1, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string request_type_url = 2;
|
|
|
|
|
if (!this->_internal_request_type_url().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_request_type_url(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(2, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -947,8 +950,8 @@ failure: |
|
|
|
|
// string response_type_url = 4;
|
|
|
|
|
if (!this->_internal_response_type_url().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_response_type_url(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(4, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -963,7 +966,7 @@ failure: |
|
|
|
|
for (unsigned i = 0, |
|
|
|
|
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) { |
|
|
|
|
const auto& repfield = this->_internal_options().Get(i); |
|
|
|
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
|
|
|
|
target = ::google::protobuf::internal::WireFormatLite:: |
|
|
|
|
InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -976,7 +979,7 @@ failure: |
|
|
|
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
|
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
|
|
|
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
|
|
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method)
|
|
|
|
|
return target; |
|
|
|
@ -994,24 +997,24 @@ failure: |
|
|
|
|
total_size += 1UL * this->_internal_options_size(); |
|
|
|
|
for (const auto& msg : this->_internal_options()) { |
|
|
|
|
total_size += |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string name = 1;
|
|
|
|
|
if (!this->_internal_name().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_name()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string request_type_url = 2;
|
|
|
|
|
if (!this->_internal_request_type_url().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_request_type_url()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string response_type_url = 4;
|
|
|
|
|
if (!this->_internal_response_type_url().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_response_type_url()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1034,14 +1037,14 @@ failure: |
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Method::_class_data_ = { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
|
|
|
|
const ::google::protobuf::Message::ClassData Method::_class_data_ = { |
|
|
|
|
::google::protobuf::Message::CopyWithSourceCheck, |
|
|
|
|
Method::MergeImpl |
|
|
|
|
}; |
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Method::GetClassData() const { return &_class_data_; } |
|
|
|
|
const ::google::protobuf::Message::ClassData*Method::GetClassData() const { return &_class_data_; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Method::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
|
|
|
|
void Method::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { |
|
|
|
|
auto* const _this = static_cast<Method*>(&to_msg); |
|
|
|
|
auto& from = static_cast<const Method&>(from_msg); |
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method)
|
|
|
|
@ -1068,7 +1071,7 @@ void Method::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU |
|
|
|
|
if (from._internal_syntax() != 0) { |
|
|
|
|
_this->_internal_set_syntax(from._internal_syntax()); |
|
|
|
|
} |
|
|
|
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Method::CopyFrom(const Method& from) { |
|
|
|
@ -1094,7 +1097,7 @@ void Method::InternalSwap(Method* other) { |
|
|
|
|
&other->_impl_.request_type_url_, rhs_arena); |
|
|
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.response_type_url_, lhs_arena, |
|
|
|
|
&other->_impl_.response_type_url_, rhs_arena); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::memswap< |
|
|
|
|
::google::protobuf::internal::memswap< |
|
|
|
|
PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_) |
|
|
|
|
+ sizeof(Method::_impl_.syntax_) |
|
|
|
|
- PROTOBUF_FIELD_OFFSET(Method, _impl_.request_streaming_)>( |
|
|
|
@ -1102,7 +1105,7 @@ void Method::InternalSwap(Method* other) { |
|
|
|
|
reinterpret_cast<char*>(&other->_impl_.request_streaming_)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata Method::GetMetadata() const { |
|
|
|
|
::google::protobuf::Metadata Method::GetMetadata() const { |
|
|
|
|
return ::_pbi::AssignDescriptors( |
|
|
|
|
&descriptor_table_google_2fprotobuf_2fapi_2eproto_getter, &descriptor_table_google_2fprotobuf_2fapi_2eproto_once, |
|
|
|
|
file_level_metadata_google_2fprotobuf_2fapi_2eproto[1]); |
|
|
|
@ -1113,13 +1116,13 @@ class Mixin::_Internal { |
|
|
|
|
public: |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
Mixin::Mixin(::PROTOBUF_NAMESPACE_ID::Arena* arena) |
|
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena) { |
|
|
|
|
Mixin::Mixin(::google::protobuf::Arena* arena) |
|
|
|
|
: ::google::protobuf::Message(arena) { |
|
|
|
|
SharedCtor(arena); |
|
|
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.Mixin)
|
|
|
|
|
} |
|
|
|
|
Mixin::Mixin(const Mixin& from) |
|
|
|
|
: ::PROTOBUF_NAMESPACE_ID::Message() { |
|
|
|
|
: ::google::protobuf::Message() { |
|
|
|
|
Mixin* const _this = this; (void)_this; |
|
|
|
|
new (&_impl_) Impl_{ |
|
|
|
|
decltype(_impl_.name_) {} |
|
|
|
@ -1128,7 +1131,7 @@ Mixin::Mixin(const Mixin& from) |
|
|
|
|
|
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}}; |
|
|
|
|
|
|
|
|
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_impl_.name_.InitDefault(); |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
|
|
|
|
_impl_.name_.Set("", GetArenaForAllocation()); |
|
|
|
@ -1167,7 +1170,7 @@ inline void Mixin::SharedCtor(::_pb::Arena* arena) { |
|
|
|
|
|
|
|
|
|
Mixin::~Mixin() { |
|
|
|
|
// @@protoc_insertion_point(destructor:google.protobuf.Mixin)
|
|
|
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { |
|
|
|
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { |
|
|
|
|
(void)arena; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -1192,7 +1195,7 @@ PROTOBUF_NOINLINE void Mixin::Clear() { |
|
|
|
|
|
|
|
|
|
_impl_.name_.ClearToEmpty(); |
|
|
|
|
_impl_.root_.ClearToEmpty(); |
|
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
|
|
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const char* Mixin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
@ -1234,7 +1237,7 @@ const char* Mixin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { |
|
|
|
|
} |
|
|
|
|
ptr = UnknownFieldParse( |
|
|
|
|
tag, |
|
|
|
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), |
|
|
|
|
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(), |
|
|
|
|
ptr, ctx); |
|
|
|
|
CHK_(ptr != nullptr); |
|
|
|
|
} // while
|
|
|
|
@ -1247,7 +1250,7 @@ failure: |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::uint8_t* Mixin::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
|
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
@ -1255,22 +1258,22 @@ failure: |
|
|
|
|
// string name = 1;
|
|
|
|
|
if (!this->_internal_name().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_name(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(1, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string root = 2;
|
|
|
|
|
if (!this->_internal_root().empty()) { |
|
|
|
|
const std::string& _s = this->_internal_root(); |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root"); |
|
|
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
|
|
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root"); |
|
|
|
|
target = stream->WriteStringMaybeAliased(2, _s, target); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
|
|
|
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
|
|
|
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); |
|
|
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin)
|
|
|
|
|
return target; |
|
|
|
@ -1286,27 +1289,27 @@ failure: |
|
|
|
|
|
|
|
|
|
// string name = 1;
|
|
|
|
|
if (!this->_internal_name().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_name()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// string root = 2;
|
|
|
|
|
if (!this->_internal_root().empty()) { |
|
|
|
|
total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
|
|
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
|
|
|
|
this->_internal_root()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Mixin::_class_data_ = { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, |
|
|
|
|
const ::google::protobuf::Message::ClassData Mixin::_class_data_ = { |
|
|
|
|
::google::protobuf::Message::CopyWithSourceCheck, |
|
|
|
|
Mixin::MergeImpl |
|
|
|
|
}; |
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Mixin::GetClassData() const { return &_class_data_; } |
|
|
|
|
const ::google::protobuf::Message::ClassData*Mixin::GetClassData() const { return &_class_data_; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Mixin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { |
|
|
|
|
void Mixin::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) { |
|
|
|
|
auto* const _this = static_cast<Mixin*>(&to_msg); |
|
|
|
|
auto& from = static_cast<const Mixin&>(from_msg); |
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin)
|
|
|
|
@ -1320,7 +1323,7 @@ void Mixin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF |
|
|
|
|
if (!from._internal_root().empty()) { |
|
|
|
|
_this->_internal_set_root(from._internal_root()); |
|
|
|
|
} |
|
|
|
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void Mixin::CopyFrom(const Mixin& from) { |
|
|
|
@ -1345,26 +1348,29 @@ void Mixin::InternalSwap(Mixin* other) { |
|
|
|
|
&other->_impl_.root_, rhs_arena); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata Mixin::GetMetadata() const { |
|
|
|
|
::google::protobuf::Metadata Mixin::GetMetadata() const { |
|
|
|
|
return ::_pbi::AssignDescriptors( |
|
|
|
|
&descriptor_table_google_2fprotobuf_2fapi_2eproto_getter, &descriptor_table_google_2fprotobuf_2fapi_2eproto_once, |
|
|
|
|
file_level_metadata_google_2fprotobuf_2fapi_2eproto[2]); |
|
|
|
|
} |
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
|
PROTOBUF_NAMESPACE_CLOSE |
|
|
|
|
PROTOBUF_NAMESPACE_OPEN |
|
|
|
|
template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Api* |
|
|
|
|
Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Api >(Arena* arena) { |
|
|
|
|
return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Api >(arena); |
|
|
|
|
} // namespace protobuf
|
|
|
|
|
} // namespace google
|
|
|
|
|
namespace google { |
|
|
|
|
namespace protobuf { |
|
|
|
|
template<> PROTOBUF_NOINLINE ::google::protobuf::Api* |
|
|
|
|
Arena::CreateMaybeMessage< ::google::protobuf::Api >(Arena* arena) { |
|
|
|
|
return Arena::CreateMessageInternal< ::google::protobuf::Api >(arena); |
|
|
|
|
} |
|
|
|
|
template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Method* |
|
|
|
|
Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Method >(Arena* arena) { |
|
|
|
|
return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Method >(arena); |
|
|
|
|
template<> PROTOBUF_NOINLINE ::google::protobuf::Method* |
|
|
|
|
Arena::CreateMaybeMessage< ::google::protobuf::Method >(Arena* arena) { |
|
|
|
|
return Arena::CreateMessageInternal< ::google::protobuf::Method >(arena); |
|
|
|
|
} |
|
|
|
|
template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Mixin* |
|
|
|
|
Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Mixin >(Arena* arena) { |
|
|
|
|
return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Mixin >(arena); |
|
|
|
|
template<> PROTOBUF_NOINLINE ::google::protobuf::Mixin* |
|
|
|
|
Arena::CreateMaybeMessage< ::google::protobuf::Mixin >(Arena* arena) { |
|
|
|
|
return Arena::CreateMessageInternal< ::google::protobuf::Mixin >(arena); |
|
|
|
|
} |
|
|
|
|
PROTOBUF_NAMESPACE_CLOSE |
|
|
|
|
} // namespace protobuf
|
|
|
|
|
} // namespace google
|
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
|
#include "google/protobuf/port_undef.inc" |
|
|
|
|