Auto-generate files after cl/676456011

pull/18412/head
Protobuf Team Bot 6 months ago
parent 95e694a9d5
commit d372c4aeb1
  1. 3
      src/google/protobuf/any.pb.cc
  2. 15
      src/google/protobuf/api.pb.cc
  3. 3
      src/google/protobuf/duration.pb.cc
  4. 3
      src/google/protobuf/empty.pb.cc
  5. 6
      src/google/protobuf/field_mask.pb.cc
  6. 3
      src/google/protobuf/source_context.pb.cc
  7. 18
      src/google/protobuf/struct.pb.cc
  8. 3
      src/google/protobuf/timestamp.pb.cc
  9. 27
      src/google/protobuf/type.pb.cc
  10. 27
      src/google/protobuf/wrappers.pb.cc

@ -192,7 +192,8 @@ inline void* Any::PlacementNew_(const void*, void* mem,
return ::new (mem) Any(arena);
}
constexpr auto Any::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Any));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Any),
alignof(Any));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -356,10 +356,12 @@ constexpr auto Api::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Api), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Api), alignof(Api), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&Api::PlacementNew_,
sizeof(Api));
sizeof(Api),
alignof(Api));
}
}
PROTOBUF_CONSTINIT
@ -810,10 +812,12 @@ constexpr auto Method::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Method), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Method), alignof(Method), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&Method::PlacementNew_,
sizeof(Method));
sizeof(Method),
alignof(Method));
}
}
PROTOBUF_CONSTINIT
@ -1200,7 +1204,8 @@ inline void* Mixin::PlacementNew_(const void*, void* mem,
return ::new (mem) Mixin(arena);
}
constexpr auto Mixin::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Mixin));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Mixin),
alignof(Mixin));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -158,7 +158,8 @@ inline void* Duration::PlacementNew_(const void*, void* mem,
return ::new (mem) Duration(arena);
}
constexpr auto Duration::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Duration));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Duration),
alignof(Duration));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -132,7 +132,8 @@ inline void* Empty::PlacementNew_(const void*, void* mem,
return ::new (mem) Empty(arena);
}
constexpr auto Empty::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Empty));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Empty),
alignof(Empty));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -175,10 +175,12 @@ constexpr auto FieldMask::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FieldMask), *arena_bits);
return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(FieldMask), alignof(FieldMask), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&FieldMask::PlacementNew_,
sizeof(FieldMask));
sizeof(FieldMask),
alignof(FieldMask));
}
}
PROTOBUF_CONSTINIT

@ -171,7 +171,8 @@ inline void* SourceContext::PlacementNew_(const void*, void* mem,
return ::new (mem) SourceContext(arena);
}
constexpr auto SourceContext::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SourceContext));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SourceContext),
alignof(SourceContext));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -250,7 +250,8 @@ bool NullValue_IsValid(int value) {
return ::new (mem) Struct_FieldsEntry_DoNotUse(arena);
}
constexpr auto Struct_FieldsEntry_DoNotUse::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse),
alignof(Struct_FieldsEntry_DoNotUse));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -398,10 +399,12 @@ constexpr auto Struct::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Struct), alignof(Struct), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&Struct::PlacementNew_,
sizeof(Struct));
sizeof(Struct),
alignof(Struct));
}
}
PROTOBUF_CONSTINIT
@ -754,7 +757,8 @@ inline void* Value::PlacementNew_(const void*, void* mem,
return ::new (mem) Value(arena);
}
constexpr auto Value::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Value));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Value),
alignof(Value));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -1119,10 +1123,12 @@ constexpr auto ListValue::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ListValue), *arena_bits);
return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(ListValue), alignof(ListValue), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&ListValue::PlacementNew_,
sizeof(ListValue));
sizeof(ListValue),
alignof(ListValue));
}
}
PROTOBUF_CONSTINIT

