Auto-generate files after cl/660236451

pull/17740/head
Protobuf Team Bot 4 months ago
parent 9277baa4cd
commit ea94ce4576
  1. 8
      src/google/protobuf/api.pb.cc
  2. 2
      src/google/protobuf/field_mask.pb.cc
  3. 4
      src/google/protobuf/struct.pb.cc
  4. 14
      src/google/protobuf/type.pb.cc

@ -567,21 +567,21 @@ PROTOBUF_NOINLINE void Api::Clear() {
::_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);
@ -987,7 +987,7 @@ PROTOBUF_NOINLINE void Method::Clear() {
::_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);

@ -286,7 +286,7 @@ PROTOBUF_NOINLINE void FieldMask::Clear() {
::_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) {

@ -517,7 +517,7 @@ PROTOBUF_NOINLINE void Struct::Clear() {
::_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()) {
@ -1190,7 +1190,7 @@ PROTOBUF_NOINLINE void ListValue::Clear() {
::_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);

@ -756,14 +756,14 @@ PROTOBUF_NOINLINE void Type::Clear() {
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated .google.protobuf.Field fields = 2; // repeated .google.protobuf.Field fields = 2;
{ {
total_size += 1UL * this_._internal_fields_size(); total_size += 1UL * this_._internal_fields_size();
for (const auto& msg : this_._internal_fields()) { for (const auto& msg : this_._internal_fields()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
} }
} }
// repeated string oneofs = 3; // repeated string oneofs = 3;
{ {
total_size += total_size +=
1 * ::google::protobuf::internal::FromIntSize(this_._internal_oneofs().size()); 1 * ::google::protobuf::internal::FromIntSize(this_._internal_oneofs().size());
for (int i = 0, n = this_._internal_oneofs().size(); i < n; ++i) { for (int i = 0, n = this_._internal_oneofs().size(); i < n; ++i) {
@ -772,7 +772,7 @@ PROTOBUF_NOINLINE void Type::Clear() {
} }
} }
// repeated .google.protobuf.Option options = 4; // repeated .google.protobuf.Option options = 4;
{ {
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);
@ -1223,7 +1223,7 @@ PROTOBUF_NOINLINE void Field::Clear() {
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated .google.protobuf.Option options = 9; // repeated .google.protobuf.Option options = 9;
{ {
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);
@ -1650,14 +1650,14 @@ PROTOBUF_NOINLINE void Enum::Clear() {
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// repeated .google.protobuf.EnumValue enumvalue = 2; // repeated .google.protobuf.EnumValue enumvalue = 2;
{ {
total_size += 1UL * this_._internal_enumvalue_size(); total_size += 1UL * this_._internal_enumvalue_size();
for (const auto& msg : this_._internal_enumvalue()) { for (const auto& msg : this_._internal_enumvalue()) {
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);
@ -1979,7 +1979,7 @@ PROTOBUF_NOINLINE void EnumValue::Clear() {
::_pbi::Prefetch5LinesFrom7Lines(&this_); ::_pbi::Prefetch5LinesFrom7Lines(&this_);
{ {
// 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);

Loading…
Cancel
Save