|
|
|
@ -8,12 +8,12 @@ |
|
|
|
|
#include <string> |
|
|
|
|
|
|
|
|
|
#include <google/protobuf/port_def.inc> |
|
|
|
|
#if PROTOBUF_VERSION < 3015000 |
|
|
|
|
#if PROTOBUF_VERSION < 3017000 |
|
|
|
|
#error This file was generated by a newer version of protoc which is |
|
|
|
|
#error incompatible with your Protocol Buffer headers. Please update |
|
|
|
|
#error your headers. |
|
|
|
|
#endif |
|
|
|
|
#if 3015008 < PROTOBUF_MIN_PROTOC_VERSION |
|
|
|
|
#if 3017003 < PROTOBUF_MIN_PROTOC_VERSION |
|
|
|
|
#error This file was generated by an older version of protoc which is |
|
|
|
|
#error incompatible with your Protocol Buffer headers. Please |
|
|
|
|
#error regenerate this file with a newer version of protoc. |
|
|
|
@ -53,7 +53,7 @@ struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { |
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
|
|
|
|
}; |
|
|
|
|
extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
|
|
|
|
PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
|
|
|
|
PROTOBUF_NAMESPACE_OPEN |
|
|
|
|
class DescriptorProto; |
|
|
|
|
struct DescriptorProtoDefaultTypeInternal; |
|
|
|
@ -391,7 +391,12 @@ class PROTOBUF_EXPORT FileDescriptorSet final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(FileDescriptorSet* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -550,7 +555,12 @@ class PROTOBUF_EXPORT FileDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(FileDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -944,7 +954,12 @@ class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(DescriptorProto_ExtensionRange* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -1134,7 +1149,12 @@ class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(DescriptorProto_ReservedRange* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -1304,7 +1324,12 @@ class PROTOBUF_EXPORT DescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(DescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -1653,7 +1678,12 @@ class PROTOBUF_EXPORT ExtensionRangeOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(ExtensionRangeOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -2004,7 +2034,12 @@ class PROTOBUF_EXPORT FieldDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(FieldDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -2433,7 +2468,12 @@ class PROTOBUF_EXPORT OneofDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(OneofDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -2613,7 +2653,12 @@ class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -2783,7 +2828,12 @@ class PROTOBUF_EXPORT EnumDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(EnumDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -3031,7 +3081,12 @@ class PROTOBUF_EXPORT EnumValueDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(EnumValueDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -3226,7 +3281,12 @@ class PROTOBUF_EXPORT ServiceDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(ServiceDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -3426,7 +3486,12 @@ class PROTOBUF_EXPORT MethodDescriptorProto final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(MethodDescriptorProto* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -3676,7 +3741,12 @@ class PROTOBUF_EXPORT FileOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(FileOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -4410,7 +4480,12 @@ class PROTOBUF_EXPORT MessageOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(MessageOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -4822,7 +4897,12 @@ class PROTOBUF_EXPORT FieldOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(FieldOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -5328,7 +5408,12 @@ class PROTOBUF_EXPORT OneofOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(OneofOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -5679,7 +5764,12 @@ class PROTOBUF_EXPORT EnumOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(EnumOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -6061,7 +6151,12 @@ class PROTOBUF_EXPORT EnumValueOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(EnumValueOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -6428,7 +6523,12 @@ class PROTOBUF_EXPORT ServiceOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(ServiceOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -6795,7 +6895,12 @@ class PROTOBUF_EXPORT MethodOptions final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(MethodOptions* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -7209,7 +7314,12 @@ class PROTOBUF_EXPORT UninterpretedOption_NamePart final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(UninterpretedOption_NamePart* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -7387,7 +7497,12 @@ class PROTOBUF_EXPORT UninterpretedOption final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(UninterpretedOption* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -7654,7 +7769,12 @@ class PROTOBUF_EXPORT SourceCodeInfo_Location final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(SourceCodeInfo_Location* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -7910,7 +8030,12 @@ class PROTOBUF_EXPORT SourceCodeInfo final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(SourceCodeInfo* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -8071,7 +8196,12 @@ class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(GeneratedCodeInfo_Annotation* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
@ -8286,7 +8416,12 @@ class PROTOBUF_EXPORT GeneratedCodeInfo final : |
|
|
|
|
} |
|
|
|
|
inline void Swap(GeneratedCodeInfo* other) { |
|
|
|
|
if (other == this) return; |
|
|
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
|
|
|
|
if (GetOwningArena() != nullptr && |
|
|
|
|
GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
if (GetOwningArena() == other->GetOwningArena()) { |
|
|
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
|
|
|
|
InternalSwap(other); |
|
|
|
|
} else { |
|
|
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
|
|
|
|