From 0c51f796a4b2c89d37f20927805ace392d05e394 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 11 May 2023 19:26:48 +0000 Subject: [PATCH] Auto-generate files after cl/531271824 --- src/google/protobuf/any.pb.cc | 34 ++-- src/google/protobuf/api.pb.cc | 112 ++++++------- src/google/protobuf/duration.pb.cc | 11 +- src/google/protobuf/empty.pb.cc | 13 +- src/google/protobuf/field_mask.pb.cc | 23 +-- src/google/protobuf/source_context.pb.cc | 26 +-- src/google/protobuf/struct.pb.cc | 75 ++++----- src/google/protobuf/timestamp.pb.cc | 11 +- src/google/protobuf/type.pb.cc | 191 +++++++++++------------ src/google/protobuf/wrappers.pb.cc | 129 ++++++++------- 10 files changed, 301 insertions(+), 324 deletions(-) diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index e21fa5565a..6ec5dac26b 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -143,22 +143,24 @@ class Any::_Internal { }; Any::Any(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Any) } -Any::Any(const Any& from) - : ::google::protobuf::Message() { - Any* const _this = this; (void)_this; +Any::Any(const Any& from) : ::google::protobuf::Message() { + Any* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.type_url_) {} - - , decltype(_impl_.value_) {} - - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._any_metadata_)*/{&_impl_.type_url_, &_impl_.value_}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.type_url_){}, + decltype(_impl_.value_){}, + /*decltype(_impl_._cached_size_)*/ {}, + /*decltype(_impl_._any_metadata_)*/ { + &_impl_.type_url_, + &_impl_.value_, + }, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.type_url_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.type_url_.Set("", GetArenaForAllocation()); @@ -173,9 +175,9 @@ Any::Any(const Any& from) if (!from._internal_value().empty()) { _this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation()); } + // @@protoc_insertion_point(copy_constructor:google.protobuf.Any) } - inline void Any::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -196,13 +198,13 @@ inline void Any::SharedCtor(::_pb::Arena* arena) { } Any::~Any() { // @@protoc_insertion_point(destructor:google.protobuf.Any) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Any::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.type_url_.Destroy(); diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 69a1e6c1e7..e774acee87 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -258,28 +258,26 @@ void Api::clear_source_context() { _impl_._has_bits_[0] &= ~0x00000001u; } Api::Api(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Api) } -Api::Api(const Api& from) - : ::google::protobuf::Message() { - Api* const _this = this; (void)_this; +Api::Api(const Api& from) : ::google::protobuf::Message() { + Api* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.methods_){from._impl_.methods_} - , decltype(_impl_.options_){from._impl_.options_} - , decltype(_impl_.mixins_){from._impl_.mixins_} - , decltype(_impl_.name_) {} - - , decltype(_impl_.version_) {} - - , decltype(_impl_.source_context_){nullptr} - , decltype(_impl_.syntax_) {} + decltype(_impl_._has_bits_){from._impl_._has_bits_}, + /*decltype(_impl_._cached_size_)*/ {}, + decltype(_impl_.methods_){from._impl_.methods_}, + decltype(_impl_.options_){from._impl_.options_}, + decltype(_impl_.mixins_){from._impl_.mixins_}, + decltype(_impl_.name_){}, + decltype(_impl_.version_){}, + decltype(_impl_.source_context_){nullptr}, + decltype(_impl_.syntax_){}, }; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -298,9 +296,9 @@ Api::Api(const Api& from) _this->_impl_.source_context_ = new ::google::protobuf::SourceContext(*from._impl_.source_context_); } _this->_impl_.syntax_ = from._impl_.syntax_; + // @@protoc_insertion_point(copy_constructor:google.protobuf.Api) } - inline void Api::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -325,13 +323,13 @@ inline void Api::SharedCtor(::_pb::Arena* arena) { } Api::~Api() { // @@protoc_insertion_point(destructor:google.protobuf.Api) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Api::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.methods_.~RepeatedPtrField(); @@ -689,30 +687,25 @@ void Method::clear_options() { _internal_mutable_options()->Clear(); } Method::Method(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Method) } -Method::Method(const Method& from) - : ::google::protobuf::Message() { - Method* const _this = this; (void)_this; +Method::Method(const Method& from) : ::google::protobuf::Message() { + Method* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.options_){from._impl_.options_} - , decltype(_impl_.name_) {} - - , decltype(_impl_.request_type_url_) {} - - , decltype(_impl_.response_type_url_) {} - - , decltype(_impl_.request_streaming_) {} - - , decltype(_impl_.response_streaming_) {} - - , decltype(_impl_.syntax_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.options_){from._impl_.options_}, + decltype(_impl_.name_){}, + decltype(_impl_.request_type_url_){}, + decltype(_impl_.response_type_url_){}, + decltype(_impl_.request_streaming_){}, + decltype(_impl_.response_streaming_){}, + decltype(_impl_.syntax_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -737,9 +730,9 @@ Method::Method(const Method& from) ::memcpy(&_impl_.request_streaming_, &from._impl_.request_streaming_, static_cast<::size_t>(reinterpret_cast(&_impl_.syntax_) - reinterpret_cast(&_impl_.request_streaming_)) + sizeof(_impl_.syntax_)); + // @@protoc_insertion_point(copy_constructor:google.protobuf.Method) } - inline void Method::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -767,13 +760,13 @@ inline void Method::SharedCtor(::_pb::Arena* arena) { } Method::~Method() { // @@protoc_insertion_point(destructor:google.protobuf.Method) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Method::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.options_.~RepeatedPtrField(); @@ -1105,21 +1098,20 @@ class Mixin::_Internal { }; Mixin::Mixin(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Mixin) } -Mixin::Mixin(const Mixin& from) - : ::google::protobuf::Message() { - Mixin* const _this = this; (void)_this; +Mixin::Mixin(const Mixin& from) : ::google::protobuf::Message() { + Mixin* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.name_) {} - - , decltype(_impl_.root_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.name_){}, + decltype(_impl_.root_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -1134,9 +1126,9 @@ Mixin::Mixin(const Mixin& from) if (!from._internal_root().empty()) { _this->_impl_.root_.Set(from._internal_root(), _this->GetArenaForAllocation()); } + // @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin) } - inline void Mixin::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1155,13 +1147,13 @@ inline void Mixin::SharedCtor(::_pb::Arena* arena) { } Mixin::~Mixin() { // @@protoc_insertion_point(destructor:google.protobuf.Mixin) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Mixin::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.name_.Destroy(); diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index 146b9015df..682bb9e321 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -118,17 +118,16 @@ class Duration::_Internal { }; Duration::Duration(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Duration) } Duration::Duration(const Duration& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.Duration) } - inline void Duration::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -139,13 +138,13 @@ inline void Duration::SharedCtor(::_pb::Arena* arena) { } Duration::~Duration() { // @@protoc_insertion_point(destructor:google.protobuf.Duration) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Duration::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } diff --git a/src/google/protobuf/empty.pb.cc b/src/google/protobuf/empty.pb.cc index 533d41c080..43069e4a00 100644 --- a/src/google/protobuf/empty.pb.cc +++ b/src/google/protobuf/empty.pb.cc @@ -110,20 +110,21 @@ class Empty::_Internal { }; Empty::Empty(::google::protobuf::Arena* arena) - : ::google::protobuf::internal::ZeroFieldsBase(arena) { + : ::google::protobuf::internal::ZeroFieldsBase(arena) { // @@protoc_insertion_point(arena_constructor:google.protobuf.Empty) } -Empty::Empty(const Empty& from) - : ::google::protobuf::internal::ZeroFieldsBase() { - Empty* const _this = this; (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +Empty::Empty(const Empty& from) : ::google::protobuf::internal::ZeroFieldsBase() { + Empty* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:google.protobuf.Empty) } - const ::google::protobuf::Message::ClassData Empty::_class_data_ = { ::google::protobuf::internal::ZeroFieldsBase::CopyImpl, ::google::protobuf::internal::ZeroFieldsBase::MergeImpl, diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 3efc04a52d..69bee6bce9 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -116,21 +116,22 @@ class FieldMask::_Internal { }; FieldMask::FieldMask(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.FieldMask) } -FieldMask::FieldMask(const FieldMask& from) - : ::google::protobuf::Message() { - FieldMask* const _this = this; (void)_this; +FieldMask::FieldMask(const FieldMask& from) : ::google::protobuf::Message() { + FieldMask* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.paths_){from._impl_.paths_} - , /*decltype(_impl_._cached_size_)*/{}}; + decltype(_impl_.paths_){from._impl_.paths_}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldMask) } - inline void FieldMask::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -140,13 +141,13 @@ inline void FieldMask::SharedCtor(::_pb::Arena* arena) { } FieldMask::~FieldMask() { // @@protoc_insertion_point(destructor:google.protobuf.FieldMask) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void FieldMask::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _internal_mutable_paths()->~RepeatedPtrField(); diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index ab860d6f7a..401f4939a4 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -119,19 +119,19 @@ class SourceContext::_Internal { }; SourceContext::SourceContext(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.SourceContext) } -SourceContext::SourceContext(const SourceContext& from) - : ::google::protobuf::Message() { - SourceContext* const _this = this; (void)_this; +SourceContext::SourceContext(const SourceContext& from) : ::google::protobuf::Message() { + SourceContext* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.file_name_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.file_name_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.file_name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.file_name_.Set("", GetArenaForAllocation()); @@ -139,9 +139,9 @@ SourceContext::SourceContext(const SourceContext& from) if (!from._internal_file_name().empty()) { _this->_impl_.file_name_.Set(from._internal_file_name(), _this->GetArenaForAllocation()); } + // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceContext) } - inline void SourceContext::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -155,13 +155,13 @@ inline void SourceContext::SharedCtor(::_pb::Arena* arena) { } SourceContext::~SourceContext() { // @@protoc_insertion_point(destructor:google.protobuf.SourceContext) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void SourceContext::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.file_name_.Destroy(); diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index 37d4160b52..395d0591fd 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -234,22 +234,23 @@ class Struct::_Internal { }; Struct::Struct(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Struct) } -Struct::Struct(const Struct& from) - : ::google::protobuf::Message() { - Struct* const _this = this; (void)_this; +Struct::Struct(const Struct& from) : ::google::protobuf::Message() { + Struct* const _this = this; + (void)_this; new (&_impl_) Impl_{ - /* decltype(_impl_.fields_) */ {} - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + /* decltype(_impl_.fields_) */ {}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _this->_impl_.fields_.MergeFrom(from._impl_.fields_); + // @@protoc_insertion_point(copy_constructor:google.protobuf.Struct) } - inline void Struct::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -259,13 +260,13 @@ inline void Struct::SharedCtor(::_pb::Arena* arena) { } Struct::~Struct() { // @@protoc_insertion_point(destructor:google.protobuf.Struct) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Struct::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.fields_.~MapField(); @@ -472,19 +473,20 @@ void Value::set_allocated_list_value(::google::protobuf::ListValue* list_value) // @@protoc_insertion_point(field_set_allocated:google.protobuf.Value.list_value) } Value::Value(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Value) } -Value::Value(const Value& from) - : ::google::protobuf::Message() { - Value* const _this = this; (void)_this; +Value::Value(const Value& from) : ::google::protobuf::Message() { + Value* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.kind_){} - , /*decltype(_impl_._cached_size_)*/{} - , /*decltype(_impl_._oneof_case_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.kind_){}, + /*decltype(_impl_._cached_size_)*/ {}, + /*decltype(_impl_._oneof_case_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); clear_has_kind(); switch (from.kind_case()) { case kNullValue: { @@ -517,9 +519,9 @@ Value::Value(const Value& from) break; } } + // @@protoc_insertion_point(copy_constructor:google.protobuf.Value) } - inline void Value::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -531,13 +533,13 @@ inline void Value::SharedCtor(::_pb::Arena* arena) { } Value::~Value() { // @@protoc_insertion_point(destructor:google.protobuf.Value) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Value::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); if (has_kind()) { @@ -869,21 +871,22 @@ class ListValue::_Internal { }; ListValue::ListValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.ListValue) } -ListValue::ListValue(const ListValue& from) - : ::google::protobuf::Message() { - ListValue* const _this = this; (void)_this; +ListValue::ListValue(const ListValue& from) : ::google::protobuf::Message() { + ListValue* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.values_){from._impl_.values_} - , /*decltype(_impl_._cached_size_)*/{}}; + decltype(_impl_.values_){from._impl_.values_}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.ListValue) } - inline void ListValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -893,13 +896,13 @@ inline void ListValue::SharedCtor(::_pb::Arena* arena) { } ListValue::~ListValue() { // @@protoc_insertion_point(destructor:google.protobuf.ListValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void ListValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.values_.~RepeatedPtrField(); diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index b65dfc0d6f..3fd56eaf32 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -118,17 +118,16 @@ class Timestamp::_Internal { }; Timestamp::Timestamp(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Timestamp) } Timestamp::Timestamp(const Timestamp& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.Timestamp) } - inline void Timestamp::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -139,13 +138,13 @@ inline void Timestamp::SharedCtor(::_pb::Arena* arena) { } Timestamp::~Timestamp() { // @@protoc_insertion_point(destructor:google.protobuf.Timestamp) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Timestamp::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 21397dde89..5e5a15a530 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -468,28 +468,26 @@ void Type::clear_source_context() { _impl_._has_bits_[0] &= ~0x00000001u; } Type::Type(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Type) } -Type::Type(const Type& from) - : ::google::protobuf::Message() { - Type* const _this = this; (void)_this; +Type::Type(const Type& from) : ::google::protobuf::Message() { + Type* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.fields_){from._impl_.fields_} - , decltype(_impl_.oneofs_){from._impl_.oneofs_} - , decltype(_impl_.options_){from._impl_.options_} - , decltype(_impl_.name_) {} - - , decltype(_impl_.edition_) {} - - , decltype(_impl_.source_context_){nullptr} - , decltype(_impl_.syntax_) {} + decltype(_impl_._has_bits_){from._impl_._has_bits_}, + /*decltype(_impl_._cached_size_)*/ {}, + decltype(_impl_.fields_){from._impl_.fields_}, + decltype(_impl_.oneofs_){from._impl_.oneofs_}, + decltype(_impl_.options_){from._impl_.options_}, + decltype(_impl_.name_){}, + decltype(_impl_.edition_){}, + decltype(_impl_.source_context_){nullptr}, + decltype(_impl_.syntax_){}, }; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -508,9 +506,9 @@ Type::Type(const Type& from) _this->_impl_.source_context_ = new ::google::protobuf::SourceContext(*from._impl_.source_context_); } _this->_impl_.syntax_ = from._impl_.syntax_; + // @@protoc_insertion_point(copy_constructor:google.protobuf.Type) } - inline void Type::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -535,13 +533,13 @@ inline void Type::SharedCtor(::_pb::Arena* arena) { } Type::~Type() { // @@protoc_insertion_point(destructor:google.protobuf.Type) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Type::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.fields_.~RepeatedPtrField(); @@ -899,36 +897,28 @@ class Field::_Internal { }; Field::Field(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Field) } -Field::Field(const Field& from) - : ::google::protobuf::Message() { - Field* const _this = this; (void)_this; +Field::Field(const Field& from) : ::google::protobuf::Message() { + Field* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.options_){from._impl_.options_} - , decltype(_impl_.name_) {} - - , decltype(_impl_.type_url_) {} - - , decltype(_impl_.json_name_) {} - - , decltype(_impl_.default_value_) {} - - , decltype(_impl_.kind_) {} - - , decltype(_impl_.cardinality_) {} - - , decltype(_impl_.number_) {} - - , decltype(_impl_.oneof_index_) {} - - , decltype(_impl_.packed_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.options_){from._impl_.options_}, + decltype(_impl_.name_){}, + decltype(_impl_.type_url_){}, + decltype(_impl_.json_name_){}, + decltype(_impl_.default_value_){}, + decltype(_impl_.kind_){}, + decltype(_impl_.cardinality_){}, + decltype(_impl_.number_){}, + decltype(_impl_.oneof_index_){}, + decltype(_impl_.packed_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -960,9 +950,9 @@ Field::Field(const Field& from) ::memcpy(&_impl_.kind_, &from._impl_.kind_, static_cast<::size_t>(reinterpret_cast(&_impl_.packed_) - reinterpret_cast(&_impl_.kind_)) + sizeof(_impl_.packed_)); + // @@protoc_insertion_point(copy_constructor:google.protobuf.Field) } - inline void Field::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -997,13 +987,13 @@ inline void Field::SharedCtor(::_pb::Arena* arena) { } Field::~Field() { // @@protoc_insertion_point(destructor:google.protobuf.Field) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Field::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.options_.~RepeatedPtrField(); @@ -1433,27 +1423,25 @@ void Enum::clear_source_context() { _impl_._has_bits_[0] &= ~0x00000001u; } Enum::Enum(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Enum) } -Enum::Enum(const Enum& from) - : ::google::protobuf::Message() { - Enum* const _this = this; (void)_this; +Enum::Enum(const Enum& from) : ::google::protobuf::Message() { + Enum* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.enumvalue_){from._impl_.enumvalue_} - , decltype(_impl_.options_){from._impl_.options_} - , decltype(_impl_.name_) {} - - , decltype(_impl_.edition_) {} - - , decltype(_impl_.source_context_){nullptr} - , decltype(_impl_.syntax_) {} + decltype(_impl_._has_bits_){from._impl_._has_bits_}, + /*decltype(_impl_._cached_size_)*/ {}, + decltype(_impl_.enumvalue_){from._impl_.enumvalue_}, + decltype(_impl_.options_){from._impl_.options_}, + decltype(_impl_.name_){}, + decltype(_impl_.edition_){}, + decltype(_impl_.source_context_){nullptr}, + decltype(_impl_.syntax_){}, }; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -1472,9 +1460,9 @@ Enum::Enum(const Enum& from) _this->_impl_.source_context_ = new ::google::protobuf::SourceContext(*from._impl_.source_context_); } _this->_impl_.syntax_ = from._impl_.syntax_; + // @@protoc_insertion_point(copy_constructor:google.protobuf.Enum) } - inline void Enum::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1498,13 +1486,13 @@ inline void Enum::SharedCtor(::_pb::Arena* arena) { } Enum::~Enum() { // @@protoc_insertion_point(destructor:google.protobuf.Enum) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Enum::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.enumvalue_.~RepeatedPtrField(); @@ -1826,22 +1814,21 @@ class EnumValue::_Internal { }; EnumValue::EnumValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.EnumValue) } -EnumValue::EnumValue(const EnumValue& from) - : ::google::protobuf::Message() { - EnumValue* const _this = this; (void)_this; +EnumValue::EnumValue(const EnumValue& from) : ::google::protobuf::Message() { + EnumValue* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.options_){from._impl_.options_} - , decltype(_impl_.name_) {} - - , decltype(_impl_.number_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.options_){from._impl_.options_}, + decltype(_impl_.name_){}, + decltype(_impl_.number_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -1850,9 +1837,9 @@ EnumValue::EnumValue(const EnumValue& from) _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation()); } _this->_impl_.number_ = from._impl_.number_; + // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValue) } - inline void EnumValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1868,13 +1855,13 @@ inline void EnumValue::SharedCtor(::_pb::Arena* arena) { } EnumValue::~EnumValue() { // @@protoc_insertion_point(destructor:google.protobuf.EnumValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void EnumValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.options_.~RepeatedPtrField(); @@ -2100,21 +2087,21 @@ void Option::clear_value() { _impl_._has_bits_[0] &= ~0x00000001u; } Option::Option(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Option) } -Option::Option(const Option& from) - : ::google::protobuf::Message() { - Option* const _this = this; (void)_this; +Option::Option(const Option& from) : ::google::protobuf::Message() { + Option* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_._has_bits_){from._impl_._has_bits_} - , /*decltype(_impl_._cached_size_)*/{} - , decltype(_impl_.name_) {} - - , decltype(_impl_.value_){nullptr}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_._has_bits_){from._impl_._has_bits_}, + /*decltype(_impl_._cached_size_)*/ {}, + decltype(_impl_.name_){}, + decltype(_impl_.value_){nullptr}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.name_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.name_.Set("", GetArenaForAllocation()); @@ -2125,9 +2112,9 @@ Option::Option(const Option& from) if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) { _this->_impl_.value_ = new ::google::protobuf::Any(*from._impl_.value_); } + // @@protoc_insertion_point(copy_constructor:google.protobuf.Option) } - inline void Option::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -2143,13 +2130,13 @@ inline void Option::SharedCtor(::_pb::Arena* arena) { } Option::~Option() { // @@protoc_insertion_point(destructor:google.protobuf.Option) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Option::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.name_.Destroy(); diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index 68d857a95a..08cd1c7144 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -336,17 +336,16 @@ class DoubleValue::_Internal { }; DoubleValue::DoubleValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.DoubleValue) } DoubleValue::DoubleValue(const DoubleValue& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.DoubleValue) } - inline void DoubleValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -356,13 +355,13 @@ inline void DoubleValue::SharedCtor(::_pb::Arena* arena) { } DoubleValue::~DoubleValue() { // @@protoc_insertion_point(destructor:google.protobuf.DoubleValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void DoubleValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -521,17 +520,16 @@ class FloatValue::_Internal { }; FloatValue::FloatValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.FloatValue) } FloatValue::FloatValue(const FloatValue& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.FloatValue) } - inline void FloatValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -541,13 +539,13 @@ inline void FloatValue::SharedCtor(::_pb::Arena* arena) { } FloatValue::~FloatValue() { // @@protoc_insertion_point(destructor:google.protobuf.FloatValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void FloatValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -706,17 +704,16 @@ class Int64Value::_Internal { }; Int64Value::Int64Value(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Int64Value) } Int64Value::Int64Value(const Int64Value& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.Int64Value) } - inline void Int64Value::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -726,13 +723,13 @@ inline void Int64Value::SharedCtor(::_pb::Arena* arena) { } Int64Value::~Int64Value() { // @@protoc_insertion_point(destructor:google.protobuf.Int64Value) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Int64Value::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -877,17 +874,16 @@ class UInt64Value::_Internal { }; UInt64Value::UInt64Value(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt64Value) } UInt64Value::UInt64Value(const UInt64Value& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.UInt64Value) } - inline void UInt64Value::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -897,13 +893,13 @@ inline void UInt64Value::SharedCtor(::_pb::Arena* arena) { } UInt64Value::~UInt64Value() { // @@protoc_insertion_point(destructor:google.protobuf.UInt64Value) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void UInt64Value::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -1048,17 +1044,16 @@ class Int32Value::_Internal { }; Int32Value::Int32Value(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.Int32Value) } Int32Value::Int32Value(const Int32Value& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.Int32Value) } - inline void Int32Value::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1068,13 +1063,13 @@ inline void Int32Value::SharedCtor(::_pb::Arena* arena) { } Int32Value::~Int32Value() { // @@protoc_insertion_point(destructor:google.protobuf.Int32Value) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void Int32Value::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -1219,17 +1214,16 @@ class UInt32Value::_Internal { }; UInt32Value::UInt32Value(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt32Value) } UInt32Value::UInt32Value(const UInt32Value& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.UInt32Value) } - inline void UInt32Value::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1239,13 +1233,13 @@ inline void UInt32Value::SharedCtor(::_pb::Arena* arena) { } UInt32Value::~UInt32Value() { // @@protoc_insertion_point(destructor:google.protobuf.UInt32Value) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void UInt32Value::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -1390,17 +1384,16 @@ class BoolValue::_Internal { }; BoolValue::BoolValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.BoolValue) } BoolValue::BoolValue(const BoolValue& from) - : ::google::protobuf::Message(), _impl_(from._impl_) { + : ::google::protobuf::Message(), _impl_(from._impl_) { _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); // @@protoc_insertion_point(copy_constructor:google.protobuf.BoolValue) } - inline void BoolValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1410,13 +1403,13 @@ inline void BoolValue::SharedCtor(::_pb::Arena* arena) { } BoolValue::~BoolValue() { // @@protoc_insertion_point(destructor:google.protobuf.BoolValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void BoolValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); } @@ -1560,19 +1553,19 @@ class StringValue::_Internal { }; StringValue::StringValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.StringValue) } -StringValue::StringValue(const StringValue& from) - : ::google::protobuf::Message() { - StringValue* const _this = this; (void)_this; +StringValue::StringValue(const StringValue& from) : ::google::protobuf::Message() { + StringValue* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.value_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.value_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.value_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.value_.Set("", GetArenaForAllocation()); @@ -1580,9 +1573,9 @@ StringValue::StringValue(const StringValue& from) if (!from._internal_value().empty()) { _this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation()); } + // @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue) } - inline void StringValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1596,13 +1589,13 @@ inline void StringValue::SharedCtor(::_pb::Arena* arena) { } StringValue::~StringValue() { // @@protoc_insertion_point(destructor:google.protobuf.StringValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void StringValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.value_.Destroy(); @@ -1754,19 +1747,19 @@ class BytesValue::_Internal { }; BytesValue::BytesValue(::google::protobuf::Arena* arena) - : ::google::protobuf::Message(arena) { + : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:google.protobuf.BytesValue) } -BytesValue::BytesValue(const BytesValue& from) - : ::google::protobuf::Message() { - BytesValue* const _this = this; (void)_this; +BytesValue::BytesValue(const BytesValue& from) : ::google::protobuf::Message() { + BytesValue* const _this = this; + (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.value_) {} - - , /*decltype(_impl_._cached_size_)*/{}}; - - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + decltype(_impl_.value_){}, + /*decltype(_impl_._cached_size_)*/ {}, + }; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); _impl_.value_.InitDefault(); #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING _impl_.value_.Set("", GetArenaForAllocation()); @@ -1774,9 +1767,9 @@ BytesValue::BytesValue(const BytesValue& from) if (!from._internal_value().empty()) { _this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation()); } + // @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue) } - inline void BytesValue::SharedCtor(::_pb::Arena* arena) { (void)arena; new (&_impl_) Impl_{ @@ -1790,13 +1783,13 @@ inline void BytesValue::SharedCtor(::_pb::Arena* arena) { } BytesValue::~BytesValue() { // @@protoc_insertion_point(destructor:google.protobuf.BytesValue) - if (auto *arena = _internal_metadata_.DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { - (void)arena; + if (auto *arena = _internal_metadata_ + .DeleteReturnArena<::google::protobuf::UnknownFieldSet>()) { + (void)arena; return; } SharedDtor(); } - inline void BytesValue::SharedDtor() { ABSL_DCHECK(GetArenaForAllocation() == nullptr); _impl_.value_.Destroy();