Auto-generate files after cl/605067418

pull/15673/head^2
Protobuf Team Bot 10 months ago
parent 948ca2e0f3
commit 31920e9548
  1. 1
      src/google/protobuf/any.pb.cc
  2. 3
      src/google/protobuf/api.pb.cc
  3. 1
      src/google/protobuf/duration.pb.cc
  4. 1
      src/google/protobuf/field_mask.pb.cc
  5. 1
      src/google/protobuf/source_context.pb.cc
  6. 3
      src/google/protobuf/struct.pb.cc
  7. 1
      src/google/protobuf/timestamp.pb.cc
  8. 5
      src/google/protobuf/type.pb.cc
  9. 9
      src/google/protobuf/wrappers.pb.cc

@ -291,6 +291,7 @@ const char* Any::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// string type_url = 1;
if (!this->_internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(

@ -515,6 +515,7 @@ const char* Api::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Method methods = 2;
total_size += 1UL * this->_internal_methods_size();
for (const auto& msg : this->_internal_methods()) {
@ -900,6 +901,7 @@ const char* Method::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Option options = 6;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
@ -1176,6 +1178,7 @@ const char* Mixin::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(

@ -253,6 +253,7 @@ const char* Duration::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(

@ -248,6 +248,7 @@ const char* FieldMask::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated string paths = 1;
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_paths().size());
for (int i = 0, n = _internal_paths().size(); i < n; ++i) {

@ -251,6 +251,7 @@ const char* SourceContext::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// string file_name = 1;
if (!this->_internal_file_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(

@ -401,6 +401,7 @@ const char* Struct::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// map<string, .google.protobuf.Value> fields = 1;
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_fields_size());
for (const auto& entry : _internal_fields()) {
@ -735,6 +736,7 @@ const char* Value::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
switch (kind_case()) {
// .google.protobuf.NullValue null_value = 1;
case kNullValue: {
@ -1014,6 +1016,7 @@ const char* ListValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Value values = 1;
total_size += 1UL * this->_internal_values_size();
for (const auto& msg : this->_internal_values()) {

@ -253,6 +253,7 @@ const char* Timestamp::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(

@ -692,6 +692,7 @@ const char* Type::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Field fields = 2;
total_size += 1UL * this->_internal_fields_size();
for (const auto& msg : this->_internal_fields()) {
@ -1123,6 +1124,7 @@ const char* Field::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Option options = 9;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
@ -1526,6 +1528,7 @@ const char* Enum::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.EnumValue enumvalue = 2;
total_size += 1UL * this->_internal_enumvalue_size();
for (const auto& msg : this->_internal_enumvalue()) {
@ -1822,6 +1825,7 @@ const char* EnumValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Option options = 3;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
@ -2072,6 +2076,7 @@ const char* Option::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(

@ -486,6 +486,7 @@ const char* DoubleValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// double value = 1;
static_assert(sizeof(::uint64_t) == sizeof(double),
"Code assumes ::uint64_t and double are the same size.");
@ -678,6 +679,7 @@ const char* FloatValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// float value = 1;
static_assert(sizeof(::uint32_t) == sizeof(float),
"Code assumes ::uint32_t and float are the same size.");
@ -865,6 +867,7 @@ const char* Int64Value::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// int64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
@ -1043,6 +1046,7 @@ const char* UInt64Value::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// uint64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
@ -1221,6 +1225,7 @@ const char* Int32Value::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// int32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
@ -1399,6 +1404,7 @@ const char* UInt32Value::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// uint32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
@ -1577,6 +1583,7 @@ const char* BoolValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// bool value = 1;
if (this->_internal_value() != 0) {
total_size += 2;
@ -1772,6 +1779,7 @@ const char* StringValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// string value = 1;
if (!this->_internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
@ -1965,6 +1973,7 @@ const char* BytesValue::_InternalParse(
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// bytes value = 1;
if (!this->_internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(

Loading…
Cancel
Save