Auto-generate files after cl/625729831

pull/16543/head
Protobuf Team Bot 8 months ago
parent 88a0d33c55
commit 7d24d5f53c
  1. 9
      src/google/protobuf/any.pb.cc
  2. 5
      src/google/protobuf/api.pb.cc
  3. 5
      src/google/protobuf/struct.pb.cc
  4. 15
      src/google/protobuf/type.pb.cc

@ -116,15 +116,12 @@ bool Any::GetAnyFieldDescriptors(
const ::google::protobuf::Message& message, const ::google::protobuf::Message& message,
const ::google::protobuf::FieldDescriptor** type_url_field, const ::google::protobuf::FieldDescriptor** type_url_field,
const ::google::protobuf::FieldDescriptor** value_field) { const ::google::protobuf::FieldDescriptor** value_field) {
return ::_pbi::GetAnyFieldDescriptors( return ::_pbi::GetAnyFieldDescriptors(message, type_url_field, value_field);
message, type_url_field, value_field);
} }
bool Any::ParseAnyTypeUrl( bool Any::ParseAnyTypeUrl(::absl::string_view type_url,
::absl::string_view type_url, std::string* full_type_name) {
std::string* full_type_name) {
return ::_pbi::ParseAnyTypeUrl(type_url, full_type_name); return ::_pbi::ParseAnyTypeUrl(type_url, full_type_name);
} }
class Any::_Internal { class Any::_Internal {
public: public:
}; };

@ -228,9 +228,10 @@ namespace protobuf {
class Api::_Internal { class Api::_Internal {
public: public:
using HasBits = decltype(std::declval<Api>()._impl_._has_bits_); using HasBits =
decltype(std::declval<Api>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset = static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(Api, _impl_._has_bits_); 8 * PROTOBUF_FIELD_OFFSET(Api, _impl_._has_bits_);
}; };
void Api::clear_options() { void Api::clear_options() {

@ -213,8 +213,7 @@ bool NullValue_IsValid(int value) {
// =================================================================== // ===================================================================
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() {} Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
: SuperType(arena) {}
const ::google::protobuf::MessageLite::ClassData* const ::google::protobuf::MessageLite::ClassData*
Struct_FieldsEntry_DoNotUse::GetClassData() const { Struct_FieldsEntry_DoNotUse::GetClassData() const {
PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite::
@ -450,7 +449,7 @@ void Struct::InternalSwap(Struct* PROTOBUF_RESTRICT other) {
class Value::_Internal { class Value::_Internal {
public: public:
static constexpr ::int32_t kOneofCaseOffset = static constexpr ::int32_t kOneofCaseOffset =
PROTOBUF_FIELD_OFFSET(::google::protobuf::Value, _impl_._oneof_case_); PROTOBUF_FIELD_OFFSET(::google::protobuf::Value, _impl_._oneof_case_);
}; };
void Value::set_allocated_struct_value(::google::protobuf::Struct* struct_value) { void Value::set_allocated_struct_value(::google::protobuf::Struct* struct_value) {

@ -412,9 +412,10 @@ bool Syntax_IsValid(int value) {
class Type::_Internal { class Type::_Internal {
public: public:
using HasBits = decltype(std::declval<Type>()._impl_._has_bits_); using HasBits =
decltype(std::declval<Type>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset = static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(Type, _impl_._has_bits_); 8 * PROTOBUF_FIELD_OFFSET(Type, _impl_._has_bits_);
}; };
void Type::clear_source_context() { void Type::clear_source_context() {
@ -1253,9 +1254,10 @@ void Field::InternalSwap(Field* PROTOBUF_RESTRICT other) {
class Enum::_Internal { class Enum::_Internal {
public: public:
using HasBits = decltype(std::declval<Enum>()._impl_._has_bits_); using HasBits =
decltype(std::declval<Enum>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset = static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(Enum, _impl_._has_bits_); 8 * PROTOBUF_FIELD_OFFSET(Enum, _impl_._has_bits_);
}; };
void Enum::clear_source_context() { void Enum::clear_source_context() {
@ -1872,9 +1874,10 @@ void EnumValue::InternalSwap(EnumValue* PROTOBUF_RESTRICT other) {
class Option::_Internal { class Option::_Internal {
public: public:
using HasBits = decltype(std::declval<Option>()._impl_._has_bits_); using HasBits =
decltype(std::declval<Option>()._impl_._has_bits_);
static constexpr ::int32_t kHasBitsOffset = static constexpr ::int32_t kHasBitsOffset =
8 * PROTOBUF_FIELD_OFFSET(Option, _impl_._has_bits_); 8 * PROTOBUF_FIELD_OFFSET(Option, _impl_._has_bits_);
}; };
void Option::clear_value() { void Option::clear_value() {

Loading…
Cancel
Save