Auto-generate files after cl/504460562

pull/11584/head
Protobuf Team Bot 2 years ago
parent a9f1ea6371
commit 8870581adf
  1. 2
      src/file_lists.cmake
  2. 4
      src/google/protobuf/any.pb.cc
  3. 6
      src/google/protobuf/any.pb.h
  4. 12
      src/google/protobuf/api.pb.cc
  5. 6
      src/google/protobuf/api.pb.h
  6. 4
      src/google/protobuf/duration.pb.cc
  7. 2
      src/google/protobuf/duration.pb.h
  8. 2
      src/google/protobuf/empty.pb.h
  9. 4
      src/google/protobuf/field_mask.pb.cc
  10. 6
      src/google/protobuf/field_mask.pb.h
  11. 4
      src/google/protobuf/source_context.pb.cc
  12. 2
      src/google/protobuf/source_context.pb.h
  13. 12
      src/google/protobuf/struct.pb.cc
  14. 6
      src/google/protobuf/struct.pb.h
  15. 4
      src/google/protobuf/timestamp.pb.cc
  16. 2
      src/google/protobuf/timestamp.pb.h
  17. 20
      src/google/protobuf/type.pb.cc
  18. 14
      src/google/protobuf/type.pb.h
  19. 36
      src/google/protobuf/wrappers.pb.cc
  20. 18
      src/google/protobuf/wrappers.pb.h

