From aa52a0288865e5cedd25b3a8d5793b578685024b Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Tue, 16 May 2023 19:09:32 +0000 Subject: [PATCH] Auto-generate files after cl/532528210 --- src/google/protobuf/api.pb.h | 8 ++++---- src/google/protobuf/field_mask.pb.h | 2 +- src/google/protobuf/struct.pb.h | 4 ++-- src/google/protobuf/type.pb.h | 14 +++++++------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index 8f9e22be7b..8922881b82 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -853,7 +853,7 @@ inline void Api::set_allocated_name(std::string* value) { // repeated .google.protobuf.Method methods = 2; inline int Api::_internal_methods_size() const { - return _impl_.methods_.size(); + return _internal_methods().size(); } inline int Api::methods_size() const { return _internal_methods_size(); @@ -895,7 +895,7 @@ Api::_internal_mutable_methods() { // repeated .google.protobuf.Option options = 3; inline int Api::_internal_options_size() const { - return _impl_.options_.size(); + return _internal_options().size(); } inline int Api::options_size() const { return _internal_options_size(); @@ -1065,7 +1065,7 @@ inline void Api::set_allocated_source_context(::google::protobuf::SourceContext* // repeated .google.protobuf.Mixin mixins = 6; inline int Api::_internal_mixins_size() const { - return _impl_.mixins_.size(); + return _internal_mixins().size(); } inline int Api::mixins_size() const { return _internal_mixins_size(); @@ -1306,7 +1306,7 @@ inline void Method::_internal_set_response_streaming(bool value) { // repeated .google.protobuf.Option options = 6; inline int Method::_internal_options_size() const { - return _impl_.options_.size(); + return _internal_options().size(); } inline int Method::options_size() const { return _internal_options_size(); diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index bba57778bf..65589ebc63 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -264,7 +264,7 @@ class PROTOBUF_EXPORT FieldMask final : // repeated string paths = 1; inline int FieldMask::_internal_paths_size() const { - return _impl_.paths_.size(); + return _internal_paths().size(); } inline int FieldMask::paths_size() const { return _internal_paths_size(); diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index 87f1580bc7..fa1e2af17a 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -770,7 +770,7 @@ class PROTOBUF_EXPORT ListValue final : // map fields = 1; inline int Struct::_internal_fields_size() const { - return _impl_.fields_.size(); + return _internal_fields().size(); } inline int Struct::fields_size() const { return _internal_fields_size(); @@ -1142,7 +1142,7 @@ inline Value::KindCase Value::kind_case() const { // repeated .google.protobuf.Value values = 1; inline int ListValue::_internal_values_size() const { - return _impl_.values_.size(); + return _internal_values().size(); } inline int ListValue::values_size() const { return _internal_values_size(); diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index 09a960eb3c..d2cd1a2cf0 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -1537,7 +1537,7 @@ inline void Type::set_allocated_name(std::string* value) { // repeated .google.protobuf.Field fields = 2; inline int Type::_internal_fields_size() const { - return _impl_.fields_.size(); + return _internal_fields().size(); } inline int Type::fields_size() const { return _internal_fields_size(); @@ -1579,7 +1579,7 @@ Type::_internal_mutable_fields() { // repeated string oneofs = 3; inline int Type::_internal_oneofs_size() const { - return _impl_.oneofs_.size(); + return _internal_oneofs().size(); } inline int Type::oneofs_size() const { return _internal_oneofs_size(); @@ -1666,7 +1666,7 @@ Type::_internal_mutable_oneofs() { // repeated .google.protobuf.Option options = 4; inline int Type::_internal_options_size() const { - return _impl_.options_.size(); + return _internal_options().size(); } inline int Type::options_size() const { return _internal_options_size(); @@ -2053,7 +2053,7 @@ inline void Field::_internal_set_packed(bool value) { // repeated .google.protobuf.Option options = 9; inline int Field::_internal_options_size() const { - return _impl_.options_.size(); + return _internal_options().size(); } inline int Field::options_size() const { return _internal_options_size(); @@ -2234,7 +2234,7 @@ inline void Enum::set_allocated_name(std::string* value) { // repeated .google.protobuf.EnumValue enumvalue = 2; inline int Enum::_internal_enumvalue_size() const { - return _impl_.enumvalue_.size(); + return _internal_enumvalue().size(); } inline int Enum::enumvalue_size() const { return _internal_enumvalue_size(); @@ -2276,7 +2276,7 @@ Enum::_internal_mutable_enumvalue() { // repeated .google.protobuf.Option options = 3; inline int Enum::_internal_options_size() const { - return _impl_.options_.size(); + return _internal_options().size(); } inline int Enum::options_size() const { return _internal_options_size(); @@ -2538,7 +2538,7 @@ inline void EnumValue::_internal_set_number(::int32_t value) { // repeated .google.protobuf.Option options = 3; inline int EnumValue::_internal_options_size() const { - return _impl_.options_.size(); + return _internal_options().size(); } inline int EnumValue::options_size() const { return _internal_options_size();