Auto-generate files after cl/557599609

pull/13572/head
Protobuf Team Bot 2 years ago
parent 1d70578792
commit 71a9ae2232
  1. 2
      src/file_lists.cmake
  2. 13
      src/google/protobuf/struct.pb.cc

@ -160,7 +160,6 @@ set(libprotobuf_hdrs
${protobuf_SOURCE_DIR}/src/google/protobuf/json/json.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_entry.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_entry_lite.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_field.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_field_inl.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_field_lite.h
@ -260,7 +259,6 @@ set(libprotobuf_lite_hdrs
${protobuf_SOURCE_DIR}/src/google/protobuf/io/zero_copy_stream_impl.h
${protobuf_SOURCE_DIR}/src/google/protobuf/io/zero_copy_stream_impl_lite.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_entry_lite.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_field_lite.h
${protobuf_SOURCE_DIR}/src/google/protobuf/map_type_handler.h
${protobuf_SOURCE_DIR}/src/google/protobuf/message_lite.h

@ -318,7 +318,10 @@ const ::_pbi::TcParseTable<0, 1, 2, 37, 2> Struct::_table_ = {
{PROTOBUF_FIELD_OFFSET(Struct, _impl_.fields_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMap)},
}}, {{
{::_pbi::TcParser::GetMapAuxInfo<decltype(Struct()._impl_.fields_)>(1, 0, 0)},
{::_pbi::TcParser::GetMapAuxInfo<
decltype(Struct()._impl_.fields_)>(
1, 0, 0, 9,
11)},
{::_pbi::TcParser::CreateInArenaStorageCb<::google::protobuf::Value>},
}}, {{
"\26\6\0\0\0\0\0\0"
@ -337,7 +340,9 @@ const ::_pbi::TcParseTable<0, 1, 2, 37, 2> Struct::_table_ = {
// map<string, .google.protobuf.Value> fields = 1;
if (!_internal_fields().empty()) {
using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>;
using WireHelper = Struct_FieldsEntry_DoNotUse::Funcs;
using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>;
const auto& field = _internal_fields();
if (stream->IsSerializationDeterministic() && field.size() > 1) {
@ -379,7 +384,9 @@ const ::_pbi::TcParseTable<0, 1, 2, 37, 2> Struct::_table_ = {
// map<string, .google.protobuf.Value> fields = 1;
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_fields_size());
for (const auto& entry : _internal_fields()) {
total_size += Struct_FieldsEntry_DoNotUse::Funcs::ByteSizeLong(entry.first, entry.second);
total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}

Loading…
Cancel
Save