diff --git a/csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs b/csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs new file mode 100644 index 0000000000..208ce1fcb6 --- /dev/null +++ b/csharp/src/Google.Protobuf/Reflection/FeatureSetDescriptor.g.cs @@ -0,0 +1,17 @@ +#region Copyright notice and license +// Protocol Buffers - Google's data interchange format +// Copyright 2008 Google Inc. All rights reserved. +// +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file or at +// https://developers.google.com/open-source/licenses/bsd +#endregion + +namespace Google.Protobuf.Reflection; + +internal sealed partial class FeatureSetDescriptor +{ + // Canonical serialized form of the edition defaults, generated by embed_edition_defaults. + private const string DefaultsBase64 = + "ChMYhAciACoMCAEQAhgCIAMoATACChMY5wciACoMCAIQARgBIAIoATABChMY6AciDAgBEAEYASACKAEwASoAIOYHKOgH"; +} diff --git a/src/google/protobuf/any.pb.cc b/src/google/protobuf/any.pb.cc index d237774561..353f83c995 100644 --- a/src/google/protobuf/any.pb.cc +++ b/src/google/protobuf/any.pb.cc @@ -442,7 +442,7 @@ namespace protobuf { #pragma clang diagnostic pop #endif // __llvm__ PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fany_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/api.pb.cc b/src/google/protobuf/api.pb.cc index 5e3664f2cc..6d8c962ebb 100644 --- a/src/google/protobuf/api.pb.cc +++ b/src/google/protobuf/api.pb.cc @@ -1572,7 +1572,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fapi_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/duration.pb.cc b/src/google/protobuf/duration.pb.cc index 12050eb15a..6ab6417240 100644 --- a/src/google/protobuf/duration.pb.cc +++ b/src/google/protobuf/duration.pb.cc @@ -398,7 +398,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fduration_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/empty.pb.cc b/src/google/protobuf/empty.pb.cc index dc4b0a28ba..3cb2b72c6d 100644 --- a/src/google/protobuf/empty.pb.cc +++ b/src/google/protobuf/empty.pb.cc @@ -215,7 +215,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fempty_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/field_mask.pb.cc b/src/google/protobuf/field_mask.pb.cc index 428dcab029..db617e0e09 100644 --- a/src/google/protobuf/field_mask.pb.cc +++ b/src/google/protobuf/field_mask.pb.cc @@ -364,7 +364,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/source_context.pb.cc b/src/google/protobuf/source_context.pb.cc index fca905074b..15e8c1b277 100644 --- a/src/google/protobuf/source_context.pb.cc +++ b/src/google/protobuf/source_context.pb.cc @@ -378,7 +378,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/struct.pb.cc b/src/google/protobuf/struct.pb.cc index c75c9ea58a..e4dcad2deb 100644 --- a/src/google/protobuf/struct.pb.cc +++ b/src/google/protobuf/struct.pb.cc @@ -1327,7 +1327,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fstruct_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/timestamp.pb.cc b/src/google/protobuf/timestamp.pb.cc index 7bbecbb043..4598bd7ea9 100644 --- a/src/google/protobuf/timestamp.pb.cc +++ b/src/google/protobuf/timestamp.pb.cc @@ -398,7 +398,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2ftimestamp_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/type.pb.cc b/src/google/protobuf/type.pb.cc index 499e322f63..9b8c1764a9 100644 --- a/src/google/protobuf/type.pb.cc +++ b/src/google/protobuf/type.pb.cc @@ -2639,7 +2639,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2ftype_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/google/protobuf/wrappers.pb.cc b/src/google/protobuf/wrappers.pb.cc index efab4b8b03..177715ac7b 100644 --- a/src/google/protobuf/wrappers.pb.cc +++ b/src/google/protobuf/wrappers.pb.cc @@ -2572,7 +2572,7 @@ namespace protobuf { } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = + _static_init2_ [[maybe_unused]] = (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fwrappers_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc"