Auto-generate files after cl/596105029

pull/15315/head
Protobuf Team Bot 11 months ago
parent b2e94f3c41
commit 7bb9c98133
  1. 56
      src/google/protobuf/api.pb.cc
  2. 14
      src/google/protobuf/struct.pb.cc
  3. 84
      src/google/protobuf/type.pb.cc

@ -459,19 +459,25 @@ const ::_pbi::TcParseTable<3, 7, 4, 39, 2> Api::_table_ = {
}
// repeated .google.protobuf.Method methods = 2;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_methods_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_methods_size());
i < n; i++) {
const auto& repfield = this->_internal_methods().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, repfield, repfield.GetCachedSize(),
target, stream);
}
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, repfield, repfield.GetCachedSize(),
target, stream);
}
// string version = 4;
@ -490,11 +496,14 @@ const ::_pbi::TcParseTable<3, 7, 4, 39, 2> Api::_table_ = {
}
// repeated .google.protobuf.Mixin mixins = 6;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_mixins_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_mixins_size());
i < n; i++) {
const auto& repfield = this->_internal_mixins().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(),
target, stream);
}
// .google.protobuf.Syntax syntax = 7;
@ -524,20 +533,17 @@ const ::_pbi::TcParseTable<3, 7, 4, 39, 2> Api::_table_ = {
// repeated .google.protobuf.Method methods = 2;
total_size += 1UL * this->_internal_methods_size();
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;
total_size += 1UL * this->_internal_options_size();
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;
total_size += 1UL * this->_internal_mixins_size();
for (const auto& msg : this->_internal_mixins()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 1;
if (!this->_internal_name().empty()) {
@ -874,11 +880,14 @@ const ::_pbi::TcParseTable<3, 7, 1, 68, 2> Method::_table_ = {
}
// repeated .google.protobuf.Option options = 6;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(6, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(),
target, stream);
}
// .google.protobuf.Syntax syntax = 7;
@ -908,8 +917,7 @@ const ::_pbi::TcParseTable<3, 7, 1, 68, 2> Method::_table_ = {
// repeated .google.protobuf.Option options = 6;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 1;
if (!this->_internal_name().empty()) {

@ -989,11 +989,14 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListValue::_table_ = {
(void)cached_has_bits;
// repeated .google.protobuf.Value values = 1;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_values_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_values_size());
i < n; i++) {
const auto& repfield = this->_internal_values().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1, repfield, repfield.GetCachedSize(),
target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1016,8 +1019,7 @@ const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListValue::_table_ = {
// repeated .google.protobuf.Value values = 1;
total_size += 1UL * this->_internal_values_size();
for (const auto& msg : this->_internal_values()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}

@ -639,11 +639,14 @@ const ::_pbi::TcParseTable<3, 7, 3, 46, 2> Type::_table_ = {
}
// repeated .google.protobuf.Field fields = 2;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_fields_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_fields_size());
i < n; i++) {
const auto& repfield = this->_internal_fields().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, repfield, repfield.GetCachedSize(),
target, stream);
}
// repeated string oneofs = 3;
@ -655,11 +658,14 @@ const ::_pbi::TcParseTable<3, 7, 3, 46, 2> Type::_table_ = {
}
// repeated .google.protobuf.Option options = 4;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4, repfield, repfield.GetCachedSize(),
target, stream);
}
cached_has_bits = _impl_._has_bits_[0];
@ -704,8 +710,7 @@ const ::_pbi::TcParseTable<3, 7, 3, 46, 2> Type::_table_ = {
// repeated .google.protobuf.Field fields = 2;
total_size += 1UL * this->_internal_fields_size();
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;
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_oneofs().size());
@ -716,8 +721,7 @@ const ::_pbi::TcParseTable<3, 7, 3, 46, 2> Type::_table_ = {
// repeated .google.protobuf.Option options = 4;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 1;
if (!this->_internal_name().empty()) {
@ -1090,11 +1094,14 @@ const ::_pbi::TcParseTable<4, 10, 1, 72, 2> Field::_table_ = {
}
// repeated .google.protobuf.Option options = 9;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(9, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
9, repfield, repfield.GetCachedSize(),
target, stream);
}
// string json_name = 10;
@ -1133,8 +1140,7 @@ const ::_pbi::TcParseTable<4, 10, 1, 72, 2> Field::_table_ = {
// repeated .google.protobuf.Option options = 9;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 4;
if (!this->_internal_name().empty()) {
@ -1473,19 +1479,25 @@ const ::_pbi::TcParseTable<3, 6, 3, 40, 2> Enum::_table_ = {
}
// repeated .google.protobuf.EnumValue enumvalue = 2;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_enumvalue_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_enumvalue_size());
i < n; i++) {
const auto& repfield = this->_internal_enumvalue().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, repfield, repfield.GetCachedSize(),
target, stream);
}
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, repfield, repfield.GetCachedSize(),
target, stream);
}
cached_has_bits = _impl_._has_bits_[0];
@ -1530,14 +1542,12 @@ const ::_pbi::TcParseTable<3, 6, 3, 40, 2> Enum::_table_ = {
// repeated .google.protobuf.EnumValue enumvalue = 2;
total_size += 1UL * this->_internal_enumvalue_size();
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;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 1;
if (!this->_internal_name().empty()) {
@ -1797,11 +1807,14 @@ const ::_pbi::TcParseTable<2, 3, 1, 38, 2> EnumValue::_table_ = {
}
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0,
n = static_cast<unsigned>(this->_internal_options_size()); i < n; i++) {
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target = ::google::protobuf::internal::WireFormatLite::
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, repfield, repfield.GetCachedSize(),
target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@ -1824,8 +1837,7 @@ const ::_pbi::TcParseTable<2, 3, 1, 38, 2> EnumValue::_table_ = {
// repeated .google.protobuf.Option options = 3;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size +=
::google::protobuf::internal::WireFormatLite::MessageSize(msg);
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 1;
if (!this->_internal_name().empty()) {

Loading…
Cancel
Save