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.h b/src/google/protobuf/any.pb.h index b7afa85b6d..1752068f80 100644 --- a/src/google/protobuf/any.pb.h +++ b/src/google/protobuf/any.pb.h @@ -49,8 +49,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fany_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fany_2eproto; +} // extern "C" namespace google { namespace protobuf { class Any; diff --git a/src/google/protobuf/api.pb.h b/src/google/protobuf/api.pb.h index 8d1c7f83d8..bf14193e52 100644 --- a/src/google/protobuf/api.pb.h +++ b/src/google/protobuf/api.pb.h @@ -51,8 +51,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto; +} // extern "C" namespace google { namespace protobuf { class Api; diff --git a/src/google/protobuf/duration.pb.h b/src/google/protobuf/duration.pb.h index 371569a604..90b466233e 100644 --- a/src/google/protobuf/duration.pb.h +++ b/src/google/protobuf/duration.pb.h @@ -49,8 +49,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fduration_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fduration_2eproto; +} // extern "C" namespace google { namespace protobuf { class Duration; diff --git a/src/google/protobuf/empty.pb.h b/src/google/protobuf/empty.pb.h index 9b437d4a6b..7dd59da6d8 100644 --- a/src/google/protobuf/empty.pb.h +++ b/src/google/protobuf/empty.pb.h @@ -50,8 +50,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fempty_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fempty_2eproto; +} // extern "C" namespace google { namespace protobuf { class Empty; diff --git a/src/google/protobuf/field_mask.pb.h b/src/google/protobuf/field_mask.pb.h index 3b9f338135..b6c2024cf8 100644 --- a/src/google/protobuf/field_mask.pb.h +++ b/src/google/protobuf/field_mask.pb.h @@ -49,8 +49,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto; +} // extern "C" namespace google { namespace protobuf { class FieldMask; diff --git a/src/google/protobuf/source_context.pb.h b/src/google/protobuf/source_context.pb.h index c8ff0630ae..20619ea89e 100644 --- a/src/google/protobuf/source_context.pb.h +++ b/src/google/protobuf/source_context.pb.h @@ -49,8 +49,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fsource_5fcontext_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto; +} // extern "C" namespace google { namespace protobuf { class SourceContext; diff --git a/src/google/protobuf/struct.pb.h b/src/google/protobuf/struct.pb.h index a9250889bd..1afaebad74 100644 --- a/src/google/protobuf/struct.pb.h +++ b/src/google/protobuf/struct.pb.h @@ -54,8 +54,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fstruct_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto; +} // extern "C" namespace google { namespace protobuf { enum NullValue : int; diff --git a/src/google/protobuf/timestamp.pb.h b/src/google/protobuf/timestamp.pb.h index 31b18f470c..f661142d8e 100644 --- a/src/google/protobuf/timestamp.pb.h +++ b/src/google/protobuf/timestamp.pb.h @@ -49,8 +49,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftimestamp_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftimestamp_2eproto; +} // extern "C" namespace google { namespace protobuf { class Timestamp; diff --git a/src/google/protobuf/type.pb.h b/src/google/protobuf/type.pb.h index 6fc5d2b968..74a283ae3b 100644 --- a/src/google/protobuf/type.pb.h +++ b/src/google/protobuf/type.pb.h @@ -52,8 +52,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftype_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto; +} // extern "C" namespace google { namespace protobuf { enum Field_Cardinality : int; diff --git a/src/google/protobuf/wrappers.pb.h b/src/google/protobuf/wrappers.pb.h index 217d5328c3..898afdfaec 100644 --- a/src/google/protobuf/wrappers.pb.h +++ b/src/google/protobuf/wrappers.pb.h @@ -49,8 +49,10 @@ template struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fwrappers_2eproto { static const ::uint32_t offsets[]; }; +extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto; +} // extern "C" namespace google { namespace protobuf { class BoolValue;