Auto-generate files after cl/711828681

pull/19824/head
Protobuf Team Bot 2 months ago
parent fb51ac01e6
commit dce4f7ddf2
  1. 130
      src/google/protobuf/any.pb.cc
  2. 768
      src/google/protobuf/api.pb.cc
  3. 130
      src/google/protobuf/duration.pb.cc
  4. 100
      src/google/protobuf/field_mask.pb.cc
  5. 100
      src/google/protobuf/source_context.pb.cc
  6. 580
      src/google/protobuf/struct.pb.cc
  7. 130
      src/google/protobuf/timestamp.pb.cc
  8. 1322
      src/google/protobuf/type.pb.cc
  9. 948
      src/google/protobuf/wrappers.pb.cc

@ -299,82 +299,82 @@ PROTOBUF_NOINLINE void Any::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Any::_InternalSerialize( ::uint8_t* Any::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Any& this_ = static_cast<const Any&>(base); const Any& this_ = static_cast<const Any&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Any::_InternalSerialize( ::uint8_t* Any::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Any& this_ = *this; const Any& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// string type_url = 1; // string type_url = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (!this_._internal_type_url().empty()) { if (!this_._internal_type_url().empty()) {
const std::string& _s = this_._internal_type_url(); const std::string& _s = this_._internal_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Any.type_url"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Any.type_url");
target = stream->WriteStringMaybeAliased(1, _s, target); target = stream->WriteStringMaybeAliased(1, _s, target);
} }
} }
// bytes value = 2; // bytes value = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (!this_._internal_value().empty()) { if (!this_._internal_value().empty()) {
const std::string& _s = this_._internal_value(); const std::string& _s = this_._internal_value();
target = stream->WriteBytesMaybeAliased(2, _s, target); target = stream->WriteBytesMaybeAliased(2, _s, target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Any) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Any)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Any::ByteSizeLong(const MessageLite& base) { ::size_t Any::ByteSizeLong(const MessageLite& base) {
const Any& this_ = static_cast<const Any&>(base); const Any& this_ = static_cast<const Any&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Any::ByteSizeLong() const { ::size_t Any::ByteSizeLong() const {
const Any& this_ = *this; const Any& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Any) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Any)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000003u) {
// string type_url = 1; // string type_url = 1;
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (!this_._internal_type_url().empty()) { if (!this_._internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_type_url()); this_._internal_type_url());
} }
} }
// bytes value = 2; // bytes value = 2;
if (cached_has_bits & 0x00000002u) { if (cached_has_bits & 0x00000002u) {
if (!this_._internal_value().empty()) { if (!this_._internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
this_._internal_value()); this_._internal_value());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Any::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Any::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Any*>(&to_msg); auto* const _this = static_cast<Any*>(&to_msg);

@ -513,169 +513,169 @@ PROTOBUF_NOINLINE void Api::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Api::_InternalSerialize( ::uint8_t* Api::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Api& this_ = static_cast<const Api&>(base); const Api& this_ = static_cast<const Api&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Api::_InternalSerialize( ::uint8_t* Api::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Api& this_ = *this; const Api& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// string name = 1; // string name = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (!this_._internal_name().empty()) { if (!this_._internal_name().empty()) {
const std::string& _s = this_._internal_name(); const std::string& _s = this_._internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name");
target = stream->WriteStringMaybeAliased(1, _s, target); target = stream->WriteStringMaybeAliased(1, _s, target);
} }
} }
// repeated .google.protobuf.Method methods = 2; // repeated .google.protobuf.Method methods = 2;
for (unsigned i = 0, n = static_cast<unsigned>( for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_methods_size()); this_._internal_methods_size());
i < n; i++) { i < n; i++) {
const auto& repfield = this_._internal_methods().Get(i); const auto& repfield = this_._internal_methods().Get(i);
target = target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage( ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, repfield, repfield.GetCachedSize(), 2, repfield, repfield.GetCachedSize(),
target, stream); target, stream);
} }
// repeated .google.protobuf.Option options = 3; // repeated .google.protobuf.Option options = 3;
for (unsigned i = 0, n = static_cast<unsigned>( for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_options_size()); this_._internal_options_size());
i < n; i++) { i < n; i++) {
const auto& repfield = this_._internal_options().Get(i); const auto& repfield = this_._internal_options().Get(i);
target = target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage( ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, repfield, repfield.GetCachedSize(), 3, repfield, repfield.GetCachedSize(),
target, stream); target, stream);
} }
// string version = 4; // string version = 4;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (!this_._internal_version().empty()) { if (!this_._internal_version().empty()) {
const std::string& _s = this_._internal_version(); const std::string& _s = this_._internal_version();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version");
target = stream->WriteStringMaybeAliased(4, _s, target); target = stream->WriteStringMaybeAliased(4, _s, target);
} }
} }
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
// .google.protobuf.SourceContext source_context = 5; // .google.protobuf.SourceContext source_context = 5;
if (cached_has_bits & 0x00000004u) { if (cached_has_bits & 0x00000004u) {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *this_._impl_.source_context_, this_._impl_.source_context_->GetCachedSize(), target, 5, *this_._impl_.source_context_, this_._impl_.source_context_->GetCachedSize(), target,
stream); stream);
} }
// repeated .google.protobuf.Mixin mixins = 6; // repeated .google.protobuf.Mixin mixins = 6;
for (unsigned i = 0, n = static_cast<unsigned>( for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_mixins_size()); this_._internal_mixins_size());
i < n; i++) { i < n; i++) {
const auto& repfield = this_._internal_mixins().Get(i); const auto& repfield = this_._internal_mixins().Get(i);
target = target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage( ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(), 6, repfield, repfield.GetCachedSize(),
target, stream); target, stream);
} }
// .google.protobuf.Syntax syntax = 7; // .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000008u) { if (cached_has_bits & 0x00000008u) {
if (this_._internal_syntax() != 0) { if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray( target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target); 7, this_._internal_syntax(), target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Api::ByteSizeLong(const MessageLite& base) { ::size_t Api::ByteSizeLong(const MessageLite& base) {
const Api& this_ = static_cast<const Api&>(base); const Api& this_ = static_cast<const Api&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Api::ByteSizeLong() const { ::size_t Api::ByteSizeLong() const {
const Api& this_ = *this; const Api& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated .google.protobuf.Method methods = 2; // repeated .google.protobuf.Method methods = 2;
{ {
total_size += 1UL * this_._internal_methods_size(); total_size += 1UL * this_._internal_methods_size();
for (const auto& msg : this_._internal_methods()) { for (const auto& msg : this_._internal_methods()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
} }
} }
// repeated .google.protobuf.Option options = 3; // repeated .google.protobuf.Option options = 3;
{ {
total_size += 1UL * this_._internal_options_size(); total_size += 1UL * this_._internal_options_size();
for (const auto& msg : this_._internal_options()) { for (const auto& msg : this_._internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
} }
} }
// repeated .google.protobuf.Mixin mixins = 6; // repeated .google.protobuf.Mixin mixins = 6;
{ {
total_size += 1UL * this_._internal_mixins_size(); total_size += 1UL * this_._internal_mixins_size();
for (const auto& msg : this_._internal_mixins()) { for (const auto& msg : this_._internal_mixins()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
} }
} }
} }
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) { if (cached_has_bits & 0x0000000fu) {
// string name = 1; // string name = 1;
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) { if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name()); this_._internal_name());
} }
} }
// string version = 4; // string version = 4;
if (cached_has_bits & 0x00000002u) { if (cached_has_bits & 0x00000002u) {
if (!this_._internal_version().empty()) { if (!this_._internal_version().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_version()); this_._internal_version());
} }
} }
// .google.protobuf.SourceContext source_context = 5; // .google.protobuf.SourceContext source_context = 5;
if (cached_has_bits & 0x00000004u) { if (cached_has_bits & 0x00000004u) {
total_size += 1 + total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_context_); ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_context_);
} }
// .google.protobuf.Syntax syntax = 7; // .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000008u) { if (cached_has_bits & 0x00000008u) {
if (this_._internal_syntax() != 0) { if (this_._internal_syntax() != 0) {
total_size += 1 + total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_syntax()); ::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Api::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Api::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Api*>(&to_msg); auto* const _this = static_cast<Api*>(&to_msg);
@ -1007,167 +1007,167 @@ PROTOBUF_NOINLINE void Method::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Method::_InternalSerialize( ::uint8_t* Method::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Method& this_ = static_cast<const Method&>(base); const Method& this_ = static_cast<const Method&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Method::_InternalSerialize( ::uint8_t* Method::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Method& this_ = *this; const Method& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// string name = 1; // string name = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (!this_._internal_name().empty()) { if (!this_._internal_name().empty()) {
const std::string& _s = this_._internal_name(); const std::string& _s = this_._internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name");
target = stream->WriteStringMaybeAliased(1, _s, target); target = stream->WriteStringMaybeAliased(1, _s, target);
} }
} }
// string request_type_url = 2; // string request_type_url = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (!this_._internal_request_type_url().empty()) { if (!this_._internal_request_type_url().empty()) {
const std::string& _s = this_._internal_request_type_url(); const std::string& _s = this_._internal_request_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url");
target = stream->WriteStringMaybeAliased(2, _s, target); target = stream->WriteStringMaybeAliased(2, _s, target);
} }
} }
// bool request_streaming = 3; // bool request_streaming = 3;
if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000008u) != 0) {
if (this_._internal_request_streaming() != 0) { if (this_._internal_request_streaming() != 0) {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray( target = ::_pbi::WireFormatLite::WriteBoolToArray(
3, this_._internal_request_streaming(), target); 3, this_._internal_request_streaming(), target);
} }
} }
// string response_type_url = 4; // string response_type_url = 4;
if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000004u) != 0) {
if (!this_._internal_response_type_url().empty()) { if (!this_._internal_response_type_url().empty()) {
const std::string& _s = this_._internal_response_type_url(); const std::string& _s = this_._internal_response_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url");
target = stream->WriteStringMaybeAliased(4, _s, target); target = stream->WriteStringMaybeAliased(4, _s, target);
} }
} }
// bool response_streaming = 5; // bool response_streaming = 5;
if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000010u) != 0) {
if (this_._internal_response_streaming() != 0) { if (this_._internal_response_streaming() != 0) {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray( target = ::_pbi::WireFormatLite::WriteBoolToArray(
5, this_._internal_response_streaming(), target); 5, this_._internal_response_streaming(), target);
} }
} }
// repeated .google.protobuf.Option options = 6; // repeated .google.protobuf.Option options = 6;
for (unsigned i = 0, n = static_cast<unsigned>( for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_options_size()); this_._internal_options_size());
i < n; i++) { i < n; i++) {
const auto& repfield = this_._internal_options().Get(i); const auto& repfield = this_._internal_options().Get(i);
target = target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage( ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(), 6, repfield, repfield.GetCachedSize(),
target, stream); target, stream);
} }
// .google.protobuf.Syntax syntax = 7; // .google.protobuf.Syntax syntax = 7;
if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000020u) != 0) {
if (this_._internal_syntax() != 0) { if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray( target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target); 7, this_._internal_syntax(), target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Method::ByteSizeLong(const MessageLite& base) { ::size_t Method::ByteSizeLong(const MessageLite& base) {
const Method& this_ = static_cast<const Method&>(base); const Method& this_ = static_cast<const Method&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Method::ByteSizeLong() const { ::size_t Method::ByteSizeLong() const {
const Method& this_ = *this; const Method& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated .google.protobuf.Option options = 6; // repeated .google.protobuf.Option options = 6;
{ {
total_size += 1UL * this_._internal_options_size(); total_size += 1UL * this_._internal_options_size();
for (const auto& msg : this_._internal_options()) { for (const auto& msg : this_._internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
} }
} }
} }
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) { if (cached_has_bits & 0x0000003fu) {
// string name = 1; // string name = 1;
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) { if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name()); this_._internal_name());
} }
} }
// string request_type_url = 2; // string request_type_url = 2;
if (cached_has_bits & 0x00000002u) { if (cached_has_bits & 0x00000002u) {
if (!this_._internal_request_type_url().empty()) { if (!this_._internal_request_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_request_type_url()); this_._internal_request_type_url());
} }
} }
// string response_type_url = 4; // string response_type_url = 4;
if (cached_has_bits & 0x00000004u) { if (cached_has_bits & 0x00000004u) {
if (!this_._internal_response_type_url().empty()) { if (!this_._internal_response_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_response_type_url()); this_._internal_response_type_url());
} }
} }
// bool request_streaming = 3; // bool request_streaming = 3;
if (cached_has_bits & 0x00000008u) { if (cached_has_bits & 0x00000008u) {
if (this_._internal_request_streaming() != 0) { if (this_._internal_request_streaming() != 0) {
total_size += 2; total_size += 2;
} }
} }
// bool response_streaming = 5; // bool response_streaming = 5;
if (cached_has_bits & 0x00000010u) { if (cached_has_bits & 0x00000010u) {
if (this_._internal_response_streaming() != 0) { if (this_._internal_response_streaming() != 0) {
total_size += 2; total_size += 2;
} }
} }
// .google.protobuf.Syntax syntax = 7; // .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000020u) { if (cached_has_bits & 0x00000020u) {
if (this_._internal_syntax() != 0) { if (this_._internal_syntax() != 0) {
total_size += 1 + total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_syntax()); ::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Method::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Method::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Method*>(&to_msg); auto* const _this = static_cast<Method*>(&to_msg);
@ -1429,84 +1429,84 @@ PROTOBUF_NOINLINE void Mixin::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Mixin::_InternalSerialize( ::uint8_t* Mixin::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Mixin& this_ = static_cast<const Mixin&>(base); const Mixin& this_ = static_cast<const Mixin&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Mixin::_InternalSerialize( ::uint8_t* Mixin::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Mixin& this_ = *this; const Mixin& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// string name = 1; // string name = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (!this_._internal_name().empty()) { if (!this_._internal_name().empty()) {
const std::string& _s = this_._internal_name(); const std::string& _s = this_._internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name");
target = stream->WriteStringMaybeAliased(1, _s, target); target = stream->WriteStringMaybeAliased(1, _s, target);
} }
} }
// string root = 2; // string root = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (!this_._internal_root().empty()) { if (!this_._internal_root().empty()) {
const std::string& _s = this_._internal_root(); const std::string& _s = this_._internal_root();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root");
target = stream->WriteStringMaybeAliased(2, _s, target); target = stream->WriteStringMaybeAliased(2, _s, target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Mixin::ByteSizeLong(const MessageLite& base) { ::size_t Mixin::ByteSizeLong(const MessageLite& base) {
const Mixin& this_ = static_cast<const Mixin&>(base); const Mixin& this_ = static_cast<const Mixin&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Mixin::ByteSizeLong() const { ::size_t Mixin::ByteSizeLong() const {
const Mixin& this_ = *this; const Mixin& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000003u) {
// string name = 1; // string name = 1;
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) { if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name()); this_._internal_name());
} }
} }
// string root = 2; // string root = 2;
if (cached_has_bits & 0x00000002u) { if (cached_has_bits & 0x00000002u) {
if (!this_._internal_root().empty()) { if (!this_._internal_root().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_root()); this_._internal_root());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Mixin::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Mixin::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Mixin*>(&to_msg); auto* const _this = static_cast<Mixin*>(&to_msg);

@ -264,82 +264,82 @@ PROTOBUF_NOINLINE void Duration::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Duration::_InternalSerialize( ::uint8_t* Duration::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Duration& this_ = static_cast<const Duration&>(base); const Duration& this_ = static_cast<const Duration&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Duration::_InternalSerialize( ::uint8_t* Duration::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Duration& this_ = *this; const Duration& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// int64 seconds = 1; // int64 seconds = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (this_._internal_seconds() != 0) { if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite:: target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>( WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target); stream, this_._internal_seconds(), target);
} }
} }
// int32 nanos = 2; // int32 nanos = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (this_._internal_nanos() != 0) { if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite:: target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>( WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), target); stream, this_._internal_nanos(), target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Duration) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Duration)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Duration::ByteSizeLong(const MessageLite& base) { ::size_t Duration::ByteSizeLong(const MessageLite& base) {
const Duration& this_ = static_cast<const Duration&>(base); const Duration& this_ = static_cast<const Duration&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Duration::ByteSizeLong() const { ::size_t Duration::ByteSizeLong() const {
const Duration& this_ = *this; const Duration& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Duration) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Duration)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000003u) {
// int64 seconds = 1; // int64 seconds = 1;
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (this_._internal_seconds() != 0) { if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds()); this_._internal_seconds());
} }
} }
// int32 nanos = 2; // int32 nanos = 2;
if (cached_has_bits & 0x00000002u) { if (cached_has_bits & 0x00000002u) {
if (this_._internal_nanos() != 0) { if (this_._internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this_._internal_nanos()); this_._internal_nanos());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Duration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Duration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Duration*>(&to_msg); auto* const _this = static_cast<Duration*>(&to_msg);

@ -265,66 +265,66 @@ PROTOBUF_NOINLINE void FieldMask::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* FieldMask::_InternalSerialize( ::uint8_t* FieldMask::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const FieldMask& this_ = static_cast<const FieldMask&>(base); const FieldMask& this_ = static_cast<const FieldMask&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* FieldMask::_InternalSerialize( ::uint8_t* FieldMask::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const FieldMask& this_ = *this; const FieldMask& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// repeated string paths = 1; // repeated string paths = 1;
for (int i = 0, n = this_._internal_paths_size(); i < n; ++i) { for (int i = 0, n = this_._internal_paths_size(); i < n; ++i) {
const auto& s = this_._internal_paths().Get(i); const auto& s = this_._internal_paths().Get(i);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.FieldMask.paths"); s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.FieldMask.paths");
target = stream->WriteString(1, s, target); target = stream->WriteString(1, s, target);
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldMask) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldMask)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t FieldMask::ByteSizeLong(const MessageLite& base) { ::size_t FieldMask::ByteSizeLong(const MessageLite& base) {
const FieldMask& this_ = static_cast<const FieldMask&>(base); const FieldMask& this_ = static_cast<const FieldMask&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t FieldMask::ByteSizeLong() const { ::size_t FieldMask::ByteSizeLong() const {
const FieldMask& this_ = *this; const FieldMask& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldMask) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldMask)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated string paths = 1; // repeated string paths = 1;
{ {
total_size += total_size +=
1 * ::google::protobuf::internal::FromIntSize(this_._internal_paths().size()); 1 * ::google::protobuf::internal::FromIntSize(this_._internal_paths().size());
for (int i = 0, n = this_._internal_paths().size(); i < n; ++i) { for (int i = 0, n = this_._internal_paths().size(); i < n; ++i) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize( total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_paths().Get(i)); this_._internal_paths().Get(i));
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void FieldMask::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void FieldMask::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<FieldMask*>(&to_msg); auto* const _this = static_cast<FieldMask*>(&to_msg);

@ -266,66 +266,66 @@ PROTOBUF_NOINLINE void SourceContext::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SourceContext::_InternalSerialize( ::uint8_t* SourceContext::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const SourceContext& this_ = static_cast<const SourceContext&>(base); const SourceContext& this_ = static_cast<const SourceContext&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SourceContext::_InternalSerialize( ::uint8_t* SourceContext::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SourceContext& this_ = *this; const SourceContext& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// string file_name = 1; // string file_name = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (!this_._internal_file_name().empty()) { if (!this_._internal_file_name().empty()) {
const std::string& _s = this_._internal_file_name(); const std::string& _s = this_._internal_file_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.SourceContext.file_name"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.SourceContext.file_name");
target = stream->WriteStringMaybeAliased(1, _s, target); target = stream->WriteStringMaybeAliased(1, _s, target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceContext) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceContext)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SourceContext::ByteSizeLong(const MessageLite& base) { ::size_t SourceContext::ByteSizeLong(const MessageLite& base) {
const SourceContext& this_ = static_cast<const SourceContext&>(base); const SourceContext& this_ = static_cast<const SourceContext&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t SourceContext::ByteSizeLong() const { ::size_t SourceContext::ByteSizeLong() const {
const SourceContext& this_ = *this; const SourceContext& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceContext) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceContext)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
{ {
// string file_name = 1; // string file_name = 1;
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (!this_._internal_file_name().empty()) { if (!this_._internal_file_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_file_name()); this_._internal_file_name());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void SourceContext::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void SourceContext::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SourceContext*>(&to_msg); auto* const _this = static_cast<SourceContext*>(&to_msg);

@ -238,57 +238,57 @@ bool NullValue_IsValid(int value) {
// =================================================================== // ===================================================================
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse()
: SuperType(Struct_FieldsEntry_DoNotUse_class_data_.base()) {} : SuperType(Struct_FieldsEntry_DoNotUse_class_data_.base()) {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena)
: SuperType(arena, Struct_FieldsEntry_DoNotUse_class_data_.base()) {} : SuperType(arena, Struct_FieldsEntry_DoNotUse_class_data_.base()) {}
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() : SuperType() {} Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() : SuperType() {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
inline void* Struct_FieldsEntry_DoNotUse::PlacementNew_(const void*, void* mem, inline void* Struct_FieldsEntry_DoNotUse::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) { ::google::protobuf::Arena* arena) {
return ::new (mem) Struct_FieldsEntry_DoNotUse(arena); return ::new (mem) Struct_FieldsEntry_DoNotUse(arena);
} }
constexpr auto Struct_FieldsEntry_DoNotUse::InternalNewImpl_() { constexpr auto Struct_FieldsEntry_DoNotUse::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse), return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse),
alignof(Struct_FieldsEntry_DoNotUse)); alignof(Struct_FieldsEntry_DoNotUse));
} }
constexpr auto Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_() { constexpr auto Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_() {
return ::google::protobuf::internal::ClassDataFull{ return ::google::protobuf::internal::ClassDataFull{
::google::protobuf::internal::ClassData{ ::google::protobuf::internal::ClassData{
&_Struct_FieldsEntry_DoNotUse_default_instance_._instance, &_Struct_FieldsEntry_DoNotUse_default_instance_._instance,
&_table_.header, &_table_.header,
nullptr, // OnDemandRegisterArenaDtor nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized nullptr, // IsInitialized
&Struct_FieldsEntry_DoNotUse::MergeImpl, &Struct_FieldsEntry_DoNotUse::MergeImpl,
::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(), ::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(),
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
&Struct_FieldsEntry_DoNotUse::SharedDtor, &Struct_FieldsEntry_DoNotUse::SharedDtor,
static_cast<void (::google::protobuf::MessageLite::*)()>( static_cast<void (::google::protobuf::MessageLite::*)()>(
&Struct_FieldsEntry_DoNotUse::ClearImpl), &Struct_FieldsEntry_DoNotUse::ClearImpl),
::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
, ,
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_._cached_size_), PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_._cached_size_),
false, false,
}, },
&Struct_FieldsEntry_DoNotUse::kDescriptorMethods, &Struct_FieldsEntry_DoNotUse::kDescriptorMethods,
&descriptor_table_google_2fprotobuf_2fstruct_2eproto, &descriptor_table_google_2fprotobuf_2fstruct_2eproto,
nullptr, // tracker nullptr, // tracker
}; };
} }
PROTOBUF_CONSTINIT PROTOBUF_EXPORT PROTOBUF_CONSTINIT PROTOBUF_EXPORT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull
Struct_FieldsEntry_DoNotUse_class_data_ = Struct_FieldsEntry_DoNotUse_class_data_ =
Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_(); Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_();
const ::google::protobuf::internal::ClassData* Struct_FieldsEntry_DoNotUse::GetClassData() const { const ::google::protobuf::internal::ClassData* Struct_FieldsEntry_DoNotUse::GetClassData() const {
::google::protobuf::internal::PrefetchToLocalCache(&Struct_FieldsEntry_DoNotUse_class_data_); ::google::protobuf::internal::PrefetchToLocalCache(&Struct_FieldsEntry_DoNotUse_class_data_);
::google::protobuf::internal::PrefetchToLocalCache(Struct_FieldsEntry_DoNotUse_class_data_.tc_table); ::google::protobuf::internal::PrefetchToLocalCache(Struct_FieldsEntry_DoNotUse_class_data_.tc_table);
return Struct_FieldsEntry_DoNotUse_class_data_.base(); return Struct_FieldsEntry_DoNotUse_class_data_.base();
} }
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 1, 46, 2> Struct_FieldsEntry_DoNotUse::_table_ = { const ::_pbi::TcParseTable<1, 2, 1, 46, 2> Struct_FieldsEntry_DoNotUse::_table_ = {
{ {
@ -497,86 +497,86 @@ PROTOBUF_NOINLINE void Struct::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Struct::_InternalSerialize( ::uint8_t* Struct::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Struct& this_ = static_cast<const Struct&>(base); const Struct& this_ = static_cast<const Struct&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Struct::_InternalSerialize( ::uint8_t* Struct::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Struct& this_ = *this; const Struct& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// map<string, .google.protobuf.Value> fields = 1; // map<string, .google.protobuf.Value> fields = 1;
if (!this_._internal_fields().empty()) { if (!this_._internal_fields().empty()) {
using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>; using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>;
using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING, _pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>; _pbi::WireFormatLite::TYPE_MESSAGE>;
const auto& field = this_._internal_fields(); const auto& field = this_._internal_fields();
if (stream->IsSerializationDeterministic() && field.size() > 1) { if (stream->IsSerializationDeterministic() && field.size() > 1) {
for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) { for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
target = WireHelper::InternalSerialize( target = WireHelper::InternalSerialize(
1, entry.first, entry.second, target, stream); 1, entry.first, entry.second, target, stream);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()), entry.first.data(), static_cast<int>(entry.first.length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields"); ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
} }
} else { } else {
for (const auto& entry : field) { for (const auto& entry : field) {
target = WireHelper::InternalSerialize( target = WireHelper::InternalSerialize(
1, entry.first, entry.second, target, stream); 1, entry.first, entry.second, target, stream);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()), entry.first.data(), static_cast<int>(entry.first.length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields"); ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
} }
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Struct) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Struct)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Struct::ByteSizeLong(const MessageLite& base) { ::size_t Struct::ByteSizeLong(const MessageLite& base) {
const Struct& this_ = static_cast<const Struct&>(base); const Struct& this_ = static_cast<const Struct&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Struct::ByteSizeLong() const { ::size_t Struct::ByteSizeLong() const {
const Struct& this_ = *this; const Struct& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Struct) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Struct)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// map<string, .google.protobuf.Value> fields = 1; // map<string, .google.protobuf.Value> fields = 1;
{ {
total_size += total_size +=
1 * ::google::protobuf::internal::FromIntSize(this_._internal_fields_size()); 1 * ::google::protobuf::internal::FromIntSize(this_._internal_fields_size());
for (const auto& entry : this_._internal_fields()) { for (const auto& entry : this_._internal_fields()) {
total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value, total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING, _pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second); _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Struct::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Struct::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Struct*>(&to_msg); auto* const _this = static_cast<Struct*>(&to_msg);
@ -867,126 +867,126 @@ PROTOBUF_NOINLINE void Value::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Value::_InternalSerialize( ::uint8_t* Value::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Value& this_ = static_cast<const Value&>(base); const Value& this_ = static_cast<const Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Value::_InternalSerialize( ::uint8_t* Value::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Value& this_ = *this; const Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
switch (this_.kind_case()) { switch (this_.kind_case()) {
case kNullValue: { case kNullValue: {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray( target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this_._internal_null_value(), target); 1, this_._internal_null_value(), target);
break; break;
} }
case kNumberValue: { case kNumberValue: {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteDoubleToArray( target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2, this_._internal_number_value(), target); 2, this_._internal_number_value(), target);
break; break;
} }
case kStringValue: { case kStringValue: {
const std::string& _s = this_._internal_string_value(); const std::string& _s = this_._internal_string_value();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String( ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Value.string_value"); _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Value.string_value");
target = stream->WriteStringMaybeAliased(3, _s, target); target = stream->WriteStringMaybeAliased(3, _s, target);
break; break;
} }
case kBoolValue: { case kBoolValue: {
target = stream->EnsureSpace(target); target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray( target = ::_pbi::WireFormatLite::WriteBoolToArray(
4, this_._internal_bool_value(), target); 4, this_._internal_bool_value(), target);
break; break;
} }
case kStructValue: { case kStructValue: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *this_._impl_.kind_.struct_value_, this_._impl_.kind_.struct_value_->GetCachedSize(), target, 5, *this_._impl_.kind_.struct_value_, this_._impl_.kind_.struct_value_->GetCachedSize(), target,
stream); stream);
break; break;
} }
case kListValue: { case kListValue: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, *this_._impl_.kind_.list_value_, this_._impl_.kind_.list_value_->GetCachedSize(), target, 6, *this_._impl_.kind_.list_value_, this_._impl_.kind_.list_value_->GetCachedSize(), target,
stream); stream);
break; break;
} }
default: default:
break; break;
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Value) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Value)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Value::ByteSizeLong(const MessageLite& base) { ::size_t Value::ByteSizeLong(const MessageLite& base) {
const Value& this_ = static_cast<const Value&>(base); const Value& this_ = static_cast<const Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Value::ByteSizeLong() const { ::size_t Value::ByteSizeLong() const {
const Value& this_ = *this; const Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Value) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Value)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
switch (this_.kind_case()) { switch (this_.kind_case()) {
// .google.protobuf.NullValue null_value = 1; // .google.protobuf.NullValue null_value = 1;
case kNullValue: { case kNullValue: {
total_size += 1 + total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_null_value()); ::_pbi::WireFormatLite::EnumSize(this_._internal_null_value());
break; break;
} }
// double number_value = 2; // double number_value = 2;
case kNumberValue: { case kNumberValue: {
total_size += 9; total_size += 9;
break; break;
} }
// string string_value = 3; // string string_value = 3;
case kStringValue: { case kStringValue: {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_string_value()); this_._internal_string_value());
break; break;
} }
// bool bool_value = 4; // bool bool_value = 4;
case kBoolValue: { case kBoolValue: {
total_size += 2; total_size += 2;
break; break;
} }
// .google.protobuf.Struct struct_value = 5; // .google.protobuf.Struct struct_value = 5;
case kStructValue: { case kStructValue: {
total_size += 1 + total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.struct_value_); ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.struct_value_);
break; break;
} }
// .google.protobuf.ListValue list_value = 6; // .google.protobuf.ListValue list_value = 6;
case kListValue: { case kListValue: {
total_size += 1 + total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.list_value_); ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.list_value_);
break; break;
} }
case KIND_NOT_SET: { case KIND_NOT_SET: {
break; break;
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Value*>(&to_msg); auto* const _this = static_cast<Value*>(&to_msg);
@ -1224,67 +1224,67 @@ PROTOBUF_NOINLINE void ListValue::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* ListValue::_InternalSerialize( ::uint8_t* ListValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const ListValue& this_ = static_cast<const ListValue&>(base); const ListValue& this_ = static_cast<const ListValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* ListValue::_InternalSerialize( ::uint8_t* ListValue::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const ListValue& this_ = *this; const ListValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// repeated .google.protobuf.Value values = 1; // repeated .google.protobuf.Value values = 1;
for (unsigned i = 0, n = static_cast<unsigned>( for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_values_size()); this_._internal_values_size());
i < n; i++) { i < n; i++) {
const auto& repfield = this_._internal_values().Get(i); const auto& repfield = this_._internal_values().Get(i);
target = target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage( ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1, repfield, repfield.GetCachedSize(), 1, repfield, repfield.GetCachedSize(),
target, stream); target, stream);
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ListValue) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ListValue)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ListValue::ByteSizeLong(const MessageLite& base) { ::size_t ListValue::ByteSizeLong(const MessageLite& base) {
const ListValue& this_ = static_cast<const ListValue&>(base); const ListValue& this_ = static_cast<const ListValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t ListValue::ByteSizeLong() const { ::size_t ListValue::ByteSizeLong() const {
const ListValue& this_ = *this; const ListValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ListValue) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ListValue)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated .google.protobuf.Value values = 1; // repeated .google.protobuf.Value values = 1;
{ {
total_size += 1UL * this_._internal_values_size(); total_size += 1UL * this_._internal_values_size();
for (const auto& msg : this_._internal_values()) { for (const auto& msg : this_._internal_values()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void ListValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void ListValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<ListValue*>(&to_msg); auto* const _this = static_cast<ListValue*>(&to_msg);

@ -264,82 +264,82 @@ PROTOBUF_NOINLINE void Timestamp::Clear() {
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Timestamp::_InternalSerialize( ::uint8_t* Timestamp::_InternalSerialize(
const MessageLite& base, ::uint8_t* target, const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) { ::google::protobuf::io::EpsCopyOutputStream* stream) {
const Timestamp& this_ = static_cast<const Timestamp&>(base); const Timestamp& this_ = static_cast<const Timestamp&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Timestamp::_InternalSerialize( ::uint8_t* Timestamp::_InternalSerialize(
::uint8_t* target, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const { ::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Timestamp& this_ = *this; const Timestamp& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp) // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
(void)cached_has_bits; (void)cached_has_bits;
// int64 seconds = 1; // int64 seconds = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (this_._internal_seconds() != 0) { if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite:: target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>( WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target); stream, this_._internal_seconds(), target);
} }
} }
// int32 nanos = 2; // int32 nanos = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) { if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (this_._internal_nanos() != 0) { if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite:: target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>( WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), target); stream, this_._internal_nanos(), target);
} }
} }
if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target = target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
} }
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Timestamp) // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Timestamp)
return target; return target;
} }
#if defined(PROTOBUF_CUSTOM_VTABLE) #if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Timestamp::ByteSizeLong(const MessageLite& base) { ::size_t Timestamp::ByteSizeLong(const MessageLite& base) {
const Timestamp& this_ = static_cast<const Timestamp&>(base); const Timestamp& this_ = static_cast<const Timestamp&>(base);
#else // PROTOBUF_CUSTOM_VTABLE #else // PROTOBUF_CUSTOM_VTABLE
::size_t Timestamp::ByteSizeLong() const { ::size_t Timestamp::ByteSizeLong() const {
const Timestamp& this_ = *this; const Timestamp& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE #endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Timestamp) // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Timestamp)
::size_t total_size = 0; ::size_t total_size = 0;
::uint32_t cached_has_bits = 0; ::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits; (void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0]; cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000003u) {
// int64 seconds = 1; // int64 seconds = 1;
if (cached_has_bits & 0x00000001u) { if (cached_has_bits & 0x00000001u) {
if (this_._internal_seconds() != 0) { if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds()); this_._internal_seconds());
} }
} }
// int32 nanos = 2; // int32 nanos = 2;
if (cached_has_bits & 0x00000002u) { if (cached_has_bits & 0x00000002u) {
if (this_._internal_nanos() != 0) { if (this_._internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this_._internal_nanos()); this_._internal_nanos());
} }
} }
} }
return this_.MaybeComputeUnknownFieldsSize(total_size, return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_); &this_._impl_._cached_size_);
} }
void Timestamp::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { void Timestamp::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Timestamp*>(&to_msg); auto* const _this = static_cast<Timestamp*>(&to_msg);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save