@ -158,7 +158,8 @@ inline void* Timestamp::PlacementNew_(const void*, void* mem,
return ::new (mem) Timestamp(arena);
}
constexpr auto Timestamp::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Timestamp));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Timestamp),
alignof(Timestamp));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -548,10 +548,12 @@ constexpr auto Type::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Type), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Type), alignof(Type), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&Type::PlacementNew_,
sizeof(Type));
sizeof(Type),
alignof(Type));
}
}
PROTOBUF_CONSTINIT
@ -999,10 +1001,12 @@ constexpr auto Field::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Field), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Field), alignof(Field), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&Field::PlacementNew_,
sizeof(Field));
sizeof(Field),
alignof(Field));
}
}
PROTOBUF_CONSTINIT
@ -1499,10 +1503,12 @@ constexpr auto Enum::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Enum), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(Enum), alignof(Enum), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&Enum::PlacementNew_,
sizeof(Enum));
sizeof(Enum),
alignof(Enum));
}
}
PROTOBUF_CONSTINIT
@ -1904,10 +1910,12 @@ constexpr auto EnumValue::InternalNewImpl_() {
::google::protobuf::Message::internal_visibility()),
});
if (arena_bits.has_value()) {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(EnumValue), *arena_bits);
return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(EnumValue), alignof(EnumValue), *arena_bits);
} else {
return ::google::protobuf::internal::MessageCreator(&EnumValue::PlacementNew_,
sizeof(EnumValue));
sizeof(EnumValue),
alignof(EnumValue));
}
}
PROTOBUF_CONSTINIT
@ -2210,7 +2218,8 @@ inline void* Option::PlacementNew_(const void*, void* mem,
return ::new (mem) Option(arena);
}
constexpr auto Option::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Option));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Option),
alignof(Option));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

@ -449,7 +449,8 @@ inline void* DoubleValue::PlacementNew_(const void*, void* mem,
return ::new (mem) DoubleValue(arena);
}
constexpr auto DoubleValue::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DoubleValue));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DoubleValue),
alignof(DoubleValue));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -655,7 +656,8 @@ inline void* FloatValue::PlacementNew_(const void*, void* mem,
return ::new (mem) FloatValue(arena);
}
constexpr auto FloatValue::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FloatValue));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FloatValue),
alignof(FloatValue));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -861,7 +863,8 @@ inline void* Int64Value::PlacementNew_(const void*, void* mem,
return ::new (mem) Int64Value(arena);
}
constexpr auto Int64Value::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Int64Value));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Int64Value),
alignof(Int64Value));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -1068,7 +1071,8 @@ inline void* UInt64Value::PlacementNew_(const void*, void* mem,
return ::new (mem) UInt64Value(arena);
}
constexpr auto UInt64Value::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt64Value));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt64Value),
alignof(UInt64Value));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -1275,7 +1279,8 @@ inline void* Int32Value::PlacementNew_(const void*, void* mem,
return ::new (mem) Int32Value(arena);
}
constexpr auto Int32Value::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Int32Value));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Int32Value),
alignof(Int32Value));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -1482,7 +1487,8 @@ inline void* UInt32Value::PlacementNew_(const void*, void* mem,
return ::new (mem) UInt32Value(arena);
}
constexpr auto UInt32Value::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt32Value));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt32Value),
alignof(UInt32Value));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -1689,7 +1695,8 @@ inline void* BoolValue::PlacementNew_(const void*, void* mem,
return ::new (mem) BoolValue(arena);
}
constexpr auto BoolValue::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BoolValue));
return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BoolValue),
alignof(BoolValue));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -1913,7 +1920,8 @@ inline void* StringValue::PlacementNew_(const void*, void* mem,
return ::new (mem) StringValue(arena);
}
constexpr auto StringValue::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StringValue));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StringValue),
alignof(StringValue));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
@ -2144,7 +2152,8 @@ inline void* BytesValue::PlacementNew_(const void*, void* mem,
return ::new (mem) BytesValue(arena);
}
constexpr auto BytesValue::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BytesValue));
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BytesValue),
alignof(BytesValue));
}
PROTOBUF_CONSTINIT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1

Loading…
Cancel
Save