@ -172,7 +172,6 @@ set(libprotobuf_hdrs
${protobuf_SOURCE_DIR}/src/google/protobuf/service.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/platform_macros.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/port.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/status_macros.h
@ -260,7 +259,6 @@ set(libprotobuf_lite_hdrs
${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/platform_macros.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/port.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/status_macros.h

@ -193,7 +193,7 @@ Any::~Any() {
}
inline void Any::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.type_url_.Destroy();
_impl_.value_.Destroy();
_impl_._any_metadata_.~AnyMetadata();
@ -330,7 +330,7 @@ void Any::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_N
auto* const _this = static_cast<Any*>(&to_msg);
auto& from = static_cast<const Any&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Any)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -118,12 +118,12 @@ class PROTOBUF_EXPORT Any final :
// implements Any -----------------------------------------------
bool PackFrom(const ::PROTOBUF_NAMESPACE_ID::Message& message) {
GOOGLE_ABSL_DCHECK_NE(&message, this);
ABSL_DCHECK_NE(&message, this);
return _impl_._any_metadata_.PackFrom(GetArena(), message);
}
bool PackFrom(const ::PROTOBUF_NAMESPACE_ID::Message& message,
::absl::string_view type_url_prefix) {
GOOGLE_ABSL_DCHECK_NE(&message, this);
ABSL_DCHECK_NE(&message, this);
return _impl_._any_metadata_.PackFrom(GetArena(), message, type_url_prefix);
}
bool UnpackTo(::PROTOBUF_NAMESPACE_ID::Message* message) const {
@ -168,7 +168,7 @@ class PROTOBUF_EXPORT Any final :
}
void UnsafeArenaSwap(Any* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -295,7 +295,7 @@ Api::~Api() {
}
inline void Api::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.methods_.~RepeatedPtrField();
_impl_.options_.~RepeatedPtrField();
_impl_.mixins_.~RepeatedPtrField();
@ -581,7 +581,7 @@ void Api::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_N
auto* const _this = static_cast<Api*>(&to_msg);
auto& from = static_cast<const Api&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -742,7 +742,7 @@ Method::~Method() {
}
inline void Method::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.options_.~RepeatedPtrField();
_impl_.name_.Destroy();
_impl_.request_type_url_.Destroy();
@ -1012,7 +1012,7 @@ void Method::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU
auto* const _this = static_cast<Method*>(&to_msg);
auto& from = static_cast<const Method&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1146,7 +1146,7 @@ Mixin::~Mixin() {
}
inline void Mixin::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.name_.Destroy();
_impl_.root_.Destroy();
}
@ -1287,7 +1287,7 @@ void Mixin::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
auto* const _this = static_cast<Mixin*>(&to_msg);
auto& from = static_cast<const Mixin&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -145,7 +145,7 @@ class PROTOBUF_EXPORT Api final :
}
void UnsafeArenaSwap(Api* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -400,7 +400,7 @@ class PROTOBUF_EXPORT Method final :
}
void UnsafeArenaSwap(Method* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -634,7 +634,7 @@ class PROTOBUF_EXPORT Mixin final :
}
void UnsafeArenaSwap(Mixin* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -148,7 +148,7 @@ Duration::~Duration() {
}
inline void Duration::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void Duration::SetCachedSize(int size) const {
@ -276,7 +276,7 @@ void Duration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTO
auto* const _this = static_cast<Duration*>(&to_msg);
auto& from = static_cast<const Duration&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Duration)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -133,7 +133,7 @@ class PROTOBUF_EXPORT Duration final :
}
void UnsafeArenaSwap(Duration* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -133,7 +133,7 @@ class PROTOBUF_EXPORT Empty final :
}
void UnsafeArenaSwap(Empty* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -145,7 +145,7 @@ FieldMask::~FieldMask() {
}
inline void FieldMask::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.paths_.~RepeatedPtrField();
}
@ -262,7 +262,7 @@ void FieldMask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
auto* const _this = static_cast<FieldMask*>(&to_msg);
auto& from = static_cast<const FieldMask&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldMask)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -133,7 +133,7 @@ class PROTOBUF_EXPORT FieldMask final :
}
void UnsafeArenaSwap(FieldMask* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -279,7 +279,7 @@ inline void FieldMask::set_paths(int index, std::string&& value) {
// @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.paths_.Mutable(index)->assign(value);
ABSL_DCHECK(value != nullptr); _impl_.paths_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths)
}
inline void FieldMask::set_paths(int index, absl::string_view value) {
@ -303,7 +303,7 @@ inline void FieldMask::add_paths(std::string&& value) {
// @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.paths_.Add()->assign(value);
ABSL_DCHECK(value != nullptr); _impl_.paths_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths)
}
inline void FieldMask::add_paths(absl::string_view value) {

@ -157,7 +157,7 @@ SourceContext::~SourceContext() {
}
inline void SourceContext::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.file_name_.Destroy();
}
@ -268,7 +268,7 @@ void SourceContext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
auto* const _this = static_cast<SourceContext*>(&to_msg);
auto& from = static_cast<const SourceContext&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceContext)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -133,7 +133,7 @@ class PROTOBUF_EXPORT SourceContext final :
}
void UnsafeArenaSwap(SourceContext* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -267,7 +267,7 @@ Struct::~Struct() {
}
inline void Struct::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.fields_.Destruct();
_impl_.fields_.~MapField();
}
@ -404,7 +404,7 @@ void Struct::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU
auto* const _this = static_cast<Struct*>(&to_msg);
auto& from = static_cast<const Struct&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Struct)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -551,7 +551,7 @@ Value::~Value() {
}
inline void Value::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
if (has_kind()) {
clear_kind();
}
@ -819,7 +819,7 @@ void Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
auto* const _this = static_cast<Value*>(&to_msg);
auto& from = static_cast<const Value&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Value)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -920,7 +920,7 @@ ListValue::~ListValue() {
}
inline void ListValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.values_.~RepeatedPtrField();
}
@ -1032,7 +1032,7 @@ void ListValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
auto* const _this = static_cast<ListValue*>(&to_msg);
auto& from = static_cast<const ListValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ListValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -208,7 +208,7 @@ class PROTOBUF_EXPORT Struct final :
}
void UnsafeArenaSwap(Struct* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -379,7 +379,7 @@ class PROTOBUF_EXPORT Value final :
}
void UnsafeArenaSwap(Value* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -624,7 +624,7 @@ class PROTOBUF_EXPORT ListValue final :
}
void UnsafeArenaSwap(ListValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -148,7 +148,7 @@ Timestamp::~Timestamp() {
}
inline void Timestamp::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void Timestamp::SetCachedSize(int size) const {
@ -276,7 +276,7 @@ void Timestamp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
auto* const _this = static_cast<Timestamp*>(&to_msg);
auto& from = static_cast<const Timestamp&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Timestamp)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -133,7 +133,7 @@ class PROTOBUF_EXPORT Timestamp final :
}
void UnsafeArenaSwap(Timestamp* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

@ -465,7 +465,7 @@ Type::~Type() {
}
inline void Type::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.fields_.~RepeatedPtrField();
_impl_.oneofs_.~RepeatedPtrField();
_impl_.options_.~RepeatedPtrField();
@ -726,7 +726,7 @@ void Type::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_
auto* const _this = static_cast<Type*>(&to_msg);
auto& from = static_cast<const Type&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Type)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -897,7 +897,7 @@ Field::~Field() {
}
inline void Field::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.options_.~RepeatedPtrField();
_impl_.name_.Destroy();
_impl_.type_url_.Destroy();
@ -1243,7 +1243,7 @@ void Field::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
auto* const _this = static_cast<Field*>(&to_msg);
auto& from = static_cast<const Field&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Field)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1399,7 +1399,7 @@ Enum::~Enum() {
}
inline void Enum::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.enumvalue_.~RepeatedPtrField();
_impl_.options_.~RepeatedPtrField();
_impl_.name_.Destroy();
@ -1624,7 +1624,7 @@ void Enum::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_
auto* const _this = static_cast<Enum*>(&to_msg);
auto& from = static_cast<const Enum&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Enum)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1737,7 +1737,7 @@ EnumValue::~EnumValue() {
}
inline void EnumValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.options_.~RepeatedPtrField();
_impl_.name_.Destroy();
}
@ -1902,7 +1902,7 @@ void EnumValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
auto* const _this = static_cast<EnumValue*>(&to_msg);
auto& from = static_cast<const EnumValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -2014,7 +2014,7 @@ Option::~Option() {
}
inline void Option::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.name_.Destroy();
if (this != internal_default_instance()) delete _impl_.value_;
}
@ -2153,7 +2153,7 @@ void Option::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBU
auto* const _this = static_cast<Option*>(&to_msg);
auto& from = static_cast<const Option&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Option)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -271,7 +271,7 @@ class PROTOBUF_EXPORT Type final :
}
void UnsafeArenaSwap(Type* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -519,7 +519,7 @@ class PROTOBUF_EXPORT Field final :
}
void UnsafeArenaSwap(Field* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -849,7 +849,7 @@ class PROTOBUF_EXPORT Enum final :
}
void UnsafeArenaSwap(Enum* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -1069,7 +1069,7 @@ class PROTOBUF_EXPORT EnumValue final :
}
void UnsafeArenaSwap(EnumValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -1251,7 +1251,7 @@ class PROTOBUF_EXPORT Option final :
}
void UnsafeArenaSwap(Option* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -1489,7 +1489,7 @@ inline void Type::set_oneofs(int index, std::string&& value) {
// @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Mutable(index)->assign(value);
ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs)
}
inline void Type::set_oneofs(int index, absl::string_view value) {
@ -1513,7 +1513,7 @@ inline void Type::add_oneofs(std::string&& value) {
// @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(const char* value) {
GOOGLE_ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Add()->assign(value);
ABSL_DCHECK(value != nullptr); _impl_.oneofs_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs)
}
inline void Type::add_oneofs(absl::string_view value) {

@ -355,7 +355,7 @@ DoubleValue::~DoubleValue() {
}
inline void DoubleValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void DoubleValue::SetCachedSize(int size) const {
@ -466,7 +466,7 @@ void DoubleValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
auto* const _this = static_cast<DoubleValue*>(&to_msg);
auto& from = static_cast<const DoubleValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -540,7 +540,7 @@ FloatValue::~FloatValue() {
}
inline void FloatValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void FloatValue::SetCachedSize(int size) const {
@ -651,7 +651,7 @@ void FloatValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO
auto* const _this = static_cast<FloatValue*>(&to_msg);
auto& from = static_cast<const FloatValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -725,7 +725,7 @@ Int64Value::~Int64Value() {
}
inline void Int64Value::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void Int64Value::SetCachedSize(int size) const {
@ -829,7 +829,7 @@ void Int64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO
auto* const _this = static_cast<Int64Value*>(&to_msg);
auto& from = static_cast<const Int64Value&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -899,7 +899,7 @@ UInt64Value::~UInt64Value() {
}
inline void UInt64Value::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void UInt64Value::SetCachedSize(int size) const {
@ -1003,7 +1003,7 @@ void UInt64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
auto* const _this = static_cast<UInt64Value*>(&to_msg);
auto& from = static_cast<const UInt64Value&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1073,7 +1073,7 @@ Int32Value::~Int32Value() {
}
inline void Int32Value::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void Int32Value::SetCachedSize(int size) const {
@ -1177,7 +1177,7 @@ void Int32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO
auto* const _this = static_cast<Int32Value*>(&to_msg);
auto& from = static_cast<const Int32Value&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1247,7 +1247,7 @@ UInt32Value::~UInt32Value() {
}
inline void UInt32Value::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void UInt32Value::SetCachedSize(int size) const {
@ -1351,7 +1351,7 @@ void UInt32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
auto* const _this = static_cast<UInt32Value*>(&to_msg);
auto& from = static_cast<const UInt32Value&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1421,7 +1421,7 @@ BoolValue::~BoolValue() {
}
inline void BoolValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
}
void BoolValue::SetCachedSize(int size) const {
@ -1524,7 +1524,7 @@ void BoolValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
auto* const _this = static_cast<BoolValue*>(&to_msg);
auto& from = static_cast<const BoolValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1609,7 +1609,7 @@ StringValue::~StringValue() {
}
inline void StringValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.value_.Destroy();
}
@ -1720,7 +1720,7 @@ void StringValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
auto* const _this = static_cast<StringValue*>(&to_msg);
auto& from = static_cast<const StringValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;
@ -1809,7 +1809,7 @@ BytesValue::~BytesValue() {
}
inline void BytesValue::SharedDtor() {
GOOGLE_ABSL_DCHECK(GetArenaForAllocation() == nullptr);
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.value_.Destroy();
}
@ -1915,7 +1915,7 @@ void BytesValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO
auto* const _this = static_cast<BytesValue*>(&to_msg);
auto& from = static_cast<const BytesValue&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue)
GOOGLE_ABSL_DCHECK_NE(&from, _this);
ABSL_DCHECK_NE(&from, _this);
::uint32_t cached_has_bits = 0;
(void) cached_has_bits;

@ -173,7 +173,7 @@ class PROTOBUF_EXPORT DoubleValue final :
}
void UnsafeArenaSwap(DoubleValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -320,7 +320,7 @@ class PROTOBUF_EXPORT FloatValue final :
}
void UnsafeArenaSwap(FloatValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -467,7 +467,7 @@ class PROTOBUF_EXPORT Int64Value final :
}
void UnsafeArenaSwap(Int64Value* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -614,7 +614,7 @@ class PROTOBUF_EXPORT UInt64Value final :
}
void UnsafeArenaSwap(UInt64Value* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -761,7 +761,7 @@ class PROTOBUF_EXPORT Int32Value final :
}
void UnsafeArenaSwap(Int32Value* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -908,7 +908,7 @@ class PROTOBUF_EXPORT UInt32Value final :
}
void UnsafeArenaSwap(UInt32Value* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -1055,7 +1055,7 @@ class PROTOBUF_EXPORT BoolValue final :
}
void UnsafeArenaSwap(BoolValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -1202,7 +1202,7 @@ class PROTOBUF_EXPORT StringValue final :
}
void UnsafeArenaSwap(StringValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
@ -1352,7 +1352,7 @@ class PROTOBUF_EXPORT BytesValue final :
}
void UnsafeArenaSwap(BytesValue* other) {
if (other == this) return;
GOOGLE_ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}

Loading…
Cancel
Save