diff --git a/src/google/protobuf/any.pb.h b/src/google/protobuf/any.pb.h index 996eaf8cc4..0cce5ed1d5 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -126,12 +126,9 @@ class PROTOBUF_EXPORT Any final : return *internal_default_instance(); } static inline const Any* internal_default_instance() { - return reinterpret_cast( - &_Any_default_instance_); + return reinterpret_cast(&_Any_default_instance_); } - static constexpr int kIndexInFileMessages = - 0; - + static constexpr int kIndexInFileMessages = 0; // implements Any ----------------------------------------------- bool PackFrom(const ::google::protobuf::Message& message) { @@ -150,32 +147,41 @@ class PROTOBUF_EXPORT Any final : const ::google::protobuf::Message& message, const ::google::protobuf::FieldDescriptor** type_url_field, const ::google::protobuf::FieldDescriptor** value_field); - template ::value>::type> + template < + typename T, + class = typename std::enable_if::value>::type> bool PackFrom(const T& message) { return _impl_._any_metadata_.PackFrom(GetArena(), message); } - template ::value>::type> + template < + typename T, + class = typename std::enable_if::value>::type> bool PackFrom(const T& message, ::absl::string_view type_url_prefix) { - return _impl_._any_metadata_.PackFrom(GetArena(), message, type_url_prefix);} - template ::value>::type> + return _impl_._any_metadata_.PackFrom(GetArena(), message, type_url_prefix); + } + template < + typename T, + class = typename std::enable_if::value>::type> bool UnpackTo(T* message) const { return _impl_._any_metadata_.UnpackTo(message); } - template bool Is() const { + + template + bool Is() const { return _impl_._any_metadata_.Is(); } static bool ParseAnyTypeUrl(::absl::string_view type_url, std::string* full_type_name); - friend void swap(Any& a, Any& b) { - a.Swap(&b); - } + friend void swap(Any& a, Any& b) { a.Swap(&b); } inline void Swap(Any* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -286,13 +292,12 @@ class PROTOBUF_EXPORT Any final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::ArenaStringPtr type_url_; ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index f0c5428c5e..781d9fc34d 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -134,21 +134,15 @@ class PROTOBUF_EXPORT Mixin final : return *internal_default_instance(); } static inline const Mixin* internal_default_instance() { - return reinterpret_cast( - &_Mixin_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(Mixin& a, Mixin& b) { - a.Swap(&b); + return reinterpret_cast(&_Mixin_default_instance_); } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Mixin& a, Mixin& b) { a.Swap(&b); } inline void Swap(Mixin* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -259,13 +253,12 @@ class PROTOBUF_EXPORT Mixin final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr root_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -330,21 +323,15 @@ class PROTOBUF_EXPORT Method final : return *internal_default_instance(); } static inline const Method* internal_default_instance() { - return reinterpret_cast( - &_Method_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Method& a, Method& b) { - a.Swap(&b); + return reinterpret_cast(&_Method_default_instance_); } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Method& a, Method& b) { a.Swap(&b); } inline void Swap(Method* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -524,13 +511,12 @@ class PROTOBUF_EXPORT Method final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr request_type_url_; @@ -600,21 +586,15 @@ class PROTOBUF_EXPORT Api final : return *internal_default_instance(); } static inline const Api* internal_default_instance() { - return reinterpret_cast( - &_Api_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Api& a, Api& b) { - a.Swap(&b); + return reinterpret_cast(&_Api_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Api& a, Api& b) { a.Swap(&b); } inline void Swap(Api* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -809,13 +789,12 @@ class PROTOBUF_EXPORT Api final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::google::protobuf::Method > methods_; diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index c20d3eeb1d..a0a77a7151 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -126,21 +126,15 @@ class PROTOBUF_EXPORT Duration final : return *internal_default_instance(); } static inline const Duration* internal_default_instance() { - return reinterpret_cast( - &_Duration_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Duration& a, Duration& b) { - a.Swap(&b); + return reinterpret_cast(&_Duration_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Duration& a, Duration& b) { a.Swap(&b); } inline void Swap(Duration* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -239,13 +233,12 @@ class PROTOBUF_EXPORT Duration final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::int64_t seconds_; ::int32_t nanos_; mutable ::google::protobuf::internal::CachedSize _cached_size_; diff --git a/src/google/protobuf/empty.pb.h b/src/google/protobuf/empty.pb.h index a5ca022906..d2747f9ecf 100644 --- a/src/google/protobuf/empty.pb.h +++ b/src/google/protobuf/empty.pb.h @@ -126,21 +126,15 @@ class PROTOBUF_EXPORT Empty final : return *internal_default_instance(); } static inline const Empty* internal_default_instance() { - return reinterpret_cast( - &_Empty_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Empty& a, Empty& b) { - a.Swap(&b); + return reinterpret_cast(&_Empty_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Empty& a, Empty& b) { a.Swap(&b); } inline void Swap(Empty* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -196,13 +190,12 @@ class PROTOBUF_EXPORT Empty final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); PROTOBUF_TSAN_DECLARE_MEMBER }; friend struct ::TableStruct_google_2fprotobuf_2fempty_2eproto; diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index 24cf98bc12..a2ad62aa88 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -126,21 +126,15 @@ class PROTOBUF_EXPORT FieldMask final : return *internal_default_instance(); } static inline const FieldMask* internal_default_instance() { - return reinterpret_cast( - &_FieldMask_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(FieldMask& a, FieldMask& b) { - a.Swap(&b); + return reinterpret_cast(&_FieldMask_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(FieldMask& a, FieldMask& b) { a.Swap(&b); } inline void Swap(FieldMask* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -246,13 +240,12 @@ class PROTOBUF_EXPORT FieldMask final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::RepeatedPtrField paths_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index 651eefce1f..fb3f4fa2ae 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -126,21 +126,15 @@ class PROTOBUF_EXPORT SourceContext final : return *internal_default_instance(); } static inline const SourceContext* internal_default_instance() { - return reinterpret_cast( - &_SourceContext_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(SourceContext& a, SourceContext& b) { - a.Swap(&b); + return reinterpret_cast(&_SourceContext_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(SourceContext& a, SourceContext& b) { a.Swap(&b); } inline void Swap(SourceContext* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -234,13 +228,12 @@ class PROTOBUF_EXPORT SourceContext final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::ArenaStringPtr file_name_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index 676ba525fc..cfab65b7df 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -171,21 +171,15 @@ class PROTOBUF_EXPORT ListValue final : return *internal_default_instance(); } static inline const ListValue* internal_default_instance() { - return reinterpret_cast( - &_ListValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(ListValue& a, ListValue& b) { - a.Swap(&b); + return reinterpret_cast(&_ListValue_default_instance_); } + static constexpr int kIndexInFileMessages = 3; + friend void swap(ListValue& a, ListValue& b) { a.Swap(&b); } inline void Swap(ListValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -281,13 +275,12 @@ class PROTOBUF_EXPORT ListValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value > values_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -351,21 +344,15 @@ class PROTOBUF_EXPORT Struct final : return *internal_default_instance(); } static inline const Struct* internal_default_instance() { - return reinterpret_cast( - &_Struct_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Struct& a, Struct& b) { - a.Swap(&b); + return reinterpret_cast(&_Struct_default_instance_); } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Struct& a, Struct& b) { a.Swap(&b); } inline void Swap(Struct* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -459,13 +446,12 @@ class PROTOBUF_EXPORT Struct final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::MapField @@ -568,23 +554,16 @@ class PROTOBUF_EXPORT Value final : kListValue = 6, KIND_NOT_SET = 0, }; - static inline const Value* internal_default_instance() { - return reinterpret_cast( - &_Value_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(Value& a, Value& b) { - a.Swap(&b); + return reinterpret_cast(&_Value_default_instance_); } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Value& a, Value& b) { a.Swap(&b); } inline void Swap(Value* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -766,13 +745,12 @@ class PROTOBUF_EXPORT Value final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); union KindUnion { constexpr KindUnion() : _constinit_{} {} ::google::protobuf::internal::ConstantInitialized _constinit_; diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index 74ff9c689b..b4c2e31d4a 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -126,21 +126,15 @@ class PROTOBUF_EXPORT Timestamp final : return *internal_default_instance(); } static inline const Timestamp* internal_default_instance() { - return reinterpret_cast( - &_Timestamp_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Timestamp& a, Timestamp& b) { - a.Swap(&b); + return reinterpret_cast(&_Timestamp_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Timestamp& a, Timestamp& b) { a.Swap(&b); } inline void Swap(Timestamp* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -239,13 +233,12 @@ class PROTOBUF_EXPORT Timestamp final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::int64_t seconds_; ::int32_t nanos_; mutable ::google::protobuf::internal::CachedSize _cached_size_; diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index c8efb905f3..699f252818 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -260,21 +260,15 @@ class PROTOBUF_EXPORT Option final : return *internal_default_instance(); } static inline const Option* internal_default_instance() { - return reinterpret_cast( - &_Option_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(Option& a, Option& b) { - a.Swap(&b); + return reinterpret_cast(&_Option_default_instance_); } + static constexpr int kIndexInFileMessages = 4; + friend void swap(Option& a, Option& b) { a.Swap(&b); } inline void Swap(Option* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -384,13 +378,12 @@ class PROTOBUF_EXPORT Option final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr name_; @@ -456,21 +449,15 @@ class PROTOBUF_EXPORT Field final : return *internal_default_instance(); } static inline const Field* internal_default_instance() { - return reinterpret_cast( - &_Field_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(Field& a, Field& b) { - a.Swap(&b); + return reinterpret_cast(&_Field_default_instance_); } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Field& a, Field& b) { a.Swap(&b); } inline void Swap(Field* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -748,13 +735,12 @@ class PROTOBUF_EXPORT Field final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; ::google::protobuf::internal::ArenaStringPtr name_; ::google::protobuf::internal::ArenaStringPtr type_url_; @@ -827,21 +813,15 @@ class PROTOBUF_EXPORT EnumValue final : return *internal_default_instance(); } static inline const EnumValue* internal_default_instance() { - return reinterpret_cast( - &_EnumValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(EnumValue& a, EnumValue& b) { - a.Swap(&b); + return reinterpret_cast(&_EnumValue_default_instance_); } + static constexpr int kIndexInFileMessages = 3; + friend void swap(EnumValue& a, EnumValue& b) { a.Swap(&b); } inline void Swap(EnumValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -965,13 +945,12 @@ class PROTOBUF_EXPORT EnumValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_; ::google::protobuf::internal::ArenaStringPtr name_; ::int32_t number_; @@ -1037,21 +1016,15 @@ class PROTOBUF_EXPORT Type final : return *internal_default_instance(); } static inline const Type* internal_default_instance() { - return reinterpret_cast( - &_Type_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(Type& a, Type& b) { - a.Swap(&b); + return reinterpret_cast(&_Type_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Type& a, Type& b) { a.Swap(&b); } inline void Swap(Type* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -1256,13 +1229,12 @@ class PROTOBUF_EXPORT Type final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_; @@ -1333,21 +1305,15 @@ class PROTOBUF_EXPORT Enum final : return *internal_default_instance(); } static inline const Enum* internal_default_instance() { - return reinterpret_cast( - &_Enum_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(Enum& a, Enum& b) { - a.Swap(&b); + return reinterpret_cast(&_Enum_default_instance_); } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Enum& a, Enum& b) { a.Swap(&b); } inline void Swap(Enum* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -1523,13 +1489,12 @@ class PROTOBUF_EXPORT Enum final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::HasBits<1> _has_bits_; mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalue_; diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index 88752dc92c..1b83e60ede 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -150,21 +150,15 @@ class PROTOBUF_EXPORT UInt64Value final : return *internal_default_instance(); } static inline const UInt64Value* internal_default_instance() { - return reinterpret_cast( - &_UInt64Value_default_instance_); - } - static constexpr int kIndexInFileMessages = - 3; - - friend void swap(UInt64Value& a, UInt64Value& b) { - a.Swap(&b); + return reinterpret_cast(&_UInt64Value_default_instance_); } + static constexpr int kIndexInFileMessages = 3; + friend void swap(UInt64Value& a, UInt64Value& b) { a.Swap(&b); } inline void Swap(UInt64Value* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -252,13 +246,12 @@ class PROTOBUF_EXPORT UInt64Value final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::uint64_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -322,21 +315,15 @@ class PROTOBUF_EXPORT UInt32Value final : return *internal_default_instance(); } static inline const UInt32Value* internal_default_instance() { - return reinterpret_cast( - &_UInt32Value_default_instance_); - } - static constexpr int kIndexInFileMessages = - 5; - - friend void swap(UInt32Value& a, UInt32Value& b) { - a.Swap(&b); + return reinterpret_cast(&_UInt32Value_default_instance_); } + static constexpr int kIndexInFileMessages = 5; + friend void swap(UInt32Value& a, UInt32Value& b) { a.Swap(&b); } inline void Swap(UInt32Value* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -424,13 +411,12 @@ class PROTOBUF_EXPORT UInt32Value final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::uint32_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -494,21 +480,15 @@ class PROTOBUF_EXPORT StringValue final : return *internal_default_instance(); } static inline const StringValue* internal_default_instance() { - return reinterpret_cast( - &_StringValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 7; - - friend void swap(StringValue& a, StringValue& b) { - a.Swap(&b); + return reinterpret_cast(&_StringValue_default_instance_); } + static constexpr int kIndexInFileMessages = 7; + friend void swap(StringValue& a, StringValue& b) { a.Swap(&b); } inline void Swap(StringValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -602,13 +582,12 @@ class PROTOBUF_EXPORT StringValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -672,21 +651,15 @@ class PROTOBUF_EXPORT Int64Value final : return *internal_default_instance(); } static inline const Int64Value* internal_default_instance() { - return reinterpret_cast( - &_Int64Value_default_instance_); - } - static constexpr int kIndexInFileMessages = - 2; - - friend void swap(Int64Value& a, Int64Value& b) { - a.Swap(&b); + return reinterpret_cast(&_Int64Value_default_instance_); } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Int64Value& a, Int64Value& b) { a.Swap(&b); } inline void Swap(Int64Value* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -774,13 +747,12 @@ class PROTOBUF_EXPORT Int64Value final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::int64_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -844,21 +816,15 @@ class PROTOBUF_EXPORT Int32Value final : return *internal_default_instance(); } static inline const Int32Value* internal_default_instance() { - return reinterpret_cast( - &_Int32Value_default_instance_); - } - static constexpr int kIndexInFileMessages = - 4; - - friend void swap(Int32Value& a, Int32Value& b) { - a.Swap(&b); + return reinterpret_cast(&_Int32Value_default_instance_); } + static constexpr int kIndexInFileMessages = 4; + friend void swap(Int32Value& a, Int32Value& b) { a.Swap(&b); } inline void Swap(Int32Value* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -946,13 +912,12 @@ class PROTOBUF_EXPORT Int32Value final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::int32_t value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -1016,21 +981,15 @@ class PROTOBUF_EXPORT FloatValue final : return *internal_default_instance(); } static inline const FloatValue* internal_default_instance() { - return reinterpret_cast( - &_FloatValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 1; - - friend void swap(FloatValue& a, FloatValue& b) { - a.Swap(&b); + return reinterpret_cast(&_FloatValue_default_instance_); } + static constexpr int kIndexInFileMessages = 1; + friend void swap(FloatValue& a, FloatValue& b) { a.Swap(&b); } inline void Swap(FloatValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -1118,13 +1077,12 @@ class PROTOBUF_EXPORT FloatValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); float value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -1188,21 +1146,15 @@ class PROTOBUF_EXPORT DoubleValue final : return *internal_default_instance(); } static inline const DoubleValue* internal_default_instance() { - return reinterpret_cast( - &_DoubleValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 0; - - friend void swap(DoubleValue& a, DoubleValue& b) { - a.Swap(&b); + return reinterpret_cast(&_DoubleValue_default_instance_); } + static constexpr int kIndexInFileMessages = 0; + friend void swap(DoubleValue& a, DoubleValue& b) { a.Swap(&b); } inline void Swap(DoubleValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -1290,13 +1242,12 @@ class PROTOBUF_EXPORT DoubleValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); double value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -1360,21 +1311,15 @@ class PROTOBUF_EXPORT BytesValue final : return *internal_default_instance(); } static inline const BytesValue* internal_default_instance() { - return reinterpret_cast( - &_BytesValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 8; - - friend void swap(BytesValue& a, BytesValue& b) { - a.Swap(&b); + return reinterpret_cast(&_BytesValue_default_instance_); } + static constexpr int kIndexInFileMessages = 8; + friend void swap(BytesValue& a, BytesValue& b) { a.Swap(&b); } inline void Swap(BytesValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -1468,13 +1413,12 @@ class PROTOBUF_EXPORT BytesValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER @@ -1538,21 +1482,15 @@ class PROTOBUF_EXPORT BoolValue final : return *internal_default_instance(); } static inline const BoolValue* internal_default_instance() { - return reinterpret_cast( - &_BoolValue_default_instance_); - } - static constexpr int kIndexInFileMessages = - 6; - - friend void swap(BoolValue& a, BoolValue& b) { - a.Swap(&b); + return reinterpret_cast(&_BoolValue_default_instance_); } + static constexpr int kIndexInFileMessages = 6; + friend void swap(BoolValue& a, BoolValue& b) { a.Swap(&b); } inline void Swap(BoolValue* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP - if (GetArena() != nullptr && - GetArena() == other->GetArena()) { - #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetArena() != nullptr && GetArena() == other->GetArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP if (GetArena() == other->GetArena()) { #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); @@ -1640,13 +1578,12 @@ class PROTOBUF_EXPORT BoolValue final : using InternalArenaConstructable_ = void; using DestructorSkippable_ = void; struct PROTOBUF_EXPORT Impl_ { - - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from); + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from); bool value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; PROTOBUF_TSAN_DECLARE_MEMBER